01-22-2018 09:03 AM
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
01-23-2018 09:17 AM
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
01-24-2018 02:40 AM
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
01-24-2018 06:35 AM
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
01-24-2018 07:13 AM
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