Gocator API

- Home
- Types
- Files

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

  sensor | GoSensor object.
  index | The digital output index.
  target | The time or position target (us or mm), depending on GoDomain. Ignored if GoDigital_ScheduleEnabled is false or GoDigital_SignalType is pulsed.
  value | The value of scheduled output (0-Low or 1-High). Ignored if output GoDigital_SignalType is pulsed.

Returns
  Operation status.