11-16-2012 01:04 PM
I am having a problem running a curve tracing example VI. I have a cDAQ-9174 chassis with an NI 9203 and a NI 9229 I was recieving a different error but then I changed the device name to be compatible with NI MAX now I have an error of 200170 and I can't figure out how to get this working any advice would be greatly appreciated thanks.
-Marshal
Packaging and Testing Engineer
SETi
Solved! Go to Solution.
11-16-2012 01:32 PM
Hello Marshal,
11-16-2012 01:46 PM
Yes I am able to communicate with each device current and voltage in MAX however I cannot run the test panel voltage thats where the error lies I believe. Also on the example VI when I go in to change the physical channels it shows the names of the channels but will not allow me to change then manually. Im not extremely new to labview and DAQ's but the cDAQ I have never worked with a chassis device. If I can change the physical channel names I think I can get the example working and start this curve tracer project. For some reason I can't attach the VI at the moment I am working on getting that to show you as well. Thanks for your quick reply I hope I gave you enough info if not just message me back I am going to be working on this until 5 pm today. Thanks
-Marshal
11-16-2012 01:51 PM
heres the VI sorry.
-Marshal
11-16-2012 01:55 PM
Hello Marshal,
If we are having problems in the Test Panels, chances are that the LabVIEW VI is not going to look any better. Can you describe me what do you see when you try to make the Test Panel run? Do you get an error when you try to run it, or is it even letting you bring the Test Panel screen up?
Also, what OS and DAQmx version do you have? Are you able to do a Self-Test fine? You can also try switching slots to see if that does any difference.
11-16-2012 02:02 PM
Yes sir Im sorry I can run the test pannels fine and communicate fine too sorry for the confusion. I uploaded two quick daq examples given from NI just to see what it would do. Now the continuous current one runs and works fine but the continuous voltage gives me the 200170 error. So I am certain the problem lies within the physical channel for the 9203 I just need to figure out how to change the name. I am using a cDAQ-9174 NI compactDAQ with a NI 9203 voltage and NI 9229 current. I have already tried switching the slots as well. Hope this can help?
Best,
Marshal
11-16-2012 02:30 PM
Hello Marshal,
That's great. Looking at your code, I can see that you are trying to have the DAQ Assistant2 acquire voltage from two devices meant to acquire voltage and current. You need to create one DAQ Assistant for the voltage task and another one for the current task. You can create a constant to the "device name" input of the DAQ Assistant to make it clearer to see which module you are accessing.
Just for your further reference, what I was refering to by DAQmx version is the driver version. You can find this in MAX » My System » Software » NI-DAQmx ADE Support.
11-16-2012 02:47 PM
Alright Il give that a shot and see if it makes a difference in the VI. I appreciate your help hopefully I can get this going and upgrade our lab curve tracer. Thanks for your time its greatly appreciated.
-Marshal
11-19-2012 09:11 AM
Daniel,
Everything is fine as far as creating new DAQ's as you said previous seperate current and voltage however I am still unable to change the physical channel name for the DAQ device modules any ideas?
11-19-2012 11:04 AM
Hello Marshal,
Are you asking about changing the physical channel of an already layed out DAQ Assistant? If so, you would need to double click on it to open up the configuration wizard. There is a button with a green arrow that you can use to change the physical channels.