Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

PXIe-4163 Changing voltage procedure

This is how I change a voltage on an NI SMU, specifically PXIe-4163. This is based on the user manual and C# examples provided by NI.

 

Pxie1463.Control.Abort

Pxie1463.Outputs[channelNum].Source.Output.Function =DCPowerSourceOutputFunction.DCVoltage;

Pxie1463.Outputs[channelNum].Source.Voltage.CurrentLimitAutorange =DCPowerSourceCurrentLimitAutorange.On;

Pxie1463.Outputs[channelNum].Source.Voltage.CurrentLimit = GetCurrentUnitValue(iLimit);
Pxie1463.Outputs[channelNum].Source.Voltage.VoltageLevel = volt;

Pxie1463.Outputs[channelNum].Source.Output.Enabled = true;
Pxie1463.Control.Initiate();

 

The "Abort" and "Initiate" take too much time.  Let's say I want to ramp the voltage from 0V to 0.5V within 100 seconds. I have to perform the above routine in a loop 100 times with a 5mV resolution per second, which will take more than 100 seconds to complete.  I couldn't find an alternative approach, given what NI provided.  I hope to get some suggestions.  

 

NI is suck, we pay 38K for a card, when I want to ask a question about how to use it, they want a separate service pack of 4K before they answer my question.  Sorry for the rant, but I am frustrated with this company. 

 

0 Kudos
Message 1 of 1
(66 Views)