0 Null XYSee 3.0 Demonstration MACRO... 0sineTest.MAC 5/91. 0 Null (c) 1991, Insight Advantage. All Rights Reserved. 0 BEEP 0 MESSAGE Example of using XYSee for : 3 MESSAGE ** TESTING ** 1 MESSAGE {Blank out line} 1 MESSAGE ** TESTING ** 1 MESSAGE {Blank out line} 1 MESSAGE Your requirements may be more sophisticated, 4 MESSAGE but don't worry... 3 MESSAGE XYSee MACROs are SIMPLE to prepare ! 4 MESSAGE You may print a copy of this testing routine... 4 MESSAGE with the Editor. The Macro name is "0SINTEST" 4 MESSAGE Locking the Keyboard...Click ! 2 OFF-KEY 0 MESSAGE {Blank out line} 0 ACCEPT Select the FAMILY Menu. 0 DOWN 1 DOWN 1 ACCEPT Select the TRIGONOMETRIC Menu. 1 ACCEPT Select the SINE module. 0 MESSAGE First let's set some initial conditions. 4 UP 1 UP 0 MESSAGE We'll set the model to Y=Asin(BX+C). 4 ACCEPT Select the Select Model option. 0 ENTRY Selected model is Y=Asin(BX+C) 4 1 ACCEPT Select the VARIABLE UPDATE Menu. 0 MESSAGE And initialize our variables. 4 DOWN Enter an initial set of values. 1 ACCEPT "A" 1 8.0 Enter values for the variables... 1 DOWN 1 DOWN 1 ACCEPT "B" 1 1.0 1 UP 1 ACCEPT "C" 1 0.0 0 MESSAGE {Blank out line} 1 CANCEL To plot the initial values. 1 DOWN 1 DOWN 1 ACCEPT Select the OVERLAY Menu. 0 MESSAGE Let's STORE the initial conditions. 4 ACCEPT STORE the initial plot. 0 MESSAGE {Blank out line} 1 DOWN 0 BEEP Time to start... 1 ACCEPT Select the CURSOR option. 0 MESSAGE == Ready? ... Let's Begin == 4 RIGHT * 15 Move to the Minimum Amplitude point. 0 DOWN * 2 0 MESSAGE MINIMUM AMPLITUDE What is this point on a wave called? 9 LEFT * 6 Move to the Maximum Amplitude point. 0 UP * 33 0 MESSAGE MAXIMUM AMPLITUDE What is this point on a wave called? 9 MESSAGE The magnitude from this point... 5 DOWN * 66 0 RIGHT * 13 0 MESSAGE PEAK-TO-PEAK AMPLITUDE To the opposite point is called? 9 CANCEL Exit the CURSOR option. 0 MESSAGE {Blank out line} 1 ACCEPT Select the VARIABLE UPDATE Menu. 1 UP 1 ACCEPT "C" 1 -1.5 1 CANCEL Replot with the new values. 1 DOWN 1 ACCEPT Select the CURSOR option. 0 LEFT * 7 0 UP * 66 0 MESSAGE What is the distance from this point on the wave... 5 LEFT * 26 Position the cursor to the second point/wave. 0 MESSAGE WAVELENGTH To this point on the wave called? 9 CANCEL Exit the CURSOR option. 0 MESSAGE PERIOD What is the time duration for a single cycle? 9 MESSAGE FREQUENCY The number of cycles in one second is called? 7 MESSAGE HERTZ It's unit of measurement is the? 7 MESSAGE {Blank out line} 0 DOWN 1 DOWN 1 ACCEPT Select the OVERLAY option. 1 DOWN 1 ACCEPT RESTORE our previous plot. 1 DOWN 1 ACCEPT Select the CURSOR option. 0 MESSAGE What is the difference from this point... 5 LEFT * 7 0 MESSAGE PHASE SHIFT To the same point on a different wave called? 9 MESSAGE {Blank out line} 0 CANCEL Exit the CURSOR option. 1 ACCEPT Select the VARIABLE UPDATE Menu. 1 DOWN 1 ACCEPT "A" 1 5.0 Amplitude value first. 1 UP 1 ACCEPT "C" 1 0.0 Followed by the Phase Shift. (none here) 1 CANCEL Replot with the new values. 1 DOWN 1 DOWN 1 ACCEPT Select the OVERLAY option. 1 DOWN 1 ACCEPT RESTORE the initial plot again. 1 DOWN 1 ACCEPT Select the CURSOR option. 0 MESSAGE What is the variation from this point... 5 DOWN * 12 0 MESSAGE AMPLITUDE DIFFERENCE To the matching point called? 9 MESSAGE {Blank out line} 0 CANCEL Exit the CURSOR option. 1 ACCEPT Select the VARIABLE UPDATE Menu. 1 DOWN 1 ACCEPT "A" 1 8.0 Enter an additional set of values. 1 DOWN 1 DOWN 1 ACCEPT "B" 1 2.0 1 CANCEL Replot with the new values. 1 DOWN 1 DOWN 1 ACCEPT Select the OVERLAY option. 1 DOWN 1 ACCEPT RESTORE once again. 1 DOWN 1 ACCEPT Select the CURSOR option. 0 UP * 12 0 MESSAGE What is the Frequency Ratio of this wave... 5 RIGHT * 10 Reposition the cursor. 0 MESSAGE FREQUENCY RATIO To this other wave on the display? 9 CANCEL Exit the CURSOR option. 0 MESSAGE FUNDAMENTAL What is the term given to... 5 MESSAGE the lowest frequency wave? 7 MESSAGE HARMONIC What is the term given to... 5 MESSAGE the higher frequency wave? 7 MESSAGE {Blank out line} 0 ACCEPT Select the VARIABLE UPDATE Menu. 1 DOWN 1 ACCEPT "A" 1 -8.0 Enter the final set of values. 1 DOWN 1 DOWN 1 ACCEPT "B" 1 1.0 1 CANCEL Replot with the new values. 1 DOWN 1 DOWN 1 ACCEPT Select the OVERLAY option. 1 DOWN 1 ACCEPT Restore the last time. 1 MESSAGE OUT OF PHASE Are these waves IN or OUT of phase? 7 MESSAGE {Blank out line} 0 CANCEL Exit the SINE module. 1 CANCEL Exit the TRIGONOMETRIC Menu. 1 CANCEL To the MAIN Menu. 0 MESSAGE Unlocking the Keyboard...Click ! 2 ON-KEY 0 MESSAGE It's time to check your answers. 4 MESSAGE While we're covering the answers, you may... 4 MESSAGE Press to allow time to... 4 MESSAGE correct your sheet. 2 MESSAGE Ready to start? 0 WAIT Until ready... 0 MESSAGE The first question was an easy warmup, 4 MESSAGE It is the MINIMUM AMPLITUDE. 6 MESSAGE Another easy one, recognize the... 6 MESSAGE MAXIMUM AMPLITUDE point? 6 MESSAGE The third one was a little harder... 6 MESSAGE It's PEAK to PEAK. 6 MESSAGE I hope you remembered the...WAVE LENGTH. 6 MESSAGE Number five is the...PERIOD. 6 MESSAGE A couple of basic ones...FREQUENCY and... 6 MESSAGE It's unit of measurement...HERTZ or Hz. 6 MESSAGE Number eight was harder...PHASE SHIFT. 6 MESSAGE The variation here is in the...AMPLITUDE. 6 MESSAGE I hope you looked closely, the ratio was 1:2. 6 MESSAGE The lowest frequency is the...FUNDAMENTAL. 6 MESSAGE Multiples of the fundamental are...HARMONICS. 6 MESSAGE Another easy one, the waves are OUT of PHASE. 6 MESSAGE We've covered a lot, I hope you did well ! 4 MESSAGE Please retain your answer sheet for review. 4 BEEP Notify the Instructor. 0 BEEP Once again for good measure. 0 STOP Terminate this testing MACRO.