Gocator API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
kStatus GoSensor_EmitDigital ( GoSensor  sensor,
k16u  index,
k64s  target,
k8u  value 
)

Schedules a digital output.

This method requires that the output is configured to trigger on software control.

Version
Introduced in firmware 4.0.10.27
Parameters
sensorGoSensor object.
indexThe digital output index.
targetThe time or position target (us or mm), depending on GoDomain. Ignored if GoDigital_ScheduleEnabled is false or GoDigital_SignalType is pulsed.
valueThe value of scheduled output (0-Low or 1-High). Ignored if output GoDigital_SignalType is pulsed.
Returns
Operation status.