GpibSession(string)
- Updated2026-08-05
- 1 minute(s) read
Initializes a new instance of the GpibSession object from the specified resource name.
Syntax
Namespace: NationalInstruments.Visa
public GpibSession(string resourceName)
Remarks
This constructor ensures that the resource string represents a GPIB INSTR resource and throws a ResourceTypeMismatchException if the resource string represents an incorrect resource.
Parameters
| Name | Type | Description |
|---|---|---|
| resourceName | string | String that describes a unique VISA resource. |