LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shutoff a toggle switch by a second switch

Solved!
Go to solution

There is also no difference between a black car, and a red one.....

I am a customer trying to get better in using your program. Fixing this with a button is easy, But as said I (my operators) don't want this.

So , are you telling me it is not possible or what??

 

There is no silly question.......... at all.

 

 

Please do not respond anymore if you won't help me, I am frustated enough as it is already. Trying to do my job in a serious manner..............

0 Kudos
Message 11 of 24
(1,980 Views)
The visual appearance of a Boolean does not affect the code in the slightest. That is just elemental and I don't see why you don't understand that. It does not affect the example at all. If you can fix it with a button, then your problem is solved. Replacing a button with a toggle switch is just a right click away. I'll mark the thread as complete for you if you want.
0 Kudos
Message 12 of 24
(1,969 Views)

Dear TheodeGroot,

There is not diference betwen any boolean elements, that is only visualization for UI. You can use any boolean elements for implement Your logic.

I create same VI (little logic) withe togle switches for You 🙂

With Best Regards

 

Certified LabVIEW Architect (CLA)
0 Kudos
Message 13 of 24
(1,940 Views)

Dear Hrachya,

 

 

Thanks for taking the effort to respond to my question. I am however sorry to say this, but this code does not function like the way I want it to. If you toggle the switch "Close All" to the closed position, not only the indicators should shut off, but I also want the independant toggle switches to switch back to the "close" position. So it is maybee more a kind of a set/reset function. But as I stated, in my opinion, the core of the problem is, that a toggle is a control, and not an input. I was only able to find information which stated that a toggle switch is controllable from a second "input" (besides the control when you click on the toggle by you're mouse), if you use a "local variable" or a "property node". But after trying a lot with these functions, there still was no succes for me.  

 

Is it asumable this should be posible, if it is also possible in a "labwindows" programm? Because we do have this in labwindows, and this works!

 

Does anyone have suggestions for me, who I could ask this question?

 

 

Sincere Regards, Theo

0 Kudos
Message 14 of 24
(1,904 Views)
Post your code as a snippet, please. As I said, this should be pretty trivial with local variables and of course, you should be using an event structure.
0 Kudos
Message 15 of 24
(1,891 Views)
Solution
Accepted by TheodeGroot

So what is your definition on an control and an input?

To most LabVIEW developers, this is the same.

 

Now, back to your problem. You want to have a reset button/toggle that, when presset, resets some other toggles/buttons and some LED's ?

 

I have attached one try to get the functions that you want. It is in LabVIEW 2014.

 

Now, using Property Nodes and Local variables is something that I would expect to be shown in Core 1 and Core 2.

Did you go through the free training and tutorials that NI has?

 

 

Message 16 of 24
(1,885 Views)
Solution
Accepted by TheodeGroot

Give this a try.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 17 of 24
(1,881 Views)
Solution
Accepted by TheodeGroot

This is what you needSmiley Very Happy

Message 18 of 24
(1,851 Views)

Dear dkfire,

 

 

Thank you so much for this VI!

 

This is what I want to achieve. Now its up to me to understand the code. Having these small parts of building blocks would be so much easier, but I find to have problems everytime, again and again, to find the right way to search for them.

 

I only had an official training in Oct 2008 in the Netherlands, called "Labview Basics 1", and of course I try to find the correct tutorials. I never heard of "Free training" , its all pretty expensive, if you ask me.

I checked my Course Manual from this training, but property nodes and Local Variables where in this course.

 

 

Thanks again, You have been of great help to me!

 

 

Sincere Regards, Theo

0 Kudos
Message 19 of 24
(1,840 Views)

Dear crossrulz,

 

 

Thank you for your reply! Your solution looks the same as from dkfire. For sure it works the same, so I am very happy with this!

 

 

Here´s the third way to say thanks: THANKS!!!

 

 

Sincere Regards, Theo

0 Kudos
Message 20 of 24
(1,834 Views)