I can't get data logging to work. The PC is connected to MD with the usb cable, and they do have a connection since clicking the "A hold" button has effect. But the table in the tab Data is empty, and the Visualization tab does not have any curves, just a en empty plot area.
Do you need to do something more to start acquiring data?
The MD runs code compiled from SVN.
The laptop runs the bofh-compiled UI on windows 8. UI version mUIv2-setup-2.0-beta10.0-release-x86-df32
EDIT: problem is solved
[SOLVED] Empty data table in UI
-
- Posts: 26
- Joined: Thu 10. Jul 2014, 20:10
- Location: Sweden
[SOLVED] Empty data table in UI
Last edited by erikiiofph7 on Mon 24. Nov 2014, 23:26, edited 1 time in total.
Re: Empty data table in UI
seems like a protocol mismatch
how old is your compiled avr firmware from svn (from trunk/eclipse/multidisplay)?
how old is your compiled avr firmware from svn (from trunk/eclipse/multidisplay)?
-
- Posts: 26
- Joined: Thu 10. Jul 2014, 20:10
- Location: Sweden
Re: Empty data table in UI
It's revision r916, which seems to be committed Oct 21.
Re: Empty data table in UI
Thats new enough. You are using eclipse to build it?
-
- Posts: 26
- Joined: Thu 10. Jul 2014, 20:10
- Location: Sweden
Re: Empty data table in UI
Oops, it appears I missed the data sent over serial when I configured my MultidisplayDefines. The thing is that to get MD configured for my engine I created a new set of defines instead of using MultidisplayDefinesDigifant.h/MultidisplayDefinesDigifant.h. My new file is based on one of them though. The problem was that I missed to add my engine to this if statement in line 1527 in MultidisplayController.cpp (where the VR6 is mentioned):
With my engine added to the if statement, it now sends the 35 bytes of empty data to match the expected pattern. Which means I now get data into the table & plot on my computer.
Thanks for the help!
Code: Select all
#if defined(MULTIDISPLAY_V2) && defined(VR6_MOTRONIC)
// 35 bytes
outbuf = 0;
for ( uint8_t i = 0; i < 35 ; i++ )
Serial.write ( (uint8_t*) &(outbuf), sizeof(uint8_t) );
#endif
Thanks for the help!