06-01-2011 02:11 AM
hi all,
I am currently using Agilent E3646A Dual output DC power supply.
I am trying to sweep the 2 output voltages using 2 while loops, 1 inside another.
The attached file shows the connection i have.
However, only the inner loops works. The outer loop, appears to work on the labview front panel, but it doesnt change the voltage output of E3646A.
Any help? Or is there some connection error? I am new to labview.
Thanks alot!
Solved! Go to Solution.
06-01-2011 02:16 AM
The outer loop starts looping when the inner one stops or before it starts. That's why you dont get any response from it, while the innerone is running.
06-01-2011 02:31 AM
Hmmm..
My intention for the program is to sweep my VA and VC.
So for intial value of VC, VA sweeps all the values, then VC increment, then VA sweeps again, and it repeats till VC reaches the final value.
Any suggestions to solve the problem?
THanks
06-01-2011 02:50 AM
Hi,
I don't have the necessary toolkits for running your VI. But what I understand from your code is , the OUTPUT-2 module in your VI is not getting a valid VISA reference in the first itration of the while loop as it is given by an empty "feed back node". May be you can try changin this part and try running your VI. It must work as expected.
Regards,
Nitzz
(Give kudos to good Answers, Mark as a solution if your problem is Solved;))
06-01-2011 03:25 AM
Dear Nitz,
Thanks for your suggestion.
I shifted the drivers into the loops, leaving the initialization and error/close outside, and it works.
Thanks alot for the help:)
Cheers
06-01-2011 05:08 AM
Hi junyanyap,
You may mark it as a solution if your problem is solved so that others can be benefited.
Regards,
Nitzz
(Kudos are always Welcome;))