When I use NI-DAQ Traditional and VB6 I'm able to locate all the boards that have been initialized by MAX. Now that I'm finally switching to DAQmx I'm looking for the same functionality.
In NI-DAQ Traditional I used: Init_DA_Brds(DeviceNumber, deviceNumberCode) and stepped throught he first 10 boards and trapped errors.
In NI-DAQmx I see the function DAQmxGetSysDevNames(deviceNames, buffSize) but it does not seem to return any values. Maybe I have the aguments wrong; deviceNames as a string (also tried it as a variant) and buffSize as a long.
I understand this is the forum "board" is for Measurement Studio for VB6, but there does not seem to be a better board for my question.