LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control Code for Micron Meters MLT Series Transmitters

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.

Forbes Black
Lapsed CLAD, LV 5 - LV 2023 (Yeah, I'm that old...)
0 Kudos
Message 1 of 3
(268 Views)

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)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(244 Views)

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...

Forbes Black
Lapsed CLAD, LV 5 - LV 2023 (Yeah, I'm that old...)
0 Kudos
Message 3 of 3
(232 Views)