Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create a Tag for a an imput on a DAQmx peripheral?

First off, I just want to agree with Lara in her post with DAQmx being something difficult to wrap my head around.  I'm having difficulties myself, which brings me to my question...
 
I have a USB-9211/9211A Thermocouple Input Device.  I want to create a Tag for Channel0 on this unit.  Looking through some documentation and info on the site I've seemed to have gotten myself all spun around.  Do I have to create a server to manage this unit before I can create the Tag?  If so, how?
 
I have been able to get  meaningful data in the Measurement and Automation software, but I don't know where to go from here.
 
(I'm eventually going to be using a large handful of other NI inputs aswell, but I think if I can get this one down pat, I'll be able to work from there.)
 
I'm running LV 7.1, and don't want to simply use the DAQmx functions on the block diagram.
 
Any ideas will be most appreciated.
0 Kudos
Message 1 of 7
(3,960 Views)
I forgot, the USB-9211 is an NI device if that matters.
0 Kudos
Message 2 of 7
(3,957 Views)
And I just realized I but this in the wrong forum listing... sorry.
0 Kudos
Message 3 of 7
(3,955 Views)
Kahless, I was clueless... until your last post.  Smiley Tongue
0 Kudos
Message 4 of 7
(3,940 Views)
Hi Kahless,

I will assume that you are using the USB-9211A, which is for use with Windows. There are several ways to program the data acquisition. The first is to create a DAQmx Task in Measurement & Automation Explorer (MAX). You can set up all the timing and configuration in MAX, then read from this task in LabVIEW.

You could also use the DAQ Assistant in LabVIEW (located in the Express Palette under Input). When you drop the DAQ Assistant on the block diagram, the DAQ Assistant will walk you through setting up the acquisition. Another option is to use the DAQmx VIs to program your application. There are several helpful examples to get you started (Help>Find Examples). I suggest looking at the example at "C:\Program Files\National Instruments\LabVIEW 7.1\examples\DAQmx\Analog In\Measure Temperature.llb\Cont Acq Thermocouple Samples-Int Clk.vi" for your application.

Here is some information that should help you with using DAQmx:

Learn 10 Functions in NI-DAQmx and Solve 80% of Data Acquisition Applications
--
Michael P
National Instruments
0 Kudos
Message 5 of 7
(3,924 Views)

Thanks for the reply.  I figured out how to make a channel list just before the weekend (and all of a sudden am having problems with it, but I will post that in the right forum).  Though the link you provided looks as though it can be most useful.  Thank you very much.

0 Kudos
Message 6 of 7
(3,922 Views)
Glad I could help.
--
Michael P
National Instruments
0 Kudos
Message 7 of 7
(3,911 Views)