Hello,
I am trying to control a PXI-4110 power supply in Visual Basic.NET using a wrapper. I have tried using two wrappers - the one from the website and the one that came with the driver.
Here is my code, but I know there must be more to it because it dumps me before it returns an intrument handle assignment. Also, there is a difference in this code in both wrappers. In the wrapper that came with the driver, there isn't a parameter listed for the instrument handle but there is one I got from the internet. Either way, I can't get it to work.
Using DCpower = New IviDCPwr(PXI1Slot6, True, True, Instrument_Handle)
DCpower.ConfigureOutputRange(channel, IVIDCPWR_VAL_RANGE, 15)
DCpower.ConfigureCurrentLimit(channel, Behavior, Limit)
DCpower.ConfigureVoltageLevel(channel, Level)
DCpower.Initiate()
End Using
Any help or pointing in the right direction would be GREATLY appreciated.
Mike