LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change Context Help at Runtime ?

Hello All,

 

I need small information. Please help me.

Is there is any way to change the context help at Runtime?

 

Actually I want to display Context Help based on OS Language.

Munna
0 Kudos
Message 1 of 7
(3,804 Views)

Hi Munna,

 

you can change the tip strip with a property node, but you can't change the context help for a control.

 

I tend to use a different scheme:

Detect mouse enter/leave events for each control of interest. Display a text based on the reference of the control under the mouse in a string indicator. Now you can change the displayed strings depending on language settings…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,800 Views)

 

Hi GerdW,

 

Thanks for your Idea. It’s working nice.

Actually it’s quite uneasy if no of Indicators/controllers are more.

If NI will provide property node for Context Help  then it’s more useful.

Munna
0 Kudos
Message 3 of 7
(3,782 Views)

Hi Munna,

 

what's uneasy?

 

You can get all control references at once using a property of the VI/panel. Then you just select/filter text by control name…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(3,763 Views)

Hi GerdW,

 

Thanks for your help.

 

I can read all control values at once but I’m not getting how to display Help window for that particular control (By Event).

Context Help.png

 

Like this I can get, But as I told in my previous post, Event cases will increase based on No. of controller/indicators (please correct me if I’m wrong).

 

Context Help2.png

 

 

And other issue, at Runtime we can change context help window size/position but what about Help Text indicator (which we are talking)?

May be we can do workaround like, displaying another VI (looks like context Help window) & sync up with Event/custom menu.

 

Munna
0 Kudos
Message 5 of 7
(3,739 Views)

Hi Munna,

 

- you can create user events for your controls, so the event structure reduces to just one ( or two) event cases for that help.

- you can create a case structure with a case for each control outputting the help text for that control. (Or use a lookup table approach.)

- you can create an additional window using a subVI. You can make user interfaces with autoscaling options in LabVIEW to mimic that help window.

 

You can do all this. You have to program it using opportunities found in LabVIEW…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(3,711 Views)

Hi GerdW,

 

Thanks for your help.

Munna
0 Kudos
Message 7 of 7
(3,700 Views)