PrismSound DSA-1 Manager Скачать руководство пользователя страница 15

1.12

Operation Manual

© 2005 Prism Media Products Ltd

Revision 1.00

Prism Sound DSA-1 Manager

6

Test Sequence authoring guide

The following sections contain a description of the various 

elements of a Test Sequence

 and also a

detailed 

language reference

.

6.1

Elements of a Test Sequence

This section gives a brief overview of the structure of a DSA-1 Test Sequence.  It is recommended
that the reader refer to the listings of the built-in sequences (shipped with this software) which provide
useful examples.

The idea of a Test Sequence is that an operator can select and run a particular set of tests on an
input carrier, and be informed that these have all been accomplished successfully.  This gives a high
degree of confidence in a very short time.  Any failure is accompanied by an informative message,
after which the whole Sequence can be restarted, or the offending part can be repeated, or that part
can be skipped and the remainder of the Sequence can be run.

Thus Test Sequences are built up from one or more 'Segments'.  Each Segment may run successfully
or may fail.  The name and number of each Segment is displayed on the DSA-1's display while it is
running, and accompanies any failure message sent from that Segment.  The Segment boundaries
are also the only point at which the Sequence can be restarted if partial execution is desired.

The body of each Segment is made up of a number of 'Instructions', 'Labels' and 'Comments'.  Each
Segment has a Start Instruction (which includes the name of the Segment), and one or more End
Instructions.  A PASS/FAIL flag must be appropriately set before executing the Segment End
instruction, in order to govern whether the Sequence will stop and display a message (FAIL) or carry
on to the next Segment (PASS).

The following example shows a very simple Segment called 'Carrier lock' which FAILS if the selected
DI is unlocked, displaying the message 'No carrier lock'; otherwise the Segment PASSES.  It would be
unusual to write a Segment as simple as this, since normally a Segment contains a number of related
tests rather than just one.  The operation of the example Segment should be clear to anyone who has
written a computer program in almost any language:

/* Segment 1: tests that carrier is locked */
SEGMENT( 1,'Carrier lock');
SET_FAIL;
TEST_UNLOCK_BIT; JUMP_IF_ZERO(@lock_ok);
MESSAGE( 'No carrier lock '); SEGMENT_END;
@lock_ok:
SET_PASS;
SEGMENT_END;
/*******************************************/

Instructions may appear on lines on their own, or with several on one line separated by semicolons
(';') as in the example above. Instructions may be 'simple', with no parameters, or they may be
'complex' with following parameters enclosed in brackets:

SET_PASS

is an example of a simple Instruction

MEAS_FS_JITTER(6)

is a complex Instruction

Complex Instructions are followed by one or more parameters in brackets, separated by commas.
Parameters may be:

·

Numeric (binary, base 10 or hexadecimal);

·

Text (in single quotes);

·

A Label (without the final colon);

Содержание DSA-1 Manager

Страница 1: ...Operation Manual DSA 1 Manager...

Страница 2: ...DSA 1 Manager Operation Manual by Ian Dennis This manual is also available as on line help from the dScope software You can access the on line help from the Help menu...

Страница 3: ...ager 4 4 1 User interface 4 2 Uploading a Results Log 4 3 Remote Control 5 4 Test Sequences 7 5 Updating the DSA 1 firmware Part 5 Menu reference 9 9 1 File menu 9 2 Edit menu 10 3 Search menu 10 4 Fo...

Страница 4: ...44 1223 425023 Fax 1 973 983 9588 Email tech support prismsound com Web http www prismsound com Or contact your local Prism Sound distributor as detailed on the website Trademark acknowledgements Mic...

Страница 5: ...ed compiled and downloaded to the DSA 1 Firmware downloader Updates the DSA 1 s firmware 2 1 PC requirements The DSA 1 Manager runs on almost any PC running Windows 95 98 2000 or XP The PC must have a...

Страница 6: ...om 3 2 Connecting the DSA 1 If the DSA 1 is to be connected to a COM port on the PC simply connect the 9 way COM port connector on the PC to the similar RS232C connector on the DSA 1 using a null mode...

