ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port data bits problem

Now I am using the VISA Configure Serial Port to initialize the serial port. The value of data bits is between five and eight. The default value is 8. But I need to transfer nine data bits once ( the ninth is direction bit) .I wander how to realize this purpose. Appreciate your help!

0 Kudos
Message 1 of 5
(3,711 Views)
I had not noticed it before !
It is not a problem of Labview. Hyper-terminal allows you up to 8 bits too.
So it is a PC limitation.
 
Solution: Send the number nine bit, to a new byte. You have to configure your hardware accordingly, to read the new byte.
 
If you explain more, what you are trying to do, maybe i can help more.
0 Kudos
Message 2 of 5
(3,706 Views)

you could use the property node  parity to go through the nine bit transmition.

pay attention that have some 2-6ms delay before change the parity after send the direction bit.

I have no VI at hand. if you need , i can upload latter

gg@ggdyb.com
朗圣自动化科技
数显电测仪表专家
0 Kudos
Message 3 of 5
(3,691 Views)
A search of the KnowledgeBase can turn up answers: How Can I Do 9-bit Serial Transmission Instead of 7 or 8 bits?

There is also a link to an example in the article.
Message 4 of 5
(3,688 Views)

Hi,PntgaogonghmSmercurio ,thank your very much for your kindness and I am trying those recommended methods. Hope to solve this problem !

0 Kudos
Message 5 of 5
(3,665 Views)