Racal Instruments 1260-14C Manual page 41

1260 vxi switching card, open collector digital i/o module
Table of Contents

Advertisement

Module Specific Syntax 3-18
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Description:
This command sets up a single synchronous port to
perform a buffered write operation. Up to 256 data vectors can be
set up ahead of time in the port's buffer. Once a synchronous test
is armed, data from the buffer is clocked out of the port by each
active edge of CLKIN until either the last data item for each
synchronous port has been clocked, automatically disarming the
test, or the user disarms the test manually using the SETUP
ARM,OFF command. The last value on the port will remain there
until either another synchronous test is run, the user performs an
asynchronous WRITE on the port, or the user resets the module.
It should be noted that it is the user's responsibility to ensure that
the appropriate ports are write-enabled before starting the
synchronous test.
Write commands may be specified either as bit, byte or word-wide
operations. When a width change is requested by using either the
"W", "X" or "Y" width designator, the port's buffer is cleared of all
previous data and the new data is loaded starting at vector 1. If
there is no width designator, the port remains in its current mode,
and the new data is appended to the existing data in the buffer for
up to a maximum of 256 vectors of data. This means that multiple
statements may be used to load a given port's buffer by specifying
a width for the first SETUP WR statement, and not specifying a
width for subsequent statements.
Example 1:
Assume the user sends the following three statements to the
module:
SETUP 1.WR 0,Y,7,15,23
The first SETUP statement would set up port 0 to perform byte-
wide operations and would clear the port 0 buffer of any previous
values. It would then load a 7 in vector 1, a 15 in vector 2, and a
23 in vector 3. The second SETUP statement would leave the
buffer intact, and would load a 255 in vector 4. The final SETUP
statement would load a 100 in vector 5. Once the test was armed,
port 0 would be actively driving a 7 after the first clock, a 15 after
the second, etc. and would end the test driving a 100.
The data that is loaded in the buffer remains there until either the
port is re-initialized by a SETUP WR or a WRITE command, the
port is redefined to be a read port, the port is redefined to be an
asynchronous port, or the unit is reset. This means that it is
possible to arm and run a test multiple times without having to
reload the write data.
Bit, byte and word-wide operations cannot be mixed in a port. Only
User Manual 1260-14C
SETUP 1.WR 0,255
SETUP 1.WR 0,100

Advertisement

Table of Contents
loading

Table of Contents