LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Server Problem

I am using VI server to set the enabled/disabled state of two Boolean
controls on a front panel of a different vi.

I create a reference to the required vi, use the front panel property and
then feed that reference to create a controls array property. I then use
the
disabled property to set the desired state (of the indexed control ref).

The control state subvi functions fine if the front panel is shown but when
it is run as a subvi within another vi, it does not work.

Any ideas would be greatly appreciated

Regards

Simon
0 Kudos
Message 1 of 2
(2,443 Views)
You can handle reference only to the Vi server which is running (have opened front panel). If you don't want to see Front panel just hide (not close) it after runnung by means of Windows API functions.
If you call sub'vi without "Show FP at load or call" property enabled you cannot use server vi features.
P.S.
Why do you want enable/disable boolean controls wich are not visible.
Romek.
0 Kudos
Message 2 of 2
(2,443 Views)