Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

Passing a Variety of Data Types from DLL to LabVIEW

42 ratings | 4.62 out of 5
Print

Downloads

Filename: passing.zip
Requirements: View

This example illustrates how to pass all sorts of data types from C code to LabVIEW through the Call Library Function in LabVIEW(which uses DLLs). The C code shows how to dynamically create data and pass it to LabVIEW using the LabVIEW memory manager functions. The C code displays how to modify data passed from LabVIEW and change the contents of that data. The C code also shows how LabVIEW can pass and accept standard C data types like double* for arrays or char* for strings, in addition to passing the native LabVIEW structures to C code and how to handle them.

Requirements


Filename: passing.zip

Software Requirements


Application Software: LabVIEW Full Development System 6.0
Language(s): C, LabVIEW

 
42 ratings | 4.62 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).