LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract numbers

Ok, my understanding then is that you want to hit a "Start" button on your VI that will then allow the rest of the VI to execute:




Please correct me if my understanding is wrong. There are a couple of other scenarios I can think of.

Message Edited by Bill@NGC on 09-16-2007 12:11 AM

Message 11 of 29
(2,560 Views)
Yes..That's it.somethin' like that...Thank U very much Bill...Smiley Happy
0 Kudos
Message 12 of 29
(2,550 Views)
I know this is a real old post but if I have a manual push button (hardware), how can I ensure the program runs without hitting the run button? Is it possible to so somthing like that?
0 Kudos
Message 13 of 29
(2,432 Views)
Hi smm,

in the vi properties you can set the vi to start automatically when loaded/opened!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 29
(2,425 Views)
Ok the thing is... My vi is for testing thermostats. I will be testing 6 at a time. Once those 6 are tested, 6 new ones will be placed. So in that case once the VI is opened it won't be closed again. This is going to be handled by an operator and we don't expect them to know how to use the run button or to close and open VIs. So is there any other way?
0 Kudos
Message 15 of 29
(2,421 Views)
Hi smm,

do as shown above:
make a big button labeled "Start measurement" - your operator should know how to handle that Smiley Wink
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 29
(2,419 Views)

Yeah. But the deal is the hardware has a push button already. So thatts the problem.

But considering what you said, I tried it, but it didn't run the program.

0 Kudos
Message 17 of 29
(2,414 Views)
Ok it did do what is expected. But can you tell me, if I can conjoin the actual push button (hardware) with the code?. I incorporated what is shown in the figure. Now can it do, this thing when a button is actually pushed?
0 Kudos
Message 18 of 29
(2,405 Views)
Hi smm,

how did you connect the (hardware) button to the computer? How did you check it's status with LabView?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 29
(2,404 Views)
Actually I don't have the hardware yet. It's in production. I'm using a PCI 6515 DAQ. So i was thinking of reading an impulse or something.
0 Kudos
Message 20 of 29
(2,400 Views)