From: Vihang Patil on 18 Jun 2010 09:08 Hello, I am trying to use modbus communication on a RS232 (serial port), and able to successfully communicate with my device. But the data acquisition speed is really slow i.e when I tried tic;fprintf(s,str,'async'); %write modbus;toc It took approximately 0.065 to 0.1 sec to write to the serial port. I wanted to know if there is any alternative to this command, as I have observed that modbus communication through VB is much faster. So, is Matlab slowing it down? Vihang
From: Walter Roberson on 18 Jun 2010 09:38 Vihang Patil wrote: > Hello, I am trying to use modbus communication on a RS232 (serial port), > and able to successfully communicate with my device. But the data > acquisition speed is really slow > i.e when I tried tic;fprintf(s,str,'async'); %write modbus;toc > It took approximately 0.065 to 0.1 sec to write to the serial port. I > wanted to know if there is any alternative to this command, as I have > observed that modbus communication through VB is much faster. So, is > Matlab slowing it down? Is there a USB to serial converter somewhere in there?
From: Vihang Patil on 18 Jun 2010 09:52 Walter Roberson <roberson(a)hushmail.com> wrote in message <wFKSn.37875 > > Is there a USB to serial converter somewhere in there? No, there is no USB to Serial Converter, but a RS485 to RS232 converter. My device has a RS485 port.
|
Pages: 1 Prev: uiwait multiple figure interface Next: Simulink Solver Run Times |