01-17-2008 12:59 PM
01-18-2008 03:47 PM - last edited on 06-04-2024 12:28 PM by Content Cleaner
task,
I found some information about issue. Connect two computers using modbus TCP/IP , Using Touch Screens with LabVIEW through Modbus Serial - Example VIs , and Creating Modbus I/O Servers .
I have some additional questions:
1. Have you installed the Modbus LabVIEW Library?
2. What examples did you start with?
3. Is this the tutorial you began with?
4. If you have the Modbus LabVIEW Library installed, are you using those VI's as examples?
5. Are you communicating with Lookout/Lookout Protocol drivers?
01-18-2008 04:54 PM
task,
Just to clarify in order to communicate you will need the IP address of the device you are communicating with. For instance if the CMode touch panel is the master, and the PC is the slave. In the I/O server the CMode touch panel will need the IP address for the PC, and the PC will need the IP address for the CMode in order to communicate with each other.
01-18-2008 05:09 PM
Thanks for the response. I will look at the info later tonight.
Answers to your questions:
1,2,4: Yes, installed and examples followed. Do not have (or want) DSC Module so those examples are blocked out.
3: Yes
5. No, have never used lookout...if it's another module or cannot be used with Labview RT then I cannot use it.
Thanks again and I will follow up with any progress I have after reviewing the new info provided.
Teri
01-18-2008 05:12 PM
Sorry, didn't read the next post or I would have included this response also.
Yes, I have all the IP addresses set up accordingly (top portion of my post). I'm still confused on the Server, Client issue but I have the CMore setup as the Master and the PC as the Slave. I haven't even brought the PXI box into the picture, which I believe will be another Slave.
Thanks again,
Teri
01-19-2008 05:05 AM
01-19-2008 11:36 AM
01-21-2008 02:57 AM - edited 01-21-2008 03:03 AM
"I believe the master device should be the one with the data inside it" - unclebump
I think this is not true. i think it is not the data which is determining factor in master slave communication. but who CONTROLS the communication.
you are confusing between master slave and client server.
and contrary to your belief many a times server is slave and client is master.
when you connnect to internet; servers dont ask you "would you like to see this site?" but you (client) tell to the server "show me this site"
when you communicate with GPIB instruments or modbus devices etc. the devices have the data and they inherently act as slaves.
" The Cmore should be a slave trying to read data from the RT device that acts like a master" - unclebump
i agree that Cmore should be slave, not because it is trying to read data from RT. It should be slave because we want to control the state of Cmore from RT
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
01-22-2008 06:29 PM - edited 01-22-2008 06:29 PM
01-23-2008 09:28 AM
I have tried ALL examples...the ones provided by NI and others I found in other forums. What I need is a detailed explanation of how to set it up. All the examples show how to use the modbus on one computer, each program talking to each other. Obviously I can do that. I'm just getting ready to try communications with my PXI system since I just got it all set up. Eventually the PXI-8184RT will all that will be in the picture along with my CMore but I should be able to get somewhere communicating between the PC and the PXI. I really need to get the CMore working so hopefully if I get the PXI to communicate I can go from there...you'd hope!
Thanks for the continuing help.
Teri