02-05-2008 12:45 PM
02-06-2008
12:30 PM
- last edited on
01-15-2025
04:41 PM
by
Content Cleaner
Hi Lawrence,
For your first question, I would agree with you that the call library function node is the way to go. If your driver is accessible through a dll, you can use the "call library function node" to pass data to and receive data from that dll. For information about using dlls and other third party software with LabVIEW, see the on-line help for building a shared library. Also, there are some great examples that will help you get started: one found in NI Developer Zone called Calling a C-built DLL in LabVIEW to Generate and Sort an Array of Numbers and a few in the NI Example Finder called Call DLL.vi and Import Shared Library Tutorial GUI.vi. If you just type DLLs in the search tab, you will get several results that should help you out. As for ActiveX, it is a great way to access external programs in LabVIEW. However, you will need to have an ActiveX interface component provided by the manufacturers of the PCI card. This is generally used for Windows applications so I am not sure if you would be able to do this.
As for information about pointers, handles and memory allocation, there is a great article found in the LabVIEW Help called Memory Manager. I hope this helps!
Carla
02-06-2008 01:57 PM