LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication Between Two Projects

I have tried running the other variable server on the cRIO and on the Windows machine and the variable is still not being passed.  I have not done anything with that alias option so I will have to look into it before I can comment on it.  Thank you for the input.

-You can never have too much power...
0 Kudos
Message 11 of 14
(736 Views)

Hello all,

 

Through trial and error, I fell upon something that kind of does what I want but I am not sure if there is a way to expand on it and since you guys have given me good feedback so far, I figured you guys might have another approach or thoughts on this.  I found that you can bind an indecator/control to a shared variable in a Shared Variable Engine.  So you have to bind a control on one project to write to avariable on the shared engine and then, on the other project, you can bind an indicator to read from the variable.  The data successfully passes through both projects as I want.  The only thing is the binding on the send side, due to my inability to change that code (rather than just being able to access it).  If anyone knows, is there a way to send the data using a standard shared variable node and read it using the shared variable node,OR send it using the shared variable node and read it, in the other project, using the data binding method.  I was not able to figure this out and want to see if anyone has had any experience with this.  Thank you all for your feedback.

 

Michael

-You can never have too much power...
0 Kudos
Message 12 of 14
(707 Views)

 


... OR send it using the shared variable node and read it, in the other project, using the data binding method.

 

Hi Michael,

 

You only need to enable aliasing on the side of the subscriber PC.  I think this will help:

 

KnowledgeBase Article: How Do I Set Up Shared Variables to Communicate Between Two PCs?

 

- Greg J

0 Kudos
Message 13 of 14
(689 Views)

Or.... TaDA

 

you could always upgrade to LabVIEW 2010 and use the network streaming functions

 

Gosh 1 week out and already finding some good use for the new stuff.


"Should be" isn't "Is" -Jay
0 Kudos
Message 14 of 14
(679 Views)