From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-13-2017 10:54 AM
I'm trying to send notification form LabVIEW to TestStand.
The idea is to break while loop from Operator Interface, during waiting for temperature chamber setpoint, when operator clicks some button.
As you can see above, I have a while loop (normaly stop condition is temperature setpoint from temperature chamber). When operator click "break loop" on the OI then "Break step" precondition flag is changed (station global variable) and it should also send notification to "Wait step".
Unfortunately I don't know how to send this notifier form LabVIEW based OI. I hoped that if I will store notifier reference in FGV, then I will be able to use it in my subVI which you can see below.
This way I'm getting Error 1 "Incorrect function"...
Any suggestion how to do this loop breaker?
01-16-2017 06:33 AM
Michal,
the easy way to solve that specific use case is to keep the terminate button on the UI.
However, if you want to go into direct communication, please reference the "User Instructions" example of these demo implementations.
01-16-2017 01:52 PM
If you store the notifier reference in an FGV, you will need to be aware of what application instance you're giving the reference to. You also need to make sure the reference is valid at the time you read it out of the FGV.
A better option might be to call GetSyncManager somewhere in your LabVIEW code.
This is something I'm actively trying to create better examples of, so let me know if there's anything in particular that's unclear.
Hope this helps!
Trent
01-17-2017 03:33 AM
So is it possible to get some handler for my notifier in TS with GetSyncManager?
01-17-2017 04:37 AM
@bienieck wrote:
So is it possible to get some handler for my notifier in TS with GetSyncManager?
Indeed. That is part of the linked example(s) of my previous post.