DaqSystem.GetDevicePowerUpState Method (String, String[], Double[], String[], Double[])
- Updated2023-02-21
- 1 minute(s) read
Gets the power up states for analog physical channels.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public void GetDevicePowerUpState( string deviceName, out string[] voltageChannels, out double[] voltageValues, out string[] currentChannels, out double[] currentValues )
Public Sub GetDevicePowerUpState ( deviceName As String, <OutAttribute> ByRef voltageChannels As String(), <OutAttribute> ByRef voltageValues As Double(), <OutAttribute> ByRef currentChannels As String(), <OutAttribute> ByRef currentValues As Double() )
Parameters
- deviceName
- Type: SystemString
The name, as configured in Measurement Automation Explorer (MAX), of the device to which this operation applies. - voltageChannels
- Type: SystemString
The physical channels that were modified. - voltageValues
- Type: SystemDouble
The power up state set for the physical channel specified with the voltageChannels output. - currentChannels
- Type: SystemString
The physical channels that were modified. - currentValues
- Type: SystemDouble
The power up state set for the physical channel specified with the currentChannels output.
Exceptions
| Exception | Condition |
|---|---|
| DaqException | The NI-DAQmx driver returned an error. |