LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-Time vi works fine, but after building application client-server communication does not work

Hi all, I havve been advised to post my message here, though I thing it's connected with application building 


My RT application (LV8.5.1) runs in compact FieldPoint. It has 3 loops: low priority, high priority and client-server communication loop to send and receive data with host PC.  It also have remote panel server, to see the front panel from network.  It works perfectly when I start it from project. We have all data on host computer. But when I create an executable to run from start-up, I still see and control my application on network, but communication is broken. I suspect that need to set special settings in build specification. The application itself is okay, I have checked it many times. Any hint and help would appreciate

Download All
0 Kudos
Message 1 of 5
(2,968 Views)
...and this is a last subvi's (I hope)

As I mentioned above in .vi mode all works fine, with sending and receiving the data to /from program in host computer. 
Download All
0 Kudos
Message 2 of 5
(2,967 Views)
Hello Armen,

it would be great if you send me your lv project. Otherwise its hard to check the exe settings.
"We have all data on host computer. But when I create an executable to run from start-up, I still see and control my application on network, but communication is broken."
If i understand you correctly you are able to view the front panel in  a web browser and you are able to control the application from the Internet explorer.
But the communication between the rt target and another vi on the laptop is broken.
For example you write a value to a shared variable on the rt target and you want read out the value in another vi on the laptop.
And this communication dosen´t work.

Please correct me if i misunderstand you.

Kind regards,

Elmar
Message 3 of 5
(2,954 Views)
Hi Elmar,

Thank you for your efforts, actually I dont use shared variables, the host program is written on LV7.1 and its not worth for update. All communication is going ovet TCP/IP send/receive data communication.
In attachment please please find the prooject file
0 Kudos
Message 4 of 5
(2,943 Views)
Hello Armen,

you use lv 7.1 and post  an empty lv project.
It dosent exist a lv project for lv 7.1.
Anyway please look at the example finder and test the communication with the example first.
To identify if its a network problem or a lv code problem.
You are also able to use a freeware spy to see the what is wrong in the communitaction.

http://forums.ni.com/ni/board/message?board.id=170&message.id=32847&requireLogin=False

Kind regards,

Elmar
Message 5 of 5
(2,923 Views)