beautypg.com

KEPCO KLP Series Developer's Guide, Rev 1 User Manual

Page 35

background image

KLP-DEV 031113

3-13

' set voltage level
outputPtr.VoltageLevel 75

' enable OV protection and set OV level
protectionPtr.ConfigureOVP 15


' set current level
outputPtr.CurrentLimit 10

' enable the output
outputPtr.Enabled = True

Measuring the output is performed by accessing a function and not a parameter.

' Measure the voltage
Dim measVoltage As Double
measVoltage = measurementPtr.Measure(KepcoDCPwrMeasurementVoltage)

Closing the driver is the last step in any program:

driver.Close