Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicating with Gas Analyzer over TCP/IP

Solved!
Go to solution

Hey DHagan,

 

Glad to hear it. Weird that the unit id is used, since their documentation explicitly states otherwise. Oh well, I'm glad you figured it out.

 

If you do have some time, definitely consider giving the new library a go. We're always looking for feedback 🙂

 

Thanks,

Daniel

0 Kudos
Message 11 of 12
(3,342 Views)

    Thanks for the examples and for posting this issue. I've used streaming data with various Thermo units before, but this time I wanted to use Modbus because the streaming option only gives you a subset of all the data channels. Previous posts are correct that the manual does not tell you that you have to set the Unit ID, but the Modbus interface did not work until I set it. Even more bizarre is that I'm using Modbus over TCP, and the Unit ID is documented as being used only for Modbus over serial. The LV documentation says that the Unit ID property is ignored for TCP connections, but in fact, it works and is needed for Thermal instruments.

   By the way, I'm using the new Modbus library, which I think is great. However, it doesn't give you access to the MBAP Header directly. Luckily there is a property node that lets you write the Unit ID.

 

Thanks again,

     DaveT

-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 12 of 12
(1,577 Views)