Académique Documents
Professionnel Documents
Culture Documents
Automation Interface
Contents
Contents
AuxDC Configuration Automation Interface . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Object Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
OMAuxDCCfg.Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
OMAuxDCCfg.Document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
SliderPosition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
AuxDCOutput. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
The following parameters can be set by and retrieved from the AuxDC Configuration Automation
Interface.
OMAuxDCCfg.Application
Properties
Visible:
Boolean
Name:
String, read-only
Document:
OMAuxDCCfg.Document, read-only
Parent:
OMAuxDCCfg.Application, read-only
Application:
OMAuxDCCfg.Application, read-only
Methods
void Quit()
OMAuxDCCfg.Document
Properties
Parent:
OMAuxDCCfg.Application, read-only
Application:
OMAuxDCCfg.Application, read-only
TestDelayTime:
Double. Get/Set the test continuation delay after applying the AuxDC voltage.
Methods
long GetAuxDCOutputCount().
SliderPosition
SliderPosition is the enumeration that defines the positions of the voltage selection slider.
Enumeration members:
OFF
Custom
PreDef24V
PreDef48V
PreDef60V
PreDef110V
PreDef220V
PreDefMax
AuxDCOutput
Properties
Selection:
CustomVoltage:
SetupAsPowerUpDefault:
Boolean. Store the setting as power-up default in the CMC test set.
Methods
double GetVDC().
double GetMaxDevVDC(). Get the max AuxDC output voltage of the device.
Example
Public Sub RunTest()
Dim tm As TestModule
Dim app As OMAuxDCCfg.Application
Dim doc As OMAuxDCCfg.Document
Dim count As Integer
Dim auxDCOut As AuxDCOutput
Dim maxVDC As Double
Dim outValue As Double
Set tm = Document.InsertObject("OMAuxDCCfg.Document")
Set app = tm.Specific
Set doc = app.Document
'Set Test Delay Time to 7 s
doc.TestDelayTime=7
count=doc.GetAuxDCOutputCount()
Set auxDCOut=doc.GetAuxDCOutput(1)
maxVDC=auxDCOut.GetMaxDevVDC()
'Set the AuxDC Output to 35 V
auxDCOut.Selection=Custom
auxDCOut.CustomVoltage=35
tm.Test()
tm.Clear()
'Get the set AuxDC Output value
outValue=auxDCOut.GetVDC()
'Set the AuxDC Output to 110 V
auxDCOut.Selection=PreDef110V
tm.Test()
tm.Clear()
'Switch off the AuxDC Output and
'store this setting as power-up default
auxDCOut.Selection=OFF
auxDCOut.SetupAsPowerUpDefault=True
tm.Test()
tm.Clear()
Set auxDCOut = Nothing
Set doc = Nothing
Set app = Nothing
tm.Disconnect
Set tm = Nothing
End Sub
Support
Support
When you are working with our products we want to provide you with the
greatest possible benefits. If you need any support, we are here to assist you!
OMICRON electronics GmbH, Oberes Ried 1, 6833 Klaus, Austria, +43 59495
Support
10