LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ConsumerMessage.ctl example

For an old version of a VI - which we want to reuse - a "Consumer Message.ctl" file is searched.

On our system we do not got anything like this.

Bot we found such a file in an old LabView course. But this seems to be an older version, because the usage of this file leads to several dimension errors in the VI. So we propose that there must be used a similar example, but in a newer version.

 

Does someone know about a "Consumer Message.ctl" file in an example of a LabView version. We search in versions of about LabView-2018 to LabView-2020.

 

Thanks in advance.

0 Kudos
Message 1 of 3
(1,643 Views)

Hi jk,

 

try this:

  1. open a VI, which is using that control definition
  2. "ignore" the search dialog
  3. now the VI should have been loaded: find the control definition in your VI. It will be grayed out, but still available in the VI.
  4. right-click the grayed-out control -> disconnect from typedefinition
  5. now create a new typedefinition from your control

(I use the word "control", but that might also be used for indicators and block diagram constants.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,607 Views)

Hi GerdW,
thank you for the quick response.
I have tried your hint, but with that I get some other errors because of dimension-problems. It seems that a cluster in the VI, from this typedefinition, has different elements than what is used in the program. In case of doubt I have to fix this specifically and create a fitting cluster. But I thought I could be more clean to get the suitable *.ctl file and this solves the problem internally...

Best regards

0 Kudos
Message 3 of 3
(1,595 Views)