LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

slider values

hi everyone,

 

Im asking this this question again because previously i created some unnecessary  confusion. Im controlling my VI inputs using slider which sends command to micro-controller (string and last two bits which varies from 00 to 03) and changes last two bits when move the slider as 01,02,03. Now on front panel i want to show these number as 1100, 750. 355 but at block diagram it should be same as 01,02,03 as input. should i need lookup table? or can someone give me idea?. the Vi is attached for better understanding and to show what im trying to do which has same values at front panel and block diagram which are 01,02,03. ( 01 in block diagram is =1100 Khz on front panel, 02 in block diagram is= 750 khz, in short if i select 1100 on slider then it should send 01 in block diagram and so on) .

 

thanks 🙂

0 Kudos
Message 1 of 5
(1,494 Views)

Sorry I have an old version of labview so I cant see your VI. Must you use a slider or could you select the values 1100, 750. 355 by clicking a boolean? You could have one bool for each selection and track the state of the selection (and use the Booleans to indicate the selection) 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 2 of 5
(1,449 Views)

How about a radiobutton control or a ring control? How about an enum?

Message 3 of 5
(1,439 Views)

Just right click on the slide and select "Text Labels", got to properties for the slide and modify the texts shown by default.

Look at the atached vi saved in LabVIEW2017

Message 4 of 5
(1,406 Views)

Here's what I had in mind:

 

altenbach_0-1659111664098.png

 

Message 5 of 5
(1,390 Views)