08-11-2014 11:56 PM
Hi all ,
I am using RT OS for my project , connected with the host PC , both the places I am creating the global variable of same names , like for DMM i create 2 global variable one in host and one is RT .I am passing the infor from host one after the other .I am processing the command in RT and the data is sent back to the host .
for displaing and reporting .
can any one tell me is ther any other best method to communicate between host and RT communincation other than the global variable , or can one tell me that this is the best method .
Regards,
Solved! Go to Solution.
08-12-2014 02:02 AM
Hi prajwal,
global variables will not work for data exchange between different computers - not even between executables on just one computer!
You need to use SharedVariables for that purpose!
You can use any protocal that is based on network access: SharedVariables, NetworkStreams, DataSocket, UDP, TCP, …
08-12-2014 02:40 AM
you are right , I am using TCP communincation as the data communincation B/W host and the RT .
Can you Plz pass more infor on the network streaming
08-12-2014 02:45 AM - edited 08-12-2014 02:46 AM
Hi prajwal,
"Plz" "infor" ???
Could you please use full English words? Many (if not most) people in the forum don't use English as their first language…
08-12-2014 06:52 AM
Network Streams are definately the easiest way to send data back forth between RT and Windows. You need to create a read and write endpoint on each side, but then the network stream handles all of the connection and reconnection for you, so it makes your life a lot easier.
08-12-2014 07:29 AM
I am trying out Network stream , can u please send me link of some exames of Network streaming .
My aim is to read the DMM at the RT side and send the data to windos using Network streaming this task i will continously doing .
Please consider this
08-12-2014 07:37 AM
08-12-2014 07:38 AM
There are a few good examples in the Example Finder (Help->Find Examples) in LabVIEW. Do a search for Network Streams and you should find a Writer and a Reader example that work together.
09-04-2014 07:35 AM
I am using sbrio 9606,I want to access GPIOs(pins) of micro on RT side not FPGA DIDOs(0-95).
09-04-2014 07:51 AM
Hi asd,
your post is totally unrelated to this thread.
And you already started your own thread so please don't double post!