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

NameTypeDescription
scriptNamestring

Specifies the name of the script. This string is case-insensitive.

Returns

true if the script exists; otherwise, false.

Exceptions

TypeDescription
System.ObjectDisposedException

The CheckIfScriptExists method was accessed after the associated NIRfsg object was disposed.