LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use LabVIEW read Motorola S-records ?

Hello, every1,
 
 I am trying to use LabVIEW solve the question of S-record file and record formatfile。
My idea:load S-record file and convert array to display it, then, separate 'type', 'count', 'address', 'data' and 'checksum'.
Help me.
3x.
 
Note: about s-record file:
 

Motorola S-records

The following fairly complete description of Motorola S-records was found a number of years ago on the man pages of a UNIX system.

0 Kudos
Message 1 of 7
(4,941 Views)
0 Kudos
Message 2 of 7
(4,940 Views)

Hi

Last week someone asked the same for Intel HEX files. I wonder why these questions pop-up at the same time. Smiley Surprised

http://forums.ni.com/ni/board/message?board.id=170&message.id=169393&query.id=42519#M169393

The program I wrote was for checking the data in the file. I can rewire the S-record reader (it will take some time Smiley Wink ) but you have to make the presentation yourself.
Is this an option ?
Message 3 of 7
(4,928 Views)
You didn't answered the question, still interested ?
0 Kudos
Message 4 of 7
(4,890 Views)

Hi,

try this; I did it some days ago but it is still a draft version.

Bye

CLD - Labview Certified Developer
0 Kudos
Message 5 of 7
(4,886 Views)

Hi,

I had a quick look at your program. Two remarks: A empty line gives a bad checksum it's not nice.  Do you use the addressing in the file ? Data does not have to be in addressing order in the file. Data for address 0 can be at the end of the file.

The originator of this post doesn't respond  Smiley Sad  so I leave it as it is.

0 Kudos
Message 6 of 7
(4,867 Views)

Hi KC,

thanks for the suggestions; I wrote that program in a short time and I didn't go through all cases.

Bye

CLD - Labview Certified Developer
0 Kudos
Message 7 of 7
(4,861 Views)