LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB devices

 Hallo,
I am a student  and I am trying to conect LabView with one
Temperature measurement device by USB. The company of the device provided
me
a CD with the driver and with .dll library, this library theorically I can
call from LabView with call library function.
I have tryed to make a program calling this libraries by the funcion Call
Library Function (CLF),but I have more problems for example in the
prototipe
of the function it put CUSBaccess *FCWInitObject() but I don't Know what
type
of valor I must to choose in the configure windows of CLF, other function
have the prototipe: int FCW GetTemperature(CUSBaccess * obj, int deviceNo,
double * Temperature, int * Time) valors for double, int...I have seen in
one
table of convertion in the ni.com web but for the pointer * How I must to
configure the function?

Then I obtain new function in the function palette that before I don't
have,
but for I can utilize this one I need know the session handle of the
devices
that I don't know it.How I can know the session handle or make one little
program for know the session handle???

For the last and the mos important, you Know more or less that I want to
do,
conect my temperature devices with LabView and to can read the temperature
in
LabView. I can directly call to the function and obtain the temperature or
I
must to do more things before.
I hope that you can help to me .
Gonzalo De Francisco
I attach you the work that I did.
I know that is better that I ask to the company of the devices but I had
sent
a mail to it and I hadn't got any reply.
0 Kudos
Message 1 of 2
(2,702 Views)
Hi Gonzalo!

Again its me! Did you already find a solution?
If you have the dll, you have also to know what the return value of your function is. Normally your dll has a "help-file" or anything. There should be some information about every funcition of your dll and you will be able to configure you dll-node so that it will work.

Ramona
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 Kudos
Message 2 of 2
(2,659 Views)