03-06-2007 01:36 PM
03-08-2007 10:27 AM
03-08-2007 10:39 AM
03-08-2007 11:14 AM
Hello again Michael,
Here I was thinking that I'd need half a day to learn to use the Call Library Function node, only to discover that it's all but automatic. I love LabVIEW. ![]()
To answer your question, my DLL works fine when called in LabVIEW. (Maybe I should make my LabWindows app into a DLL and call *it* from LabVIEW...)
Thanks again,
Slowpoke
03-09-2007 03:10 PM
03-12-2007 10:01 AM
Hello Michael,
LabWindows is running on my development computer along with LabVIEW. Attached is a .png image showing the error window that pops up when I click on the VI's broken arrow icon. "Configure for Sound.vi" initializes the DAQmx and sound card tasks. "Sound Card Status.vi" is a functional global that stores and operates on the sound card task ID.
Thanks!
Slowpoke
03-13-2007 10:25 PM
03-14-2007 02:09 PM
Hi Michael,
Sorry for the confusion!
Guess they don't call me Slowpoke for nothing...anyway, let me see if I can clarify matters.
The problem is not with the control program, per se. The problem only manifests itself when I call my DLL (created in LabVIEW) from the LabWindows control program. When I call the DLL from a LabVIEW control program, the DLL works perfectly. When I call the DLL from the LabWindows control program, the front panel of the called VI has a broken "run" arrow. When I click on the broken arrow, I get the LabVIEW error message popup. The LabWindows control program itself flags no errors.
I mentioned those VIs only to offer some context for the problem, i.e., in case you were wondering what their functions and purpose were, since they appeared in the error popup; if I muddled things up for you instead, again I apologize. Hope this is clearer! ![]()
Thanks,
Slowpoke
03-16-2007 01:47 PM
03-17-2007 12:15 PM
Hi Michael,
You bet. Attached is a .zip file containing the .dll, .lib and .h files of my DLL project. If there's anything else I need to do, please don't hesitate to ask.
Thanks!
Slowpoke