03-24-2011 08:32 AM
03-24-2011 10:06 AM
What you attached is a VI with a subVI from an old driver. Don't know what example you are referring to because you don't provide the name though it could be different in the current driver anyway. There is also no dll involved so I miss that reference as well.
Are you doing anything like checking for operation complete or reading the status byte register?
03-24-2011 11:03 PM
Hi Dennis,
Becoz I'm using Labview 8.6. So I installed agpna instrument drive for lavview 8.0. and the
03-24-2011 11:22 PM
Hi Dennis,
Sorry attached wrong program. Should be AGPNA Config And Read Data Application.vi
My system is main for data acquirtion. And I can set any parameters before data has been read out.
03-25-2011 12:45 AM
Let me make myself clear.
AGPNA Config And Read Data Application.vi is just one portion of my whole program. And it doesn't include saving function to the hardships. But is enough to illustrate the error---the program is directly go to data output without waiting for averaging to complete.
I addin the average function is becoz we want minimize the noise to get better output data. My program is main for data acquisition.
Thanks for your time!
03-25-2011 09:13 AM
You downloaded the older llb type driver and not the recomended project-style driver for 8.x.
In any case, like I said, you will have to query the status register or do a OPC? command (if supported) before doing your reading. I don't have the instrument any more or the manual so this is something you need to look up.