01-20-2011 12:40 PM
Hello Partners.
I am try to get information about USB comunication with a device using CVI 7.1 or more late, I will need to developed a aplication for comunicate with a device but I have not idea of How do this. I know how comunicate with the serial port in CVI, but I never have developed any application using the USB port.
Do you know which are the requirements for do this??
I have read some information and I am seeing that I needed the driver of device for do this but I do not know what is the command line that will need to send in the aplication for comunicate with my device.
Somebory knows how can I do this in my application??
Somebory has some exemplo code in where I can see the commands that I needed to send to the USB port?
Thanks a lot for your help.
I will be to hope some suggestion.
01-20-2011 04:21 PM
Hi! Mario,
Could you provide more info about your equipment and what kind of measurement/testing you're trying to do?
Typically, (Windows 2K + CVI6.0 + NI Visa 4.2 + IVI Compliance package 3.1) or above should be enough for most testing via USB connected equipment.
01-20-2011 06:04 PM
I want to do a test to a charger of a terminal mobile, but this device has a USB port only, so I will need to do some test of comunication how write or read of device and verify that this device responce well, but I never have use the USB port of the PC, then I have doubt of How can I send a command to the device and How can I verify the responce of this.
I am using a PC with the OS windows XP.
01-20-2011 11:52 PM
One possibility to get started is having a closer look at the VISA library, permitting read and write commands to a large variety of devices, including USB. There are some examples, too.
Wolfgang
01-21-2011 07:46 AM
Hello
Wolfgang
Can you send me the link in the which I could see these exemplos.
Thanks.
01-21-2011 08:53 AM
01-24-2011 06:32 AM
hi,
think there are three possibilities:
1. the product comes with an own driver & api
2. the product comes with an FTDI-device to communicate over
2.1 you can talk with the device over a virtual COM (rs232)
2.2. you can talk with the device over the D2XX-layer (look at the FTDI-webside: "D2XX Programmers guide....")
best regards
Simon
01-24-2011 11:46 AM
Thanks to all for your recomentations, I will investigate more about this with the links that us provided and I do to know any doubt that I could to have about this.
Thanks again.