LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

USB comunication with a device using LabWindows CVI 7.1 or more late.

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.

 

0 Kudos
Message 1 of 8
(6,406 Views)

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. 

0 Kudos
Message 2 of 8
(6,397 Views)

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.

0 Kudos
Message 3 of 8
(6,382 Views)

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

0 Kudos
Message 4 of 8
(6,373 Views)

Hello

 

Wolfgang

 

Can you send me the link in the which I could see these exemplos.

 

Thanks.

0 Kudos
Message 5 of 8
(6,364 Views)

One link is here, some general remarks are given here

0 Kudos
Message 6 of 8
(6,357 Views)

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

0 Kudos
Message 7 of 8
(6,317 Views)

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.

0 Kudos
Message 8 of 8
(6,299 Views)