02-20-2008 10:24 PM
02-21-2008 01:44 PM
02-21-2008 05:37 PM
Hello MC85,
These delays are a little hard to troubleshoot without more information about your setup. It would be helpful if you can provide answers to the following questions:
1. What DAQ card are you using?
2. What driver are you using? (Probably NI-DAQmx)
3. What type of sensor are you using?
4. What type of measurement are you making? (Voltage, angular encoder, etc.)
5. What sample mode are you using? (Continuous, N Samples, On Demand, etc.)
6. How many samples are you reading at a time? If you are acquiring at 1 kHz and reading 10,000 samples at a time the graph in LabVIEW will only update every 10 seconds.
In addition to these questions, you may want to try out some the example programs that come with LabVIEW. To view these examples open LabVIEW and go to Help>> Find Examples. Assuming you have a DAQ card that uses DAQmx to do a voltage measurement you'll want to go to Hardware Input and Output>> DAQmx>> Analog Measurements>> Voltage. In this folder you'll see a number of examples that acquire and graph voltages. Try running some of these because there may already be an example that does what you want.
As far as the error code goes I can't offer a lot of help without knowing some of the above information, however there are a couple of KnowlegeBase articles that explain a couple common causes of this error code:
(DAQmx) Error -200279 During a Continuous, Buffered Acquisition
Common NI-DAQmx Error Codes and Solutions: Codes -200000 to -200299 and -50103
Why Do I Get Error -200279 When Writing Continuously Acquired Data to a File?
I hope this helps, and if not please reply with answers to the above questions.
Have a good night!