Em Andamento

Small VB Application to read data from RS232 Serial Port and output to a textfile.

Create a small VB program. When run the program will need to retrieve data from the R232 Serial Port and place it in a comma delimited text file.

## Deliverables

I have created an access application which has a form with a button, when the button is clicked I want to use a shell command to run the VB program (which you will create). The vb program needs to communicate with a device connected to the rs232 serial port.

Your vb program needs to create/overwrite a comma delimited text file containing the retrieved data. Once it has created the text file it will need to close and I will continue importing the text file into my database.

The data comes through from the system in the format of:

ASCII Character 13 (CR)

Small Fe Counts - 7 ASCII characters

ASCII Character 44( , )

Medium Fe Counts - 7 ASCII characters

ASCII Character 44( , )

Large Fe Counts - 7 ASCII characters

ASCII Character 44( , )

Total Fe Counts - 7 ASCII characters

ASCII Character 44( , )

Small NFe Counts - 7 ASCII characters

ASCII Character 44( , )

Medium NFe Counts - 7 ASCII characters

ASCII Character 44( , )

Large NFe Counts - 7 ASCII characters

ASCII Character 44( , )

Total NFe Counts - 7 ASCII characters

ASCII Character 44( , )

Total Fe Mass - 10 ASCII Characters

ASCII Character 69 ( E )

6 ASCII Characters

ASCII Character 44( , )

SMALL Fe BIN - 7 ASCII Characters

ASCII Character 44( , )

MEDIUM Fe BIN - 7 ASCII Characters

ASCII Character 44( , )

LARGE Fe BIN - 7 ASCII Characters

ASCII Character 44( , )

SMALL NFe BIN - 7 ASCII Characters

ASCII Character 44( , )

MEDIUM NFe BIN - 7 ASCII Characters

ASCII Character 44( , )

LARGE NFe BIN - 7 ASCII Characters

ASCII Character 44( , )Hex Code for SSR2 - 7 ASCII Characters

ASCII Character 44( , )

Hex Code for SSR1 - 7 ASCII Characters

ASCII Character 44( , )

Hex Code for SSR0 - 7 ASCII Characters

ASCII Character 44( , )

ASCII Character 13 (CR)

Looking at the data I think the record start and end is distinguished by the carrage return, so you would just need to identify the first occurance of the carrage return as the start and keep checking and building up the data until the next carriage return is encountered. Once the second carriage return is encountered it will need to create the file and exit the application.

Habilidades: .NET, Engenharia, Microsoft, Gestão de projetos, Instalação de Script, Shell Script, Arquitetura de software, Teste de Software, Visual Basic, Área de trabalho do Windows

Ver mais: read ascii text file, read hex data serial port, e vb, Serial, serial port, rs232, data importing, data checking, keep record access, net hex, visual basic access application, occurance, delimited access, delimited data, serial read file, read data program, want exit system, communicate rs232 device, read code access database, read rs232 data access, output program access, text file create form data, net data database form, read code database, retrieve shell

Acerca do Empregador:
( 33 comentários ) Dandenong South, Australia

ID do Projeto: #3016520

Premiar a:

dorsan

See private message.

$42.5 USD em 14 dias
(18 Avaliações)
4.4

5 freelancers estão ofertando em média $71 para este trabalho

DebasisB

See private message.

$85 USD in 14 dias
(143 Comentários)
7.0
quickprogexpert

See private message.

$85 USD in 14 dias
(158 Comentários)
6.3
desirablecoder

See private message.

$85 USD in 14 dias
(13 Comentários)
4.5
SoftTec

See private message.

$59.5 USD in 14 dias
(3 Comentários)
1.0