LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Step up and step down Voltage

Solved!
Go to solution

Hi,

 

I'm using the NI 9263 to apply 2.5V in a sample and after 120 seconds I need to apply 0V. I need this process to repeat itself endlessly, until I want to stop.

 

For example: 0V --> 120s --> 2,5V --> 120s --> 0V --> 120s --> .....

 

How should I do this?

0 Kudos
Message 1 of 6
(2,423 Views)
Solution
Accepted by topic author matheus08

Hi Matheus,

 

a little state machine with 3 states: switch on, switch off and wait comes to mind.

What have you tried so far?

 

Also: Is this a windows application or are you on RT?



Remember Cunningham's Law
0 Kudos
Message 2 of 6
(2,402 Views)

Hi matheus,

 

after taking the free training resources offered in the header in the LabVIEW forum you should be able to come up with this:

check.png

What have you done so far?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 6
(2,395 Views)
Solution
Accepted by topic author matheus08

@GerdW wrote:

check.png


I give you kudos for this but in no way does my kudo reflect how valuable your contribution is. (ref) Smiley Very Happy

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
Message 4 of 6
(2,387 Views)

Hi Peter,

 

Tou are right. A state machine solved my problem. However, I used a machine with 2 states.

 

 

Thank you.

0 Kudos
Message 5 of 6
(2,343 Views)

Hi GerdW.

 

I have used a state machine with 2 stages and solved my problem. However, your solution is also valid.

 

Thank you.

0 Kudos
Message 6 of 6
(2,339 Views)