is there a library for PLX-DAQ? I got it working but it was not very pretty! Its control and directives needed to be in all caps with the values comma separated. This was the only way I could get the data to show up in the excel program.
int val = 0;
int val1 = 0;
void setup() {
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
//int val = 0;
}
void loop() {
delay(500);
val++;
if (val > 29) Serial.println("CLEARDATA");
Serial.print(byte(68));
Serial.print(byte(65));
Serial.print(byte(84));
Serial.print(byte(65));
Serial.print(byte(44));
Serial.print("TIME");
Serial.print(byte(44));
Serial.println(val1);
//if (val > 29) Serial.println("CLEARDATA");
if (val > 29) val = 0;
val1 = random(50, 75);