LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview floating point and decimal differentiation

Solved!
Go to solution

My keydown event is done like this to register 0-9 button and the delete key from keyboard.

0 Kudos
Message 31 of 35
(342 Views)

Hi tan,

 

then you need to add more code to handle other keys as well!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 32 of 35
(331 Views)

Can you try to show how to handle that + as Add case ? I know that ASCII for + is 43 but how to make the case behave like this ? Because it seems like I need to do it in new key down case.

0 Kudos
Message 33 of 35
(324 Views)

Thank you for your help. I will proceed with key navigation with F1, F2 ... for each of the case.

0 Kudos
Message 34 of 35
(319 Views)

Hi tan,

 

using the F keys is not very intuitive...

 

You already know how to catch keypress events. You already know how to handle certain conditions like the Delete key. All you need is to handle other conditions like + or *...

 

As said before: a proper VI design would help you much. What about an event driven state machine?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 35 of 35
(305 Views)