F.3 CREATING osa DRIVERS
IMPORTANT
Writing a DSO driver
me
is a very complex process. For this reason,
it
is highly
recommended
that
you
be extremely
experienced
in
operating
and
programming
of
your
DSO. Mistakes in the
DSO
driver could result inaninaccurate waveform transferto the Model 395.
If
your DSO is not included in the DSO listing, you can write a DSO driver using any
general purpose ASCII text editor on any
PC
compatible computer.
To create a new DSO driver file,
Review paragraph P.3.1
DSO
Driver Reference.
Check the DSO manual for GPffi commands for
binary
waveform
download
or
binary
waveform
transfer.
Write the driver
me
using an ASCII text editor, and load the DSO driver into the
Mode1395; see paragraph
FA.
f.3.1 osa Driver Reference
A DSO driver consists
of
four description blocks: [id], [setup n], [select n], [format],
and [help]. Blocks can be
in
any orderin the
me.
[id] This
block
contains the
DSO
make
and
model that the
Model
395
displays
on
the DSO screen. Each
me
must contain an
"id"
block
[format] This block defmes the data format. Items inthis block must relate to
commands
in
the [setup
n]
block. Each file
must
contain one
"format" block.
[setup n] This block contains the commands that
set
up the
DSO
waveform
transfer
format.
This
block
is
optional
if
the
DSO
has
only
one
channel
or
a "default" channel is used. Each file can contain up to
two "setup" block.
"n"
represents the setup block number
(1
or
2).
Even
if
only
one
setup
block
is
used
in
the
file,
setup
must
be
numbered (e.g. [setup 1]).
[select n] This b10ck contains the commands that selects the waveform source
(channel, trace, memory etc.) on the DSO.
Each
me
can contain up
to twenty "select" blocks.
"n"
represents the select block number (
1through 20). Even
if
only one selectblock is used in the
me,
setup
must
be
numbered (e.g. [select 1]).
[help] This
block
allows the
programmer
to
create
help
screens
for
the
DSO.
The Model 395 executes the commands
in
the block when
"do
upload" is selected
on
DSO screen. The
Model395
executes the block commands
in
this order:
flISt "setup" block followed
by
the selected "select" b10ck.
Then any additional "setup" and "select" commands that may include the waveform
transfer commando
Finally, the
Model395
attempts to read the DSO data in the format specified in the
"format" block.
Dsa
Upload F-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com