12-22Using the Trio ActiveX Control
Input / Output Commands
Trio Motion Technology
Input / Output Commands
Ain
Description:
Performs the corresponding
AIN(…)
command on the Motion Coordinator.
Syntax:
Ain(Channel, Value)
Parameters
Return Value:
TrioPC STATUS
.
Get
Description:
Performs the corresponding
GET #
… command on the Motion Coordinator.
Syntax:
Get(Channel, Value)
Parameters
Return Value:
TrioPC STATUS
.
In
Description:
Performs the corresponding
IN(…)
command on the Motion Coordinator
Syntax:
In(StartChannel, StopChannel, Value)
Parameters:
short Channel:
AIN channel to be read.
double *Value:
Variable in which to store the value read.
short Channel:
Comms channel to be read
double *Value:
Variable in which to store the value read.
short StartChannel:
First digital I/O channel to be checked.
short StopChannel:
Last digital I/O channel to be checked.
long *Value:
Variable to store the value read.