From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-21-2009 12:43 PM
hi
I am new to LABVIEW. i saw a vi example on agilent 34970 ez scan. Can i add or make changes to tat example to run my vi? when i run the example the instrument is takin juz one scan and stopping. wat shud i do to run it for a while? where shud i make the changes for triggering and scanning?
can anyone help me?
Solved! Go to Solution.
08-22-2009 12:18 PM
You can make any changes you want to any VI. I would advise you to save the modified VI with a new name and in a new location.
To run for a while, use a while loop.
The advanced scan example is a good place to start for continous acquisition. A loop around the trigger, status, and read should work. You would also want the data conversion loop to be inside the acquisition loop.
You should also make use of the search options. You would have seen this current thread.
08-22-2009 04:48 PM
Hey Dennis,
Thanks for ur info.... takin the example as the reference i created a vi with all the necessary sub vis.... let me explain u in detail abt my problem
i am using hp34970a agilent data acquisition unit.. i need to read dc current data(real time) using labview..i need to read only one channel... i gave all the configuration settings and triggering parameters...but when i run the program...the instrument is scanning juz for a microsec and is stopping...i dont understand why..if there is no loop does tat mean tat the vi will run only once?? .i am attaching the vi..can u please have a look over it and let me knw where i am goin wrong??
if i am succesful in reading the data, i have to process it...
thanks
priyanka
08-22-2009 05:36 PM
Yes, if you have no loop, the code will only run once. Did you look at the example in the thread I gave?
You might want to take the tutorials.
08-23-2009 12:58 AM
Thanks a lot for your information! 🙂