Страница 7: ...lows the DSA 1 to be remote controlled using screen and mouse Test Sequence compiler downloader Allows user defined Test Sequences to be edited compiled and downloaded to the DSA 1 Firmware downloader...

Страница 8: ...mmed series of tests which are held in the DSA 1 s non volatile memory Test Sequences allow an operator to run through many tests in sequence at the press of a button The DSA 1 draws the operator s at...

Страница 9: ...he language If the colouring needs to be manually refreshed use the Refresh Syntax Colour option within the Test Sequence submenu of the DSA 1 menu or use the F5 hotkey When the source code is complet...

Страница 10: ...be switched on 4 5 Updating the DSA 1 firmware WARNING Care must be taken when updating the DSA 1 firmware Interruption of the process for example if the null modem cable or power supply is removed or...

Страница 11: ...wo minutes The progress of the update is shown in the dialogue box the DSA 1 s display also shows a diagnostic list of the flash blocks being updated When the update is complete the DSA 1 restarts aut...

Страница 12: ...o on line help and version information 5 1 File menu The File menu accesses typical file related functions similar to those of any text editor File menu options are New Opens a new document Open Opens...

Страница 13: ...r Sets colour of selected text Bold Sets selected text to bold or non bold Italic Sets selected text to italic or non italic Underline Sets selected text to underline or non underline Paragraph For pa...

Страница 14: ...Operation Manual 2005 Prism Media Products Ltd Revision 1 00 Prism Sound DSA 1 Manager 5 6 Help menu The Help menu contains two options Contents Opens HTML Help file About Displays DSA 1 Manager vers...

Страница 15: ...ody of each Segment is made up of a number of Instructions Labels and Comments Each Segment has a Start Instruction which includes the name of the Segment and one or more End Instructions A PASS FAIL...

Страница 16: ...quence Start and End A HEADER Instruction MUST be the first Instruction in the source file It defines the start of the Test Sequence and includes a 16 character text message that appears on the DSA 1...

Страница 17: ...f lit CARRIER panel ALOG LED 1 if lit TEST_AUX_BITS TEST_AUDL_BITS TEST_AUDMAIN_BITS TEST_V_BIT TEST_U_BIT TEST_ANEB_BIT TEST_CRCERR_BIT DATA panel AUX LED 1 if lit DATA panel AUDIO low bits LED 1 if...

Страница 18: ...to vary action according to the results of the boolean operation AND value OR value XOR value Bitwise AND operation new result old result AND value Bitwise OR operation new result old result OR value...

Страница 19: ...character Jumps may be made backwards or forwards The JMASKZ and JMASKNZ instructions are most useful for testing Channel Status fields Notes on the value parameter The value parameter can be expresse...

Страница 20: ...before a Segment end the flag allows the sequence to continue SET_PASS SET_FAIL Set flag to PASS Set flag to FAIL JUMP_IF_PASS label or JPASS JUMP_IF_FAIL label or JFAIL Jump if flag is set to PASS Ju...

Страница 21: ...he clipboard Copy the selected text to the clipboard Paste the contents of the clipboard at the cursor Find specified text Change the font of the selected text Change the colour of the selected text B...

Страница 22: ...t to the clipboard Ctrl C Copy the selected text to the clipboard Ctrl V Paste the contents of the clipboard at the cursor Ctrl A Selects all text in the text window Ctrl F Find specified text Ctrl H...

Страница 23: ...10 H Help menu 11 Hotkeys short cut keys 19 I Icons 18 Installation 3 J Justification 10 K Keyboard short cuts 19 L Loading documents 9 M Manual 2 Menu reference 9 N Null modem cable 3 O Operating sy...

Страница 24: ...12 compiling 5 downloading 5 elements 12 language reference 13 Text format 10 Toolbar icons 18 U Uploading the Results Log 4 USB adapter 2 User interface 4 User Test Sequences 5 V Version information...

Отзывы: