ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

define the result

Solved!
Go to solution
hello all,

i just want to know how to create a result that will display due to certain state:

example is like

if the output equal to 1 = good
                              to 2 = better
                              to 3 = excellent

did anyone got the idea how i can make it?
thanks

zull azym
UTHM
MALAYSIA
0 Kudos
Message 1 of 12
(3,838 Views)
Use a Ring Indicator for it.
0 Kudos
Message 2 of 12
(3,829 Views)
hello,

how i can find the ring indicator?
did u have any picture of it?
thanks
0 Kudos
Message 3 of 12
(3,824 Views)
The LabVIEW palettes have a search function. Just click the [search] button on the top right of the palette and type e.g. " text ring" 🙂
0 Kudos
Message 4 of 12
(3,818 Views)
Here's an example (LabVIEW 8.0):
0 Kudos
Message 5 of 12
(3,816 Views)
thanks.

now i manage to know how to use the ring function.

thanks so much


regards,

zull azym
0 Kudos
Message 6 of 12
(3,806 Views)
hello,

regarding to ring function, i have learn it and test it,
did i can use ring function to define certain range of data analysis,

let say;

range 0-2: good
          3-4: very good
          5-6: bad

thanks
zull azym
0 Kudos
Message 7 of 12
(3,724 Views)
Hi zull,

it's not nice to ask the same in several threads! More information is found here...

Attached you find a way to select a string according to your "range" number using a case structure.

Btw. what you taling about is a "ring indicator" - it's not a ring function!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 12
(3,708 Views)
Nothing prevents you from having mutiple items in your ring.
 
(Of course this only makes sense if you use it as indicator only. As a control it would just cause confusion :))
 
 
In a more general case, mapping ranges to indices is most easily achieved using an array of boundary values and "threshold array". See the following thread for an implementation:
 


Message Edited by altenbach on 04-13-2008 12:03 PM
0 Kudos
Message 9 of 12
(3,702 Views)
hello and thanks for the reply.
i'am so sorry about ring function which supposely
is ring indicator. about the values, how i can
have a range of two decimal point:i tried to put
it decimal point but it wont work.

let say:   0.0-1.9 (good)
               2.0-3.9 (very good)


so if the input is 2.3, so it would scale as very good.

regards,

zull azym
UTHM researcher,
MALAYSIA
0 Kudos
Message 10 of 12
(3,687 Views)