Back to FabImage Library websiteYou are here:
Start »
Function Reference »
Camera Support »
Smart »
Smart_ConfigureDigitalIO_SynView
Smart_ConfigureDigitalIO_SynView
Configure SynView digital IO.
Syntax
void fil::Smart_ConfigureDigitalIO_SynView
(
Smart_State& ioState,
const fil::SmartIPAddress& inIpAddress,
ftl::Optional<const ftl::String&> inDeviceID,
int inLineNumber,
ftl::Optional<bool> inLineInverter,
ftl::Optional<float> inLineDebounceDuration,
ftl::Optional<fil::SynViewLineSource::Type> inLineSource,
bool& outIsRemote
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
|
ioState |
Smart_State& |
|
|
Object used to maintain state of the function. |
|
inIpAddress |
const SmartIPAddress& |
|
|
|
|
inDeviceID |
Optional<const String&> |
|
NIL |
Tries to find the camera in all available IDs (UserID, VendorName, ModelName...) |
|
inLineNumber |
int |
1 - 32 |
|
I/O line for configuration |
|
inLineInverter |
Optional<bool> |
|
NIL |
Invert the signal on the selected line |
|
inLineDebounceDuration |
Optional<float> |
|
NIL |
Input line debounce duration in us (0 for disable debouncer) |
|
inLineSource |
Optional<SynViewLineSource::Type> |
|
NIL |
Selects a device internal signal that should drive the output signal of the selected line. |
|
outIsRemote |
bool& |
|
|
|
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.
Errors
List of possible exceptions:
Error type |
Description |
RuntimeError |
Smart_ConfigureDigitalIO_SynView is not supported in the Lite edition. |