DAQmxSetDigitalLogicFamilyPowerUpState

NI-DAQmx C Functions

DAQmxSetDigitalLogicFamilyPowerUpState

int32 DAQmxSetDigitalLogicFamilyPowerUpState (const char deviceName[], int32 logicFamily);

Purpose

Sets the digital logic family to use when the device powers up.

Parameters

Input
Name Type Description
deviceName const char [] The name of the device, as configured in Measurement & Automation Explorer (MAX), to which this operation applies.
logicFamily int32 Specifies 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.
Value Description
DAQmx_Val_2point5V 2.5 V (compatible with CMOS signals)
DAQmx_Val_3point3V 3.3 V (compatible with LVTTL and LVCMOS signals)
DAQmx_Val_5V 5 V (compatible with TTL and CMOS signals)

Return Value

Name Type Description
status int32 The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error.