From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending pure binary out a serial port

I am trying to simulate a serial data source with
LabView and a SeaLevel ISO-COMM-3415 (RS-422)
board.

The serial data source transmits at 9600 baud and
transmits three CHARACTERS defined as below:

- 1 Start Bit (0)
- 8 INSTRUMENT DATA bits (defined below)
- 1 Parity Bit (odd)
- 1 Stop bit (1)

The format of the INSTRUMENT DATA bits

Bit 1 = data (LSB)
Bit 2 = data
Bit 3 = data
Bit 4 = data
Bit 5 = data
Bit 6 = data
Bit 7 = data (MSB)
Bit 2 = sync bit (1 if first CHARACTER, 0 if
second or third CHARACTER)

I would like to generate the entire message myself
(so I can insert my own data, inject parity
errors, sync errors, etc.)

None of the Serial I/O VIs provided in LabView 5.1
provide this flexibility. All I seem to b
e able to
do is send ASCII characters out. What do I have to
do to be able to control each and every bit coming
from my LabView VI through my SeaLevel card to my
Unit Under Test?

Thanks for any help
Eric Clark
Microprocessor Engineer
Bechtel Plant Machinery
eclark@albany.net


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 1 of 1
(2,799 Views)