LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need help using typedef in labview 8.0

Hi there!

I would like to make use of a typedef to pass parameters to a vi reference and return values from it. I have seen that one can make use of a typedef in that process.

I dont have a clue how to use the typdefs in labview, so i would appreciate all the advice i can get.

Thanking you.
Regards,
0 Kudos
Message 1 of 3
(3,276 Views)
Typedefs are controls which are saved in a single file and then loaded from that file every time. This means that you can have the same control in several different VIs and when you change the control file, all the VIs will have the updated controls.
 
See the attached simple example - if you change the typedef, it is updated in all places.
 
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(3,253 Views)

Matrix.

The example and links provided by tst are good ways to understand type definitions. I would also recommend looking at Help>>Search the LabVIEW Help... for type definitions where a good explanation is provided.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 3
(3,238 Views)