EasyManua.ls Logo

LinearX LT360 - Using LT360 Commands

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...
16
LT360 Precision Turntable
DLL Programming Manual
The commands which a typical user application needs can all be called
using a single function:
This function has three parameters and returns a true/false result for
success or failure. The first parameter is the Handle to the LT360 unit
(returned from the OpenLink calls), the second parameter is the
Command Identifier, and the third parameter is a ParamValue string
(ASCIIZ string).
All user commands for the LT360 are sent using this function with
various command identifiers. They are described in the header files,
and on the following pages. The ParamValue string pointer is used both
as an In/Out parameter to send data or receive data from the LT360.
For some Set commands that do not require a parameter, this value can
be null/nil. For Get commands which return a value, the user must
supply a string pointer to the user allocated character space. Generally
32 characters of space is adequate for all command value returns.
Commands fall into two categories: Set and Get. Set commands are
Out commands which can send data to the LT360. Get commands are
In commands which return data from the LT360. Some Set commands
may or may not have a parameter value.
Numeric values sent as parameters to the LT360 must be converted into
a string. They are also returned as a string.
If the command or data sent to an LT360 is incorrect, an error message
will be displayed on the LT360 front panel. The function above will only
reflect an error if there is a problem with the data transmission.
1.5 Using LT360 Commands
LONGBOOL LT360LIB_CmdValue(LONGINT Handle, LONGINT CmdID, char *ParamValue);

Other manuals for LinearX LT360