ni-rfsg-dotnet-api-ref_doc

Content Type
Programming Language
Current manual
Table of Contents

RfsgScripting.CheckIfScriptExists Method

RfsgScripting.CheckIfScriptExists Method

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: Boolean
if the script exists; otherwise, .

Exceptions

ExceptionCondition
ObjectDisposedException The CheckIfScriptExists(String) method was accessed after the associated NIRfsg object was disposed.

Remarks

Supported Devices: NI 5673/5673E

See Also

Was this information helpful?