#! /usr/lib/veetest/veetest -r
(revision "A.00.01")
(date "Tue 17/Sep/1991")
(component 0 "Context"
 (implementation
  (component 0 "Context"
   (name "Pass/Fail Chart")
   (description 35 4
    Generates and displays a Pass/Fail bar chart from
    the 1-D input data array and a Limit.  The number
    of bars is equal to the number of array elements,
    the "length" of each bar is set by the value of
    each element (which may be a positive or negative
    real or int32 number), and the color of each bar
    is a function of the limit threshold value.  
    
    The display is autoscaled after plotting the bars
    using the maximum and minumum array data values
    and the number of bars.
    
    Display and trace labels, bar color, grid type,
    etc. can be set by clicking the Right Button on
    the display area and selecting the "Traces and
    Scales" entry from the resulting menu.  Changing
    the "sense" of the test is done by swapping the
    trace Labels (PASS and FAIL) and the trace colors
    (Pen2 Pen3).  The gap between bars can be set
    using the "Spacing" box in the Bar Chart Detail
    view.
    
    If the bars appear to have black vertical lines,
    the number of fill strokes can be increased, at
    the expense of drawing speed, by reducing the
    Density in the Detail view of the FillBarMux
    object.
    
    It may prove useful to Secure the BarChart User
    Object after customizing, since this eliminates
    the Panel/Detail buttons and some menu selections
    that are no longer needed.  Be sure to save the
    unsecured object so you can make changes at a
    later date, however. 
    
   )
   (interface
    (sequence in)
    (sequence out)
    (input 1
     (type data)
     (name "Ary")
     (optional yes)
    )
    (input 2
     (type data)
     (name "B")
     (optional yes)
    )
   )
   (implementation
    (trigMode deg)
    (locked no)
    (component 0 "ForCount"
     (name "For Count")
     (interface
      (sequence in)
      (sequence out)
      (input 1
       (type data)
       (name "Count")
       (tag "Count")
       (requires
        (datatype Int32)
        (shape "Scalar")
       )
       (lock constraints)
       (optional yes)
      )
      (output 1
       (type data)
       (name "Count")
       (lock name constraints)
      )
      (buffers in
       (buffer "Count")
      )
     )
     (implementation
      (component count 10)
     )
     (views
      (icon
       (origin 105 308)
       (extent 110 64)
       (iconImage "loop.icon")
      )
      (detail
       (origin 615 253)
       (extent 170 34)
      )
      (active icon)
     )
    )
    (component 1 "YPlot"
     (name "XY Trace")
     (subType "XY_Trace")
     (interface
      (sequence in)
      (sequence out)
      (input 1
       (type data)
       (name "PASS")
       (lock constraints)
      )
      (input 2
       (type data)
       (name "FAIL")
       (lock constraints)
       (optional yes)
      )
      (input 3
       (type data)
       (name "Limit")
       (lock constraints)
       (optional yes)
      )
      (input 4
       (type control)
       (name "Auto Scale")
       (lock name constraints)
       (optional yes)
      )
      (input 5
       (type control)
       (name "Next Curve")
       (lock name constraints)
       (optional yes)
      )
     )
     (implementation
      (component clearAtPrerun 1)
      (component clearAtActivate 0)
      (component tracePin 1)
      (component tracePin 2)
      (component tracePin 3)
      (component graphMode rectangular)
     )
     (views
      (icon
       (iconImage "display.icon")
      )
      (detail
       (origin 533 165)
       (extent 315 250)
       (displayMode annotGraph)
       (graphType cartesian)
       (gridType frame)
       (scale 0
        (name "Y name")
        (domainName "X name")
        (pen 9)
        (show 1)
        (range 0 20 4 linear)
       )
       (domain 0 10 4 linear)
       (trace 0 onScale 0
        (name "PASS")
        (pen 3)
        (lineType 1)
        (pointType 0)
       )
       (trace 1 onScale 0
        (name "FAIL")
        (pen 2)
        (lineType 1)
        (pointType 0)
       )
       (trace 2 onScale 0
        (name "Limit")
        (pen 4)
        (lineType 4)
        (pointType 0)
       )
      )
      (active detail)
     )
    )
    (component 2 "Context"
     (name "BarFillMux")
     (description 16 6
      This Library Object generates a serpentine bar
      fill pattern and places the output on one of two
      selected output pins.  The other output produces
      an empty bar, since a Display device needs some
      data on each input pin before it will execute and
      show the data. 
      
      The BarFillMux object uses the techniques found in
      the BarFill library object to produce an array of
      coord data points needed to fill a bar.  It adds
      a "TraceNo" input to determine which output pin
      receives the bar data and which receives the empty
      bar; zero outputs the bar on Trace 1, non-zero on
      Trace 2.  Note that the "other" trace has a bar of
      height (a thin horizontal line is drawn).
      
     )
     (interface
      (sequence in)
      (sequence out)
      (input 1
       (type data)
       (name "X-Start")
       (requires
        (datatype Real)
        (shape "Scalar")
       )
       (optional yes)
      )
      (input 2
       (type data)
       (name "X-End")
       (requires
        (datatype Real)
        (shape "Scalar")
       )
       (optional yes)
      )
      (input 3
       (type data)
       (name "Y-Max")
       (optional yes)
      )
      (input 4
       (type data)
       (name "Y-Min")
       (optional yes)
      )
      (input 5
       (type data)
       (name "TraceNo")
       (optional yes)
      )
      (output 1
       (type data)
       (name "Trace1")
       (lock constraints)
       (optional yes)
      )
      (output 2
       (type data)
       (name "Trace2")
       (lock constraints)
       (optional yes)
      )
     )
     (implementation
      (trigMode deg)
      (locked no)
      (component 0 "Formula"
       (name "NumPts")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "A")
         (optional yes)
        )
        (input 2
         (type data)
         (name "TraceNo")
         (optional yes)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked no)
        (component expr 1 "(TraceNo ? A : A[0])")
       )
       (views
        (icon
         (origin 581 418)
         (extent 78 25)
        )
        (detail
         (origin 508 318)
         (extent 214 104)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 1 "Formula"
       (name "NumPts")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "A")
         (optional yes)
        )
        (input 2
         (type data)
         (name "TraceNo")
         (optional yes)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked no)
        (component expr 1 "( NOT TraceNo ? A : A[0])")
       )
       (views
        (icon
         (origin 581 368)
         (extent 78 25)
        )
        (detail
         (origin 486 278)
         (extent 259 104)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 2 "AllocateArray"
       (name "Alloc Real")
       (subType "Alloc_Real")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "Init Value")
         (tag "Init Value")
         (requires
          (datatype Real)
          (shape "Scalar")
         )
         (lock constraints)
         (optional yes)
        )
        (input 2
         (type data)
         (name "Dim Size 1")
         (tag "Dim Size 1")
         (requires
          (datatype Int32)
          (shape "Scalar")
         )
         (lock constraints)
         (optional yes)
        )
        (output 1
         (type data)
         (name "Array")
         (tag "Array")
         (lock constraints)
        )
        (buffers in
         (buffer "Init Value")
         (buffer "Dim Size 1")
        )
       )
       (implementation
        (component numDims 1)
        (component dimSizes "9")
        (component type "Real")
        (component initEnum "Init Value")
        (component initialValue
         (name "Init Value")
         (datum 0)
        )
        (component from 1)
        (component thru 10)
       )
       (views
        (icon
         (origin 375 418)
         (extent 110 25)
        )
        (detail
         (origin 286 525)
         (extent 229 111)
        )
        (active icon)
       )
      )
      (component 3 "AllocateArray"
       (name "Alloc Real")
       (subType "Alloc_Real")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "Init Value")
         (tag "Init Value")
         (requires
          (datatype Real)
          (shape "Scalar")
         )
         (lock constraints)
         (optional yes)
        )
        (input 2
         (type data)
         (name "Dim Size 1")
         (tag "Dim Size 1")
         (requires
          (datatype Int32)
          (shape "Scalar")
         )
         (lock constraints)
         (optional yes)
        )
        (output 1
         (type data)
         (name "Array")
         (tag "Array")
         (lock constraints)
        )
        (buffers in
         (buffer "Init Value")
         (buffer "Dim Size 1")
        )
       )
       (implementation
        (component numDims 1)
        (component dimSizes "9")
        (component type "Real")
        (component initEnum "Init Value")
        (component initialValue
         (name "Init Value")
         (datum 10)
        )
        (component from 1)
        (component thru 10)
       )
       (views
        (icon
         (origin 375 378)
         (extent 110 25)
        )
        (detail
         (origin 46 305)
         (extent 229 111)
        )
        (active icon)
       )
      )
      (component 4 "Formula"
       (name "Generate Y values")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "A")
         (optional yes)
        )
        (input 2
         (type data)
         (name "B")
         (optional yes)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked no)
        (component expr 1 "concat(transpose([b a a b]),b[0])")
       )
       (views
        (icon
         (origin 359 308)
         (extent 163 25)
        )
        (detail
         (origin 275 563)
         (extent 340 154)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 5 "Constant"
       (name "Density")
       (subType "Real")
       (interface
        (sequence in)
        (sequence out)
        (output 1
         (type data)
         (name "Real")
         (lock name constraints)
        )
       )
       (implementation
        (component value Real
         (name "Density")
         (datum 0.03)
        )
        (component autoTrigger off)
        (component initializeAtPrerun off)
        (component initializeAtActivate off)
        (component initValue Real
         (datum 0)
        )
       )
       (views
        (icon
         (origin 211 338)
         (extent 78 25)
        )
        (detail
         (origin 157 364)
         (extent 147 32)
         (showFormat real)
        )
        (active icon)
       )
      )
      (component 6 "Formula"
       (name "Duplicate each X element")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "A")
         (optional yes)
        )
        (input 2
         (type data)
         (name "B")
         (optional yes)
        )
        (input 3
         (type data)
         (name "n")
         (optional yes)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked no)
        (component expr 1 "concat(transpose([ramp(2*n,a,b) ramp(2*n,a,b)]),b)")
       )
       (views
        (icon
         (origin 297 253)
         (extent 226 34)
        )
        (detail
         (origin 93 353)
         (extent 484 154)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 7 "ToCoordinate"
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "X Data")
         (tag "X")
         (requires
          (datatype Real)
         )
         (lock constraints)
        )
        (input 2
         (type data)
         (name "Y Data")
         (tag "Y")
         (requires
          (datatype Real)
         )
         (lock constraints)
        )
        (output 1
         (type data)
         (name "Coord")
         (tag "Coord")
         (lock constraints)
        )
       )
       (implementation
       )
       (views
        (icon
         (origin 545 268)
         (extent 110 25)
        )
        (detail
         (origin 510 175)
         (extent 50 110)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 8 "Formula"
       (name "NumPts")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "A")
         (optional yes)
        )
        (input 2
         (type data)
         (name "B")
         (optional yes)
        )
        (input 3
         (type data)
         (name "Density")
         (optional yes)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked no)
        (component expr 1 "intPart((b-a)/Density)")
       )
       (views
        (icon
         (origin 211 293)
         (extent 78 34)
        )
        (detail
         (origin 166 151)
         (extent 219 119)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 9 "Formula"
       (name " + ")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "X")
         (lock name constraints)
        )
        (input 2
         (type data)
         (name "Y")
         (lock name constraints)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked yes)
        (component expr 1 "X+Y")
       )
       (views
        (icon
         (origin 187 368)
         (extent 46 25)
        )
        (detail
        )
        (terminals on)
        (active icon)
       )
      )
      (configuration
       (connect D7:1 D0:1)
       (connect I5:1 D0:2)
       (connect D7:1 D1:1)
       (connect I5:1 D1:2)
       (connect I4:1 D2:1)
       (connect D8:1 D2:2)
       (connect D9:1 D3:1)
       (connect D8:1 D3:2)
       (connect D3:1 D4:1)
       (connect D2:1 D4:2)
       (connect I1:1 D6:1)
       (connect I2:1 D6:2)
       (connect D8:1 D6:3)
       (connect D6:1 D7:1)
       (connect D4:1 D7:2)
       (connect I1:1 D8:1)
       (connect I2:1 D8:2)
       (connect D5:1 D8:3)
       (connect I3:1 D9:1)
       (connect I4:1 D9:2)
       (connect D1:1 O1:1)
       (connect D0:1 O2:1)
      )
     )
     (views
      (icon
       (origin 365 148)
       (extent 110 65)
      )
      (panel
       (origin 350 255)
       (extent 170 231)
       (widget 5 detail
        (title on)
        (origin 360 311)
        (extent 147 32)
        (showFormat real)
       )
      )
      (detail
       (origin 154 245)
       (extent 542 230)
       (configuration
        (connect D7:1 D0:1
         (Point 657 280)
         (Point 670 280)
         (Point 670 310)
         (Point 570 310)
         (Point 570 370)
         (Point 560 370)
         (Point 560 420)
         (Point 578 420)
        )
        (connect I5:1 D0:2
         (Point 156 470)
         (Point 170 470)
         (Point 170 460)
         (Point 500 460)
         (Point 500 440)
         (Point 578 440)
        )
        (connect D7:1 D1:1
         (Point 657 280)
         (Point 670 280)
         (Point 670 310)
         (Point 570 310)
         (Point 570 370)
         (Point 578 370)
        )
        (connect I5:1 D1:2
         (Point 156 470)
         (Point 170 470)
         (Point 170 460)
         (Point 500 460)
         (Point 500 440)
         (Point 550 440)
         (Point 550 390)
         (Point 578 390)
        )
        (connect I4:1 D2:1
         (Point 156 420)
         (Point 372 420)
        )
        (connect D8:1 D2:2
         (Point 291 310)
         (Point 320 310)
         (Point 320 400)
         (Point 340 400)
         (Point 340 440)
         (Point 372 440)
        )
        (connect D9:1 D3:1
         (Point 235 380)
         (Point 372 380)
        )
        (connect D8:1 D3:2
         (Point 291 310)
         (Point 320 310)
         (Point 320 400)
         (Point 372 400)
        )
        (connect D3:1 D4:1
         (Point 487 390)
         (Point 500 390)
         (Point 500 360)
         (Point 340 360)
         (Point 340 310)
         (Point 356 310)
        )
        (connect D2:1 D4:2
         (Point 487 430)
         (Point 510 430)
         (Point 510 350)
         (Point 350 350)
         (Point 350 330)
         (Point 356 330)
        )
        (connect I1:1 D6:1
         (Point 156 270)
         (Point 170 270)
         (Point 170 260)
         (Point 294 260)
        )
        (connect I2:1 D6:2
         (Point 156 320)
         (Point 170 320)
         (Point 170 310)
         (Point 190 310)
         (Point 190 270)
         (Point 294 270)
        )
        (connect D8:1 D6:3
         (Point 291 310)
         (Point 300 310)
         (Point 300 300)
         (Point 280 300)
         (Point 280 280)
         (Point 294 280)
        )
        (connect D6:1 D7:1
         (Point 525 270)
         (Point 542 270)
        )
        (connect D4:1 D7:2
         (Point 524 320)
         (Point 530 320)
         (Point 530 290)
         (Point 542 290)
        )
        (connect I1:1 D8:1
         (Point 156 270)
         (Point 170 270)
         (Point 170 300)
         (Point 208 300)
        )
        (connect I2:1 D8:2
         (Point 156 320)
         (Point 170 320)
         (Point 170 310)
         (Point 208 310)
        )
        (connect D5:1 D8:3
         (Point 291 350)
         (Point 310 350)
         (Point 310 410)
         (Point 190 410)
         (Point 190 320)
         (Point 208 320)
        )
        (connect I3:1 D9:1
         (Point 156 370)
         (Point 184 370)
        )
        (connect I4:1 D9:2
         (Point 156 420)
         (Point 170 420)
         (Point 170 390)
         (Point 184 390)
        )
        (connect D1:1 O1:1
         (Point 661 380)
         (Point 680 380)
         (Point 680 310)
         (Point 693 310)
        )
        (connect D0:1 O2:1
         (Point 661 430)
         (Point 693 430)
        )
       )
      )
      (terminals on)
      (active icon)
     )
    )
    (component 3 "Context"
     (name "BarSize")
     (interface
      (sequence in)
      (sequence out)
      (input 1
       (type data)
       (name "Array")
       (optional yes)
      )
      (input 2
       (type data)
       (name "BarNo")
       (optional yes)
      )
      (input 3
       (type data)
       (name "Gap")
       (optional yes)
      )
      (output 1
       (type data)
       (name "X-Start")
       (lock constraints)
       (optional yes)
      )
      (output 2
       (type data)
       (name "X-Stop")
       (lock constraints)
       (optional yes)
      )
      (output 3
       (type data)
       (name "Y-Max")
       (lock constraints)
       (optional yes)
      )
      (output 4
       (type data)
       (name "Y-Min")
       (lock constraints)
       (optional yes)
      )
     )
     (implementation
      (trigMode deg)
      (locked no)
      (component 0 "Formula"
       (name "From")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "X")
         (optional yes)
        )
        (input 2
         (type data)
         (name "Inc")
         (optional yes)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked no)
        (component expr 1 "X+Inc/2")
       )
       (views
        (icon
         (origin 197 153)
         (extent 46 34)
        )
        (detail
         (origin 327 180)
         (extent 97 101)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 1 "Formula"
       (name "To")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "X")
         (optional yes)
        )
        (input 2
         (type data)
         (name "Inc")
         (optional yes)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked no)
        (component expr 1 "X+1-Inc/2")
       )
       (views
        (icon
         (origin 197 203)
         (extent 46 34)
        )
        (detail
         (origin 318 241)
         (extent 115 78)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 2 "Formula"
       (name "y[i]")
       (interface
        (sequence in)
        (sequence out)
        (input 1
         (type data)
         (name "y")
         (optional yes)
        )
        (input 2
         (type data)
         (name "i")
         (optional yes)
        )
        (output 1
         (type data)
         (name "Result")
         (lock name constraints)
        )
       )
       (implementation
        (component isLocked no)
        (component expr 1 "y[i]")
       )
       (views
        (icon
         (origin 197 253)
         (extent 46 34)
        )
        (detail
         (origin 200 461)
         (extent 90 78)
        )
        (terminals on)
        (active icon)
       )
      )
      (component 3 "Constant"
       (name "0")
       (subType "Real")
       (interface
        (sequence in)
        (sequence out)
        (output 1
         (type data)
         (name "Real")
         (lock name constraints)
        )
       )
       (implementation
        (component value Real
         (name "0")
         (datum 0)
        )
        (component autoTrigger off)
        (component initializeAtPrerun off)
        (component initializeAtActivate off)
        (component initValue Real
         (datum 0)
        )
       )
       (views
        (icon
         (origin 187 308)
         (extent 46 25)
        )
        (detail
         (origin 279 446)
         (extent 122 28)
         (showFormat real)
        )
        (active icon)
       )
      )
      (configuration
       (connect I2:1 D0:1)
       (connect I3:1 D0:2)
       (connect I2:1 D1:1)
       (connect I3:1 D1:2)
       (connect I1:1 D2:1)
       (connect I2:1 D2:2)
       (connect D0:1 O1:1)
       (connect D1:1 O2:1)
       (connect D2:1 O3:1)
       (connect D3:1 O4:1)
      )
     )
     (views
      (icon
       (origin 241 158)
       (extent 78 45)
      )
      (detail
       (origin 103 134)
       (extent 194 212)
       (configuration
        (connect I2:1 D0:1
         (Point 105 250)
         (Point 130 250)
         (Point 130 210)
         (Point 160 210)
         (Point 160 160)
         (Point 194 160)
        )
        (connect I3:1 D0:2
         (Point 105 320)
         (Point 150 320)
         (Point 150 230)
         (Point 170 230)
         (Point 170 180)
         (Point 194 180)
        )
        (connect I2:1 D1:1
         (Point 105 250)
         (Point 130 250)
         (Point 130 210)
         (Point 194 210)
        )
        (connect I3:1 D1:2
         (Point 105 320)
         (Point 150 320)
         (Point 150 230)
         (Point 194 230)
        )
        (connect I1:1 D2:1
         (Point 105 180)
         (Point 140 180)
         (Point 140 260)
         (Point 194 260)
        )
        (connect I2:1 D2:2
         (Point 105 250)
         (Point 120 250)
         (Point 120 280)
         (Point 194 280)
        )
        (connect D0:1 O1:1
         (Point 245 170)
         (Point 294 170)
        )
        (connect D1:1 O2:1
         (Point 245 220)
         (Point 294 220)
        )
        (connect D2:1 O3:1
         (Point 245 270)
         (Point 294 270)
        )
        (connect D3:1 O4:1
         (Point 235 320)
         (Point 294 320)
        )
       )
      )
      (terminals on)
      (active icon)
     )
    )
    (component 4 "Constant"
     (name "Spacing")
     (subType "Real")
     (interface
      (sequence in)
      (sequence out)
      (output 1
       (type data)
       (name "Real")
       (lock name constraints)
      )
     )
     (implementation
      (component value Real
       (name "Spacing")
       (datum 0.2)
      )
      (component autoTrigger off)
      (component initializeAtPrerun off)
      (component initializeAtActivate off)
      (component initValue Real
       (datum 0)
      )
     )
     (views
      (icon
       (origin 271 268)
       (extent 78 25)
      )
      (detail
       (origin 67 174)
       (extent 147 32)
       (showFormat real)
      )
      (active detail)
     )
    )
    (component 5 "FromArray"
     (interface
      (sequence in)
      (sequence out)
      (input 1
       (type data)
       (name "Ary")
       (tag "Ary")
      )
      (output 1
       (type data)
       (name "SubAry")
       (tag "Result")
       (lock constraints)
      )
      (output 2
       (type data)
       (name "Type")
       (tag "Type")
       (lock constraints)
      )
      (output 3
       (type data)
       (name "NumDims")
       (tag "NumDims")
       (lock constraints)
      )
      (output 4
       (type data)
       (name "DimSizes")
       (tag "DimSizes")
       (lock constraints)
      )
      (output 5
       (type data)
       (name "TotSize")
       (tag "TotSize")
       (lock constraints)
      )
     )
     (implementation
      (component isLocked no)
      (component expr 1 "Ary")
     )
     (views
      (icon
       (origin 75 218)
       (extent 110 64)
       (iconImage "unbuild.icon")
      )
      (detail
       (origin 252 110)
       (extent 147 160)
      )
      (terminals on)
      (active icon)
     )
    )
    (component 6 "Formula"
     (name "ColorTest")
     (interface
      (sequence in)
      (sequence out)
      (input 1
       (type data)
       (name "A")
       (optional yes)
      )
      (input 2
       (type data)
       (name "B")
       (optional yes)
      )
      (output 1
       (type data)
       (name "Result")
       (lock name constraints)
      )
     )
     (implementation
      (component isLocked no)
      (component expr 1 "a<b")
     )
     (views
      (icon
       (origin 305 228)
       (extent 110 25)
      )
      (detail
       (origin 308 279)
       (extent 55 82)
      )
      (terminals on)
      (active detail)
     )
    )
    (component 7 "Formula"
     (name "Threshold Limit")
     (interface
      (sequence in)
      (sequence out)
      (input 1
       (type data)
       (name "A")
       (optional yes)
      )
      (input 2
       (type data)
       (name "B")
       (optional yes)
      )
      (output 1
       (type data)
       (name "Result")
       (lock name constraints)
      )
     )
     (implementation
      (component isLocked no)
      (component expr 1 "[coord(0,b) coord(a,b)]")
     )
     (views
      (icon
       (origin 288 378)
       (extent 145 25)
      )
      (detail
       (origin 275 578)
       (extent 241 104)
      )
      (terminals on)
      (active icon)
     )
    )
    (configuration
     (connect D5:5 D0:1)
     (connect D2:1 D1:1)
     (connect D2:2 D1:2)
     (connect D7:1 D1:3)
     (connect D0:0 D1:4)
     (connect D1:0 D1:5)
     (connect D3:1 D2:1)
     (connect D3:2 D2:2)
     (connect D3:3 D2:3)
     (connect D3:4 D2:4)
     (connect D6:1 D2:5)
     (connect I1:1 D3:1)
     (connect D0:1 D3:2)
     (connect D4:1 D3:3)
     (connect I1:1 D5:1)
     (connect D3:3 D6:1)
     (connect I2:1 D6:2)
     (connect D5:5 D7:1)
     (connect I2:1 D7:2)
    )
   )
   (views
    (icon
     (origin 478 498)
     (extent 145 25)
    )
    (panel
     (origin 71 166)
     (extent 378 249)
     (widget 1 detail
      (title off)
      (origin 75 170)
      (extent 371 241)
      (displayMode annotGraph)
      (graphType cartesian)
      (gridType frame)
      (scale 0
       (name "Y name")
       (domainName "X name")
       (pen 1)
       (show 1)
       (range 0 20 4 linear)
      )
      (domain 0 10 4 linear)
      (trace 0 onScale 0
       (name "PASS")
       (pen 3)
       (lineType 1)
       (pointType 0)
      )
      (trace 1 onScale 0
       (name "FAIL")
       (pen 2)
       (lineType 1)
       (pointType 0)
      )
      (trace 2 onScale 0
       (name "Limit")
       (pen 4)
       (lineType 4)
       (pointType 0)
      )
     )
    )
    (detail
     (origin 36 112)
     (extent 808 337)
     (configuration
      (connect D5:5 D0:1
       (Point 187 270)
       (Point 230 270)
       (Point 230 390)
       (Point 90 390)
       (Point 90 340)
       (Point 102 340)
      )
      (connect D2:1 D1:1
       (Point 477 160)
       (Point 490 160)
       (Point 490 190)
       (Point 530 190)
      )
      (connect D2:2 D1:2
       (Point 477 200)
       (Point 490 200)
       (Point 490 240)
       (Point 530 240)
      )
      (connect D7:1 D1:3
       (Point 435 390)
       (Point 460 390)
       (Point 460 290)
       (Point 530 290)
      )
      (connect D0:0 D1:4
       (Point 160 374)
       (Point 160 420)
       (Point 470 420)
       (Point 470 340)
       (Point 530 340)
      )
      (connect D1:0 D1:5
       (Point 690 417)
       (Point 690 440)
       (Point 510 440)
       (Point 510 390)
       (Point 530 390)
      )
      (connect D3:1 D2:1
       (Point 321 160)
       (Point 362 160)
      )
      (connect D3:2 D2:2
       (Point 321 170)
       (Point 362 170)
      )
      (connect D3:3 D2:3
       (Point 321 180)
       (Point 362 180)
      )
      (connect D3:4 D2:4
       (Point 321 190)
       (Point 362 190)
      )
      (connect D6:1 D2:5
       (Point 435 320)
       (Point 450 320)
       (Point 450 280)
       (Point 460 280)
       (Point 460 230)
       (Point 350 230)
       (Point 350 200)
       (Point 362 200)
      )
      (connect I1:1 D3:1
       (Point 38 200)
       (Point 50 200)
       (Point 50 120)
       (Point 230 120)
       (Point 230 170)
       (Point 238 170)
      )
      (connect D0:1 D3:2
       (Point 217 340)
       (Point 240 340)
       (Point 240 260)
       (Point 230 260)
       (Point 230 180)
       (Point 238 180)
      )
      (connect D4:1 D3:3
       (Point 216 190)
       (Point 238 190)
      )
      (connect I1:1 D5:1
       (Point 38 200)
       (Point 50 200)
       (Point 50 250)
       (Point 72 250)
      )
      (connect D3:3 D6:1
       (Point 321 180)
       (Point 340 180)
       (Point 340 220)
       (Point 250 220)
       (Point 250 300)
       (Point 265 300)
      )
      (connect I2:1 D6:2
       (Point 38 380)
       (Point 50 380)
       (Point 50 400)
       (Point 250 400)
       (Point 250 340)
       (Point 265 340)
      )
      (connect D5:5 D7:1
       (Point 187 270)
       (Point 230 270)
       (Point 230 380)
       (Point 285 380)
      )
      (connect I2:1 D7:2
       (Point 38 380)
       (Point 50 380)
       (Point 50 400)
       (Point 285 400)
      )
     )
    )
    (active panel)
    (active panel)
   )
  )
  (configuration
  )
 )
 (views
  (detail
   (configuration
   )
  )
 )
)
