AnsweredAssumed Answered

VRf- Program flow

Question asked by VRFuser on Jul 22, 1999
I appear to have a complete misunderstanding of VEE program flow.  I have
attached a file which I think should display two traces on a XY Trace.  The
data gets to the display object pins, but never appears on the trace.  Can
someone please point me in the right direction.

Thanks,
Jeff Bruce
Sr. Test Engineer
Boston Acoustics
978-538-5000 x2908
jeff.bruce@bostonacoustics.com


begin 600 Flow.vee
M*'-A=F5&;W)M870@(C(N,R(I#0HH9&%T92`B1G)I(#(S+TIU;"Q.3DY(#$S
M.C0Q.C0W("(I#0HH=F5E<F5V("(U+C`Q(BD-"BAP;&%T9F]R;2`B4$,B*0T*
M*&5X96--;V1E(&]L92D-"BAF:6QT97).04X@,"D-"BAW;W)K<W!A8V53=&%C
M:VEN9T]R9&5R($TI#0HH4V%V94-&('EE<RD-"BA#;VQO<G,-"BA0<F]P97)T
M>2`B1&5T86EL(%9I97<B("),:6=H=&5S="!'<F%Y(B!B=T=R87E38V%L92`Q
M,"D-"BA0<F]P97)T>2`B4&%N96P@5FEE=R(@(D=R87DB*0T**%!R;W!E<G1Y
M(")7;W)K<W!A8V4B(")$87)K($=R87DB*0T**%!R;W!E<G1Y("),:6YE($-O
M;&]R(B`B0FQA8VLB(&)W1W)A>5-C86QE(#$P,"D-"BA0<F]P97)T>2`B3&EN
M92!#;VQO<B`H;G5M97)I8RDB(")$87)K(%-K>2!";'5E(B!B=T=R87E38V%L
M92`Q,#`I#0HH4')O<&5R='D@(DQI;F4@0V]L;W(@*&-O;7!L97@I(B`B1&%R
M:R!3:WD@0FQU92(@8G='<F%Y4V-A;&4@,3`P*0T**%!R;W!E<G1Y("),:6YE
M($-O;&]R("AS=')I;F<I(B`B365D($]R86YG92(@8G='<F%Y4V-A;&4@,3`P
M*0T**%!R;W!E<G1Y("),:6YE($-O;&]R("AS97%U96YC92!O=70I(B`B365D
M($1A<FL@1W)A>2(@8G='<F%Y4V-A;&4@,3`P*0T**%!R;W!E<G1Y("),:6YE
M($-O;&]R("AH:6=H;&EG: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