LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to communicate with a instrument which has its dll in C language

hi all
we had recently brought an instrument which has its dll wriiten in c language.i want to use it in labview.we are not able to connect to the instrument also.it has only lan .& i suppose its not taking the ip address & the port no.
to which format should i give them as they are structures which are passing to a function & i am calling that dll in the labview.
regards
dhiraj

0 Kudos
Message 1 of 6
(3,476 Views)
0 Kudos
Message 2 of 6
(3,473 Views)
ya i have been using this but its giving unable to connect to the instrument.
i have got a dll file & header file & a c file to connect to the instrument.so how can i use them to connect to the instrument
0 Kudos
Message 3 of 6
(3,441 Views)

Hi dhiraj034...,

you can use the import function of LabView to create the vi´s you need to communicate with your device, or you write them by yourself. Smiley Happy

Mike

0 Kudos
Message 4 of 6
(3,439 Views)

What is the instrument?

Who is the manufacturer, and the model designation?

If you provide these, I can check to see if some drivers already exist for it.

RayR

0 Kudos
Message 5 of 6
(3,428 Views)


@dhiraj03416 wrote:
...we are not able to connect to the instrument also.it has only lan .& i suppose its not taking the ip address & the port no.



Hi!
   I would focus on this problem, which is the first to be solved.  How can you say that's not taking ip address? do you have a DHCP server enabled? Also I'd check firewall settings...

graziano

PS.: of course, these are "blind" suggestions, I'd like to have your instrument on my desk to try....Smiley Happy
0 Kudos
Message 6 of 6
(3,425 Views)