LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change numbers highlighting with ok button

Good Afternoon, I am creating a "LCD" of a radio, using labview, It is controlled by ok buttons, I have the fairly advanced code, but I have some problems with some things .. I have a series of numbers to change the frequency, it occurred to me the idea of doing it with a table (the attached code), and pressing left or right, the highlight must run to its corresponding side, then pressing up or down to change the selected number from 0 to 9. Some have a sample program or any idea of doing this ?, noteworthy that can not use the mouse click, only ok buttons .. THANK YOU...
0 Kudos
Message 1 of 6
(3,965 Views)

Forgot the attachment


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 6
(3,956 Views)

Sorry, My Internet Conection is bad.. Here is the attachment..

0 Kudos
Message 3 of 6
(3,947 Views)

Looks like you have the basic idea.

I would use an Event Structure and a shift register with an array of 4 U8 numbers.

 

EDIT: And another shift register to keep track of which digit you are performing operations on.

0 Kudos
Message 4 of 6
(3,938 Views)

The problem is that I have another program with a event structure where I use the same ok buttons and some conflicts appear due to the large number of iterations, then I need an idea without event structure ..

0 Kudos
Message 5 of 6
(3,916 Views)

I'm not sure I understand.

Why don't you modify your existing event structure to handle this? You may need an additional shift register to identify whether you are in "Frequency" mode or another mode but you should be able to work within the existing event structure.

0 Kudos
Message 6 of 6
(3,899 Views)