IDMDevice Interface

Version: 1.0
Data Master Virtual Device Control Interface

GUID: {3C053B01-2C71-11D5-B2A4-FE129D63AC66}

This interface provides access to the device driver ActiveX controls. Measurement instrument driver must be in Active state to enable communication. You can change HPIB address using Port property, trigger device (or use internal trigger mode), read and write data using Text property.

Members:
Kind Name ID Description
InternalTrigger 1 Device trigger type
Text 2 Device data
IsActive 3 Hardware connection status
Port 4 Hardware port number
Trigger 5 Trigger device
Clear 6 Initialize device mode
LoadConfig 7 Load device configuration from registry
SaveConfig 8 Save device configuration to registry

Syntax:
property InternalTrigger: Boolean

Applies to:
B740X, DMTimer, E712X, HP4191X

Syntax:
property Text: BSTR

Applies to:
B740X, DMComboBox, DMExpressionComboBox, DMFloatEdit, DMLabel, DMListBox, DMListItems, DMNotes, DMSerie, DMSpinEdit, DMStrings, E712X, HP4191X

For DMForms ActiveX controls (DMComboBox, DMExpressionComboBox, DMListBox, DMFloatEdit, DMSpinEdit) this property changes the text in the appropriate control.

For collection objects (DMListItems, DMStrings), this property represents the contents of the collection as a single block of text. Lines are separated by standard CRLF characters.

For DMNotes, this property also operates with the editor's data as a whole.

For DMSerie and DMLabel objects, Text is just a label.

For device driver ActiveX controls (HP4191X, B740X and E712X) this property should be used to read and write data from/to the device.

Syntax:
property IsActive: Boolean

Applies to:
B740X, CoCPortLib2, CPortLibX2, DMAppHelper, DMClientSocket, DMComPort, DMComTerminal, DMDLLHelper, DMIEEE488Port, E712X, HP4191X

This property indicates whether appropriate component was successfully opened. For example, Open() method prepares hardware port or instrument driver for communication. Typically you open component, perform data exchange (invoke methods) and, finally, close the component.

Syntax:
property Port: Long

Applies to:
B740X, CoCPortLib2, CPortLibX2, E712X, HP4191X

For CPortLibX2 and CoCPortLib2 objects this property is a string formatted as "COMn", where n is a number of serial port. Notice that you can assign integer numbers (1, 2, ...) to this property.

Syntax:
function Trigger: VOID

Applies to:
B740X, DMTimer, E712X, HP4191X

Syntax:
function Clear: VOID

Applies to:
B740X, DMContainer, DMDigitizer, DMDigitizerContainer, DMLabels, DMListItems, DMNotes, DMStrings, E712X, HP4191X

For DMContainer and DMDigitizerContainer objects, Clear method empties the container and set Modified property to True.

For DMDigitizer, this method clears digitizer picture.

For DMListItems, DMNotes and DMStrings Clear also empties the contents of the appropriate Items (or Lines) arrays.

For HP4191X, B740X and E712X this method initialize appropriate device into some predefined state.

For DMLabels, this method deletes all plot labels.

Syntax:
function LoadConfig: VOID

Applies to:
B740X, E712X, HP4191X

Syntax:
function SaveConfig: VOID

Applies to:
B740X, E712X, HP4191X