From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-04-2017 02:57 AM
Bonjour,
J'aimerai savoir si il est possible d'intégrer un "OU" dans la condition d'une structure condition.
J'ai un menu déroulant de texte en entrée de ma structure composé de choix A, choix B, choix C.
Je souhaiterai alors faire:
Si j'ai le choix A ou le choix B, j'allume la led 1
Si j'ai le choix C, j'allume la led 2 (voir le programme en pièce jointe)
Avez-vous des idées ?
Merci par avance
Hello world,
I would like to know if it's possible to integrate an "OR" between two conditions inside the condition structure.
I configure a drop down menu of characters composed by three possibilities A, B and C.
I would like to do :
If I get choice A or choice B, I switch on the led 1
If I get choice C, I switch on the led 2 (open the attached software)
Have you got any ideas ?
Thanks
Gabriel Leroy
04-04-2017 03:04 AM - edited 04-04-2017 03:06 AM
Hi gleroy,
write the condition as "A", "B" instead of "A" or "B" - as is described in the help for the case structure!
04-04-2017 03:05 AM
/Y
04-04-2017 03:06 AM
Ah, string. Listen to Gerd. 🙂
/Y
04-04-2017 03:12 AM
Thank you
I will try it and I will tell you if it's ok
Have a good day