en:software:qview:qview_6:qcl_library:ir10hjread

This translation is older than the original page and might be outdated. See what has changed.

IR10HJRead

I = Input

R = Reading functions

The IR10HJRead function reads the voltage on the hot junction by a card that supports type “thermocouple” inputs.

IR10HJRead (HOT, gbCardType, glMicroVolts, gbError)

Parameters:

IN/OUTVARIABLE TYPEEEXAMPLE NAMEDIM
IN INTDEVICE
ANINP
HOT - Mnemonic name of ANINP device used for HOTJ input
IN GLOBAL gbCardType B Variable that indicates the card type from which to read:
0= All cards
OUT GLOBAL glMicroVolts L It is the voltage read expressed in micro Volts.
OUT GLOBAL gbError B Variable containing the error code

Once invoked the function if there are any errors the error variable having the following values:
0 - No errors
1 - Disconnected input

Example

...
 
; Reading hot junction
 
card_type = 0
 
IR10HJRead (HOT, gbCardType, glMicroVolts, gbError)
 
...

Note

  • The function initializes the scaling parameters of ANINP device passed to the function, as follows:
	HOT:scaleA  = 1
	HOT:scaleB  = 1
	HOT:scaleC  = 0
  • Last modified: 2019/08/29 17:01