07-28-2006 05:54 PM
07-31-2006 12:08 PM
Hello Ted,
You are encountering this problem because of memory allocation issue stemming from the way by which you are sending your input string. To overcome this, please refer to the example shipped with LabVIEW called Call DLL.vi. Please run the VI, and choose the LabVIEW Data Type as String. The VI that will open (see attached dll string input.gif file) will give a clear indication how to allocate sufficient memory in LabVIEW such that you do not receive the exception errors you have encountered.
Hope this helps,
AG
07-31-2006 04:04 PM
08-01-2006 04:09 PM
Dear Ted,
Just to verify, are you specifying the correct DLL path the first time you run this? If you post your VI and the DLL I could try to reproduce the error, and find a solution.
Regards,
AG
08-01-2006 05:13 PM
08-01-2006 10:08 PM
Hi Ted,
I can't see your VI (LV7.1 here) so I can't see the default path.
I noticed that path-to-string converts the "\" path delimiter to "\\"
- is it possible the default (string) path isn't using double-slashes for delimiters?
Cheers
08-01-2006 10:31 PM
08-02-2006 10:35 AM
08-02-2006 02:30 PM
08-02-2006 04:41 PM