Timeout Equivalent for Migration from VisaNS to VISA .NET

Updated May 3, 2018

Reported In

Driver

  • NI-VISA

Programming Language

  • C# .NET

Issue Details

I am migrating from the older National Instruments VisaNS library (NationalInstruments.VisaNS.dll) to the newer National Instruments VISA .NET (NationalInstruments.Visa.dll) library. I am opening a session and cannot find the equivalent property for Timeout from the Session class to set the timeout on the VISA session.

Solution

TimeoutMilliseconds should be used to set the session timeout in the newer National Instruments VISA .NET API.

WAS THIS ARTICLE HELPFUL?

Not Helpful