LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Stop Bits for Serial Port

I am using the serial communication VI (in examples/instr/smplserl.llb) to send hexidecimal commands through the serial port. I am hooked up to an oscilloscope to make sure that the commands are being sent correctly, and I have found that no matter what I set the stop bits to, I always get two stop bits. I need only one stop bit. Is there any way to fix this?
0 Kudos
Message 1 of 3
(3,155 Views)
If you use VISA:
- connect a property node to the resource name line
- pop up on the property and select Serial Stop bits property from the serial settings menu
The values allowed are: 10 for 1bit; 15 for 1 and a half bit; 20 for 2 bits

If you use the standard functions method, in LV you can find a vi:
LV\vi.lib\Instr\Serial.llb\Serial Port Init.vi
You can use it to set all serial parameters.
0 Kudos
Message 2 of 3
(3,155 Views)
How would I do this to my attached example? We have LabView version 6.0
0 Kudos
Message 3 of 3
(3,155 Views)