| Keysight.Visa Namespace > PxiMemorySession Class > PxiMemorySession Constructor : PxiMemorySession Constructor(String,AccessModes,Int32) |
'DeclarationPublic Function New( _ ByVal resourceName As String, _ ByVal accessModes As AccessModes, _ ByVal timeoutMilliseconds As Integer _ )
'UsageDim resourceName As String Dim accessModes As AccessModes Dim timeoutMilliseconds As Integer Dim instance As New PxiMemorySession(resourceName, accessModes, timeoutMilliseconds)
public PxiMemorySession( string resourceName, AccessModes accessModes, int timeoutMilliseconds )
public: PxiMemorySession( String^ resourceName, AccessModes accessModes, int timeoutMilliseconds )
This constructor attempts to open a connection to the specified resource with the specified access modes and timeout.
Some Keysight IO Libraries Connection Expert settings and Keysight Instrument Discovery Service policies affect the operation of this constructor. Refer to the IO Libraries Suite Help for more details.
For instruments that are auto-discovered by the Discovery Service, the constructor verifies that the instrument is present.
For instruments that are manually-added, the constructor does not verify the presence of the instrument. If the device is not present or not turned on, you will not discover this until you attempt to communicate with the instrument.
Current with Keysight IO Libraries Suite 18