qb64 subroutines for ascii com port communications

We have a controller that connects to the pc using the usb port using virtual com port. We have the drivers for the com port and need to use qb64 to communicate with the controller. QB64 is a modern version of quick basic or qbasic with more features and is available for download free of charge. Just google QB64. The subroutines are needed to be written using this program for testing and in house refinement.

The subroutines will have integer variables that need to be passed to the controller over the open com port in a specific order. We will create the data and the data has to be sent to the controller in ascii format. Each text line consists of the following: an ASCII colon character followed by a list of ASCII encoded integer command values followed by a terminating newline character. The command values will be variables that our program will create. The ASCII encoded command values are all interpreted as integer values and must be separated by either an ASCII comma character or an ASCII period character. Thus, legal command characters are: the colon, the comma, the period, the digits 0 through 9, and the new-line. Each ASCII packet is from 3 to 38 comma separated values. The command packet diagram is attached as a jpeg to this request. You will notice in the diagram that there is a checksum. This is not necessary and only needs to send a value of 0.

The controller uses 14-bit values to control our product. Since the protocol is based upon 8-bit values, the transmission of 14-bit values is achieved by sending two values each containing 7-bits of the 14-bit message. For multi-byte value transmission, the most-significant portion (MSB) is always sent first and the least-significant portion (LSB) is sent second. The MSB is composed of bits 7-13 and the LSB is composed of bits 0-6.

There are several commands with variable command values that need to be set up as subroutines to create the appropriate ascii character string to send out of the com port. We will provide the command set. Please let me know if you have any questions on this.


Jim Nordquist

Habilidades: Arquitetura de software, Interface do usuário / AI

Veja mais: qb64, set bits in c, set bits, free line com, bit bits, 3 line diagram, architecture software free download, a quick program to be written, Protocol Testing, msb, modern house, communications, create virtual product, software testing questions, usb control software, commands interface, transmission line, multi variable, character controller, software interface testing, protocol specific software, usb virtual controller, send command usb, packet usb, virtual usb controller

Acerca do Empregador:
( 1 comentário ) largo, United States

ID do Projeto: #5124739

4 freelancers estão ofertando em média $237 para esse trabalho


Hello, I am very interested in your project and I will be happy to assist you. I can make different designs for you with unlimited revisions and 100% satisfaction guaranteed. I am a professional web designer, I Mais

$247 USD in 10 dias
(17 Comentários)

Looking forward to working with you...Ready to start as soon as you are....Thank you for the opportunity....

$147 USD in 3 dias
(2 Comentários)

A proposal has not yet been provided

$277 USD in 14 dias
(0 Comentários)

I am very familiar with QB and have written a few user interfaces for controllers using VB. You can see samples of my work for Orycon's controllers @ www.orycon.com. I'll include 6 months of support. Langston

$277 USD in 10 dias
(0 Comentários)