LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Clusters in DLL header files

I am using LabView to create DLLs to call from LabWindows. When using clusters as input/output parameters, the C header files produced have unhelpful structure names given to each cluster such as TD1, TD2, TD3 etc. If you change the order in which your parameters are passed, or want to use the same structure to use in a different VI, the names differ.

Is there a way of getting the structure names the same as the cluster names?
0 Kudos
Message 1 of 3
(3,054 Views)
Just thought I would pop in and say hello......
0 Kudos
Message 2 of 3
(3,049 Views)
Clare -
You don't have to use those names in your application. You can change the names of the structures to whatever you like, as long as you change the names in all the places where they are referenced (structures within structures). I don't believe there is a way to change the names that are autogenerated for you. And don't forget to byte pack the structures to 1 byte.

David.ptp -
Thanks for dropping by 🙂
Bilal Durrani
NI
0 Kudos
Message 3 of 3
(3,042 Views)