LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

modbus sampling rate

I am communicating with an ADAM-5000 device using the Modbus Serial VI's with Labview 2009 using Windows 7.  I am reading and writing bit registers and numeric registers for a total of four. Serial is RS232 at a rate of 115,200 Baud. My program loop time is 200 mS even when I isolate everything but the Modbus comms. In fact, as I isolate each modus sub vi, it looks like it is 50 mS per.  I am trying to get something below 50 mS for all registers.

 

Does anyone have any idea where the hold-up is? Is it the Windows overhead, the USB to serial converter? The ADAM-5000 information says it should work faster than that.

0 Kudos
Message 1 of 3
(2,984 Views)

Can you post the loop in question's code, or a .png image of the diagram?

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 3
(2,970 Views)

The code is attached. It is a little messy.

0 Kudos
Message 3 of 3
(2,966 Views)