LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Equivalent of 'Whos' command in MATLAB

Hi 

 

Similar to 'Whos' command in MATLAB I wanted to list all the constant and controls (if possible) I used in my LabVIEW code. Does anyone know if its possible with any additional code or Toolkit. 

 

Thanks in advance. 

 

Robot Indifferent

-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Kunal Raithatha.
CTD - CLAD (I wish I can take off that A, and maybe use it later to replace D 🙂

Easy Tip :- "To copy an image to a VI icon, drag the image file and place it on the icon
located in the upper right corner of the front panel or block diagram" ...If you know any
more reply back.
-------------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 3
(2,535 Views)

What is the purpose of this?

 

To answer the question, the VI Server provides the list of controls for the front panel via the Front Panel -> Controls[] property. For block diagram objects you need to use scripting. You can use the Block Diagram -> All Objects[] property. The Class Name will give you an indication of whether it's a constant. For example, a numeric constant will have a class name of "DigitalNumericConstant". Be aware that this second list includes all objects. There is no "Constants[]" property.

0 Kudos
Message 2 of 3
(2,518 Views)

Smercurio_fc

 

Pupose is to enlist name and value of constants n controls I used in quite a big VI, values of the constants are often manipulated to adjust the requirement. It will be good at the end if I can print them altogether. 

 

Thank You.

-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Kunal Raithatha.
CTD - CLAD (I wish I can take off that A, and maybe use it later to replace D 🙂

Easy Tip :- "To copy an image to a VI icon, drag the image file and place it on the icon
located in the upper right corner of the front panel or block diagram" ...If you know any
more reply back.
-------------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 3
(2,510 Views)