NI-DAQmx .NET Framework 4.0 API Reference

DaqSystem.SetLogicFamilyPowerUpState Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.SetLogicFamilyPowerUpState Method
Sets the digital logic family to use when the device powers up.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public void SetLogicFamilyPowerUpState(
	string deviceName,
	LogicFamily logicFamily
)
Public Sub SetLogicFamilyPowerUpState ( 
	deviceName As String,
	logicFamily As LogicFamily
)

Parameters

deviceName
Type: SystemString
The name, as configured in Measurement Automation Explorer (MAX), of the device to which this operation applies.
logicFamily
Type: NationalInstruments.DAQmxLogicFamily
The logic family to set the device to when it powers up. A logic family corresponds to voltage thresholds that are compatible with a group of voltage standards. Refer to device documentation for information on the logic high and logic low voltages for these logic families.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

Power-up states are stored in non-volatile memory that you can write to only a limited number of times. Therefore, you should use this function as infrequently as possible. This function writes to the non-volatile memory only if a setting you request is different from the one currently stored on the non-volatile memory.

See Also

Log in to get a better experience