Documente Academic
Documente Profesional
Documente Cultură
SQCHECK
USER MANUAL
Version 3.00
OVERVIEW ...................................................................................................................... 2
C/C ...................................................................................................................................... 6
Base Address................................................................................................................ 6
Interrupt....................................................................................................................... 6
Program/Data Memory............................................................................................... 6
Static Memory.............................................................................................................. 6
Loopback...................................................................................................................... 6
Firmware Version........................................................................................................ 6
Link Addresses. ........................................................................................................... 6
Emergency Watchdog. ................................................................................................ 6
CARM ................................................................................................................................ 6
Firmware Version........................................................................................................ 6
Hardware Reset. .......................................................................................................... 7
Emergency Relay......................................................................................................... 7
Laser. ............................................................................................................................ 7
High Voltage Relay...................................................................................................... 7
Line Frequency............................................................................................................ 7
Drum Phase.................................................................................................................. 7
Drum Sync. .................................................................................................................. 7
Drum Timing. .............................................................................................................. 8
Aperture. ...................................................................................................................... 8
Xray Modes.................................................................................................................. 8
Stepper Motors ............................................................................................................ 8
Firmware Version........................................................................................................ 8
Hardware Reset. .......................................................................................................... 8
Motor Encoder Distance/Direction............................................................................ 8
Step Size. ...................................................................................................................... 8
Step Rate. ..................................................................................................................... 9
TABLE (TZ) ...................................................................................................................... 9
Firmware Version........................................................................................................ 9
Hardware Reset. .......................................................................................................... 9
Motor Encoder Distance/Direction............................................................................ 9
CONTROL PANEL .......................................................................................................... 9
Firmware Version........................................................................................................ 9
Hardware Reset. .......................................................................................................... 9
Page 1of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Switches........................................................................................................................ 9
Lights. ......................................................................................................................... 10
Emergency Stop......................................................................................................... 10
Emergency Strip........................................................................................................ 10
DAS............................................................................................................................. 10
Firmware Version...................................................................................................... 10
Hardware Reset. ........................................................................................................ 10
Test Signal.................................................................................................................. 10
Performance Test. ..................................................................................................... 11
Offsets & Noise. ......................................................................................................... 12
Xray Levels. ............................................................................................................... 12
MUX Stair Step. ........................................................................................................ 12
Plot. ............................................................................................................................. 13
SYSTEM REQUIREMENTS. ....................................................................................... 15
REQUIRED FILES......................................................................................................... 15
COMMAND LINE OPTIONS....................................................................................... 16
SAMPLE PERFORMANCE TEST RESULTS (PERFORM.DAT) .......................... 18
Overview
The QDR 4500 diagnostics program performs a series of low level tests of
system components. Version 3.00 tests the C/C (Communications Controller),
the C-Arm and the DAS (Data Acquisition System), stepper motors,
pedestals, and control panel. From the DOS prompt in the \MENU sub-
directory, type
SQCHECK<Enter>
Page 2of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 3of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 4of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 5of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
C/C
Base Address.
Exercises the host interface of the C/CDisplays the i/o base address (in
hexadecimal) in the result window.
Interrupt.
Exercises the interrupt capability of the C/C. Displays the interrupt level in
the result window.
Program/Data Memory.
Tests the memory present on the C/C. Displays the range of memory on each
address bus in hexadecimal (e.g., P-Memory Range 0100-7FFF indicates that
there is 32K of program memory).
Static Memory.
Tests the nonvolatile memory on the C/C.
Loopback.
Tests the transmit/receive capabilities of the C/C. Requires the installation of
an external loopback connector on the C/C's back panel connector.
Firmware Version.
Queries and displays the C/C firmware version.
Link Addresses.
This test sends a query message to every address on the multi-drop serial bus
('0', '1', ... ) and displays the results. On a 4500A, addresses '0'-'7' should
report E_OK and all others should report E_TIMEOUT_I.
Emergency Watchdog.
This test verifies that the system is generating A/C line frequency interrupts.
It then stops sending messages and times how long it takes for the C/C's
watchdog timer to assert emergency stop. Displays the time in milliseconds.
CArm
Firmware Version.
Queries and displays the C-arm microprocessor's firmware version.
Page 6of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Hardware Reset.
Verifies that the C-arm can be reset and and that the reset can be cleared.
Emergency Relay.
First verifies that the system's emergency stop is not active, then sends a
message to the CArm to assert its emergency stop and verifies that the
system emergency stop was activated.
Laser.
First sends a message to the CArm to turn on the laser positioning light and
then prompts the operator to confirm that the laser is on. Then sends a
message to the CArm to turn off the laser and again prompts the operator to
confirm that the laser is off.
High Voltage Relay.
First sends a message to the CArm to activate the high voltage relay in the
xray controller and then prompts the operator to confirm that the relay is on
(the operator must either look at the relay status led on the xray controller or
listen for the "click" as the relay engages). Then sends a message to the
CArm to open the relay and prompts the operator to confirm that the relay is
off.
Line Frequency.
Displays the line frequency detected by the C-Arm controller (0=no
interrupts, 50=50 Hertz, 60=60 Hertz).
Drum Phase.
Steps the filter drum to each segment and verifies that it correctly moved.
Starts the filter drum, waits for synchronization, and verifies that filter drum
sequence is correct.
Drum Sync.
Sends a message to the CArm to stop the filter drum and waits for the filter
drum to come to a complete stop. Then sends a message to the CArm to start
the filter drum and measures how long it takes for the drum to lock to the
line (there is a 10 second watchdog to abort the test if the drum never
synchs). Displays the time (in milliseconds) it took to synchronize to the line.
Page 7of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Drum Timing.
Measures and displays the average time delay from the ac line signal
transition to the drum segment transition by querying the CArm. Displays
the average delay in milliseconds.
Aperture.
Verifies that the aperture motor works by moving the aperture shuttle both
directions, checking the encoder readings, and verifying the distance per step.
Xray Modes.
This test is performed for each of the x-ray modes specified in the
SQVERIFY.INI file. Moves the filter drum to the Hi Bone segment, and turns
on the high-voltage relay. Turns on x-rays in the desired mode and, for a
given number of samples, reads the tube current and voltage measurements
from the CArm. The sequence and values are checked against the limits
specified in the SQVERIFY.INI file. Average values are displayed for each of
the levels and for the beam on and beam off current.
Stepper Motors
The following tests apply to each of the stepper motors (TX, TY, AR and AY)
Firmware Version.
Queries and displays the stepper motor microprocessor's firmware version.
Hardware Reset.
Resets the stepper motor controller by causing the emergency stop to be
activated and then deactivated. Verifies that the reset was received and
cleared by the stepper motor controller.
Motor Encoder Distance/Direction.
Sets the device driver on-line and loads the motor motion parameters.
Records the current encoder position, moves the motor a specified distance,
and measures the final encoder position. Compares the encoder distance and
direction against the limits in the SQVERIFY.INI file. Sets the device driver
off-line. For AR and TX, this test requires that the C-Arm is within 2 degrees
of the AP position.
Step Size.
Sets the device driver on-line and loads the motor motion parameters. Moves
the motor a specified distance, and reads the number of steps moved.
Compares the measured step size against the limits in the SQVERIFY.INI
Page 8of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
file. Sets the device driver off-line. For AR and TX, this test requires that the
C-Arm is within 2 degrees of the AP position.
Step Rate.
Sets the device driver on-line and loads the motor motion parameters. Moves
the motor a specified distance, measures the time for the move and reads the
number of steps moved. Compares the computed step rate against the limits
in the SQVERIFY.INI file. Sets the device driver off-line. For AR and TX, this
test requires that the C-Arm is within 2 degrees of the AP position.
Table (TZ)
Firmware Version.
Queries and displays the pedestal motor microprocessor's firmware version.
Hardware Reset.
Verifies that the pedesta motor controller can be reset and that the reset can
be cleared.
Motor Encoder Distance/Direction.
Sets the device driver on-line and loads the motor motion parameters.
Records the current encoder position, moves the motor a specified distance,
and measures the final encoder position. Compares the encoder distance and
direction against the limits in the SQVERIFY.INI file. Sets the device driver
off-line. This test requires that the C-Arm is within 2 degrees of the AP
position.
Control Panel
Firmware Version.
Queries and displays the control panel microprocessor's firmware version.
Hardware Reset.
Verifies that the control panel controller can be reset and that the reset can
be cleared.
Switches.
Causes the control panel controller to enter test mode. In this mode, the
lights are activated in an alternating fashion when the switches are pressed.
The operator is asked to confirm if all the switches worked.
Page 9of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Lights.
Begins flashing all LEDs on the control panel, then prompts the operator to
confirm that the lights are flashing. After the operator responds, stops
flashing the LEDs and displays the results.
Emergency Stop.
First sends a message to the CArm to release the emergency stop relay.
Prompts the operator to press the emergency stop button. and then
continually queries the CArm until the emergency stop relay is asserted. or
until the operator aborts the test by pressing the ESC key.
Emergency Strip.
First sends a message to the CArm to release the emergency stop relay.
Prompts the operator to press the emergency strip. and then continually
queries the CArm until the emergency stop relay is asserted. or until the
operator aborts the test by pressing the ESC key.
DAS
Firmware Version.
Queries and displays the DAS firmware version.
Hardware Reset.
Indirectly determines whether the DAS responds to a hardware reset. The
DAS does not maintain a hardware reset flag like the other microprocessors,
so the test program sets the first and last channel to zero (0) and then reads
back the a/d's to verify that only one channel is returned. It then sends a
message to the C/C to reset the remote microprocessors and then sends a
message to the DAS to read back the a/d's. If all 216 a/d's are returned (the
default condition if the DAS is reset), the program infers that the DAS
received the hardware reset.
Test Signal.
Determines whether the test signal on the ADC board is working. The
program first reads the a/d's to get a background value, then turns on the test
signal and again reads the a/d's. If at least half of the a/d readings did not
change by some minimum amount, the test signal is assumed to not work.
The number of readings taken for the background and test signal comparison,
and the minimum a/d change (in volts), is specified in the configuration file.
Page 10of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Performance Test.
Measures the performance factor for the detector array, which is defined as
Noise .
Signal - Offset
where the detector noise is measured with xrays off and a gain of 3; the
signal is measured with xrays on and a gain of 2 (the offset is measured at
the same time as the signal but using the beam off pulses with a gain of 2).
Any channel with a performance factor greater than 2.86 fails this test. The
results are saved in the file perform.dat, or in another file that can be
specified in a filename dialog (Figure 5). If plots are desired, the default
filename should be used (see Plot section).
Page 11of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 12of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
allowed on all channels (e.g., if the nominal reading is 2.0 volts, a reading in
the range 1.5 - 2.5 volts is accepted).
Plot.
In addition to the Run and Save As... options, the DAS a/d test results can
also be plotted. Select the tests whose results you want to plot and then
select the Plot option. The results of the tests will be plotted on the screen
and may be printed by pressing the <PrintScreen> key. A sample of the plot
output for the Performance Test is shown in Figure 7.
-NOTE-
Page 13of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
The plots are created from the data files saved by the individual
tests, so you must save the test results in the default files to use
the plot option. This also allows you to re-plot the results from
the last tests run on the system without having to run the tests
again.
Page 14of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
System Requirements.
The hardware verification program expects a system on which the standard
Hologic QDR 4500 software has been installed. Specifically, it requires:
• a 386 or higher processor
• for DOS systems, the MAPIDEV.SYS and SQDRIVER.SYS device drivers
must be loaded in CONFIG.SYS (and must be Version 4.60 or later)
• for Windows systems, the HOLXQDR.386 and HOLXCOM.386 device
drivers must be loaded in SYSTEM.INI
• the C:\MENU and C:\UTIL directories must be in the path
• the environment variable PROTOCOL must be set to C:\SCAN
• the QDRPARM and SETQPRM programs must be run to load and
initialize the QDR parameter TSR.
Required Files.
Besides the normal QDR 4500 software programs, the hardware verification
system requires the following additional files:
C:\SCAN\SQVERIFY.PRO
The real-time data acquisition protocol for the DAS a/d tests.
C:\UTIL\SQVERIFY.EXE
The actual hardware verification program.
C:\MENU\SQCHECK.BAT
The SQCHECK batch file executes the SQVERIFY.EXE program,
which sets an exit code indicating whether the device drivers should be
set back on-line and re-initialized (SQVERIFY always leaves the
drivers off-line). If the drivers were on line when the program started,
SQCHECK attempts to restore the system to its nominal boot-up state
by executing the commands
DOWNLOAD COMCON.LOD
SQDRIVER @SQDRIVER.INI
C:\MENU\SQVERIFY.INI
Page 15of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
The configuration file for the hardware verification program See the
module specification for a complete description of each section and
entry.
C:\MENU\STARSTEP.REF
The DAS a/d comparison file for the MUX stair step test (for each a/d
channel, specifies the minimum and maximum a/d reading, in volts,
for the stair step pattern).
C:\FLANGENG\COMCON.LOC
C:\FLANGENG\COMCON.MSG
C:\FLANGENG\COMCON.NAM
C:\FLANGENG\COMCON.NDZ
The message files for the hardware checker version 3.00 must have a
timestamp of 3/25/98 or later.
Command Line Options.
SQCHECK [/ALL] [/BATCH] [/TESTSTAND] [/BADDET]
/ALL Select all tests in all sub-systems and runs them
automatically (i.e., is equivalent to selecting Tests...All
and then Tests...Run).
/BATCH Equivalent to /ALL except that any tests that require
user action or input are not selected (e.g., the
CArm...Loopback test is not run). Any DAS a/d test that
requires xrays is also disabled. Note that in this mode,
the system will automatically overwrite any a/d test log
file without prompting for user permission.
/TESTSTAND Disables the C/C...EmergencyWatchdog test, the prompts
to install and remove the loopback connector and the
prompt to allow overwriting the C/C's CMOS memory.
This switch is meant to simplify running tests on the
manufacturing test stand by eliminating unnecessary
tests and user messages and prompts.
/BADDET Enables updating of the system's BADDET.INI file
following the DAS a/d tests. After all of the selected DAS
a/d tests are run, the results are combined (i.e., a detector
channel that fails any test is marked bad) and the system
prompts for the name of the BADDET.INI file to update.
Press <ESC> to cancel the update or press <Enter> to
update the system's BADDET.INI file. Note that if
Page 16of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 17of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 18of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 19of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 20of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 21of 22
Document Title: Document Number:
SQCHECK User Manual 080-0707 Rev. A
Page 22of 22