LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port

I am developing a tool to test the serial port,
the sequence that i doing is:
openandconfig(open and configure the com port)
comwrt(write on the door)
get output lenght queue(outcomming buffer)
comclose(close the com port)

i test it on severeal PCs and the test results in it what follows:
if the computer had the com port tested, the test passed;
if the computer had not the com port tested, the test failed;

here where i work we have devices attached to the serial port.based on the results am i testing them?
if not how culd i test them?
0 Kudos
Message 1 of 2
(2,588 Views)
Hi,

could you give us more specifics on what type test do you need to do on the serial port? It is also possible that you need to read the content of the buffer before closing the device, just to make sure that you the incomming buffer is empty.

Please give us more info on this to help you better.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(2,588 Views)