You are here: Start » Function Reference » Camera Support » Hikvision » Hikvision_ConfigureTrigger
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Sets triggering parameters.
Syntax
void fil::Hikvision_ConfigureTrigger ( Hikvision_State& ioState, ftl::Optional<const ftl::String&> inDeviceID, ftl::Optional<bool> inTriggerEnabled, ftl::Optional<fil::HikvisionEvent::Type> inTriggerSelector, ftl::Optional<fil::HikvisionTriggerSource::Type> inTriggerSource, ftl::Optional<fil::HikvisionTriggerActivation::Type> inTriggerActivation, ftl::Optional<float> inTriggerDelay )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | Hikvision_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceID | Optional<const String&> | NIL | Camera serial number, name or IP address, Auto = first camera | |
![]() |
inTriggerEnabled | Optional<bool> | False | True if using trigger | |
![]() |
inTriggerSelector | Optional<HikvisionEvent::Type> | FrameBurstStart | Triggering event selection | |
![]() |
inTriggerSource | Optional<HikvisionTriggerSource::Type> | Line0 | Trigger source | |
![]() |
inTriggerActivation | Optional<HikvisionTriggerActivation::Type> | RisingEdge | Trigger polarity | |
![]() |
inTriggerDelay | Optional<float> | 0.0 - ![]() |
0.0f | Delay of trigger in microseconds |
Remarks
Camera driver software
This filter is intended to cooperate with camera using its vendor Hikvision SDK. To be able to connect to camera it is required to install Hikvision Machine Vision Software with camera dedicated drivers. Currently FabImage Studio uses Hikvision SDK version 3.4.1 (DLL version 3.5.3.3).
Hikvision SDK can be downloaded from the following website: http://en.hikrobotics.com/service/soft.htm?type=1
Setting bandwidth for GigEVision cameras
Bandwidth of Hikvision GigEVision cameras needs to be configured before use, otherwise packet loss and image artifacts may occur.
Open MVS software from Hikvision and connect to the camera. Open Settings / Options menu and go to Network tab. Bandwidth Control slider will be shown. To preserve new value of bandwidth after disconnecting power from the camera, you will need to save it using User Set Control parameters in Features tab.
Multithreaded environment
See Also
- Hikvision_GrabImage – Captures an image from a Hikvision device.
- Hikvision_GrabImage_WithTimeout – Captures an image from a Hikvision device.
- Hikvision_GenerateSoftwareTrigger – Generates software trigger in Hikvision device, trigger source should be set to 'Software'.
- Hikvision_ConfigureStrobe – Sets strobe parameters.