05-02-2011 08:28 AM
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.
05-02-2011 12:43 PM
Can you post the loop in question's code, or a .png image of the diagram?
05-02-2011 12:49 PM
The code is attached. It is a little messy.