Keysight VISA.NET Help
Parse Method (ResourceManager)



The VISA resource name.
Parses a resource string to get extended interface information.
Syntax
'Declaration
 
Public Function Parse( _
   ByVal resourceName As String _
) As ParseResult
'Usage
 
Dim instance As ResourceManager
Dim resourceName As String
Dim value As ParseResult
 
value = instance.Parse(resourceName)
public ParseResult Parse( 
   string resourceName
)
public:
ParseResult^ Parse( 
   String^ resourceName
) 

Parameters

resourceName
The VISA resource name.
Remarks

This method should succeed for all strings returned by Find and recognized by Open.

The value returned in Ivi.Visa.ParseResult.ExpandedUnaliasedName is, in most cases, identical to the canonical resource name. However, there may be cases where the canonical name includes information that the driver may not know until the resource has actually been opened. In these cases, the value returned will be semantically similar.

The value returned in Ivi.Visa.ParseResult.AliasIfExists allows programmatic access to user-defined aliases. Keysight VISA.NET recognizes aliases defined in the Keysight Connection Expert utility, which allows multiple aliases per resource. Parse returns the first alias it finds in the parse results. The ordering is not deterministic, so you should write your code to expect aliasIfExists to return any one of the defined aliases if multiple aliases exist.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025