LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using shared variable not in the project.

hi all
 
I have a project with the 2 RT targets and the development PC which were i currently deploy all my shared variables, But I need to finally deploy these shared variable in a different stand alone windows based machine. To do this I created separate application which does nothing but deploys the shared variables in this PC. but when i tried to bind to this variables (frount panel binding) from my RT targets it woudnt work, the led does not glow, it is always transperent. but when I tried to connect to these variables from my development PC it works fine. I double checked the firewall problem, that is not the case here. Can anyone tell me what am i doing wrong?
 
Thanx
Arun
0 Kudos
Message 1 of 4
(3,910 Views)

Hi Arun,

FP Binding is not supported on RT targets. This is expected as one would not ideally using the front panel of RT vis but rather transfer that data to the host to view and deal with it.

I suggest that you bind the shared variable on your RT target to your shared variable on the 'other windows machine' and then use it on the block diagram.

Have a great day!

Regards,
Prashanth

0 Kudos
Message 2 of 4
(3,893 Views)

Hi Prashanth

Thanks for the reply. I did realize that the front panle connection would not be supported in RT, now i have the shared variables on my RT machine which has te source as the windows machine. If the windows machine is my development machine the shared variables connect fine, but if its a different PC the shared variables connect for few seconds and with the error info "shared variable value 0" then the connection gets disconnected.

Also i read a note in the shared variables help, it said to subscribe and publish on a network shared variable all the shared variable which connects to this variable should be active. does this mean that if there are 2 RT targets that subscribe data and one of them is not switched on the shared variable does not work.?

Thanks again for your support.

Regards

Arun

0 Kudos
Message 3 of 4
(3,888 Views)

Hi Arun,

As you may have already figured out, the answer to your question "Also i read a note in the shared variables help, it said to subscribe and publish on a network shared variable all the shared variable which connects to this variable should be active. does this mean that if there are 2 RT targets that subscribe data and one of them is not switched on the shared variable does not work.?" is that it is not necessary to have all the shared variable clients turned on to get a hosted shared variable to work.

Hope your application development is going fine. Have a great day!

Regards,
Prashanth

0 Kudos
Message 4 of 4
(3,853 Views)