Sets the script trigger master session.

Syntax

Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices

public void SetScriptTriggerMaster(string channelName, ITClockSynchronizableDevice scriptTriggerMaster)

Parameters

NameTypeDescription
channelNamestring

Valid values for the channelName  are "<tt>scriptTrigger0</tt>", "<tt>scriptTrigger1</tt>", "<tt>scriptTrigger2</tt>", and "<tt>scriptTrigger3</tt>". An empty string is treated as "<tt>scriptTrigger0</tt>".

scriptTriggerMasterITClockSynchronizableDevice

An ITClockSynchronizable object that represents a modular instrument connected to the system.

Exceptions

TypeDescription
System.InvalidOperationException

The DeviceToSynchronize object does not belong to a TClock object.

System.ObjectDisposedException

The ITClockSynchronizable object that is contained in the DeviceToSynchronize object has been disposed.

NationalInstruments.ModularInstruments.ModularInstrumentsException

The underlying driver returned an error.

System.ArgumentNullException

The value being set on the property is null.