01-15-2026 12:01 PM
I am working with Micron Meters MLT series resistance modules with RS-232 communications. Per the documentation, I can communicate with the units via Modbus (RTU or ASCII) to access the full command set, or via a "Custom ASCII Protocol" for very simple commands.
Has anyone written LabVIEW code to communicate with Micron MLT units? If so, could you possibly share it with me? Micron Meters has no LabVIEW support for these units, and their technical support staff could not furnish me with any example code in C, C++, Python, etc.
I have not written any low-level Modbus code in many years. I could do it, but I'll have to climb back up the learning curve. I may also be able to write all required code using the custom ASCII protocol. That said, if anyone has prewritten code available, that would make my life simpler.
Thanks in advance.
01-15-2026 01:01 PM
Hi Forbes,
@diarmaede wrote:
That said, if anyone has prewritten code available, that would make my life simpler.
With VIPM you can easily find Modbus libraries, I usually use the one from NI.
That Modbus library comes with Modbus/RTU support, so all you need is to know which registers to read/write (from the manual)…
01-15-2026 01:17 PM
Thanks for the quick reply. Yes, I have looked at the Modbus RT libraries available through VIPM, but I am hoping someone has written code specifically for these instruments. Not sure if I'm being efficient or just lazy...