Hi Arduino forum members,
I’m currently using Labview in combination with my Arduino Due to control a process and send measurement data from the Arduino to Labview trough the (virtual) serial port. This works really well as in I can send commands and setpoints to the Arduino and receive measurement data from the Arduino easily.
The thing is serial communications even over the native serial port (using SerialUSB) are incredibly slow. I get the USB protocol works with larger chuncks of data than I’m sending but even so I don’t think it should lose to regular serial. Perhaps my Arduino Due is defective.
For comparison I used the attached sketches one is for regular Serial at 250000 baud and the other is using SerialUSB. I get about 150 ms for the SerialUSB one versus just 79 ms for the Serial one.
Are these results the same for your Arduino Dues?
sketch_sep30b.ino (369 Bytes)
sketch_sep30c.ino (378 Bytes)