12-06-2013 04:16 AM
Hi at all,
I'm an absolute newbie in LV and started yesterday with "playing" with Labview.
Now my prof told me that I have to use LV with our MSP 430 Target boards and the MSP-Fet430UIF Interface for my thesis.
My problem ist that I don't now how I have to start ... Google told me that it's not implemented in LV.
My professor also gave me a MSP430.dll and told me that a other student also made his thesis with LV and the MSP430 but he don't have any documentations or anything else about this,
I've found the Import Shared Library function but I don't know if this is the right way to solve my problem. I've used the MSP430.dll and the device specific header-file but what I have to write into the "Include Paths" and the "Preprocessor Definitons"-Space?
Thank youvery much in advance!!!!!
12-09-2013 07:08 AM
Hi mashda,
the Shared Library Importer will definitely help you here.
The include and preprocessor fields can be left open in most cases.
For further information on these fields please see the help button in
the bottom right corner of the dialog.
The wizard will generate wrapper-VIs for the dll's functions
specified in the .h definition file. Inside of those wrapper-VIs you will find standard
LabVIEW code with the configuration of the "call library node" already done
(which can be time consuming for dlls with many functions).
Note: This wizard might not be compatible with functions requiring parameters
in complex data structures. In this case please take a look at the example "External Code (DLL) Execution.vi"
(search "dll" in the example finder).
Best regards,
Peter