10-28-2013 07:02 AM
Good Morning
Having an issue with two PCs and a CFP 1804.
I currently have a CFP 1804 linked to a PC running a VI, no issue.
I've updated the VI with a series of shared variables that I need to read and respond to from another PC about 20 feet away.
I wanted to connect the two PC's via crossover ethernet cable, but when connected, the CFP crashes (as seen in MAX and the VI crashing).
The two PCs and cfp are on distinct static IPs, but most likely the same subnet. Will this cause the crashing? How can I correct this and still use the shared variables?
Any thoughts would be appreciated.
LV 2013 Pro
Solved! Go to Solution.
10-28-2013 10:17 AM
10-29-2013 03:16 PM
Hi ASAT,
You should be able to use a router or switch for a situation like this. Which system is hosting the shared variables? That system would need to be accessible to all systems in the network for communication to succeed. How are you connecting everything currently? I would recommend the use of a switch to connect everything on the same network, then all of the systems should have access to the shared variables. The host pc shouldn't have an issue with multiple networks, but in the case it has trouble with communication, disabling the system-wide network is recommended. Let us know how things proceed!
10-30-2013 04:25 AM
Zach;
You were spot on. I added a network switch, and assigned static IPs to the remote PC, Labview Development PC (host) and the CFP. Thanks! However, I am having issues with deployment of the executable.
I was able to deploy the executable to the remote PC and its bound variables, and it communciiated no issue with the LV PC (host).
Ive tried to deploy the software to the host PC, however, upon execution, there appears to be no communication between the VI executable and the Shared Variables. When running, the green arrow indicators on the variables are empty (not even red).
When I look at the Distributed System Manager, I can see my host pc, remote pc and the two libraries, but they show them errored and unexecuted.
I have the variable engine, USI, MAX, Runtime 2013 F2, Deployable License, Distributed Sys Manager included as additional installers.
Im at loss why the variables appear “unlinked” in the executable.
FYI: developed with LV 2013 and all updated drivers as of 25 Oct 2013. Deployed on XP pro.
10-30-2013 07:35 AM
10-31-2013 01:52 PM
Hi ASAT,
Do you have any firewalls enabled on your PC's? Often times, the firewalls will block port communications that are required for Shared Variables to communicate effectively. Have a look at the document I have linked below that might be useful if you do have a firewall enabled. Hopefully that helps get things working!
Configuring Software and Hardware Firewalls to Support National Instruments Products