12-08-2006
08:47 AM
- last edited on
07-08-2025
12:04 PM
by
Content Cleaner
12-11-2006
03:44 AM
- last edited on
07-08-2025
12:04 PM
by
Content Cleaner
Fabrice,
Reason is your 6254 is a DAQmx device, but your PCI-6541 is not. 6541 is a dig. waveform generator and NI-DAQmx is not needed for this device. All devices supported by NI-DAQ and NI-DAQmx are listed here:
http://www.ni.com/support/daq/versions.htm#dp
The functions you can use are the ones for NI-HSDIO; however, I browsed quickly though the list of functions and could not find an similar function to the DAQmxGetSysDevNames.
Regards,
Frode
12-11-2006 06:15 AM
Hi Frode!
Thanks for your answer.
I just thought it is weird that both devices appear in the same category in the Measurement and Automation. Both are listed under DAQmx. In addition, if you check in the link you sent, plenty of digital IO devices are listed, but not the one I am using (unless you make a difference between a digital pattern generator and a digital input/output device). Could that be that this device is new and has not yet been added in the list of supported devices for DAQmx driver?
In any case, if I cannot use this function to find out the device name of the PCI-6541, is there another solution for me (you're right, I had also checked th NI-HSDIO library and there are no functions retrieving the device name)? Would you know any other commands that can help me find out this information? This device name is assigned by Measurment and Automation and it's possible to change it in the software, so I guess there must be a call that retrieves this information.
The whole point is that I do not want to hardcode any device name when I am initializing the device using niHSDIO_InitGenerationSession() or niHSDIO_InitAcquisitionSession().
Thanks for your feedback.
Fabrice