10-07-2005 02:41 PM
10-10-2005
02:27 PM
- last edited on
09-09-2025
06:25 PM
by
Content Cleaner
Hello Melevator,
From your description of the troubles you have run into, I suggest running a diagnostic utility to verify that the hardware is working correctly. Since you are using Traditional NI-DAQ, you will need to run our legacy E Series Diagnostic Utility. I am not sure what must have happened when you tried to reinstall drivers. If you find no problems with the hardware when you run the diagnostic utility, perhaps you can post the VI you are getting this error from so that we can give you other troubleshooting tips.
Thanks,
Laura
10-11-2005
04:00 PM
- last edited on
09-09-2025
06:26 PM
by
Content Cleaner
10-12-2005 04:09 PM
Hello Melevator,
The hardware that you are using, the DAQCard 6036E is a pcmcia device and as such is not compatible with that utility. I was under the impression that you had a PCI device (quite wrongly). I apologize. There is no utility that works with pcmcia devices.
Can you give us the exact error message that you get when running this program? Perhaps take a screenshot of it? I ask because I cannot find any "SingleScan" or AI SingleScan VIs the program that you attached, which is where the error is occurring.
The other two things that can be tried to determine whether or not the hardware is functioning properly are:
1. Use a test panel in MAX to acquire an analog voltage. Expand the Devices and Interfaces section until you see your hardware, right-click on it and choose "Test Panels." Connect a voltage to one of your analog input channels and read that channel with the test panel.
2. If step 1 goes fine, then try running an example program from the Example Finder. Go to Help >> Find Examples >> Hardware Input and Output >> DAQ >> Analog Input and choose an example to run.
Let us know the outcome of this,
Laura
10-25-2005 02:20 PM
Thank you Laura,
I am attaching the error message and the sub VI called SingleScan. Let me know if you also need the sub-sub VI's.
In response to your other suggestions:
1. Yes, I was able to get an analog signal from my hardware in MAX. Channels 2-7 show a response to my sensor. Channels 0 & 1 don't show any discernable response to my manipulations of the sensor, although they show what looks like noise and there are no errors popping up. I don't know a lot about this sensor and so my eyeballing the signal might not be accurate, since I'm not 100% sure what kind of data is routed to which channel (the sensor should register several different types of force data).
2. I ran an example program from the Example Finder, pretty much the simplest one there is that grabs single data points from all the channels, and there was no error. I was basically able to confirm my findings from MAX, which is that data is being collected from my transducer and I can see visible effects on the data in channels 2-7, but not 0 & 1. I will try running some of the other examples and let you know if I find anything different there.
Overall, this leads me to believe there is an error or an oversight in the code or the channel configurations, or some such other detail that I can't put my finger on.
Thank you for being so helpful. I look forward to your suggestions.
Melanie
10-26-2005 06:32 PM
Dear Melanie,
The error appears to be coming from AI Sample Channels.vi. Open a new VI in LabVIEW and copy the part of your program that uses AI Sample Channels.vi. This new program should just read in from 3 channels and then put that data on a graph to see if it looks correct. If you get a new error please post a screenshot. If you don't get an error, keep adding parts of your program until you get the error again.
I am concerned that channels 0 & 1 aren't working. Double check the connections and switch out your sensors to see if you get better results. Please let me know if you have any questions. Have a great day!
Sincerely,
Marni S.
11-07-2005 04:09 PM
11-08-2005 06:01 PM
Dear Melanie,
Differential is the default setting, so it might have been reset when you upgraded.
I knew the problem was with AI Sample Channels because the error was coming from AI Single Scan. If you double click on AI Sample Channels and open the block diagram, you will see AI Single Scan.
I don't know why it would stop working, but I recommend copying your current program and then deleting everything but the DAQ VIs. Let me know if you still get the error. If you don't get it, add VIs until the error comes back.
Have a great day!
Marni S.
11-08-2005 06:27 PM
Thank you Marni,
But as I said in my previous post, the error I was getting is no longer happening. I think it was related to the differential setting. I will try deleting everything but the DAQ VIs as you suggest, and putting them back, but I don't believe the AI Single Scan error will resurface, since the program now runs. Or am I misunderstanding you?
The problem is somewhere along the chain from input to program output. How can I troubleshoot the output and/or the arrays that are collecting the channel data?
Thanks,
Melanie
11-09-2005 01:36 PM
Dear Melanie,
Sorry about the confusion. When I mentioned condensing the code, I was suggesting it so you could determine if AI Sample Channels is cutting off the data after a specific amount of time or if something else in your program was doing it. You should also try different types of Read VIs to see if you get the same results. Have a great day!
Sincerely,
Marni S.