LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL help

Solved!
Go to solution

Hi!

 

Could you help me, how to call this function from Labview? This is very important for me!

Thank you!

 

I'm point on the GetCameraList pointer parameter!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 1 of 14
(4,338 Views)

1.go to block diagram

2. right click->connectivity->library&executables->call library function node

3.right click on this and serlect "configure"

4.select the dll by browsing for the dll path and seledct the required function fro the :function name" dropdown

5.hit ok

6. wire the values

 

and you are done

 

 

 

Regards
Guru (CLA)
0 Kudos
Message 2 of 14
(4,333 Views)

And how do I configure the Parameter Type?

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 3 of 14
(4,328 Views)

Please take a look at the code.

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 4 of 14
(4,326 Views)

As posted on LAVA:

Try this code, it should get you close.

 

is_GetCameraList.png

0 Kudos
Message 5 of 14
(4,294 Views)

If someone has any good idea? Please share with me!

Thank you!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 6 of 14
(4,274 Views)

What's wrong with the good idea he posted?

 

You could a bit more precise about where your problems are, so we could help you a little better...



Remember Cunningham's Law
0 Kudos
Message 7 of 14
(4,260 Views)

After sleeping on it I realized my solution was too complicated for the way that your DLL expects the data tot be structured.  See if this works for you.

 

is_GetCameraList.png

0 Kudos
Message 8 of 14
(4,248 Views)

Nothnig happened.... 😞

 

pucl returns an empty string: Hex:01

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 9 of 14
(4,242 Views)

Hello!

 

My Problem is solved, by created a specific dll. Thanks for all!

 

By the way, is someone find a direct solution please post it!

 

Thanks again for everone!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 10 of 14
(4,232 Views)