Search found 18 matches

by jpnovak
Thu Jan 13, 2011 12:55 pm
Forum: TunerStudioMS
Topic: MS on Iphone/Linux tablet
Replies: 10
Views: 1100

Re: MS on Iphone/Linux tablet

This is very interesting.

I have a datalogger running on an mbed. I should be able to connect to it over a network interface using a android tablet. Do you have interface code that actually pulls data from the MS? I have the protocol but do not know how to make this work for the smartphone/tablet ...
by jpnovak
Fri Feb 05, 2010 8:35 am
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

I don't recall. Between S and Q... One is board revision and one is code variant.

time to code some If () statements related to the above information.
by jpnovak
Tue Feb 02, 2010 8:48 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

I just thought about this for two seconds and forgot the "Q" sends back the code variant. Ahh now I have new ideas...
by jpnovak
Tue Feb 02, 2010 8:47 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Phil, Do you have any documentation on the query command? Is it buried in the base code or .ini file?

I don't recall reading of that function. I am already changing the code for MSII extra since the outpc is different byte length.
by jpnovak
Tue Feb 02, 2010 12:18 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Fixed my bugs. Everything is working well now. I am going to try and run some boards. I started a new thread in the expansion board section.

viewtopic.php?f=67&t=37342
by jpnovak
Mon Feb 01, 2010 3:36 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Just a quick update. I changed some code and now have things working. Sort of...

I can generate an .frd file that will convert from TS. I am getting a few extra bytes on the end of my header that create parsing problems for the MS outpc string. I am getting so close now. Just the fact that it will ...
by jpnovak
Fri Jan 29, 2010 2:41 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Eureka!

I think you just solved my problem. I didn't realize the two bytes were required on each read cycle loop. I thought they were just tagged in the header...
by jpnovak
Fri Jan 29, 2010 10:54 am
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

I am in format heck.

If I send a hex designation it recognizes as two separate bytes. Therefore my header is 166 byes long instead of 83. Yeah, that kinda screws up the offset count. At least I now know what the problem is.

On to find a solution...
by jpnovak
Thu Jan 28, 2010 2:01 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

I cheated a bit and copied the header line from a frd file created in TS. Here is my 83 byte group. I added line breaks and spaces for clarity.

0x46 0x52 0x44 0x00 0x00 0x0 0x00 0x01 0x4b 0x61
0xf1 0x63 0x4d 0x53 0x49 0x49 0x20 0x52 0x65 0x76
0x20 0x32 0x2e 0x38 0x38 0x30 0x30 0x30 0x20 0x20 ...
by jpnovak
Thu Jan 28, 2010 10:14 am
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Ok I am making progress. If I change the extension of my txt file to .log I can see all the data in the binary viewer. Its all there and lines up perfectly with the slider set to 112.

However, I can not import into TS or MLV. I tried the convert binary log (.frd or .ms3) and this did not work. I ...
by jpnovak
Thu Jan 28, 2010 7:56 am
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

I never noticed the binary log viewer before. I think this will help tremendously.

I will report back after I have tried a few ideas for the code.

You have been most helpful. maybe there will be enough interest in this project to do a run of boards.

Best Regards,

jamie
by jpnovak
Thu Jan 28, 2010 7:17 am
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Phil,

I will try to see if some of those other functions will work. I am coding in C. I am using a development board using the NXP LPC series microcontroller. Its pretty powerful for its size and has lots of easily configurable serial ports to connect lots of devices. The protoboard has an online ...
by jpnovak
Wed Jan 27, 2010 3:05 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

There is nothing wrong with using the binary values. I just don't know how to code writing the raw data. I agree its inefficient. However, the step of writing to the SD card from my micro controller is the slow step in the process. I get almost 20Hz when every thing is running.

right now, I poll ...
by jpnovak
Wed Jan 27, 2010 2:04 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Phil, I am bringing this topic back up. Can you make a suggestion for the data format. Here are my choices (pasted below) using a printf() function. I have been writing as a decimal or integer. I have all of my functionality working except for logging the MS outpc in a recognizable format.

Thank ...
by jpnovak
Tue Nov 24, 2009 2:21 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

And my lack of understanding has been brought to light.

I see exactly what you are saying. I have a working dash display and I had to work hard to get the data in a character format for display readout. When I first started coding the display project all I got was gibberish in the graphic ...
by jpnovak
Tue Nov 24, 2009 7:53 am
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Phil,

I generate a .csv that imports into Excel. Here is a sample of my output taken from the stim. The call is for runtime variables using "a,0,6". the captured format is binary although I can easily switch this to hex as well. The last three are the XYZ axes from an accelerometer. I am also ...
by jpnovak
Mon Nov 23, 2009 10:18 am
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Re: Binary raw data file conversion

Phil,

I tried to setup a format. Can you make a few clarifications for me?

The string output is in hex? I am currently logging in binary. I can switch easily.

There appears to be no delimiter between bytes when I look at the file. This makes it appear a bit jumbled. Any suggestions?

The "next ...
by jpnovak
Fri Nov 20, 2009 2:24 pm
Forum: TunerStudioMS
Topic: Binary raw data file conversion
Replies: 27
Views: 62205

Binary raw data file conversion

I just completed the first version of a micro-SD card datalogger for MSII. My output file is currently a CSV of the 113 byte string output. I saw that TunerStudio is capable of the file conversion process. Can you provide some file format guidelines to import the data from binary numbers?

Thanks.