02-17-2011 03:33 AM
I want to connect TPC-2106T with the CompactRIO-9014 through RS-232(serial) cable. Could i connect for data communication purpose i.e. for sending controls from the TPC to real time VI which will present on CompactRIO and receiving data in the indicator of TPC whatever generating from real time VI. If yes then please suggest me how should i do programming?
Solved! Go to Solution.
02-17-2011 03:46 AM
You won't be able to do this using serial. Is there a reason you cannot do it via ethernet?
If you use ethernet, you will need to use shared variables or TCP/IP to publish the data from the cRIO and then program the TPC to read this data and display it on the screen. If you intend to use shared variables, you can deploy the shared variables on the cRIO itself. If you need to see some examples, open up example finder (Help -> Find Examples) and navigate to Toolkits and Modules -> Touch Panel -> Networking. If you have any other questions, post back.
02-17-2011 07:52 AM
i have already done it via ethernet [shared variable] but there was one problem, that the data was coming after 15-20 sec on TPC-2106T from the real time VI which was running on CompactRIO.
02-17-2011 08:05 AM
That shouldn't happen; it's too long of a delay.
Are you connecting the cRIO and TPC directly with a crossover cable or are they connected over your local LAN? Also, try to create a simple VI at both ends that only implements 1) TCP/IP comm and 2) a shared variable comm. Let us know how that works.