LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi server enable remote control of only some controls

Solved!
Go to solution

Hi guys,

 

Does anyone know of a way to allow control of only some front panel controls when using the web publishing tool? I have some controls that I do not want used remotely (it could be unsafe) and some that I would like to use remotely.

 

Thanks!
Christopher

0 Kudos
Message 1 of 17
(3,470 Views)
You can use property nodes to enable/disable controls. What are the circumstances that a control would be enabled?
0 Kudos
Message 2 of 17
(3,460 Views)

Hi Dennis,

 

Controls are all enabled when the server has control of the VI.  When the client has control only half of the controls should be enabled.

 

How would I determine programiatically who has control of the vi?

 

Thanks!
Christopher

0 Kudos
Message 3 of 17
(3,447 Views)

This is not something that I have actually done, but maybe you can try right clicking the controls, selecting properties and experimenting with the Security tab options. Check this:

https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/resource/dialog/preferencesdialog/preferen...

Camilo V.
National Instruments
0 Kudos
Message 4 of 17
(3,405 Views)

Hi Camilo, thanks for the reply.  It looks like that my work, however, security is not one of the options in my properties box.. what is the Module DSC that the security requires?

A tool kit I can download?

 

Thanks!
Christopher

0 Kudos
Message 5 of 17
(3,398 Views)

That's odd. Just to verify, open the properties by right clicking a fron panel element and selecting Properties (se Menu.jpg).

 

Then, you will get you to the element's Properties window (see Properties window.jpg). The window title can vary depending on the element.

 

Finally, scoll to the Security tab at the right end of the window (see Security.jpg).

 

On another page: what LabVIEW version are you using? Maybe I can find why you don't have the option with that information.

Camilo V.
National Instruments
Download All
0 Kudos
Message 6 of 17
(3,380 Views)
Caraval,

Why did your previous post reference DSC? What does that have to do with the web server?
0 Kudos
Message 7 of 17
(3,375 Views)

My post was not directly refered to web server but something more general instead. I couldn't really find a way to perform the task with property nodes, so my only guess was experimenting with the security tab. Then again, I have not tried something like this before, so I am uncertain whether it will actually work or not (it was just an idea that crossed my mind).

Camilo V.
National Instruments
0 Kudos
Message 8 of 17
(3,365 Views)

It looks like you have to have the DSC nodule before the Security tab appears.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 9 of 17
(3,359 Views)
I'm on a phone right now but I'd swear there is a property that says whether or not someone is connected.
0 Kudos
Message 10 of 17
(3,344 Views)