12-31-2009 02:18 AM
I am trying to write a vi where after every 30 secs i want to change the power output of the agilent e363x power supply.
The communication is via Rs232.
Initially i se tht econfiguration of limits and the intial voltage level then i created a sequence of frames and alternatively i put a delay of 30000msec and then a software trigger to change the voltage level.
I repeated this sequence about four times.
When i run the vi connected to my power supply .the first 30 secs wait time gets executed howver the second delay time lasts only for 10 secs and the last two delay times are executed properly.
However when i run the pgm without any instument connected i sent some smaple output form different frames and the delay times of 30 sec was executed in all the four times.
1.So I dont understand why in the actual scenario the second wait is not executed or starts executing earlier?
2.I got the code from the trigger output example in the driver. However i am wondering if i could just replace that part of code with four more configure output voltage with different levels?
i have attached the vi for your reference however if you dont have the drivers installed you can refer to the picture file showing atypical delay frame and trigger frame.
Clarifications int he problem will be highly appreciated.
Solved! Go to Solution.
12-31-2009 02:51 AM
12-31-2009 07:25 AM
Yes I think using wait until multiple was the one which created the problem...i will try on monday and let you know if changing to wait msec solves the problem.
Thanks
Siva