I'm currently writing a program in c# that will take in data from my device and display it, as well as graph it in real time. My device is powered off of a Due.
My current c# program uses the event SerialDataRecievedEventArgs to trigger when to read the data from the serial port. What I am noticing is that when I send the data out of the programming port, things work as intended, the program picks up the data. When I send it out of the Native port the event never triggers. It's as if c# doesn't realize there was any data received.
Interestingly this is not what happens when I open the arduino serial monitor. That picks up everything. Does the arduino serial monitor run off a timer or a data received event? Is there a difference in the packets that are sent from a due when using the separate ports (Using Serial.print vs SerialUSB.print)? Are there differences in stop bits, parity, or data bits?
I have the right COM port selected in each case and the baud rate is at 115200 for both.