VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric Custom Control

Hi everyone,

 

I want to customize the current display template named "Numeric Control - Medium" in order to make it show an hexadecimal value. Attached, you can find a screen of what I've done, but it does not work yet. I wonder if some of you have some ideas ?

 

Regards,

 

Nicolas Kaminski 

0 Kudos
Message 1 of 4
(5,976 Views)

No idea?

0 Kudos
Message 2 of 4
(5,907 Views)

What you are trying looks pretty sound. I think the issue might be that you changed the data type of the Numeric Control from double to U16, and the display template support VIs are expecting to find and interact with a double representation numeric control.

 

Since a double representation numeric control can't use Hex Display, you might just leave the Numeric Control as a double, but hide it and use a secondary control to display the hex status.

Jarrod S.
National Instruments
0 Kudos
Message 3 of 4
(5,897 Views)

Hi Jarrod,

 

Thank you for your reply. I've tried what you advise and it seems to be interresting. But there is still a problem. If I change manually the value in the new control (I've hid the "increment/decrement buttons for the new control and let the ones from the first control), the value is not send to the channel. 

 

For a better comprehension of what I've done, attached you'll find my hexa numeric control.

 

Regards

0 Kudos
Message 4 of 4
(5,875 Views)