Gocator API

◆ GoSensor_EmitAnalog()

kStatus GoSensor_EmitAnalog ( GoSensor  sensor,
k16u  index,
k64s  target,
k32s  value 
)

Schedules an analog output.

This method requires that the output be configured to trigger on software control. NOTE: It is not possible to schedule a continuous output. The operation will fail accordingly if attempted.

Version
Introduced in firmware 4.0.10.27
Parameters
sensorGoSensor object.
indexThe analog output index.
targetThe time or position target (us or mm), depending on GoDomain. Ignored if GoAnalog_ScheduleEnabled is false.
valueThe value of the scheduled output (uA).
Returns
Operation status.