CASE and Comma sparated values in Oshonsoft.

Thread Starter

camerart

Joined Feb 25, 2013
2,050
Hi,
I'm having problems with CASE and Comma sparated values (CSV) in my programs. (This occured previously in another thread)

Sometimes it works ok, then seems to switch to 'don't work' for no reason. I checked the Oshonsoft HELP files and couldn't find CSV.

Here is the program giving errors : (Previously the CASE CSV was working)
Could someone put it throught their Simulator please?

Input these test sentences into the Hardware UART:
$QEIDEG,111,W
$REMOTE,12,20,50,W
$GPRMC,123519,A,4807.038,N,01131.000,W,022.4,084.4,230394,003.1,W*6A?

Here's what it should produce:

Cheers, Camerart
 

Attachments

Thread Starter

camerart

Joined Feb 25, 2013
2,050
Hi,
I tried a test, where the CSVs and CASE are removed, and only using MIDSTR.
I liked the CSV system!

This works:
I had to experiment with the counting, as it appears that Commas aren't visible, is this correct?
[ $REMOTE,12,20,50,W ]

EDIT: Commas are visible, but not counted in the program, which is now changed, so all of the MIDSTR counts, had to be changed.
C
 

Attachments

Last edited:
Top