LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing an Unintentional Serial Break

I have a RS-232 connection to a development platform and I'm using a Labivew connection to automate a test.  The test mostly works, but every now and then, I get a serial break in my communication which locks up the development platform (serial break is not used in the final application).  I do not have a serial break vi in my program.  What whould be generating this unintentional break?

 

5758       0.00002995          GTM4G V2.exe IRP_MJ_WRITE Serial0   SUCCESS              Length 9: 10 AA 03 C5 38 22 34 10 03         

5759       0.00000124          GTM4G V2.exe IRP_MJ_FLUSH_BUFFERS            Serial0   SUCCESS                            

5760       0.00000143          GTM4G V2.exe IOCTL_SERIAL_GET_COMMSTATUS        Serial0   SUCCESS                              

5761       0.00000106          GTM4G V2.exe IOCTL_SERIAL_GET_COMMSTATUS        Serial0   SUCCESS                              

5762       0.00000195          GTM4G V2.exe IOCTL_SERIAL_PURGE   Serial0   SUCCESS              Purge: TXABORT TXCLEAR            

5763       0.00000411          GTM4G V2.exe IOCTL_SERIAL_SET_BREAK_ON Serial0   SUCCESS                              

5764       0.00000379          GTM4G V2.exe IOCTL_SERIAL_WAIT_ON_MASK              Serial0   SUCCESS                              

5765       0.26961526          GTM4G V2.exe IOCTL_SERIAL_WAIT_ON_MASK              Serial0   SUCCESS                              

5766       0.00000165          GTM4G V2.exe IOCTL_SERIAL_GET_COMMSTATUS        Serial0   SUCCESS                              

5767       0.00000116          GTM4G V2.exe IOCTL_SERIAL_GET_COMMSTATUS        Serial0   SUCCESS                              

5768       0.00000114          GTM4G V2.exe IOCTL_SERIAL_GET_COMMSTATUS        Serial0   SUCCESS                              

5769       0.00000275          GTM4G V2.exe IRP_MJ_READ   Serial0   SUCCESS              Length 8: 10 15 02 AA 00 3F 10

 

Thanks

 

Ryan

0 Kudos
Message 1 of 6
(2,520 Views)

What kind of instrument are you connecting? Have you tried communicating to this instrument using other software, does it lock up the same way? 

 

Regards,

A. Zaatari

National Instruments
Applications Engineer
0 Kudos
Message 2 of 6
(2,502 Views)

The instrument we are talking to is a consumer electronic device still under development.  The code in this device is not setup to handle the breaks.

0 Kudos
Message 3 of 6
(2,495 Views)

I am not sure why you would get a break, can you post your vi for further investigation?

National Instruments
Applications Engineer
0 Kudos
Message 4 of 6
(2,481 Views)
0 Kudos
Message 5 of 6
(2,468 Views)

You are sending numerous serial breaks in your program. They are not unintentional at all. Have you read the help for the VISA Clear?

0 Kudos
Message 6 of 6
(2,461 Views)