11-02-2009 04:11 AM
Hi,
I'm trying to develop a program that shares information between a VI running on a host computer and a VI running on the CVS 1456 Real time system. I'm trying to use shared variables but for some reason the they are not communicating right. The connection system between the host computer and the CVS is the Ethernet cable running through a hub connected to a larger network. I have no admin rights in the network but the CVS does work and I have been running programs of the CVS.
Thank you for your help,
Rene
11-02-2009 05:02 AM
11-02-2009 11:46 AM
I do not think the network is an issue because i can load program and run them onto the CVS. I had originally created "network-published" shared variables on the host computer. When they were referenced on the CVS, it was not affecting the variables. Is there any specific procedure to set up variables to communicate across the host and the CVS?
-Rene
11-02-2009 09:35 PM
renesillo wrote:When they were referenced on the CVS, it was not affecting the variables.
What do you mean by this statement? Is it possible for you to create a simple project that has the CVS target and a library on the host with one variable? Add that variable to a VI on the CVS and to a VI on the host and run the application. Does that work? If possible, zip the project with all the files and post over here.
11-03-2009 05:20 PM
I was able to get shared variables working on the CVS but only when hosting the variables on the CVS, not my PC. My project for this is attached.
I am not sure if this is expected behavior and will look into that, but please let me know if you can get the shared variable working when hosting it on the CVS.
11-03-2009 06:17 PM
Hey,
I just got it to work. It seems I needed to change the variable to be on the CVS, like you specified. Also, since the computer only reads from the variable, I set up the variable as single writer and as absolute instead of target relative. FIFO was also enabled. This gave me almost no delay in the transmission of the variable from the CVS to the host computer.
thanks again,
Rene