Professional Documents
Culture Documents
Automation Interface
OMICRON Test Universe
2
Contents
Contents
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
3
OMICRON Test Universe
4
AuxDC Configuration Automation Interface
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()
5
OMICRON Test Universe
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(). Get the number of AuxDC outputs.
AuxDCOutput GetAuxDCOutput(long nIndex). Get the AuxDC output by index.
SliderPosition
SliderPosition is the enumeration that defines the positions of the voltage selection slider.
Enumeration members:
• OFF
• Custom
• PreDef24V
• PreDef48V
• PreDef60V
• PreDef110V
• PreDef220V
• PreDefMax
6
AuxDC Configuration Automation Interface
AuxDCOutput
Properties
Selection: SliderPosition. Get/Set the voltage selection slider position.
CustomVoltage: Double. Get/Set the custom voltage.
1
SetupAsPowerUpDefault : Boolean. Store the setting as power-up default in the CMC test set.
Methods
double GetVDC(). Get the AuxDC output voltage.
double GetMaxDevVDC(). Get the max AuxDC output voltage of the device.
1. Note that the Set as Default option is disabled when you run AuxDC Configuration embedded in a Control Center test
document. Run AuxDC Configuration in stand-alone mode to make use of that feature. For more information see the
AuxDC Configuration Help, topic Setting the AUX DC Voltage Output.
7
OMICRON Test Universe
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
8
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
9
Support
10