Go Down

Topic: PLX-DAQ version 2 - now with 64 bit support! (and further new features) (Read 79445 times) previous topic - next topic

NetDevil

Hi guys,
first of all sorry for not replying to any message so far - I didn't get a single mail notification and thought PLX DAQ is just running fine and smooth :-)

I'll recheck the thread more frequently from now on.

Excel seems to keep crashing on me. Is it bc of my sample rate? CPU usage goes up to 60% while the app is running but doesn't seem to be draining resources completely. It collects data for about 400 rows and then crashes. I tried baud rate 9600 and 115200. It seems to be more stable if I increase the delay to 100ms (sampling rate of 10Hz) But realistically I need to sample at least 50Hz.
Hi Jarus,

sadly that is a commonly known issue I hope I'll find the time to work on any time soon. For now however the only know workaround is to try to minimize load on the communication by adding delays (~50ms) and running on low baud rates (around 9600). That way most of the tests were running stable. Not using autoscroll might help (not sure). Also don't use Excel while communication is ongoing. Like don't click into cells, don't move the Excel window around, don't move PLX DAQ window around. Doing any of that kind of "locks" Excel for the time being and can heavily mess with the input buffer and cause problems.

If you need anything more just let me know.

Greetings

Jonathan

dynamos

Hello,

Thank you for this application "free and without advertising"

My Excel sheet does not fill,
but I have all the information received on the serial port (3)
and on the direct debug of the PLX-DAQ app.

https://i43.servimg.com/u/f43/18/28/13/45/affich12.png


https://i43.servimg.com/u/f43/18/28/13/45/plx-da11.png


(windows 10/64, excel 2016)


Do you have a solution to offer me?


Thank you

Sorry for my very bad English, I'm French (Google translate)

NetDevil

Hi dynamos,

please make sure to use the correct PLX DAQ syntax. It is described in the Beginners Guide Word document included in my post of version 2.11 (link to post))

Basically it is important to use:

  • Serial.println("CLEARSHEET"); // clears starting at row 1
  • Serial.println("LABEL,Date,Time,YourColumns1,YourColumn2,YourColumn3,MilliSeconds");
  • Serial.println( (String) "DATA,DATE,TIME," +  "SomeTextA," + "SomeTextB," + "SomeTextC," + millis() );


First clear the sheet
Seconds define your column headins
Third send your data (put that in your loop and replace the "SomeText" with your variables

Greetings

Jonathan

dynamos

Thank you Jonathan for your answer,

I move forward, I now have a display but not the results










If you have an idea?

As you can see I start in the program

NetDevil

Well yeah,

your loop contains "CLEARSHEET" - thus you delete all your data before sending new :-) Clearsheet should be used at the beginning of your code only once (e.g., in Arduino init function).

Also in DirectDebugWindow I still see some non-PLXDAQ confirm data being posted. You should check your serial.println in order not to send too many unused data over the cable (will decrease stability)

Natha7

Hi NetDevil,

I am getting the following Error when trying to connect to my Arduino Uno:

"Error open port

COM Error: Error(5): CommOpen (CreateFile) -Access denied

Aborting!"

Do you have any idea of what could be the matter? I folloed the steps in your guide but I still cannot fix it x.x

Thank you very much in advance,

Natalia


Edit: Problem was solved connecting and disconnecting Arduino. Thanks again for making this awesome program.

Go Up