07-26-2006 02:38 AM
07-27-2006
09:11 AM
- last edited on
08-14-2026
09:20 AM
by
Content Cleaner
I'm not sure about the 0x5a4 error code. Never seen that one.
It sounds like you're trying to create a cluster to be the "ComConfig" structure and passing that. Is that right? If so, you might want to take a look at the example that ships with LabVIEW about passing all sorts of data into DLLs. You can find the example in the LabVIEW directory in the "examples\dll\data parsing" directory.
You may also want to take a look at these:
Controlling an Instrument That Requires DLL Functions That Use Pointers to Complex Data Structures [link removed; article no longer available]
Using Structures in a DLL with Clusters in LabVIEW [link removed; example no longer available]
Passing a Variety of Data Types from DLL to LabVIEW
At worst case you may need to write a simple wrapper DLL that interfaces between LabVIEW and the DLL you're trying to use.
07-27-2006 09:44 AM