Certification

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

CLD-R Questions

Highlighted

CLD-R Questions

A few CLD-R questions I'd like opinions on:

 

19. A copy of the Front Panel data, such as controls and indicators, is kept in memory during which one of the following cases?
1) The front panel of the subVI is open
2) The subVI has been changed but not saved
3) The panel uses data printing
4) The subVI uses local variables

 

What is data printing? I cannot find reference to this feature. 

 

32. You are given the following code to dynamically launch a dialog:

examfig.png


The dialog VI has the following VI Property settings:
-Show front panel when called = True
-Close afterwards if originally closed = True
-Run when opened = False
Given that the dialog VI exists, the run arrow is not broken, and no other instances of the VI are in memory, which of the following statements is true after the launcher code executes?
a. The Run VI Method starts execution of the dialog VI. The front panel of the dialog VI is not loaded into memory
b. The Run VI Method starts execution of the dialog VI. The front panel of the dialog VI opens and runs independently of the launcher code
c. The Open VI Reference starts execution of the dialog VI. The front panel of the dialog VI opens and runs independently of the launcher code
d. The Open VI Reference starts execution of the dialog VI. The front panel of the dialog VI is not loaded into memory

 

Answer is A. Please explain?

 

Thanks.

PhD ChemE, CLD, Alliance Partner : www.interfaceinnovations.org
0 Kudos
Message 1 of 11
(2,086 Views)

Re: CLD-R Questions


@ColinCR wrote:

19. A copy of the Front Panel data, such as controls and indicators, is kept in memory during which one of the following cases?

 

What is data printing? I cannot find reference to this feature.


I never heard of it either.  But the answer is obviously A.

 


@ColinCR wrote:

32. You are given the following code to dynamically launch a dialog:

Answer is A. Please explain?


I would think B myself.  If I had a little more time right now, I would build up the VIs to test it.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 2 of 11
(2,074 Views)

Re: CLD-R Questions

19. While I also would agree, the practice exam lists the answer (from the choices I did not list) as A - all of the above: 

 

a. All of the above
b. 1, 2 and 3
c. 1 and 2
d. 1

 

32. I also agree and chose B. I have no idea how A could be correct.

PhD ChemE, CLD, Alliance Partner : www.interfaceinnovations.org
0 Kudos
Message 3 of 11
(2,057 Views)

Re: CLD-R Questions

19 just has to be a typo. There is no other explanation. Person who wrote it meant to say the first choice is correct, and instead selected the first (All of the above) selection.

PhD ChemE, CLD, Alliance Partner : www.interfaceinnovations.org
0 Kudos
Message 4 of 11
(2,052 Views)

Re: CLD-R Questions

I stand corrected. From here: 

 

https://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/vi_memory_usage/

 

With subVIs, you can use controls and indicators as inputs and outputs. The execution system makes a copy of the control and indicator data of the subVI in the following conditions:

  • The front panel is in memory. This can occur for any of the following reasons:
    • The front panel is open.
    • The VI has been changed but not saved (all components of the VI remain in memory until the VI is saved).
  • The panel uses data printing.
  • The block diagram uses Property Nodes.
  • The VI uses local variables.
  • The panel uses data logging.
  • A control uses suspend data range checking.
PhD ChemE, CLD, Alliance Partner : www.interfaceinnovations.org
0 Kudos
Message 5 of 11
(2,046 Views)

Re: CLD-R Questions

I hate to be the one to mention it but, you need to read the Help for Run VI Method

 

Since the method ignores a lot of FP.x properties (notably: the show FP when called property) B is just there to test your knowledge of the differences between "Calling" a vi and involking the Run Method.  A common programmer error!  

Spoiler
You wouldn't believe how many times I've caught developers confused by that distintion "In-The-Wild"
Message 6 of 11
(1,835 Views)

Re: CLD-R Questions


@ColinCR wrote:

A few CLD-R questions I'd like opinions on:

 

19. A copy of the Front Panel data, such as controls and indicators, is kept in memory during which one of the following cases?
1) The front panel of the subVI is open
2) The subVI has been changed but not saved
3) The panel uses data printing
4) The subVI uses local variables

 

What is data printing? I cannot find reference to this feature. 

 


A local variable doesn't cause a copy of the whole front panel, it only makes a copy of the control that has the local. The answer is therefore B.

0 Kudos
Message 7 of 11
(432 Views)

Re: CLD-R Questions


@nanocyte wrote:

@ColinCR wrote:

A few CLD-R questions I'd like opinions on:

 

19. A copy of the Front Panel data, such as controls and indicators, is kept in memory during which one of the following cases?
1) The front panel of the subVI is open
2) The subVI has been changed but not saved
3) The panel uses data printing
4) The subVI uses local variables

 

What is data printing? I cannot find reference to this feature. 

 


A local variable doesn't cause a copy of the whole front panel, it only makes a copy of the control that has the local. The answer is therefore B.


Which becomes very obvious when you need to set the config parameter for max undo steps back to the old default (9) rather than the current default (99).  Now, tell me why...........

 

And for the rest,

 

Ctrl+I  Print Options  Print with execution.  Or take a gander at the Properties of 

Class>>VI Server >>Application>>Printing............  No one uses it but, it is there!

0 Kudos
Message 8 of 11
(430 Views)

Re: CLD-R Questions

Great job resurrecting a dead thread on its second birthday! 

PhD ChemE, CLD, Alliance Partner : www.interfaceinnovations.org
0 Kudos
Message 9 of 11
(425 Views)

Re: CLD-R Questions


@Jeff·Þ·Bohrer wrote:

@nanocyte

Class>>VI Server >>Application>>Printing............  No one uses it but, it is there!


I used it several times before scripting was a thing.  I didn't have any other way to programatically get images of source code to be put into a document for archival or review.  I also had LabVIEW code in my senior thesis in college and I used it then to get images of the block diagram without having to open every VI and Print screen.

 

But Jeff is right, it was never a feature used very often.


Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
Interesting in learning all you can about automotive CAN bus communication? Checkout my 12 part CAN Blog series.

0 Kudos
Message 10 of 11
(423 Views)