06-29-2014 09:32 AM
hi all,
i have a problem with shared variable and labview android app.
I create a basic IV with while loop and a random number with shared variable.Now i Deploy all the variable and i have this message:
Initializing... Calculating dependencies... Checking items for conflicts. This operation could take a while... Preparing items for download. This operation could take a while... Deploying My Computer Deploying Untitled Library 1.lvlib Deploying Untitled Library 1.lvlib:DDVariable1\\10.211.55.6\Untitled Library 1\DDVariable1 deployed. Deployment completed successfully
now i open android app, select "connect to shared variable" and insert ip address 192.168.0.2 (ip address of my pc where run labview), but connection fail...why?
my ip address of router is 192.168.0.1 and my smarthphone is connected via wifi in the same net.
Solved! Go to Solution.
06-29-2014 12:58 PM
06-29-2014 01:21 PM
do not appears the variable on device android because after i tried to connect, show a popup that it said to check network.I readed that i have to install Network Variable Engine, but i don't find it.
07-01-2014 09:28 AM
Hi,
Variable engine is integrated in LV.
But if you deploy the shared variables into a RT target, you have to install variable engine on target.
Now the question is: where the shared variables have to be?
07-01-2014 09:44 AM
thanks for reply.
i'm following this paper: http://www.ni.com/white-paper/13757/en/
i created that example and i'm trying to see the shared variable in android device.
in this paper i don't understand step 3.2 :
Select Shared Variables in the Connect dialog. Then, enter the Shared Variable server DNS or IP address as shown in the following image. Tap Connect to connect to the Share Variable Engine.
I'm using IP address of my pc in the wifi network (192.168.0.5) but don't work.which ip address i have to insert?
07-01-2014 09:54 AM
Could it be a firewall setting?
Have you tried to configure the windows firewall:
http://digital.ni.com/public.nsf/allkb/0D7B86F4B4D
(Its also discussed in this thread)
07-01-2014 10:03 AM
Also check in "Tools-->Options-->VI Server-->Machine Access" that Remote target ip is in the list (or a "*" for grant access to all).
07-01-2014 10:19 AM
i have disable windows firewall.
In VI Server i have insert " * " in machine access and exported VI.
In shared variable engine in "time server search order" add 192.168.0.5 but nothing to do with or without it.
In android device press "connect to shared variable, insert 192.168.0.5 and : Connection error, unable to connect to server,shared variable or web service.Verify the wireless connection is enable,the server is avaiable or web service is still present on that server.
this image show when i deploy .lvlib :
07-01-2014 10:36 AM
Seems that variable ip is 10.211.55.6
07-01-2014 10:49 AM
how can i change it to 192.168.0.5?