LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

receiving fake ascii '0's from the serial port

Hi, using the LabWindows/CVi 7.1, WinXP, Serial Virtual Port related to a USB to RS232 bridge. Sometimes I receive fake ascii '0's=48 into software that are not sent from the outside of the PC serial port. Is this a known issue or it happens only to me (due to maybe a bad use of the CVI serial com functions)?
0 Kudos
Message 1 of 3
(3,079 Views)

I suggest you run the CVI example for RS232 communication and apply a loopback to your Serial port. You should be able to do this by shorting pins 2 and 3 together.

With this setup, whatever you write out to your serial port is redirected to the input and you should be able to read it back.

Could you see if the example still behaves as you described, returning occasionally fake 0s?

Regards,

Alessio D

Message 2 of 3
(3,056 Views)
We had trouble with a USB - rs-232 converter under WinXP on a hyper-threaded (multi core) micro.

We wound up throwing it out.  Even the replacement required us to defeat the hyperthreading.

On newer systems we're using an NI PCI-8431 8 port serial board, which NI advertises as being hyper-thread and multi-processor compatible.  We've had no problems with them.

Menchar
0 Kudos
Message 3 of 3
(3,007 Views)