LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case statements.. using else to capture all other possible variables

Hi

just wondering if theres a else type statement for case structures so that
if someone inputted a variable incorrectly (and therefore it doesn't match a
case) it would display the case else.. (i.e. a message to say you've
inputted the incorrect value)

what is the syntax for such a statement? is there one?

thanks
0 Kudos
Message 1 of 3
(2,296 Views)
ignore this message, sorted it now (don't you just hate it when you ask a
question and seconds later you figure it out yourself! doh)

btw does anyone know of any good tutorials, or references that might be
helpful developing a serial application in labview?

cheers

"D" wrote in message
news:f2X68.18834$IY1.2941014@news2-win.server.ntlworld.com...
> Hi
>
> just wondering if theres a else type statement for case structures so that
> if someone inputted a variable incorrectly (and therefore it doesn't match
a
> case) it would display the case else.. (i.e. a message to say you've
> inputted the incorrect value)
>
> what is the syntax for such a statement? is there one?
>
> thanks
>
>
Message 2 of 3
(2,296 Views)
Hi Darren,

You can check out the National Instruments Web site to find some resources for serial application development. You can get to it by going to www.ni.com, then by going to the NI Developer Zone (button near the top of the page) and navigating to it by using the sidebar: NI Developer Zone >> Development Library >> Instrument Connectivity >> Serial. You can find application notes and tutorials, as well as LabVIEW example code here.

You can also find additional information by using the site search.

Hope this helps!

Wilbur Shen
National Instruments
.
>btw does anyone know of any good tutorials, or references that might be
>helpful developing a serial application in labview?
0 Kudos
Message 3 of 3
(2,296 Views)