CSV Dump of RooPro List in Download mode. Does this work?

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
hamlet
Beiträge: 332
Registriert: 12 Jan 2011, 21:41

CSV Dump of RooPro List in Download mode. Does this work?

Beitrag von hamlet » 10 Sep 2012, 19:18

Dear ft Fans,
Has anyone managed to dump the content of a RoboPro list element to a csv file from a program running in download mode, as described either in RoboPro Help chapter 5.6
You can set the name of the CSV file and the column in which to store the contents of a list in the list’s Properties window under Save CSV file. The data are saved when the program terminates in online mode, or, if you select the item Save CSV files in the File menu, while the program is still running (online or download mode). In download mode, you can separate the ROBO Interface from the PC for data recording and reconnect it for saving.
or in Rei's very nice WWW page?

It works fine in online mode. But if I try to dump the data of the same program in download mode, I get either the following exception message
You must first run a program, that writes data to the csv buffer!
,if I run the program in download mode immediately after a restart of RoboPro, or, if I ran the program in the same RoboPro session in online mode before, RoboPro just fills the csv file with the data recorded in that online run.
The CSV dump would be a (the only) useful tool to get some debug data out of programs running in download mode.
cheers,
Helmut

Ad2
Beiträge: 306
Registriert: 31 Okt 2010, 22:20

Re: CSV Dump of RooPro List in Download mode. Does this work

Beitrag von Ad2 » 10 Sep 2012, 20:37

It should also be possible to get data out with messages via Bluetooth, but you need 2 TXs.

hamlet
Beiträge: 332
Registriert: 12 Jan 2011, 21:41

Re: CSV Dump of RooPro List in Download mode. Does this work

Beitrag von hamlet » 11 Sep 2012, 21:41

Hi Ad and Rei,
thanks a lot for your tips. So I can assume that the cvs dump does not work in download mode (?)
So I have reactivated my tiny mbed controller and abuse it as i2c to serial transceiver to a terminal application on my PC. It works quite well. Transmission rate should be at (5..10)kb/s.
OK, from RoboPro you can log only 16bit integers. I don't see a chance to log these weird 48bit floats or free text by using the Text element, which cannot be connected to anything else than the text display in RoboPro.
cheers,
Helmut

niekerk
Beiträge: 25
Registriert: 01 Nov 2010, 00:04
Wohnort: Eindhoven

Re: CSV Dump of RooPro List in Download mode. Does this work

Beitrag von niekerk » 14 Sep 2012, 22:52

Hi,

I get the same behavior as hamlet, i.e., it doesn't work. I tested with a RoboInterface.
Clearly, according to the documentation it should work. Shouldn't we report this problem
to ft?

Regards,
Paul

niekerk
Beiträge: 25
Registriert: 01 Nov 2010, 00:04
Wohnort: Eindhoven

Re: CSV Dump of RooPro List in Download mode. Does this work

Beitrag von niekerk » 30 Sep 2012, 22:48

@admin

Now that it is clear that RoboPro "Save CSV File" function does not work in download mode, could you please move/copy this topic to the "Kontakt mit fischertechnik" Forum?
Thanks.

Regards,
Paul

Antworten