![]() |
|
![]() |
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.
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 |
property Text: BSTR |
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.
property IsActive: Boolean |
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.
property Port: Long |
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.
function Clear: VOID |
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.