12-12-2008 12:05 PM
uCalc Fast Math Parser 2.96 was officially released this week. uCalc FMP will allow your applications to evaluate math expressions defined at runtime. uCalc FMP can work with LabVIEW using the uCalcWrp.dll wrapper DLL (included in the download).
For more details see:
Daniel Corbier
Author of uCalc FMP
www.ucalc.com12-15-2008 10:10 AM
12-17-2008 03:22 PM
12-18-2008 04:10 AM
12-18-2008 09:03 PM
Try the following prototype, and let me know how that works for you:
unsigned long ucDefineVariable(CStr Definition, unsigned long Address, unsigned long tHandle);
12-18-2008 09:06 PM
12-22-2008 04:40 AM
12-23-2008 12:20 PM
Unfortunately, currently uCalc doesn't have detailed documentation specifically for LabVIEW the way it does for other supported compilers. However, there is a LabVIEW entry in the help file (uCalcFMP.chm), under Compiler Specifics (the LV entry directs you to a topic entitled Other Compilers). There you will see the list of uCalc routines that are exported from the DLL. This will help you determine the number of parameters and data types to use in your prototypes.
By the way, if the help file appears blank (as people occasionally report), simply right-click the uCalcFMP.chm file, and change the security setting to allow that file to be viewed.