04-10-2007 04:01 PM
void ReadStatus(unsigned long Handle, unsigned short data[], long len).
void ReadStatus(unsigned long handle, unsigned short int *data, long len).
04-10-2007 04:49 PM
In trying to isolate which part of my DLL is not working, I came upon something that could cause trouble... the VI that I want to convert into a DLL is already calling external code through a library function call. Can I still make this VI into a DLL?
Regards,
mlloyd
04-11-2007 05:52 PM
Hi mlloyd,
I am not sure what the issue is. I do believe that you should be able to
convert a VI that is already calling a dll. My recommendation for
troubleshooting this issue is to create a debuggable dll. If you are
using LabVIEW 8.0 or later, when you build your dll in the Project Explorer,
select the Advanced option and choose Enable Debugging.
From there, you can use that debuggable dll to see if you can pinpoint the
issue.
Please let me know if you have any further questions by replying to this post.
04-12-2007 09:24 AM
I selected Enable Debugging on the Advanced option in Project Explorer (LV 8.0) and built my DLL. I then go to Operate»Debug Application or Shared Library. For the Machine Name or IP address field, I tried typing my computer name, IP address, or "localhost" in the dialog box. I attempted this while the VI containing my debuggable DLL was running and not running. However, I always get the error
No debuggable applications or runtime libraries found
How do I start the debug process for my debuggable DLL?
Thanks,
mlloyd
04-12-2007 11:24 AM
04-13-2007 09:46 AM