Hiho,
first of all thanks for that great work!
I perpared a little test with the classic 10k poti analog read on a NodeMCU ESP8266 Board. when i open the spreadsheet and set the COM Port + Baud (9600 even tho I'd like to use more but 9600 is enough for testing). When i connect the system seems to work properly, but unfortunatly the Data Aquisition stops after 30...50 samples and Excle closes. Im using WIN10 64-Bit and Excel 2013. I post my Arduino IDE Code down below.
Cheers, Hannes!
/*
* Oszi using "PLX DAQ v2"
*
*/
void setup() {
// open serial connection
Serial.begin(9600);
//Serial.println("CLEARDATA"); // clears sheet starting at row 2
Serial.println("CLEARSHEET"); // clears sheet starting at row 1
// define n columns named " ", " ",...
Serial.println("LABEL,Date,Time,AnalogRead,millis");
// set the names for the 3 checkboxes
Serial.println("CUSTOMBOX1,LABEL,Stop logging at 250?");
Serial.println("CUSTOMBOX2,LABEL,Resume log at 350?");
Serial.println("CUSTOMBOX3,LABEL,Quit at 450?");
// check 0 of the 3 checkboxes (all false)
Serial.println("CUSTOMBOX1,SET,0");
Serial.println("CUSTOMBOX2,SET,0");
Serial.println("CUSTOMBOX3,SET,0");
}
void loop()
{
int value;
value = analogRead(A0);
// simple print out of number and millis. Output e.g.,: "DATA,DATE,TIME,TIMER,4711,13374,AUTOSCROLL_20"
Serial.println( (String) "DATA,DATE,TIME," + value + "," + millis() + ",AUTOSCROLL_20" );
delay(1);
// alternative writing method:
/* Serial.print("DATA,DATE,TIME,TIMER,");
Serial.print(i++); Serial.print(",");
Serial.println(millis());
Serial.print(","); Serial.println("SCROLLDATA_20"); */
}