Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to troubleshoot VISA error code -1073807360

I'm seeing periodic Visa exceptions in my application in response to a SerialSession.Write call.

 

Sometimes retrying the call succeeds, but other times it fails after retrying up to 5 times. 

 

I would like to know how I should go about troubleshooting the cause of this exception.

 

This is the call stack and exception error code:

 

11/12/2008 8:18:37 AM Unknown system error (miscellaneous error). VISA error code -1073807360 (0xBFFF0000), ErrorSystemError

at NationalInstruments.VisaNS.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, VisaHandle visaObject)

at NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status, Boolean setLastStatus)

at NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status)

at NationalInstruments.VisaNS.Internal.MessageBasedSessionImpl.Write(Byte[] data)

at NationalInstruments.VisaNS.MessageBasedSession.Write(Byte[] data)

 

Thanks!

 

Alan

0 Kudos
Message 1 of 2
(5,413 Views)

Hi Alan,

 

What serial device are you using?  Many times these errors are reported from the driver or the device.  Try putting a wait before writing to change the timing of the program.  Many times putting a delay will prevent this type of error.

Caleb W

National Instruments

0 Kudos
Message 2 of 2
(5,394 Views)