NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Sunny1290
Posts: 75
0 Kudos
Accepted Solution

Case Structures

Can a case be created for Case Structures of a decimal value or range? That is say 0.001..0.5?

I can create case structure for say 1..5

can I create it for 0.001..0.5?

Trusted Enthusiast
TiTou
Posts: 2,689
0 Kudos

Re: Case Structures

No you can't, the case structure terminal doesn't support decimals. but if you have a hand full of range like [.001;.01[, [.01;.1[ and [.1;.5[ then you could multiply and round the value by 1000 and set your range to 1..10, 10..100 and 100 to 500.

Just a quick idea, other solutions would be possible.

________________________________________________________________
"Cambiar el mundo, amigo Sancho, que no es locura ni utopía. sino justicia."
Cervantes
Member
Sunny1290
Posts: 75
0 Kudos

Re: Case Structures

Thank you so much.

Trusted Enthusiast
TiTou
Posts: 2,689
0 Kudos

Re: Case Structures

you're welcome :smileyhappy:

________________________________________________________________
"Cambiar el mundo, amigo Sancho, que no es locura ni utopía. sino justicia."
Cervantes
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page