EasyManua.ls Logo

LinearX LT360 - Page 10

LinearX LT360
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10
LT360 Precision Turntable
DLL Programming Manual
Example with USB link
The following code fragment demonstrates the sequence of calls for a
USB link to a LT360 unit.
// Open link via USB, save returned handle
H360 = LT360LIB_OpenLinkUSB();
...
// Call the LT360 to set the Step Size to 1 degree
LT360LIB_CmdValue(H360,lt_SetStepSize,'1.0');
// Call the LT360 to do a step CCW
LT360LIB_CmdValue(H360,lt_Step_CCW,null);
...
// Close the link when done
LT360LIB_CloseLink(H360);
Example with COM link
The following code fragment demonstrates the sequence of calls for a
RS-232 serial port link to a LT360 unit.
// Open link via serial port, COM3 at 9600 baud, save returned handle
H360 = LT360LIB_OpenLinkCOM(3,9600);
...
// Call the LT360 to set the Step Size to 1 degree
LT360LIB_CmdValue(H360,lt_SetStepSize,'1.0');
// Call the LT360 to do a step CCW
LT360LIB_CmdValue(H360,lt_Step_CCW,null);
...
// Close the link when done
LT360LIB_CloseLink(H360);

Other manuals for LinearX LT360