05-04-2005 06:18 AM
05-04-2005 06:34 AM
05-04-2005
08:59 AM
- last edited on
10-19-2025
01:48 PM
by
Content Cleaner
This link
also has some good ideas for accessing 64 bit data from a DLL. Much of the information would also apply to your situation. The reading of the data is simply to do it as GerdW suggests and using a U32 twice. The rest of handling it in LabVIEW could use the suggestions in this link.
Hope that this helps,
Bob
05-04-2005 10:12 AM
05-04-2005 12:32 PM
05-05-2005
07:54 AM
- last edited on
10-19-2025
01:49 PM
by
Content Cleaner
As the link Bob pointed out says, you really do want to read the 64-bit integer as a double. This method will work for arrays and structures (clusters) as well, since platform-specific problems such as byte alignment will automatically be done for you. When you get it into LabVIEW, use the Type Cast primitive to change it to a cluster of two 32-bit integers.
If you want a good example of this, check out Can I Edit and Create Hierarchical Data Format (HDF5) files in LabVIEW?. The VIs in the examples use this method extensively to interface to the 64-bit HDF5 DLL. There is also quite a bit of 64-bit infrastructure code you can probably use.
05-06-2005 04:14 AM
05-06-2005 04:29 AM
05-06-2005 05:27 AM
05-06-2005 05:29 AM