Cilxs_checkattributevireal64 – AMETEK Ls Series Driver Manual User Manual
Page 24

IVI Driver Manual
Lx / Ls Series
20
ciLxs_CheckAttributeViReal64
ViStatus ciLxs_CheckAttributeViReal64 (ViSession instrumentHandle,
ViChar _VI_FAR channelName[],
ViAttr attributeID,
ViReal64 attributeValue);
Purpose
This function checks the validity of a value you specify for a ViReal64
attribute.
Parameter List
instrumentHandle
Variable Type ViSession
The ViSession handle that you obtain from the ciLxs_init or
ciLxs_InitWithOptions function. The handle identifies a particular
instrument session.
Default Value: None
channelName
Variable Type ViChar[]
If the attribute is channel-based, this parameter specifies the name
of the channel on which to check the attribute value. If the
attribute is not channel-based, then you set this control to empty
string or VI_NULL.
Pass the virtual channel name that you assign to the instrument in
the Configuration Utility.
Virtual channel names are aliases for instrument-specific channel
strings. The instrument-specific channel strings can differ from one
instrument to another. Virtual channel names allow you to use and
swap instruments without having to change the channel names in your
source code. You assign a virtual channel name to an
instrument-specific channel through the Configuration Utility. This
control accepts virtual channel names you have assigned to the
specific instrument you are using. It also accepts the
instrument-specific channel names.
Default Value: ""
Notes:
(1) You can specify the channel name as a string variable or as a
literal enclosed in double quotes.
attributeID