02-22-2010 11:16 AM
hi .....i m using pci 6025 data acquisition card to get voltage inputs to the labview .....it was running alrite before but now its not running and giving error 200279...plz help me with that.........................thanks .....................the error is in this form
02-22-2010 11:39 AM
Hi,
My guess is your buffer overflow. That happens when you have continuous acquition task, and you are not reading (emptying) your buffer quick enough. When you start a continuous task, your buffer will continue to be populated at the frequency you specified until you stop the task.
1. Try increaes the buffer size by increase the number of samples per channels. When you setup the task, becareful about your frequency of acquisition and number of samples in buffer (for continuous mode). For example, let say that the frequency is 1000 Hz and you select 1000 samples per channel. That means your buffer will only be able to contain data for 1s before it overflow. Try increasing the samples per channel to about twice your frequency. You want to give yourself some extra room.
2. Make sure you are reading (emptying) your buffer in time.
Yik
02-22-2010 10:57 PM
02-22-2010 11:04 PM
Please post your VI so we can see what you are doing now and how your different DAQ settings are set up.
Also, please post your messages using full English words and not using "text messaging speak".
02-23-2010 02:37 AM
hi ........i have attached my vi in this msg.......kindly see that and help me out with that.......i have incresed my sample rate and sample to read to 10k and 1k respectively........now the vi is working but i am not getting output on the graphs and numeric block in labview.......actually the circuit i have interfaced with the DAQ is for measuring power .......i have used optocouplers in the circuits to give isolation between DAQ and the voltage.......but yesterday one of my optocoupler is short circuited ...i dont know why......and after that i am getting this problem of not displaying graphs and numeric data in labview...........i hope i have cleared my problem.....if still there is any problem in getting my point ...i can give u more details.......thanks
02-23-2010 02:50 AM
Hi,
It looks like your code is quite processor intensive and I am guessing that loop is taking to long to process the data and then read the next set of data before the buffer overflows.
You can either increase your buffer, reduce the number of points to acquire or reduce the aquisition rate.
Also the express VIs are not the most processor friendly way of implementing you code. However, using the express VIs you can configure the buffer/acquisition rate as shown below.
02-23-2010 02:51 AM
Also.......
dont forget increasing your buffer size might not solve the issue of overflow rather just delay the overflow!
02-23-2010 08:26 AM
02-23-2010 09:10 AM
Have you tried the previous suggestions?
Try to perform the acquisition without using the express VI (example shown below). This will give you more control over the acquisition. Also, you need to consider HOW MANY SAMPLES YOU NEED TO ACQUIRE, and AT WHAT RATE. Do you need 10K samples per cycle for your application? If not reducing the number of samples to acquire will help.
You will find lots of examples using the example finder (Help>>Find Examples). You can then browse for DAQmx examples under hardware
02-23-2010 09:58 AM
Are you the same person as 9? Why would you create another new login name? Is that just to confuse people?
Also, you still insist on using text message speak. Poor communication skills aren't going to help you get your problem solved.