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: 

set stop bit contents in labview

Hi,
 
I want set stop bit 1or 0 for special use for PC communication with one istrument via serial com port ,
 
it's possible to do like that in labVIEW to control com port ?
 
and how to read this information (stop bit or parity bit)
 
Thanks in advance!
 
 
BR,
 
David HD/ Sep 20 2007
 
0 Kudos
Message 1 of 2
(2,502 Views)
I may be wrong, but I don't think you could do this in Labview or any programming language.  Stop bits are a key part of making sure the two devices communicating know when a byte is finished and is done at the hardware level, if there was a way to manipulate the stop bit to be 1 or 0, the communications scheme would fall apart.
 
Likewise for a parity bit.  Though you do have one choice.  If you are trying to use parity in a 7-even-1 scheme where you are only sending 7 bit data, you could set up both devices to be 8-none-1 and manipulate the 8th bit to be whatever you want.
0 Kudos
Message 2 of 2
(2,492 Views)