LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to take output at different voltage

Solved!
Go to solution

hi i have a vi in through which i want output at particular voltage for example at 1 , 4 , 7 , 11 volt instead of increasing voltage (1, 2,3,4..),what kind of input control should i use in while loop. please help. i have attached vi.

0 Kudos
Message 1 of 6
(2,408 Views)

Simply create an array of your random voltages and pass it into a for loop instead of your while loop.

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

but i dont know how to creat array of random voltage .please me a demo vi.

0 Kudos
Message 3 of 6
(2,395 Views)

Then you need to see the basics here. You simply go to the array palette and first drop an Array Constant on the block diagram and then drop a numeric constant inside the array.

0 Kudos
Message 4 of 6
(2,384 Views)

thank you . i have already done it but it's not working.  should i put this array constant inside the while loop or outside.

0 Kudos
Message 5 of 6
(2,377 Views)
Solution
Accepted by topic author jkumar.1986@yahoo.com

Outside. And I said FOR loop.

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