You are here: Start » Function Reference » Imago Technologies » VisionBox_SetDigitalOutput
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Sets a digital output state of Imago VisionBox computers.
Syntax
void fil::VisionBox_SetDigitalOutput ( VisionBox_State& ioState, const int inPort, const int inOutput, const bool inState )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioState | VisionBox_State& | Object used to maintain state of the function. | ||
![]() |
inPort | const int | Number of DigitalOutput device to use | |
![]() |
inOutput | const int | Number of output to change | |
![]() |
inState | const bool | State of pin output to set |
Description
This filter can set state of digital outputs of Imago VisionBox computers. Number of outputs vary between hardware editions.
One should specify inPort to access, and inOutput (singular pin) to set given inState. Refer to Hardware Manual to see physical connection of output pins of ones' VisionBox.
Remarks
Precondition for use of VisionBox filters is to have Imago Technologies AGE-X SKD installed on target computer. AGE-X SDK provides filters with necessary libraries (DLL files) and drivers. After installation of AGE-X SDK, system restart may be required.
Recommended AGE-X SDK version for FabImage Studio usage is 1.6.8.0.
Multithreaded environment
See Also
- VisionBox_GetDigitalInput – Reads a digital input state of Imago VisionBox computers.