In Bearbeitung

Data format conversion program

Data conversion problem, mostly hex to decimal, simple math.? Input a text file and output same file with computed data.

## Deliverables

Command line program is fine with command line parameters for input and output files.

Simple one-screen GUI form is also OK.

Visual C++ Express 2008 or Visual Basic Express 2008 please so I can self-maintain.? Simple straightforward code, don't get fancy or so efficient I cannot read the code.

Read in a .txt file and output a .txt file.? Sample input file is shown below.

Output file is same as input file, but to the right of the core data, insert additional information computed from the hex information.

There are many different record types, but the ones of interest right now start with [A4][09][4E][00].

So, RECORD TYPE 1 example:?

1031332.4060 Rx - [A4][09][4E][00][82][B2][7E][7C][D3][7B][B2][7A][B1]

After the? [A4][09][4E][00], convert the next byte? to Decimal and append to the line.

The next byte is a data point count.? Counts roll over after FF back to 00

Case Count {

? ? ? ? No change - output "-"

? ? ? ? Increment by 1 - Output "-"

? ? ? Incrememnt by? more than 1, output the # of missed counts, so if it changes from A3 to A5, output a? 1, if it changes from? B8 to BC then output a 4.

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }

The next six bytes should be combined in pairs and converted to decimal and output as three integers with spaces between them.? (not sure of byte order... source code should allow me to adjust this if needed)

The last byte is ignored.

So... the above line becomes something like:

1031332.4060 Rx - [A4][09][4E][00][82][B2][7E][7C][D3][7B][B2][7A][B1] 82? -? AAAAA BBBBB CCCCC

where AAAA BBBBB CCCC are the combination of the byte pairs converted to decimal, and the - assumes that there is no change or only single increment in the count.

Record Type 2:?

1031334.6090 Rx - [A4][03][40][00][01][02][E4]? ?

Append to the line "Rx Error"

VARIANCES/COMMENTS:

If there is any text after the last ], this is a comment someone has put in the .txt file, insert the newly programmed information (per above), and THEN output the comments that have been added.? Ie if the example is?

1031332.4060 Rx - [A4][09][4E][00][82][B2][7E][7C][D3][7B][B2][7A][B1]? ? Here Is A Note

you output:

1031332.4060 Rx - [A4][09][4E][00][82][B2][7E][7C][D3][7B][B2][7A][B1] 82? -? AAAAA BBBBB CCCCC? ? ? //? Here Is A Note

OTHER RECORD TYPES:

There are likely a few other record types; the code should be written so it is easily maintainable and modifyable by yourself the coder, or myself, or a different coder.? For now, if they are a different type, then please just output the orig. line with nothing appended.

A sample data file is as follows:

1031332.4060 Rx - [A4][09][4E][00][82][B2][7E][7C][D3][7B][B2][7A][B1]

1031332.6090 Rx - [A4][09][4E][00][82][B2][7E][7C][D3][7B][B2][7A][B1]

1031332.8120 Rx - [A4][09][4E][00][81][B3][50][7E][7E][7C][D3][7B][55]

1031333.0150 Rx - [A4][09][4E][00][81][B3][50][7E][7E][7C][D3][7B][55]

1031333.2030 Rx - [A4][09][4E][00][81][B4][1E][80][50][7E][7E][7C][64]

1031333.4060 Rx - [A4][09][4E][00][81][B4][1E][80][50][7E][7E][7C][64]

1031333.6090 Rx - [A4][09][4E][00][81][B5][DD][81][1E][80][50][7E][3B]? ? ? 1031333.8120 Rx - [A4][09][4E][00][81][B5][DD][81][1E][80][50][7E][3B]

1031334.0150 Rx - [A4][09][4E][00][81][B6][97][83][DD][81][1E][80][02]

1031334.2030 Rx - [A4][09][4E][00][81][B7][79][84][97][83][DD][81][60]

1031334.4060 Rx - [A4][09][4E][00][81][B7][79][84][97][83][DD][81][60]

1031334.6090 Rx - [A4][03][40][00][01][02][E4]? ? ? ? ? ?

1031334.8120 Rx - [A4][03][40][00][01][02][E4]

