LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to delay time for increasing voltage

Solved!
Go to solution

Hi, 

 

I plan to control waiting time when I increase voltage supply buy using Labview to control Agilent 3631A power supply. I wrote a program the attached file. But it seems that the GPIB wait function does not work for this. Could anyone give me some help about this? Thanks 

0 Kudos
Message 1 of 7
(3,306 Views)

Uhmmm...

The GPIB Wait function waits for a GPIB bus state to happen and returns As soon as the state is observed Or timeout is reached. 

 

Use the Wait +(ms).vi in the Traditional DAQ Counter sub-palatte. to Wait for time.  If you don't have DAQ  installed you can make a sub.vi that looks like this

Waiter.PNG


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 7
(3,279 Views)
Solution
Accepted by topic author hxw

What is your purpose in using the GPIB wait?  Are you trying to wait 50s?  The 50s that you input is not how long it is going to wait.  It is a time out value.  You should specify the wait state vector, so that the wait function would know when to wait.

 

If you just want to wait for 50s, you should just use the wait (ms) function inside a single frame sequence (with error wire connect through the frame to enforce sequence).

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 7
(3,276 Views)
Hi, What I am going to do is to wait for several seconds. I can not find the wait function. There is timing module in programming pallet but there is not wait function with errors, see the icons in the attached file. Is it the right one you mentioned? Thanks. 
0 Kudos
Message 4 of 7
(3,241 Views)
Yes,  That delay.vi is the correct function.  It does have error in(no error) and error out terminals available

"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 7
(3,216 Views)

Hi, All,

 

Thanks for your help. Finally I found how to control the waiting time with Delay function in timing module in program parts and it works. I attached my VI for share. Thanks all.

0 Kudos
Message 6 of 7
(3,200 Views)

Hi,

 

Sorry to forget to attach the file in the last mail.

Message 7 of 7
(3,199 Views)