EasyManua.ls Logo

VTI Instruments EX1000A - Vtex10 Xxa_Set_User_Cjc_Enable

VTI Instruments EX1000A
320 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...
www.vtiinstruments.com
EX10xxA Function Calls 261
vtex10xxA_set_user_cjc_enable
FUNCTION PROTOTYPE
ViStatus vtex10xxA_set_user_cjc_enable(ViSession vi, ViInt32 channels[], ViInt32 numChannels, ViBoolean
usercjc);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
channels = an array to receive the requested scan list. Valid input values: 0 through 47.
numChannels = an integer output value indicating how many channels are in the scan list. Valid input values:
1 through 48.
usercjc = a Boolean value indicating whether to enable the user-defined CJC temperature. If this parameter is set to
“1”, this indicates that the user-defined CJC temperature will be used in thermocouple calculations. If set to “0”, this
functionality is disabled.
DATA ITEM RESET VALUE
usercjc = 0 (for all channels)
DESCRIPTION
This function enables or disables the use of a user-defined CJC temperature for the specified channels. If enabled,
the user-defined CJC temperature will be used in the thermocouple calculations instead of the internally measured
one. Each channel can be associated with a unique value and be independently enabled with regards to its use. The
entry of external CJC values and their enabling are disjoint functions. That is, the entry of a value does not
automatically enable its use, and the disabling of a previously enabled channel does not clear the value. Entry of the
CJC temperature is done through the vtex10xxA_set_user_cjc_temp function.
NOTE This function should only be used when the thermocouple cold junction is made external to the
EX10xxA. This feature must be used with care, as the input channel data contains no indication that
it was calculated with an external CJC value instead of an internal one.
EXAMPLE
// CJC for channels 0-4 are held externally at 0.2 C
ViInt32 ext_channels[5] = { 0, 1, 2, 3, 4 };
vtex10xxA_set_user_cjc_temp(vi, ext_channels, 5, 0.2);
vtex10xxA_set_user_cjc_enable(vi, ext_channels, 5, 1);

Table of Contents

Related product manuals