ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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,521 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
(2,488 Views)