CheckIfScriptExists(string)
- Updated2025-10-14
- 1 minute(s) read
Checks whether the script that you specify as scriptName exists.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsg
public bool CheckIfScriptExists(string scriptName)
Remarks
Supported Devices: NI 5673/5673E
Parameters
| Name | Type | Description |
|---|---|---|
| scriptName | string | Specifies the name of the script. This string is case-insensitive. |
Returns
true if the script exists; otherwise, false.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The CheckIfScriptExists method was accessed after the associated NIRfsg object was disposed. |