Skip to content

Instantly share code, notes, and snippets.

@in3otd
Created April 3, 2015 15:43
Show Gist options
  • Save in3otd/bd7174ca4bd1d99c4098 to your computer and use it in GitHub Desktop.
Save in3otd/bd7174ca4bd1d99c4098 to your computer and use it in GitHub Desktop.
Circuit showing bug with Sweep component with a single value and Type=list
<Qucs Schematic 0.0.18>
<Properties>
<View=0,-51,887,800,1,0,51>
<Grid=10,10,1>
<DataSet=test_sweep.dat>
<DataDisplay=test_sweep.dpl>
<OpenDisplay=0>
<Script=test_sweep.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<GND * 1 60 160 0 0 0 0>
<R R1 1 240 90 15 -26 0 1 "R1" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "US" 0>
<Idc I1 1 60 90 18 -26 0 1 "1 A" 1>
<.DC DC1 1 60 230 0 43 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
<.SW SW1 1 60 420 0 71 0 0 "DC1" 1 "list" 1 "R1" 1 "5 Ohm" 0 "50 Ohm" 0 "[1]" 1>
<.SW SW2 0 400 420 0 71 0 0 "DC1" 1 "const" 1 "R1" 1 "5 Ohm" 0 "50 Ohm" 0 "[1]" 1>
</Components>
<Wires>
<60 40 60 60 "" 0 0 0 "">
<60 40 240 40 "" 0 0 0 "">
<240 40 240 60 "" 0 0 0 "">
<60 120 60 140 "" 0 0 0 "">
<60 140 240 140 "" 0 0 0 "">
<240 120 240 140 "" 0 0 0 "">
<60 140 60 160 "" 0 0 0 "">
<240 40 240 40 "out" 270 10 0 "">
</Wires>
<Diagrams>
<Tab 500 277 179 97 3 #c0c0c0 1 00 1 0 1 1 1 0 1 1 1 0 1 1 315 0 225 "" "" "">
<"out.V" #0000ff 0 3 1 0 0>
</Tab>
</Diagrams>
<Paintings>
<Text 50 340 12 #ff0000 0 "Sweep with a single value and\nType=list does NOT work">
<Text 390 340 12 #ff0000 0 "Sweep with a single value and\nType=const works fine">
</Paintings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment