11-15-2008 08:34 PM
I have recently installed Labview 8.6 on XP based computer and my hardware device is DAQ 6020E. I installed the driver 7.4.4 for my DAQ 6020.
This is my first attempt to write a labview code on this setup and my application is very simple.
I want to measure a voltage at the analog input channel "Ach0" and graph it. The voltage should be sampled every 1millisec.
I was using a code i found on google search to do so, but i got got stuck at the point where i am required to select channels using DAQ assistant. The DAQ assistant says" No supported devices found".
In MAX, however my DAQ 6020E is present as device 1 and i can display voltages correctly there by using "ach0" channel of DAQ 6020E.
The code is attached below. I am using "building a voltmeter" at page11 of the pdf file attached.
I searched the archives of this discussion forum, there is a code to graph 2 voltages, unfortunately i could not find the code for my application. So i am writing from scratch.
Please help me to have the channels recognized by the DAQ assistant.
Regards
poli
Solved! Go to Solution.
11-16-2008 08:33 AM
According to another post of yours, what you really have is a DAQPad 6020 and that is an important distinction. If you had the pci version, I believe you could install DAQmx and use the DAQ Assistant. As you have been told, you can only use the traditional driver and in fact that is what you have installed.The pdf file you attached clearly mentions using DAQmx so the information in there about the DAQ functions does not pertain.
I'm not sure if traditional DAQ examples still get installed but if they aren't, you will have to look at the functions on the Measurement I/O>Data Acquisition>Analog Input palette. A good one to start with is AI Acquire Waveform. Wire a graph to the waveform output and put everything inside a while loop.
11-17-2008 02:22 PM
Hi Poli, Dennis is correct.
If you do mean the DAQpad 6020E then there is no support for Windows Vista.
The DAQPad 6020E is a legacy device and is only supported with traditional DAQ (which is not supported by vista). All the example code that is displayed in the document that you attached to your post is programmed with DAQmx driver. If you want to use your current hardware, you must use an earlier version of Windows and use the traditional DAQ driver. There are several examples that are available should do exactly what you described. I also wanted to point out that the DAQ assistant is only available in DAQmx, so if you want to use it, you are going to need new hardware.
Chris