Device code: DUMMY

Dummy device is a special device driver created for demonstration purposes. It does not represent any real device but can be configured to have arbitrary number of properties and channels.

Dummy device properties.

Property

Description

Delay Setting of this property will cause a software delay (resolution 1ms, values below 10ms are not precise).
DwellTime Setting for the pulse generator 'transmitter' monitor. Defines the scope time window. For each pulse channel the readable property In_[name_of_pulse channel] is created. By connecting of this property to the transient axis the pulse sequence can be monitored on the scope. Pulse pattern will be sample with specified dwell time.
StartDelay Setting for the pulse generator 'transmitter' monitor. Defines the scope time window. For each pulse channel the readable property In_[name_of_pulse channel] is created. By connecting of this property to the transient axis the pulse sequence can be monitored on the scope. The scope trigger event is defined either by ScopeTrigger pulse channel or by zero time. StartDelay is delaying this trigger.

 

Dummy device channels.

Channel

Description

ScopeTrigger Creates automatically when device has pulse channels. Serves as a scope trigger for dummy device pulse generator 'transmitter' monitor.

The DUMMY device can be created in 'Device Configuration' dialog. The hardware wizard is not able to configure properly the DUMMY driver options at a moment. Thus the editing has to be done manually in configuration file. The appearance of the properties and channels can be configured by setting corresponding entries in the device section of CFG file. Refer to the rules for the explanation of setting convention.

CFG file entries.

Entry

Value

Description

DeviceDLL

DUMMY

Device specification

par[n0]

<name>, <unit>, [write/read/rwrite], [sync/async]
<name>, , [write/read/rwrite], [sync/async], <first selection>, <second selection> ...

Definition of value-based device property
Definition of selection-based device property

ch[n0]

<name>, [n number of pulses]

Definition of device channel

DataStyle

[Rand/Last/Sinus]

The type of output data that device will generate being connected as a read device.

Configuration file example:

[DG2] DeviceDLL=DUMMY ch0 = ab,1 ch1 = cd,1 par0 = rab, s,rwrite,sync par1 = rcd, s,rwrite,sync DataStyle = Sinus