Hi,
According to Ni-VISA documentation (http://zone.ni.com/reference/en-XX/help/370131S-01/ni-visa/viopen/) the openTimeout parameter "Specifies the maximum time period (in milliseconds) that this operation waits before returning an error."
However this does not line up with the observed behavior as discussed in https://github.com/pyvisa/pyvisa/issues/446, and also disagree with the VISA specification (http://www.ivifoundation.org/downloads/Class%20Specifications/vpp43_2017-10-17.pdf ) on page 85 which says: "If the accessMode parameter requests a lock, then this parameter specifies the absolute time period (in milliseconds) that the resource waits to get unlocked before this operation returns an error."
Could this be an error in Ni-VISA documentation ?
Best
Matthieu