LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

9 bit serial protocol.

Hello everyone,
I'm new to this group, and am glad to find it.
I've only recently begun to work with LabVIEW.
I'm wondering if anyone has, or knows of an example of,
or, if it's even possible to configure LabVIEW's serial VIs
to do '9-bit' serial communications?
Looking at the Serial VIs I see nothing that would indicate
that this is possible. I haven't considered trying to trick the
232 port by changing the use of the parity bit yet.
Any ideas would be appreciated.
Thanks,

Sincerely Harold Foster hfoster@tyler.net
0 Kudos
Message 1 of 3
(5,781 Views)
Harold,

I don't know about using the serial port, but I have heard you can use the
parrallel port to do 8 bit digital i/o. Check the national instruments
knowledge base.

- Jeffrey Benton

HaroldFoster wrote in message <3780D337.9F3DA807@tyler.net>...
>Hello everyone,
>I'm new to this group, and am glad to find it.
>I've only recently begun to work with LabVIEW.
>I'm wondering if anyone has, or knows of an example of,
>or, if it's even possible to configure LabVIEW's serial VIs
>to do '9-bit' serial communications?
>Looking at the Serial VIs I see nothing that would indicate
>that this is possible. I haven't considered trying to trick the
>232 port by changing the use of the parity bit yet.
>Any ideas would be appreciated.
>Thanks,
>
>Sincerely Harold Fos
ter hfoster@tyler.net
>
>
0 Kudos
Message 2 of 3
(5,781 Views)
HaroldFoster wrote:

>
> to do '9-bit' serial communications?
> Looking at the Serial VIs I see nothing that would indicate
> that this is possible. I haven't considered trying to trick the
> 232 port by changing the use of the parity bit yet.
>

Harold,
I am assuming you are talking about using the 9th bit as an address flag
instead of
the normal partiy bit. All that follows is free and worth every penny.
To the best of my knowledge there is no direct support for 9 bit protocols
in Labview.
1) If you are trying to communicate to some device that uses this protocol
I would suggest
finding a PC card that is designed for this purpose Check www.cimetrics.com
and look at RS-485.

2) Optionally you would have to use the Serial Port Init.vi to change the
parity to odd/even/no
ne depending
on the other 8 bits of data. This is because the parity (9th) bit is
generated by the serial hardware (UART).

Personally I would go with option 1

Kevin Kent
Ten of all trades (I am not good enough to be a Jack)
0 Kudos
Message 3 of 3
(5,781 Views)