wannabecontroller Posted May 10, 2019 Report Posted May 10, 2019 (edited) I cant seem to find an example of this. I have seen in several programs where a type def has multiple things included in it Perhaps a numeric constant and a string constant How can i create this? Thanks Edited May 10, 2019 by wannabecontroller Quote
smithd Posted May 10, 2019 Report Posted May 10, 2019 The term you are looking for is a cluster, equivalent to a C struct more or less. You create a type definition like this: https://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/creating_type_defs/ once you are in the control editor for the type definition, what you want to do is drop down a cluster control. ctrl+f for "clusters" on this document for a video: https://www.ni.com/getting-started/labview-basics/data-structures or in tutorial form: https://www.ni.com/tutorial/7571/en/ Depending on where you're at, you may have access to NI online training, or other resources found on this page: https://labviewwiki.org/wiki/Training Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.