01-31-2014 06:59 AM
VI property "Front Panel Window > Open" is deprecated in LV 2012, it was not in LV2011. So to ensure compatibility with futur versions what are we supposed to use as a replacement?
Thanks in advance
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-31-2014 07:03 AM
01-31-2014 07:05 AM
And the flip side is the FP.Close method.
01-31-2014 07:21 AM
Sure, and these 2 methods aren't new but they only replace the "write", not the "read".
How am I supposed to do if I want to know if a VI's FP is opened or not?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-31-2014 07:25 AM
01-31-2014 07:37 AM
Right, that seems to be the one I was looking for.
Cheers
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
10-10-2017 01:42 AM - edited 10-10-2017 01:43 AM
FP.State
Front Panel Window Property Seems to work perfect for this operation.
http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/vi_fp_winstate/
0 | Invalid—If you read this property and an error occurs, the property returns this value. If you set the property to this value, the property returns an error. |
1 | Standard—The front panel window is open but is not minimized, maximized, or hidden. |
2 | Closed—The front panel window is not open. If you set the property to this value, the property returns an error. |
3 | Hidden—The front panel window is hidden. If you set the property to this value and close all references to the front panel, the window remains open but hidden. Because the VI is open, the Getting Started window does not appear. To solve this problem, open the VI from the operating system. For example, double-click the VI in Windows Explorer to open the VI. |
4 | Minimized—The front panel window is minimized. |
5 | Maximized—The front panel window is maximized. |