Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GUID for DAQpad and device info

Hello,
 
First time on this board and I have a question pertaining to USB communication with DAQPad 6507.
 
First a little background information.
 
We have test suites which uses several communication media such as GPIB, RS232, TCP/IP, UDP, CAN, USB communicating with instruments through C++ libraries which interface with Python. We have 6 DAQPad 6507 units attatched to three different PC's built in with many other devices in 19-inch equipment racks.
 
For a little more than a year we have successfully used NIDAQ to interface with the DAQPad's. However, we are interested in using raw USB for the communication. The communication with NIDAQ is adequate. Nonethless, using raw USB would significantly simplify our installation software and development environment as well as lead to further optimization of our libraries. We use C++ in combination with the Win32-API.
 
We would like to investigate raw USB with DAQPad 6507.
 
Finally the questions:
 
1) We use GUID {7C797140-F6D8-11CF-9FD6-00A024178A17} to successfully enumerate the device DAQPad 6507 and open the driver file in the 'normal' fashion. The drive name is very long. However, we can not read the attributes from the device. The Win32-API returns Error 31, device not running or something like that, even though the device is properly hooked up and installed. Is the GUID correct? Is there some additional step needed to access the device?
 
2) How complicated is the language of DAQPad 6507? Is there a protocol description available or would we need to reverse engineer it?
 
Again, this is a development option and we will not spend endless amounts of time on the possible optimization. Nevertheless I would appreciate any help you could provide for this investigation.
 
Thank you. Sincerely, Chris. Software Development Manager, Automotive.
 
0 Kudos
Message 1 of 3
(3,313 Views)
Hello Chris,
1. I do not find informaiton to this issue. You can try to use the VISA Driver Development Wizzard you find at Start>>Programm>>National Instruments>>VISA

here a link with infromation about:
How Can I Communicate With a Device Using NI-VISA USB RAW Mode?
http://digital.ni.com/public.nsf/websearch/E3A2C4FE42D7ED0D86256DB7005C65C9?OpenDocument

But the useage of the Ni-Daq is a good choise, look at the Traditional Ni-DAQ(Legacy) C Function Reference Help
(you find in
Start>>Programm>>National Instruments>>Ni-DAQ)

2. A protocol description is not availible.


Regards,
Fabian

Message 2 of 3
(3,272 Views)

Thanks for responding Fabian,

We did a little bit of spy monitoring of the USB communication. I believe that DAQPad 6507 speaks in a standard piped USB communication. The protocol was not very complex. However, I do not want to pursue this in detail right now. Perhaps later.

For the moment it seems like our present use of the NIDAQ library is an efficient and trustworthy way to go.

Again, thank you very much for responding.

Sincerely, Chris.

0 Kudos
Message 3 of 3
(3,248 Views)