LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to communicate between application

I'm not sure I know what you mean by your reference to "Call Library Node"? Or your reference to VIs (this is the CVI board, where people expect to write C code...). The entire amount of C code to write, in order to satisfy the original requirement (ie one process to start/stop another on the same computer), was presented in my example. Agreed this limits the implementation to the Windows platform but I was not attempting to produce a solution to a problem that did not exist. I could post my alternative solutions for networked and/or dll based data transfer, but that was not the original problem posed.
 
JR
0 Kudos
Message 11 of 15
(1,861 Views)


@jr_2005 wrote:
I'm not sure I know what you mean by your reference to "Call Library Node"? Or your reference to VIs (this is the CVI board, where people expect to write C code...). The entire amount of C code to write, in order to satisfy the original requirement (ie one process to start/stop another on the same computer), was presented in my example. Agreed this limits the implementation to the Windows platform but I was not attempting to produce a solution to a problem that did not exist. I could post my alternative solutions for networked and/or dll based data transfer, but that was not the original problem posed.

You are of course right! I missed that this was for CVI since this thread was referenced from a LabVIEW related discussion.

Sorry for that.

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 12 of 15
(1,861 Views)

You're not the only one to miss things - I've only just noticed that the original post is actually 1 year old! Smiley Very Happy

JR

0 Kudos
Message 13 of 15
(1,851 Views)
Hi JR,
nevertheless that the question is very old I am still watching it. And I am always thankfull for ideas to improve my projects.
Your idea is very interesting and I think I will try it also.

Meanwhile the project is running, but it is interesting to see other possibilities also.

Thanks

greetings
Oliver
0 Kudos
Message 14 of 15
(1,831 Views)
An alternative option would be to use Dynamic Data Exchange. One program would act as the server and the other as a client, you can then pass commands between the two. It works by passing data from the one to the other in memory. The client would call a function and pass a data payload to send, the server would recieve a callback with the data and then act on it.

Might be a bit overkill for this application however its a usefull skill to learn.

RadioAct
0 Kudos
Message 15 of 15
(1,820 Views)