07-25-2012 04:18 PM
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
07-25-2012 05:42 PM
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.