02-15-2008 01:21 PM
02-15-2008 01:24 PM
02-15-2008 05:34 PM
Hi eFang, from what I can tell from your attached VIs is that you are configuring a digital input task. Have a look at the attached VI, it basically creates a analog input task, and reads the first three channels of your DAQ device. I think this is what you are looking for. You may need to play around with the timing so it suites your specific application, but I think it should put you on the right track
Chris_K
02-27-2008 02:47 PM
02-28-2008 06:29 PM
Hello eFang. I am glad that you are learning more about data acquisition and the DAQmx driver.
Before we conclude that there is something wrong with your card have a look at the following link and try to read a basic voltage in a test panel in Measurement and Automation Explorer (MAX). I would suggest either trying to read a known voltage (a 1.5 or 9 volt battery works well). You can also try a loopback test by connecting the analog output to your analog input and write a value or wave form to the analog output and attempt to read it with a analog input. This can all be done from the test panel in MAX.
If these tests indicate that your card is not working I would suggest calling our technical support for further troubleshooting, and we can have the card repaired.
Chris_K
03-11-2008 09:54 AM - edited 03-11-2008 09:56 AM
Hi there i saw that you were a LabVIEW veteran and i have a question and posted already on this forum but still doesn't have the correct answer:
I wish to make a daq program, where i can get hardware timed daq (every 1 second 500 samples 8 channels, this for writing to a specific file format that needs 500 * 8 samples per block). And in the same program a smooth update (not with 1 update/second) of all the latest available data.
I first thought of a hardware timed loop but i can't get it to work with my USB6215 device, i get an error that my device doesn't support the requested operation (i try to use my daq counter as an external timing source for the timed loop).
I sincerely hope that you can help me...
Best regards,
Thijs Boeree
03-12-2008 11:23 AM
03-17-2008 02:00 PM
03-18-2008 06:15 PM
Hello eFang.
I am not sure exactly what you are looking for in a chart display type, but it you may find what you are looking for with respect to update type if you right click on the chart, select X scale and select AutoScale X. This will auto adjust the chart so that all your data is displayed and non of it will be deleted. If this is not what you are looking for can you please re-explain what you are looking for.
In order to read in a voltage into LabVIEW you must use a analog input task, even if you are generating the analog output from the same VI. If you want to display the digital information in the same graph at the analog data you can read in the digital output with an additional channel on you current analog input. This way you can easily display both signals on the same graph.
Let me know if this helps.
Chris_K
03-21-2008 10:48 AM
Hello, Chris_K,
Thanks for your patience and time.
What I want in a chart display is exactly you can see in the attached picture: cell1.PNG, which I uploaded last time. I tried autoscale for x axis or customizing those scales but it didn't show like cell1.png shows.
If you can run my vi, could you do that to see what it looks like? I think this will make my question clearer.
Thanks again and have a great weekend.
Best,
Yigang