Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69510

Import Shared Library in LabVIEW

$
0
0

I used the Import Shared Library feature using the .dll and header file supplied by a 3rd party.  The process completed without errors and everything seemed good and fine, until....  I have issues with two of the function calls in LV.  The 3rd party claims the function "dscInitBoard" will automatically assign parameter "boardnum" to the board with the address and IRQ supplied by the input parameters.  The 3rd part also claims the function "GetBoardInfo" outputs the parameters of the board given the input parameter "boardnum."  When I used the LV generated wrapper for "dscInitBoard" the parameter "boardnum" is always assign a value of "zero."  Also the LV wrapper for "GetBoardInfo" doesn't have output any of the parameters, there isn't a output indicator.  Am I doing something wrong when importing the shared library?

 

I am using two of the 3rd party DAQ cards and all the inputs to the function call require the parameter "boardnum" so it's very important to have each board assigned a different "boadnum"


Viewing all articles
Browse latest Browse all 69510

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>