10-18-2011 04:04 PM
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.
![]()
10-18-2011 04:41 PM
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.
10-18-2011 05:03 PM
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.