Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

error -10401 NI Traditional DAQ: PCI 6035E card

I am trying to write a vi to interface with an SC-2311 which is set up to read voltages from various thermocouples

 

I have an old Vi that does exactly what I need but it is password protected and was written many many years ago by someone who no longer works her and no longer remembers the password.

 

We recently recieved a new computer tower to run the software becasue the old tower is very unrelaible - 

the new (used)tower is Windows XP, the old tower was windows 2000

 

I can not get the old code to run on the new tower so I set about writing my own code

 

The main problem is that my new code is not interfacing with the DAQ card correctly.

I am using the AI Sample Channel (single pt waveform) vi to pull a voltage from the DAQ card and simply output it to the screen.

 

Upon running the code I get Error -10401 occured at AI Group Config "NI-DAQ LV: the specified device is not an NI product, the driver does not support the device, or the device has not been configured using MAX"

 

However, when I open MAX I see the device under both Traditional NI DAQ and DAQmx

I have tried resetting the drivers for both the Trad and the DAQmx devices.

I can run the test panel under Trad DAQ and it looks ok to me - 8 channels (16 but its in differential mode so 8 are available)

 

The error appears to me to be related to the inputs on AI Sample Channel "device" and "channel"

 

I have device set up as a control generating a number and it is set to '1' which is what I see in MAX - PCI-6035E shows up as Dev1

 

When I set up a 'Traditional DAQ Channel Constant' to be the input for 'channel' there are no options listed in the control

The old code used to have options listed like C-Type V, K-Type V, etc... for different types of thermocouples that correspond to different channel inputs

 

I have tried resetting DAQ drivers in MAX, restarting the computer, reseating the card, restarting labview after resettign drivers, etc

 

Attached is the sample code I have written

I would appreciate any help on this topic

 

Cheers

 

 

 

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

I believe I found the problem

 

I needed to set up virtual channels in MAX which the Traditional DAQ Channel control can then reference

 

I'm new to Labview so that part wasn't intuitive to me at all but this website helped me out - http://instruct.uwo.ca/chemistry/532/lecture5_slides.pdf

 

Now I just need to figure out which channels are the correct to measure form and I think will have this figured out.

 

0 Kudos
Message 2 of 3
(3,187 Views)

Thermocouples are generally connected to differential pairs, i.e. AI 0 and AI8, AI 1 and AI 9, etc. If you’re looking for help setting up you code, the Cont Acq Thermocouples Samples-Int Clk.vi example in the LabVIEW Example finder is a good reference for selecting parameters such as type of thermocouple and temperature range. You can find it by opening LabVIEW and going to Help >> Find Examples…, then navigating to Hardware Input and Output >> DAQmx >> Analog Measurements >> Temperature >> Cont Acq Thermocouples Samples-Int Clk.vi.

 

Hope this helps!

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