07-28-2008 07:57 AM
07-28-2008 08:30 AM
07-28-2008 10:57 PM
Hi,
Thanks for your response.
As VISA is an API. It should be calling some windows function or it requires windows driver(for third party USB) to communicate with instrument.
so i would like to know that , how it is communicating with third party USB device without having windows driver?
Again i would like to know that is it possible to make driver using NI-VISA only?? without having windows driver for that device.
07-29-2008 01:37 AM
VISA uses Windows drivers to access the USB hubs. And it comes with its own implementation of a T&M USB device class driver. Unless you want to access a T&M device class (which given your hardware might be possible but it is a class profile that must be implemented specifically by the device firmware) you will have to resolve to accessing your USB device on raw level. This means VISA will give you communication channels to the actual USB endpoints and all the rest is up to you:
@dilchahta wrote:
Hi,
Thanks for your response.
As VISA is an API. It should be calling some windows function or it requires windows driver(for third party USB) to communicate with instrument.
so i would like to know that , how it is communicating with third party USB device without having windows driver?
Again i would like to know that is it possible to make driver using NI-VISA only?? without having windows driver for that device.
07-29-2008 10:50 PM
Hi,
Thanks a bunch.. That was really satisfactory reply.. I have gone through the documents u have suggested.
Actually, I am having a client, who has a 32 channel usb device. He wants a labview driver for his device and also wants an application where he can monitor the data from USB.
so my question is that, can i do the following things using labview only..
1) How to format the data streams
2) How to bitpack and unpack the data transfered!
3) How to react to USB events (interrupts)
Or i will required to develop some code for windows also.
What i am thinking is that, If i am having access to my device (by using MAX , NI-VISA and NI-DAQ ) then it should be possible to get control of the device in labview. So there is not to do with coding for windows.
Can you please tell me what is the best way to create driver?? Using NI-VISA functions only or by creating the driver in windows and just add the conrol in labview using .dll or active X??
07-29-2008 11:09 PM
07-30-2008 12:19 AM
I can't add much to what Dennis said. Just a few side marks.
@dilchahta wrote:
Hi,
Thanks a bunch.. That was really satisfactory reply.. I have gone through the documents u have suggested.
Actually, I am having a client, who has a 32 channel usb device. He wants a labview driver for his device and also wants an application where he can monitor the data from USB.
so my question is that, can i do the following things using labview only..
1) How to format the data streams
2) How to bitpack and unpack the data transfered!
3) How to react to USB events (interrupts)Or i will required to develop some code for windows also.
What i am thinking is that, If i am having access to my device (by using MAX , NI-VISA and NI-DAQ ) then it should be possible to get control of the device in labview. So there is not to do with coding for windows.
Can you please tell me what is the best way to create driver?? Using NI-VISA functions only or by creating the driver in windows and just add the conrol in labview using .dll or active X??