ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming Modbus Driver LabVIEW

Hello,

 

I am trying to communicate with an Omega Platinum Series Meter through micro-USB. I have downloaded the device drivers and it uses Modbus as protocol. The pallete, which I attached a screenshot of, has many options and I am not sure what to choose and how to go about programming it. I've attached a start of a VI and the manual for my device. 

 

Thanks for the help!

0 Kudos
Message 1 of 6
(2,522 Views)

Did you get the driver from here? https://www.omega.com/en-us/control-monitoring/meters/universal-input-meters/dppt-series/p/DP32PT

 

It comes with an example. Open the project Platinum Modbus.lvproj and see Platinum_MB_Example Serial Master.vi to get going.

0 Kudos
Message 2 of 6
(2,481 Views)

After downloading the drivers, start with PLatinum_MB_Example Serial Master.vi

 

LVNinja_0-1689698025003.png

 

0 Kudos
Message 3 of 6
(2,478 Views)

cordm, LVninja,

 

Thanks for the reply. I ran the example file from the driver and am getting a timeout error 6101, regardless of what I set the timeout length to. 

 

I understand that this is a communication issue with the serial port. What can I do to fix this?

Download All
0 Kudos
Message 4 of 6
(2,412 Views)

If you get a timeout error I suspect that some configuration is off. Did you do this?

cordm_0-1689712572297.png

 

Make sure that what you configure in the program matches the device configuration. Refer to pages 13 & 14 of the Panel user manual.

Message 5 of 6
(2,386 Views)

Thanks! I was able to alleviate the timeout error. The issue now is that when I try to read the value from my device, I get 0. I have the device reading a pressure of about 15 psi. 

0 Kudos
Message 6 of 6
(2,346 Views)