LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx read channel problems

I have a labVIEW routine that acquires data from an SCXI-1100 data acquisition card, which has various types of instrumentation connected via a 1303 terminal block.

 

As there is different types of instrumentation I have to set up the channels in different ways.  I'm using 6 DAQmx create channel VI's, most of them reading multiple channels except for two which just need to read one channel, which is my torque meter and speed sensor.  When I try and run the routine an error message comes up saying it can't read a single channel because there are multiple channels (27 it reckons) and to use the multichannel version instead.  But there is only one channel connected to each of those read channel VI's so I don't understand it.

 

I have attached my routine so if anyone wants to try and help they might be able to understand a bit better!

 

Thanks in advance

Anna

0 Kudos
Message 1 of 3
(3,268 Views)

Hi Anna,

 

you should set up the DAQmx create channel VIs one after the other, and not in parallel. And then you have one DAQmx Read with multiple channels.

Like in the attached screenshot.

 

EmilS 

 

EmilS
0 Kudos
Message 2 of 3
(3,248 Views)

Hi EmilS

 

Thanks for the help, I put the create channels in series instead of parallel and it now works with no errors. However, my thermocouple readings are coming out as gibbersish.  Everything else is fine and when I run my thermocouple channels in MAX they work fine but when I run my routine I get a lot of random numbers.  Any ideas as to why this might be?

 

Thanks

Anna 

0 Kudos
Message 3 of 3
(3,222 Views)