Vous êtes sur la page 1sur 10

AuxDC Configuration

Automation Interface

OMICRON Test Universe

Manual Version: AuxDCCfgAut.ENU.1 - Year: 2013


OMICRON electronics. All rights reserved.
This manual is a publication of OMICRON electronics GmbH.
All rights including translation reserved. Reproduction of any kind, e.g., photocopying, microfilming, optical
character recognition and/or storage in electronic data processing systems, requires the explicit consent of
OMICRON electronics.
Reprinting, wholly or in part, is not permitted. The product information, specifications, and technical data
embodied in this manual represent the technical status at the time of writing and are subject to change without
prior notice.
We have done our best to ensure that the information given in this manual is useful, accurate, up-to-date and
reliable. However, OMICRON electronics does not assume responsibility for any inaccuracies which may be
present.
The user is responsible for every application that makes use of an OMICRON product.

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

OMICRON Test Universe

AuxDC Configuration Automation Interface

AuxDC Configuration Automation Interface


Object Hierarchy
Object hierarchy of an AuxDC Configuration document:

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()

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

AuxDC Configuration Automation Interface

AuxDCOutput
Properties
Selection:

SliderPosition. Get/Set the voltage selection slider position.

CustomVoltage:

Double. Get/Set the custom voltage.

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.

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

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!

24/7 Technical Support Get Support


www.omicron.at/support
www.omicronusa.com/support
Offering our customers outstanding support is one of our top priorities. At our
technical support hotline, you can reach well-educated technicians for all of your
questions. Around the clock competent and free of charge.
Make use of our 24/7 international technical support hotline: +43 59495 4444.
Additionally, you can find our Service Center or Sales Partner closest to you at
www.omicron.at or www.omicronusa.com.

Customer Area Stay Informed


www.omicron.at/customer
www.omicronusa.com/customer
The customer area on our website is an international knowledge exchange
platform. Download the latest software updates for all products and share your
own experiences in our user forum.
Browse through the knowledge library and find application notes, conference
papers, articles about daily working experiences, user manuals and much more.

OMICRON Academy Learn More


www.omicron.at/academy
www.omicronusa.com/academy
Learn more about your product in one of the training courses offered by the
OMICRON Academy.

OMICRON electronics GmbH, Oberes Ried 1, 6833 Klaus, Austria, +43 59495

Support

10

Vous aimerez peut-être aussi