From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(3,542 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
(3,537 Views)

And how do I configure the Parameter Type?

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

Please take a look at the code.

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

As posted on LAVA:

Try this code, it should get you close.

 

is_GetCameraList.png

0 Kudos
Message 5 of 14
(3,498 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
(3,478 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
(3,464 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
(3,452 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
(3,446 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
(3,436 Views)