Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

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

  sensor | GoSensor object.
  index | The analog output index.
  target | The time or position target (us or mm), depending on GoDomain. Ignored if GoAnalog_ScheduleEnabled is false.
  value | The value of the scheduled output (mA).

Returns
  Operation status.