Enkel dator oscilliscope (1 / 3 steg)
Steg 1: Input sond.
Startup conditions of each channel. # is a channel number from 1
to 8. Code can have up to three fields, separated by colons:
position[.bits][:scale[:function #, memory letter, or external
command]]. Position is the number of pixels above (positive) or
below (negative) the center of the display. Bits is the number of
logic analyzer bits to display. Scale is a valid scaling factor
from 1/50 to 50, expressed as a fraction. The third field may
contain a built-in math function number, memory letter, or exter
nal math command to run on the channel. Using these options makes
the channel visible unless position begins with a ’+’, in which
case the channel is hidden.
-a
Active, or selected, channel.
-r
Sound card sampling Rate in samples per second. Current valid
values are 8000, 11025, 22050, or 44100.
-s
Time Scale factor from 1/20 to 1000 expressed as a fraction where
1/1 is 1 ms/div.
-t
Sound card Trigger conditions. Trigger can have up to three
fields, separated by colons: position[:type[:channel]]. Position
is the number of pixels above (positive) or below (negative) the
center of the display. Type is a number indicating the kind of
trigger, 0 = automatic, 1 = rising edge, 2 = falling edge. Chan
nel should be x or y.
-l
Manual cursor Line positions. Cursors can have up to three
fields, separated by colons: first[:second[:on?]]. First is the
sample position of the first cursor. Second is the sample posi
tion of the second cursor. The final field is weather the manual
cursors are displayed (1) or the not displayed (0).
-c
Graticule Color, 0 - 15.
-d
Divisor for sound card DMA: 1, 2, or 4. The sound driver will
divide it’s DMA buffer by this factor. The value 4 usually gives
the fastest display rate.
-m
Graphics Mode to use. For xoscope, use the more flexible -geome
try instead. 0 = 640x480x16, 1 = 800x600x16, 2 = 1024x768x16, 3 =
1280x1024x16. WARNING: not all modes are supported by all video
cards; don’t use unsupported modes!
-f Font to use. For oscope, these are listed in /usr/lib/kbd/con
solefonts. For xoscope, they’re the output of xlsfonts. The
default should work best.
-p
Plot type. 0 = point, 1 = point accumulate, 2 = line, 3 = line
accumulate, 4 = step, 5 = step accumulate.
-gGraticule style. 0 = none, 1 = minor divisions only, 2 = minor
and major divisions.
-b Whether the graticule is drawn Behind or in front of the signals.
-v Whether the Verbose key help is displayed.
-x Whether the sound card input device (XY) is turned on. This can
be used to skip the attempt to connect to Esound or /dev/dsp.
-z Whether the serial input device (Z) is turned on. This can be
used to suppress the search for a serial scope device.
file The name of a file to load upon startup. This should be a file
previously saved by oscope.
http://xoscope.sourceforge.net/Hardware/Hardware.html
Citat från petrakis13 EXAMPLES [quote]
oscope -1 80 -2 -80 -3 0:1/5:6 -4 -160:1/5:7
This runs oscope with channel 1 above and channel 2 below the
center of the display. Also channel 3 and 4 are made visible to
show the FFT of channel 1 and 2 respectively at a reduced scale of
1/5.
xoscope oscope.dat
This runs xoscope, loading settings and memory buffers from a pre
viously saved data file called "oscope.dat".
jag gjort lite framsteg... FILES Jag började först med använda raden i jack. Jag gjorde en sond med en 1 meg resistor inline. Spetsen på stereokontakt är den vänstra kanalen eller kanal 1 på Xoscope displayen. Så är ringen rätt kanal eller kanal 2 på displayen. Jag använde bara en kanal till att börja med. Jag använde Sleve som marken. Jag hittade line jack verkar mycket bättre "renare" än den mikrofoningång.
Oscope creates readable text data files. The files contain at least a
comment header which holds the current settings of oscope. Loading the
file causes these saved settings to be restored.
To record your signals permanently first store them into memory
buffers, optionally recall them to channels, and then save the file.
All non-empty memory buffers are written to a column of the file fol
lowing the comment header. Columns are separated by tab characters.
These are stored back into the memory buffers when the file is later
loaded. Simply recall them to channels to view them.
This format could also be read by some spreadsheet or plotting pro
grams. For example, the gnuplot (1) command
plot "oscope.dat" using 0:1, "oscope.dat" using 0:2
would plot the first and second columns of the "oscope.dat" data file.
Med xoscope kör, trigger off, jag öppnade Kmix och valt den röda knappen under "line" och gick över och valde den gröna knappen ovanför "IGAIN" och ställa in förstärkning av mitt vägen och det började att arbeta. Detta var efter mycket knopp dicking och mixtra runt utan en aning. ENVIRONMENT Jag verkade ha utfall över från den andra kanalen, men jag tror det bara inställningen av skalan jag använde 1/5 och buller tappade vägen ner. Jag tror att vara familure med hur det fungerar kommer att göra det lättare att använda.
OSCOPEPATH
The path to use when looking for external math commands. If
unset, the built-in default is used.
PROBESCOPE
The serial device your ProbeScope or osziFOX is connected to. If
no ProbeScope is found here, some known serial devices are
checked. If unset, /dev/probescope is used. /dev/probescope
could be a symbolic link to the real device such as /dev/ttyS1.
BITSCOPE
The serial device your Bitscope is connected to. If no Bitscope
is found here, some known serial devices are checked. If unset,
/dev/bitscope is used. /dev/bitscope could be a symbolic link to
the real device such as /dev/ttyS1.
ESPEAKER
The host:port of the EsounD to connect to if built with EsounD
support. If unset, localhost is assumed. If no EsounD connection
is made or if there is no EsounD support compiled in, then oscope
will try to read /dev/dsp directly.
Jag tror att det är möjlighet att göra en 555 timer oscillator kanske med vissa klippning dioder att skapa en spänning referens? LIMITATIONS [/quote]