05-06-2004 10:09 AM
05-06-2004 01:37 PM
01-11-2005 05:51 PM
01-12-2005 07:08 PM
@Jim at TRW wrote:
This is an interesting problem. I am writing a dll that calls Matlab API and LabVIEW API using the "Call Library Function". This requires me to set up the prototype using the configure option in LabVIEW. The types determined by the configure option are
long BWD_Read(void *Path, LStrHandle ID_Name, double *ID, LStrHandle Signal_Array_Name, void *Signal_Array, LStrHandle Data_Array_Name, Array2DDouble **Data, LStrHandle Units_Array_Name, void *Units_Array);
but when I click on the generate .c file I get a prototype of
long BWD_Read(Path Path, LStrHandle ID_Name, double *ID,
LStrHandle Signal_Array_Name, TD1Hdl Signal_Array,
LStrHandle Data_Array_Name, TD2Hdl Data, LStrHandle Units_Array_Name,
TD1Hdl Units_Array)
So I use the former, i.e.
long BWD_Read(void *Path, LStrHandle ID_Name, double *ID,
LStrHandle Signal_Array_Name, void *Signal_Array,
LStrHandle Data_Array_Name, Array2DDouble **Data,
LStrHandle Units_Array_Name, void *Units_Array);
When I go to run I get
The function name specified for this node cannot be found in the library. Right-click the Call Library Function node and select Configure, then choose the correct function name.