LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Typedef in Express VI?

I don't see this mentioned in a search of the forums, so to serve as both a question and a warning to others,

 

Does anyone know about using typedefs in the configuration VIs of new Express VIs?

 

I struggled for about a week with an Express VI I'm writing. Every time I'd drop the VI on a block diagram I'd get the error, "Unable to view properties." I finally resolved the problem by unlinking the control on the configuration front panel from its typedef.

 

I still have typedefs throughout the source vi and on its inputs and outputs, but it seems typedefs just can't be on the configuration VI.

 

The documentation suggests using "controls and indicators from the System palette as much as possible" but that's as close as it gets to addressing this.

0 Kudos
Message 1 of 2
(2,780 Views)

PS: I've also found through trial and error that the the configuration vi cannot be part of a class, though the source vi can.

 

Come to think of it, my typedefs were part of that class, so perhaps that's the problem: maybe a configuration vi can't refer to a class in any way?

 

Is this a bug, or does it make sense in a way I haven't picked up on?

0 Kudos
Message 2 of 2
(2,753 Views)