LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arduino mega2560 USB 9600 baud connectoin

I have just now made a USB connection between Labview 2012 and my Arduino Mega2560. However, it seems to only work with a USB/COM 9600 baud. This was specified in the Arduino LIFA_Base>LabVIEWInterface.h with the following defines:

 

#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
#define DEFAULTBAUDRATE 9600    // Defines The Default Serial Baud Rate (This must match the baud rate specifid in LabVIEW)
#else
#define DEFAULTBAUDRATE 115200
#endif

 

My question: can I make a USB connection faster than 9600 baud, like 115200 used for the UNO board. If so, how. Does it require changes to code and/or Labview VI(s). If not, can you shed some light and explain why the restriction.

 

0 Kudos
Message 1 of 2
(4,083 Views)

Try configuring your baud rate in Measurement and Automation Explorer (MAX).

 

I included a picture of where this setting is located in MAX.

baud rate.png

0 Kudos
Message 2 of 2
(4,056 Views)