Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. (24 points) Consider the VI in Figure 5 (below) and the subVI Counter Action Engine.vi in Figure 6 (next page), with default values for
2. (24 points) Consider the VI in Figure 5 (below) and the subVI Counter Action Engine.vi in Figure 6 (next page), with default values for the controls and indicators as shown on the front panels. To receive credit, you must show how you arrived at your answers to the following questions. For examples of acceptable solution detail, review the solutions posted for Problem Set 3 problem 11. (a) (8 points) What value does the front panel indicator Count display after the VI in Figure 5 executes? (b) (8 points) Suppose the value of the Boolean status in the cluster error constant in Figure 5 is set to true (T). What value does the front panel indicator Count now display after the VI executes? (c) (8 points) The subVI in Figure 6 is called an action engine, and provides an alternative architecture for realizing a functional global variable. Summarize the key differences between the architecture of the functional global variable introduced in Laboratory #15 and the action engine architecture shown in Figure 6 using a few short sentences, Counter Action Engine Action Count Reset Error In Error Out code d 0 status status code source sourc No Error "Get Value "Reset". Default Count 132 Action K Error In Error Out "Increment Error "Decrement" Figure 6: subVI Counter ActionEngine.vi for Problem 13 Part 2 2. (24 points) Consider the VI in Figure 5 (below) and the subVI Counter Action Engine.vi in Figure 6 (next page), with default values for the controls and indicators as shown on the front panels. To receive credit, you must show how you arrived at your answers to the following questions. For examples of acceptable solution detail, review the solutions posted for Problem Set 3 problem 11. (a) (8 points) What value does the front panel indicator Count display after the VI in Figure 5 executes? (b) (8 points) Suppose the value of the Boolean status in the cluster error constant in Figure 5 is set to true (T). What value does the front panel indicator Count now display after the VI executes? (c) (8 points) The subVI in Figure 6 is called an action engine, and provides an alternative architecture for realizing a functional global variable. Summarize the key differences between the architecture of the functional global variable introduced in Laboratory #15 and the action engine architecture shown in Figure 6 using a few short sentences, Counter Action Engine Action Count Reset Error In Error Out code d 0 status status code source sourc No Error "Get Value "Reset". Default Count 132 Action K Error In Error Out "Increment Error "Decrement" Figure 6: subVI Counter ActionEngine.vi for Problem 13 Part 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started