Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Aguiel me podria decir cual es la sesion handle para un dispositivo USB.

Aguiel me podria decir cual es la sesion handle para un dispositivo USB.
Puedo poner directamente un string con:USB::(datos del disposivo).
Los datos del dispositivo, como numero de serie, ID del fabricante...etc Como los obtengo???
Muchas Gracias
Gonzalo
0 kudos
Mensaje 1 de 10
4.846 Vistas
Hola Gonzalo!

Primero, lo siento, por que no sé espanol muy bien, pero intento ayudarte.
Tienes el Max (Measurement & Automation Explorer)? Normalmente aquí están todos los informatiónes de hardware de tus computadora.
Cúal dispositivo USB tienes?

Y un consejo más: en este forum puedes encontrar ayuda más rapido, cuando sabes inglés. 🙂

Ramona

Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 kudos
Mensaje 2 de 10
4.829 Vistas
Thank you very much Ramona,
I try to do that you said but Measurement and Automation don't detec my devices. I am trying to use the function that the company's device offer to me by .dll but I have more problems, because the prototipe of the function that they give me after I can't configure the same by Call Library Function. x eg: I try to use one parameter CUSBaccess and I only can choose between numeric, string and void.
Thank again
Gonzalo
0 kudos
Mensaje 3 de 10
4.826 Vistas
Which kind of devices do you have? They are from National Instruments? If your card (or what ever you have) is not from NI, it is normal that you cant see them. What should they do? Without any information to you device it is hard to say anything!
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 kudos
Mensaje 4 de 10
4.820 Vistas

Thank again Ramona.

My devices isn't National Instrument. It is a Temperature Devices of Cleware (Cleware is the name of the company). It is connect to the PC by USB. 

The company provide me one library .dll with the CD that have de sofware. This sofware I don't use. I am trying to connect the devices with LabView directly.  I have more problem because when I call to this function, with parameters addecuate I think the program (Labview) don't work.

When I would have one more concrete question I will write you again

Thanks

Gonzalo 

 

0 kudos
Mensaje 5 de 10
4.804 Vistas
Buenos días, Gonzalo!

Cuando este Libery es especialmente para LabView, usa este. Este es la posibilidad más facíl.
Hay solamente una otra solucción:
puedes escribir una libery con VISA, pero con esta solucción tienes que saber la structura de comunicación y de registro de dispositivo USB. Y normalmente no sabes eso y no puedes averiguar estas informaciónes.
Te recomiendo que uses la libery de compania cleware! Creo que es la única solución (y la más facíl).

Espero que te ayudo un poquito.

Ramona
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 kudos
Mensaje 6 de 10
4.798 Vistas
Bitte Ramona,
But I don't Know if this Library is concrete for LabView, I think than it isn't specially for LabView.
Gonzalo
0 kudos
Mensaje 7 de 10
4.798 Vistas
Hola Gonzalo!

Entonces, tienes que preguntar la compania de dispositivo USB. Ellos saben para cual funcionalicad está esta libery o pueden darte un ona otra.
Hay muchas companias que tienen liberys de National Instruments. Creo que pueden ayudarte.

Ramona
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 kudos
Mensaje 8 de 10
4.789 Vistas

Thanks again Ramona, perhaps one day with all our help I will finish my program, and this was only for one or two days...I am applying in it for two weeks.

One question for you, I am reading the files of my company product and in one of they it said : The file USBaccess.h contains the interface to the Cleware USB devices. After including this header file the devices could be opened and accessed.

This means than I must include this file in my proyect and it is all, or I might open it and execute it in my program if is the second option, Could you explain to me very concretly How I should do it???

Thanks again. Gonzalo

0 kudos
Mensaje 9 de 10
4.774 Vistas
This header-file wont help you a lot. If you want to use your device you have to have the *.dll file! If you have it you can comunicate with you USB device. I don't see a other solution. Ask the company, they can help you. Greetings, Ramona
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 kudos
Mensaje 10 de 10
4.759 Vistas