1031335.0150 Rx - [A4][09][4E][00][81][B9][18][87][5E][85][79][84][62]

1031335.2030 Rx - [A4][09][4E][00][81][B9][18][87][5E][85][79][84][62]

1031335.4060 Rx - [A4][09][4E][00][83][BA][D0][88][18][87][5E][85][C6]

1031335.6090 Rx - [A4][09][4E][00][83][BA][D0][88][18][87][5E][85][C6]

1031335.8120 Rx - [A4][09][4E][00][85][BB][81][8A][D0][88][18][87][11]

1031336.0150 Rx - [A4][09][4E][00][85][BB][81][8A][D0][88][18][87][11]

1031336.2030 Rx - [A4][09][4E][00][87][BC][2C][8C][81][8A][D0][88][2B]

1031336.4060 Rx - [A4][09][4E][00][87][BC][2C][8C][81][8A][D0][88][2B]

1031336.6090 Rx - [A4][03][40][00][01][02][E4]

1031336.8120 Rx - [A4][09][4E][00][87][BD][E0][8D][2C][8C][81][8A][1F]

1031337.0150 Rx - [A4][09][4E][00][87][BD][E0][8D][2C][8C][81][8A][1F]

Fähigkeiten: C Programmierung, Ingenieurwesen, Microsoft, MySQL, PHP, Projektmanagement, Softwarearchitektur, Testen von Software, Visual Basic, Windows Desktop

Mehr sehen: source format, self programming, programming data types, math programming, math in programming, math and programming, integers form 1, in line program, hex programming, efficient php programming, c programming data types, core php programming source code, bb&t, bb & t, bb t, bb and t, php bb, visual basic 2008 programming, sample data, RX, orig, math basic, data point, data format, data file conversion

Über den Arbeitgeber:
( 23 Bewertungen ) Morrisville, United States

Projekt-ID: #3508482

Vergeben an:

DrAKkareS

See private message.

$30.6 USD in 5 Tagen
(140 Bewertungen)
5.4

26 Freelancer bietetn im Durchschnitt $55 für diesen Job an

eperfections

See private message.

$12.75 USD in 5 Tagen
(236 Bewertungen)
7.1
renardpaul

See private message.

$85 USD in 5 Tagen
(121 Bewertungen)
6.7
suryavijayvw

See private message.

$84.15 USD in 5 Tagen
(122 Bewertungen)
5.7
kevneth

See private message.

$85 USD in 5 Tagen
(39 Bewertungen)
5.6
v5group

See private message.

$42.5 USD in 5 Tagen
(40 Bewertungen)
5.5
nafarin

See private message.

$57.8 USD in 5 Tagen
(89 Bewertungen)
5.3
mobipixelso

See private message.

$85 USD in 5 Tagen
(103 Bewertungen)
5.3
zenecisvw

See private message.

$15.3 USD in 5 Tagen
(35 Bewertungen)
5.0
vnoutsourcingvw

See private message.

$85 USD in 5 Tagen
(47 Bewertungen)
4.7
kingcodersl

See private message.

$33.15 USD in 5 Tagen
(75 Bewertungen)
4.6
icandoitbiz

See private message.

$85 USD in 5 Tagen
(27 Bewertungen)
4.6
mahfuzmurshed

See private message.

$17 USD in 5 Tagen
(74 Bewertungen)
4.5
projexpertvw

See private message.

$85 USD in 5 Tagen
(21 Bewertungen)
4.8
asalah

See private message.

$42.5 USD in 5 Tagen
(33 Bewertungen)
4.5
rajhansh

See private message.

$42.5 USD in 5 Tagen
(19 Bewertungen)
4.2
sthustfo

See private message.

$72.25 USD in 5 Tagen
(16 Bewertungen)
3.8
droxico

See private message.

$42.5 USD in 5 Tagen
(12 Bewertungen)
3.3
tusharvb7

See private message.

$68 USD in 5 Tagen
(8 Bewertungen)
2.8
SamuelsYS

See private message.

$34 USD in 5 Tagen
(7 Bewertungen)
2.8
DannyCoder

See private message.

$51 USD in 5 Tagen
(15 Bewertungen)
2.6