xPC Target    

PCI-DAS-TC Thermocouple

Scaling Input to Output

Hardware Input
Block Input Data Type
Scaling
Volts
double
temperature in either degrees C, K, or F.

Driver Block Parameters

Conversion rate (interrogation time) -- From the list, choose either 50Hz, 60Hz, or 400 Hz. This is the conversion rate for the V-F A/D converter. The conversion rate is the same for all input channels.

Number of samples for moving average -- From the list, choose a value from 1 to 16. Converted signal values are put into a cyclic buffer of size n which is used to calculate the moving average over these n samples.

Number of channels to be acquired (1..n) -- From the list, choose a value from 1 to 16. This is the number of input channels activated for conversion. The first channel of the scan is always and input channel with the number 1 and the last channel has the number n.

Vector input thermocouple types (cell array of char) -- For each acquired channel, enter a valid type of either 'J', 'K', 'E', 'T', 'R', 'S', or 'B'. This vector defines the type of thermocouple for each channel. The vector must be the same length as the Number of channels to be acquired.

Vector of input gains (double array) -- For each acquired channel, enter a valid input gain of either 1, 125, 166.7, or 400. This vector defines the input gain for each channel. The vector must be the same length as the Number of channels to be acquired.

Vector or temperature formats (cell array of char) -- For each acquired channel, enter a valid format of either 'C' or 'F'. 'C'= Celsius and 'F'= Fahrenheit. The vector must be the same length as the Number of channels to be acquired.

Read and output CJC temperature -- If you want the block to read, convert, and output the temperature of the cold junction (CJC) sensor on the board, select this check box. If selected, the block shows an additional output port with the value of the CJC temperature.

Sample time -- Enter a base sample time or a multiple of the base sample time.

PCI Slot (-1:autosearch) -- Enter a number between -1 and n. If only one board of this type is physically present in the target PC, enter

If two or more boards of this type are physically present in the target PC, enter the bus number and the PCI slot number of the board associated with this driver block. Use the format [BusNumber, SlotNumber]. To determine the bus number and the PCI slot number, type


  PCI-DAS-TC Contec