Description |
This command returns the mode of the selected "Analog Out" line on the Power I/O connector. The modes give the user the option to have the requested voltage applied immediately or not until the sweep is done. To set the mode, use put_OutputVoltageMode Method. |
VB Syntax |
mode = auxIo.get_OutputVoltageMode (output) |
Variable |
(Type) - Description |
mode |
(enum NAOutputVoltageMode ) - variable to store the returned mode. naWaitEOS - While in this mode any voltage changes sent to the selected analog out will only get applied to the output between sweeps. naNoWait - While in this mode any voltage changes sent to the selected analog out will occur right away without waiting until the end of a sweep, the voltage gets applied immediately. |
auxIo |
(object) - A Hardware Auxiliary Input / Output object |
output |
(double) Analog Output. Choose from 1 or 2 |
Return Type |
enum as NAOutputVoltageMode |
Default |
naWaitEOS |
Examples |
vOutMode = auxIo.get_OutputVoltageMode (1) |
C++ Syntax |
HRESULT get_OutputVoltageMode(VARIANT Output, tagNAOutputVoltageMode* pMode); |
Interface |
IHWAuxIO |