LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clusters and shift registers

I guess my question is; can this typedef be used in 5 separate subvi's? Each subvi controls one channel. (As in case with parallel subvi and not nested) Like a daqmx write function can be used as it creates clones of the same function.

 

I may not be perfect, but I'm all I got!
0 Kudos
Message 21 of 23
(489 Views)

Yes, you can use this typedef in as many subVIs as you would like. That is the beauty of a typedef. You have one defintion for your data type and should you modify it you only have to change it in one place. All of the places that use it will be updated automatically.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 22 of 23
(486 Views)

As mentioned, remove the error cluster from the type def, then you can make an array of that typedef and send around as needed. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 23 of 23
(467 Views)