AMETEK Ls Series Driver Manual User Manual
Page 170

IVI Driver Manual
Lx / Ls Series
166
- If the attribute in this ring control has named constants as
valid values, you can view the constants by moving to the
Attribute Value control and pressing
bufferSize
Variable Type ViInt32
Pass the number of bytes in the ViChar array you specify for the
Attribute Value parameter.
If the current value of the attribute, including the terminating NUL
byte, contains more bytes that you indicate in this parameter, the
function copies Buffer Size - 1 bytes into the buffer, places an
ASCII NUL byte at the end of the buffer, and returns the buffer size
you must pass to get the entire value. For example, if the value is
"123456" and the Buffer Size is 4, the function places "123" into the
buffer and returns 7.
If you pass a negative number, the function copies the value to the
buffer regardless of the number of bytes in the value.
If you pass 0, you can pass VI_NULL for the Attribute Value buffer
parameter.
Default Value: 512
attributeValue
Variable Type ViChar[]
The buffer in which the function returns the current value of the
attribute. The buffer must be of type ViChar and have at least as
many bytes as indicated in the Buffer Size parameter.
If the current value of the attribute, including the terminating NUL
byte, contains more bytes that you indicate in this parameter, the
function copies Buffer Size - 1 bytes into the buffer, places an
ASCII NUL byte at the end of the buffer, and returns the buffer size
you must pass to get the entire value. For example, if the value is
"123456" and the Buffer Size is 4, the function places "123" into the
buffer and returns 7.
If you specify 0 for the Buffer Size parameter, you can pass VI_NULL
for this parameter.
From the function panel window, you can use this control as follows.
- If the attribute currently showing in the Attribute ID ring
control has named constants as valid values, you can view a
list of the constants by pressing
Select a value by double-clicking on it or by selecting it and
then pressing