AMETEK Ls Series Driver Manual User Manual
Page 195

IVI Driver Manual
Lx / Ls Series
191
to specify all of the attributes and may leave any of them out. If
you do not specify one of the attributes, its default value or the
value that you configure with the IVI Configuration utility will be
used.
The following are the valid values for ViBoolean attributes:
True: 1, TRUE, or VI_TRUE
False: 0, False, or VI_FALSE
Default Value:
"Simulate=0,RangeCheck=1,QueryInstrStatus=1,Cache=1"
Notes:
(1) For the DriverSetup parameter, you can pass the following
strings:
Model: X where X is the instrument type 3000IL,4500IL,4801IL
Here is an example of this option string which turns on simulation
and emulates the California Instruments 4801iL:
"Simulate=1,DriverSetup=Model:4801IL"
(2) If you enable IDQuery and don't pass DriverSetup driver
automaticly detect your instrument model.
(3) If you don't pass these parameters and IDQuery is disabled
default model is California Instruments 3000iL.
instrumentHandle
Variable Type ViSession (passed by reference)
Returns a ViSession handle that you use to identify the instrument in
all subsequent instrument driver function calls.
Notes:
(1) This function creates a new session each time you invoke it.
This is useful if you have multiple physical instances of the same
type of instrument.
(2) Avoid creating multiple concurrent sessions to the same physical
instrument. Although you can create more than one IVI session for
the same resource, it is best not to do so. A better approach is to
use the same IVI session in multiple execution threads. You can use
functions ciLxs_LockSession and ciLxs_UnlockSession to protect
sections of code that require exclusive access to the resource.
baudRate
Variable Type ViInt32
Specify the baud rate of the serial port.