Capability >> Number of Switch Channels

NI-DAQmx C Properties

Capability >> Number of Switch Channels

Data Type: uInt32
Description: Indicates the number of switch channels for the current topology of the device. This value matches the number of channel names in Switch Channel List.
Restrictions: Not Settable

You can get this property using:
  DAQmxGetSwitchDevNumSwitchChans