Capability >> Number of Relays

NI-DAQmx C Properties

Capability >> Number of Relays

Data Type: uInt32
Description: Indicates the number of relays on the device. This value matches the number of relay names in Relay List.
Restrictions: Not Settable

You can get this property using:
  DAQmxGetSwitchDevNumRelays