RfsgScripting.CheckIfScriptExists Method
- Updated2024-05-08
- 1 minute(s) read
RfsgScriptingCheckIfScriptExists Method
Checks whether the script that you specify as scriptName exists.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022
Syntax
public bool CheckIfScriptExists( string scriptName )
Public Function CheckIfScriptExists ( scriptName As String ) As Boolean
Parameters
- scriptName
- Type: SystemString
Specifies the name of the script. This string is case-insensitive.
Return Value
Type: Booleanif the script exists; otherwise, .
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The CheckIfScriptExists(String) method was accessed after the associated NIRfsg object was disposed. |
Remarks
Supported Devices: NI 5673/5673E