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: 

LabVIEW CLFN Problem:Repeatility

Recently I use the LabVIEW's Call Library Function Node to invoke a dll's function.

The prototype of function is:

int videorecvstart(HWND hwnd);int videorecvstop()

It opens a display area on the windows which hwnd pointed and another one close this display area.

And my problem is:

If I start labview and run this VI at the first time it's OK,display area appear and disappear...

but if I run it again there is no action unless I quit labview.

How to modify my code in order to run it continuously without quit labview?

Can some body help me? Thanks!Smiley Very Happy

I have attached my VI and dll.

0 Kudos
Message 1 of 2
(2,012 Views)

This is your first post, and you attach a 3MB zip fie that calls dll's?

Try to attach the affected portion of your code, in manageable VI's.

Richard






0 Kudos
Message 2 of 2
(1,979 Views)