ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How initialize array in Call Library Function for unknown size array

In the attached file there is a project on VC ++ 5 and the project on LabView 6.0 (I have got used to these versions). In DLL 2 functions actually for check of working capacity DLL (Summa, Multi) and working function readdata which is intended for reading a file with data double, definitions of its size (filesize), creations of a file double for a data storage bufdat and transfers of this file in LabView. I  have created on disk directory c: \LabViewDLL\ also has written down there DLL, VI, has created in this directory subdirectory VC ++ and has written down there the project on VC ++. I have checked up, Summa and Multi work normally, the size of a file also is defined correctly, so probably DLL works, but readddata does not return array. Probably, I incorrectly initialize a array. In your reference the simple example is specified, and me interests how correctly to initialize and return a array. Help, please.

0 Kudos
Message 11 of 11
(496 Views)