VXI Technology, Inc.
28
VM1548C Programming
A
PPLICATION
E
XAMPLES
This section contains examples of using SCPI command strings for programming the VM1548C
module. The code is functional and will contain a brief description and block diagram of the
operation.
W
RITE
M
ODE
In this example the VM1548C will be set up prior to receiving the UUT generated clock edge.
The VM1548C will output one (1) 16-bit binary word to the UUT from ports 0 and 1.
COMMANDS
DESCRIPTION
OUTP:CLOC:ENAB 0 0
Disables port 0 clock from driving front panel
connector and enables this line as the clock input to
port 0.
OUTP:CLOC:ENAB 1 0
Same as previous command except for port 1.
OUTP:REG:SOUR 0 EXT
Selects port 0 input clock (CLK0) as method of
triggering.
OUTP:REG:SOUR 1 EXT
Same as previous command except for port 1.
SOUR:DATA:ENAB 0 1
Selects and enables port 0 to write data to the UUT.
STAT:INT:ENAB EXT0
Set the interrupt trigger source as the port 0 clock.
STAT:INT:PTR ON
Set the interrupt trigger source to the positive edge.
SOUR:DATA 0 48
Writes “48” data to port 0 for subsequent transfer to
the UUT.
SOUR:DATA:ENAB 1 1
Selects and enables port 1 to write data to the UUT.
SOUR:DATA 1 15
Writes “15” data to port 1 for subsequent transfer to
the UUT.
Figure 3-1 and the description that follows illustrates the function of each of the commands above.
Содержание VM1548C
Страница 2: ...2...
Страница 5: ...www vxitech com VM1548C Preface 5 Clock Enable 102 Latch Data 103 Read Data 104 INDEX 105...
Страница 16: ...VXI Technology Inc 16 VM1548C Introduction...
Страница 44: ...VXI Technology Inc 44 VM1548C Programming...
Страница 96: ...VXI Technology Inc 96 VM1548C Command Dictionary...