LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

data transferring between two standalones

i have two seperate standalone files one for acquisation and other for control , i want to use a parameter value from acquisation application for controlling application tell me in which part of help should i look into or anyone has any idea how to this using Lab Windows/CVI
0 Kudos
Message 1 of 10
(3,627 Views)
DataSocket is a good tool for sharing data between processes. See the DataSocket examples under cvi\samples\datasocket.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 10
(3,627 Views)
See a response to a similar question:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=5065000000080000005C390000&ECategory=LabWindows%2FCVI

Regards,
Azucena
0 Kudos
Message 3 of 10
(3,627 Views)
I did get some idea but i am not clear yet.
I don't have those data socket examples on my computer,when i tried to run the programme it is giving error for two .fp files i don't have those files on my computer.So can you help me in this from where can i get those files.
I am stating my problem again, so you can explain in detail as i have no experience in data socket.
I am working on automation of magnetic balance, i have created a exe file for data acquisation part, now i am working on control part of the process. but i don't want to combine data acquisation and control so i am creating seperate exe file for control. But my problem is i have to enter some numerical variable from acquisation part into control programming for controlling my expt setup. so p
lease tell me how can i do this using data socket.
Thank you for your time
Aadesh
0 Kudos
Message 4 of 10
(3,627 Views)
i have LabWindows/CVI 5.0.1 which does have data socket sample but it is giving error as it is able to find some .fp files.
And also can you explain in detail how exactly i can use this for my problem as i don't have any experience in data socket application
0 Kudos
Message 5 of 10
(3,627 Views)
What version of CVI are you using? DataSocket is available in CVI 5.5 and above. If you have an older version you will need to learn the TCP library and communicate between processes with TCP messages.

Chris
0 Kudos
Message 6 of 10
(3,627 Views)
I have 5.0.1 version.....so i will start learning TCP library.......any suggestion
0 Kudos
Message 7 of 10
(3,627 Views)
TCP is pretty basic. One application is the server, the other is the client. See the example programs in cvi\samples\tcp

Chris
0 Kudos
Message 8 of 10
(3,627 Views)
Hey Chris........i got it thank you very much
Aadesh
0 Kudos
Message 9 of 10
(3,627 Views)
Hey Chris
I did get some idea but those two programmes are not enough for me.
i am not able to figure it out how i can apply it to my problem of transferring some numerical value from one application to other application on same computer.
can you explain little bit
Aadesh
0 Kudos
Message 10 of 10
(3,627 Views)