Vimba .NET C# FireWire external trigger

Example for FireWire (IEEE 1394) external trigger using Vimba .NET:
string lineMode;
/// Select Line0
camera.Features["LineSelector"].EnumValue = "Line0";
/// Make sure that Line0 is an input
lineMode = camera.Features["LineMode"].EnumValue;
if (lineMode != "Input") throw new Exception("Line0 is no input!");
/// Configure Line0 as trigger input
camera.Features["LineRouting"].EnumValue = "Trigger";
/// Set trigger type to ExposureStart
camera.Features["TriggerSelector"].EnumValue = "ExposureStart";
/// Switch TriggerMode on
camera.Features["TriggerMode"].EnumValue = "On";

Zurück zur Übersicht