05-25-2011 10:25 AM
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
05-27-2011 12:04 AM
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
05-27-2011 07:21 AM
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.
05-31-2011 10:52 PM
I am not sure why you would get a break, can you post your vi for further investigation?
06-01-2011 08:18 AM
Attached is the vi.
06-01-2011 08:42 AM
You are sending numerous serial breaks in your program. They are not unintentional at all. Have you read the help for the VISA Clear?