09-09-2003 09:48 PM
09-10-2003 11:36 AM
09-03-2009 04:53 AM
09-03-2009 04:57 AM
This links migth help
http://forums.ni.com/ni/board/message?board.id=231&message.id=2256&requireLogin=False
Accessing the data of waveforms in a DLL is
unsupported; therefore to read data from or to create a waveform in a
DLL you actually need to build simply VIs into the DLL. The VIs should
split the Waveforms into the dt, to, and the data array or to build the
waveform up from those parts.
For more information select
Help>>Search the LabVIEW Bookshelf. Take a look at the Using
External Code in LabVIEW, which has a lot of information about passing
data to and from DLLs. It was in this manual (p26) that I finally found
this answer.
In addition there is a great example at
"C:\Program Files\National Instruments\LabVIEW 7.0\examples\dll\data
passing\Call Native Code.llb" This has examples of the VIs, the DLLs,
and the source needed to pass all types of data between
LabVIEW and a DLL.
Evan
National Instruments