Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

9211 thermocouple change at runtime

Solved!
Go to solution

hi

Is it possible to change the thermocouple type (at run time) for a 9211 daq module ?

thanks for hints,

regards, n

0 Kudos
Message 1 of 6
(4,483 Views)

Yes, you can.  What hardware platform are you using?  cRIO, cDAQ??

SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 2 of 6
(4,477 Views)

hi

i am using a compact daq (96... something, I am at home now). I don't know how to do it (I prepared the task iwith MAX). thanks for helping me out, I am new with DAQ (I used a lot of Keithley and Agilent DMM before but not NI hardware).

regards, N

0 Kudos
Message 3 of 6
(4,473 Views)

hi again,

it's a 9211A connected through a USB-9162.

thanks again,

N

0 Kudos
Message 4 of 6
(4,458 Views)
Solution
Accepted by topic author nitad54448

What you want to do is use the daqmx functions to create your virtual channel inside your labview program instead of from MAX.  This is very easy to do and then you can change any of the setting of the virtual channel that you like. tc example.PNG

This is a simple example of how to create the virtual channel.  This is a simple software timed acqusition using that virtual channel.  Notice how you have all the options of the TC channel in the create virtual channel function.

SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
Message 5 of 6
(4,445 Views)

Hi,

 

I you want then to change the settings of your task during the run time, you will have to stop the task/change the settings/start the task.

 

You can also use the DAQmx Control task vi which is done for that purpose : How Can I Control Which DAQmx Task is Running?

 

Or you can think of the following example and changing it a little bit to comply with your needs.

 

Regards,

Olivier L. | Certified LabVIEW Developer


Message 6 of 6
(4,438 Views)