NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

AxLabel Change event

Hi, 

I added Change event to AxLabel. It worked fine on my development station. 

But when I tested my deployment on test station, the event function didn't execute at all. Anything I missed in my deployment? I have already added all the files attached in my deployment. Other events worked fine except this AxLabel change event.

Anyone has experience on that?

 

Thanks a lot!

Br,

Yan

 

0 Kudos
Message 1 of 5
(2,850 Views)

Hi Yan,

 

What do you mean by "Change event to AxLabel?" I feel like you're going to need to explain this in more detail before anyone will be in a position to help.

 

Thanks,

 

Jack

0 Kudos
Message 2 of 5
(2,817 Views)

Hi, Jack,

 

Thanks for your reply. Please check the pic attached. I am using C# to create Teststand UI. For this AxLabel, I added one event called axLabel3_Change to it as shown in the picture. In my development station, it worked fine. Whenever axLabel3 changed, my axLabel3_change function was called. But after deployment, axLabel3_change was not called at all.

 

Br,

Yan

0 Kudos
Message 3 of 5
(2,809 Views)

Hi Yan,

 

Thanks for the clarification. If my understanding is correct, the following chain of commands is happening:

 

Change axis on UI -> Triggers axLabel3 event -> axLabel3_change function handles the event within the C# UI

 

Does this seem correct to you? My C# knowledge is practically non-existent so it's likely I've missed something or misinterpretd something. In any case, do you know at which point of this chain of commands the system breaks? Perhaps add some additional UI indicators to show that the signal has got so far down the chain of commands to work this out? You could also add this to a working event handling routine to see if there's any differences

 

Thanks,

 

Jack

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

My purpose is the text on axLabel change -> Triggers axLabel3 event -> axLabel3_change function handles the event within the C# UI.

Anyone can explain how NI define axLabel change event? In which situation can it be triggered? I installed C# on my deployment station now. The event still can't be triggered in VS C#. I wonder why it can be triggered on one laptop but behave different on the other one?

 

Thanks,

Yan

0 Kudos
Message 5 of 5
(2,796 Views)