LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using external DLL commands from Canon SDK

Hi,

I am currently having issues with the call library function in labview. I am unsure as to how to use a few of the commands from the sdk, for example, the pr_rc_getreleaseddata command. I have tried to put it into labview, but I do not know how to use the parameters part or wire them together.

 

Attached is my current VI and the manual. I cannot attach the sdk library, but I can email it if it will help.

 

Thanks

Stephan Liu

Download All
0 Kudos
Message 1 of 2
(3,053 Views)

You cannot generate valid parameters for "pr_rc_getreleaseddata" entirely within LabVIEW.  That function requires a callback, which cannot be created in LabVIEW.  Search this forum for "callback DLL" for lots of threads with similar questions.  The best solution is to write a DLL in C that includes a callback function which can send data to LabVIEW through PostLVUserEvent or another synchronization method.

0 Kudos
Message 2 of 2
(3,049 Views)