Index//Top/Spectrometer/List of devices |
<< | >> |
Dummy device
Dummy device is a special device driver created for testing purposes. It does not correspond to any real device but can be configured to have arbitrary number of properties and channels. Dummy device has a built-in 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. |
and 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.
Entry |
Value |
Description |
DeviceDLL |
DUMMY |
Device specification |
par[n0] |
<name>, <unit>, [write/read/rwrite], [sync/async] |
Definition of value-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. |
Example:
[DG2] DeviceDLL=DUMMY ch0 = ab,1 ch1 = cd,1 par0 = rab, s,rwrite,sync par1 = rcd, s,rwrite,sync DataStyle = Sinus
Index//Top/Spectrometer/List of devices |
<< | >> |