run test 3070 basic command

更新时间:2023-11-13 12:48:01 阅读量: 教育文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

Agilent 3070 Basic Technology

RUN TEST

The intention for us to purchase the Agilent 3070 system is to test the PCBA. So how to run test is the more concern question for us. In simple. Only need input some command to the system so that we can run the test. Below is explanation of some command in BT-BASIC window.

--------------------------------------------------------------------- !

The exclamation point (!) is used to start a comment. A comment is text in the program, and is used to annotate the program. $

The string operator (&) appends the second string to the first string. --------------------------------------------------------------------- acknowledge all failures

The acknowledge all failures function resumes failure processing of device test failures which was halted by the ignore all failures function. autoadjust

The system is automatically calibrated approximately every 1000 hours of CPU time, or whenever the temperature changes, up or down, by 5 degrees centigrade. If autoadjust is needed, the unpowered and powered statements set up the autoadjust to be executed in the next fxoff function. autofile

The autofile function returns the value of the current autofile code. The autofile function identifies the fixture currently on the testhead by reading the autofile code wired into the fixture. The autofile function points to the corresponding board directory so that the proper files can be automatically loaded.

--------------------------------------------------------------------- beep

The beep function sounds a beep at the workstation. board consultant

The board consultant function invokes Agilent Board Consultant, which is a software tool used to enter and verify the accuracy of data during the test development process. board graphic

The board graphics function invokes the board graphics viewer used to graphically display features on boards.

--------------------------------------------------------------------- cat

The cat function lists the contents of the specified directory. The list shows the names of the files and directories which are linked to the specified directory, and which are immediately below it in the hierarchy. changem

Title: CHANGE MARKED SEGMENT OF THE WORKSPACE

The changem function (change-marked) replaces all occurrences of the first string of text () with the second string of text () throughout the marked area of the workspace. check board

The check board function checks the syntax of a board file. check boardxy

The check boardxy function checks the syntax of a board_xy file. clear nrun

The clear nrun function is used to set to zero the value reported by the nrun function. The nrun function returns the number of times a program has run because it was last brought into the workspace (or subsequently edited). compile

The compile function compiles the source code in a file and generates one or more files containing machine-readable code. copy over & copy to

Agilent 3070 Basic Technology

The copy over function copies the contents of a file or a device (the source) over an existing file or device (the destination). The copy to function copies only to files that do not already exist; an attempt to copy to an existing file generates an error. cps & dps

The cps function sets all DUT power supplies to 0 V and connects them to the testhead.

The dps function sets DUT power supplies to 0 V and then disconnects them from the testhead. create dir

This function creates a directory in the file system.

--------------------------------------------------------------------- datetime$

The datetime$ function returns a 12-character string containing the current date and time. The string has the form yymmddhhmmss. debug board The debug board function invokes Agilent Pushbutton Debug from the BT-BASIC command line. Pushbutton Debug is primarily a user interface that aids your use of the debug features that already exist on your test system. dim The dim function dimensions variables: that is, it initializes and reserves memory for them, and it declares their identifiers (names), dimensions and boundaries. dutfailed The dutfailed function returns the current value of the Dutfailed variable. This variable indicates if currently executed test passes or fails. The Dutfailed variable is set to 0 at the start of each test, and to 1 if the test fails. Use the dutfailed function anywhere in the testplan to determine if any device test fails.

--------------------------------------------------------------------- edit

The edit function positions the cursor at the beginning of the specified line and, optionally, at a specific column in that line. errmlong$

The errmlong$ function returns a string containing the long version of the system error message associated either with the most recent runtime error, or with a specific runtime error number. execute

The execute function is used to execute HP-UX commands (or executable programs) from within a BT-BASIC window.

--------------------------------------------------------------------- faon & faoff The faon function turns on vacuum A. The faoff function turns off any vacuum that is currently on; There are four vacuum systems—A, B, C, and D—in the testhead. These vacuum systems are controlled by the external port relays. You can use the vacuum well (BT-BASIC) function in the testplan to specify mapping of vacuum wells to the fxon statements. fetch

The fetch function copies the specified line from the workspace into the command line on the screen. Once in the command line, the line can be executed. The fetched line remains unchanged in the workspace. find library

The find library function returns descriptive information about library tests located beneath directory /var/hp3070/library, which is the directory that contains the standard device libraries. The descriptive information is displayed on the screen. Optional parameters to the find library function let you selectively query for library tests by device function, by library name, or display the pin assignments associated with the device for which

Agilent 3070 Basic Technology

the test was written. find pins

Use the find pins function and the guided probe to find fixture wiring connections to the fixture probes or to the board under test. findn

The findn function (find next) locates the next occurrence of a string of characters in the workspace. The search begins at the current position of the cursor. findn operates exactly like the find function except that findn locates the next occurrence of the string instead of the first occurrence; fixture consultant

The fixture consultant function invokes Agilent Fixture Consultant, which is a software tool used to customize the board test fixture during the test development process or make fixture wiring and probe changes for ECOs. fixture lock & fixture unlock

The fixture lock command locks the fixture to the testhead, turns off the DUT power supplies, takes the testhead out of powered or unpowered mode, turns off all vacuum, and opens the external relays.

The fixture unlock command is used to unlock the fixture from the testhead. --------------------------------------------------------------------- get

The get function clears the system workspace and copies the specified file into it. If the mode parameter is included, the workspace is forced to that mode; if the mode parameter is omitted, the mode recorded in the file is set. the command is same as load. gpconnect gpconnect statements are used to close general purpose (GP) relays. GP relays are used in powered and in unpowered testing to do things such as: disable clocks, hold an enable line high or low for several tests, connect a load to a motor drive circuit. gpdisconnect

gpdisconnect statements are used to open general purpose (GP) relays. --------------------------------------------------------------------- image When referenced by an I/O function, the image function allows formatted input and output of data. If an I/O function does not reference an image function, free-format input and output is assumed. ipg

The ipg function invokes the integrated program generator (Agilent IPG). --------------------------------------------------------------------- learn capacitance on & learn capacitance off

This function marks the start and end of the list of capacitor tests for which the system learns the capacitance compensation value. learn capacitance on starts the capacitance compensation learning. The capacitor tests that require capacitance compensation are executed. Then the learning is terminated by learn capacitance off. list object

The list object function creates a source listing of an object file. You can specify the name of the list file. load The load function clears the system workspace and copies the specified file into it. If the mode parameter is included, the workspace is forced to that mode; if the mode parameter is omitted, the mode recorded in the file is set. the command is same as get. load board The load board function loads certain portions of the board object data base into memory for rapid access by those test statements, which require the information. Specifically, it loads board.o, wirelist.o, and shorts.o from the test directory into memory.

Agilent 3070 Basic Technology

--------------------------------------------------------------------- merge

The merge function lets you merge all or part of one or more files (called secondary files) into another file (called a primary file). msi

The msi function lets a test developer change the working (default) directory. msi$

The msi$ function identifies the working (current) directory in the file system. It returns the pathname from the root to the current directory. --------------------------------------------------------------------- nrun

The nrun function returns the number of times a program has run since it was last brought into the workspace (or subsequently edited). The value of the function is incremented each time the run function is executed. number

The number function returns the number of the current line in the

workspace—that is, which line the cursor is in—and tells in which column of that line the cursor appears.

--------------------------------------------------------------------- object checking

Use the object checking function in the testplan to turn object checking on or off. When object checking is on, every time a test is run the timestamp of the test object file is checked to determine if the object has been updated. If the test object has been updated, it is reloaded into the testhead. When object checking is off, test object files are downloaded the first time they are run; they will not be checked on subsequent runs. If a test is updated, the new version will not be downloaded into the testhead.

--------------------------------------------------------------------- pause The pause function stops program execution. It retains all program parameters so that (provided that the test developer changes nothing) when the program is continued, execution resumes as if the program had never stopped. powered The powered function initializes the system to recognize and execute powered test statements (setup power supplies, digital testing, and analog functional testing statements). The powered function must appear before the call to the power supplies section of the testplan. pslimit

The pslimit function determines if any of the DUT power supplies are in a current limit condition. The pslimit function returns a 24-bit integer whose binary representation has a 1 for each supply in current limit, and a 0 for those that are not in limit. The least significant bit represents power supply one’s current limit status, and the most significant bit represents power supply twenty four's current limit status.

--------------------------------------------------------------------- re-save

The re-save statement stores the lines currently in the workspace into an existing file. The workspace remains unchanged. The file must exist when this statement is executed; except for this requirement, re-save is the same as the save statement. revision$

The revision$ statement returns a string containing the revision number of the system software. rps

The rps statement returns the present values of current and voltage for a selected DUT power supply. Before executing rps, the powered and cps statements must have been executed.

Agilent 3070 Basic Technology

run

The run statement initializes and runs the BT-BASIC program currently in the system workspace. When a program is initialized, any workspace previously reserved for variables is released for general use. The program then starts running from the beginning.

--------------------------------------------------------------------- save

The save statement creates an ASCII file and stores the lines currently in the workspace into it. The workspace remains unchanged. The file must not exist prior to executing this statement. If the mode is not specified, the current mode of the workspace is recorded in the file. If the mode is specified, it must be the same as the current mode of the workspace, or be text. If text is specified, text mode is recorded in the file, regardless of the current mode of the workspace. sps

The sps statement sets the operating voltage and current limit of the specified DUT supply. In addition, you can specify a wait to allow the applied voltage to settle; if you do not specify a wait, the system uses 30 mSec. The sps statement can only be executed in powered mode, and after a cps statement (which connects all DUT supplies to the testhead). The dps statement disconnects DUT supplies.

--------------------------------------------------------------------- test consultant The test consultant statement invokes the test developer interface, Agilent IPG Test Consultant. the command is same as ipg. testhead is 1 & testhead is *

The testhead is 1 statement gives you access to, and control of, the test station hardware from any workstation in the system.

The testhead is * statement releases control of the testhead. testhead power on & testhead power off The testhead power statement is used to turn power on or off to the testhead. Note that the fixture locks will remain active after the testhead power is turned off. To release the fixture with the testhead power off press the red emergency stop switch.

The testhead power on statement also executes a testhead is 1 statement. th$

The th$ function determines if the testhead is currently available for testing. The function returns a value of 1 if the testhead is currently available; it returns a value of / if the testhead is not available. time$ The time$ function returns a 26-character string containing the current date and time. This is the date and time as maintained by the system.

--------------------------------------------------------------------- unlink

The unlink function removes a node name from a directory and breaks that directory's link to it. If the node is a directory, that directory is purged from the file system, provided that directory is empty. If the node is a file, it may or may not be purged. Breaking one link to a file has no effect on any other link to the same file. When all links to a specific file are broken, that file no longer exists in the system—that is, it has been purged, and the disk space, which it occupied, is freed for use by the system. unpowered

The unpowered function initializes the system for unpowered testing. --------------------------------------------------------------------- vacuum well

The vacuum well function specifies the relationship between fixture vacuum well(s) and vacuum port(s).

---------------------------------------------------------------------

Agilent 3070 Basic Technology

wait The wait function causes the program to pause the specified number of seconds before the next function is executed.

---------------------------------------------------------------------

some useful HP-UX commands.

cd

change working directory. If directory is not specified, the value of shell parameter home is used as the new working directory. If directory specifies a complete path starting with /, ., .., directory become the new working directory. man

assess information from the on-line version of the HP-UX reference. pwd

prints the path name of the working (current) directory. ls

list contents of directories. For each directory argument, the ls command lists the contents of the directory. For each file argument, ls repeats its name and any other information requested. banner make posters in latge letters.prints its arguments (each up to 10 characters long ) in large letters on the standard output. diff

differential file and directory comparator ps print the information about selected processes. Use options to specify which processes to select and what inforamtion to print about them du

the du command gives the number of 512-byte blocks allocated for all files and (recursively ) directories within each directory and file specified by the name operands. The block count include the indirect blocks of the file. A file with two or more links is counted only once. If name is missing, the current working directory is used. rm

remove files or directories. The command removes the entries for one or more files from a directory. And if you want to remove the while folder under the directory,pls add a parameter –r. mkdir

the command creates specific directories. cp

copy files and directory subtress. And of course more familiar the command rm, If you want to copy a folder. Add a parameter –r. kill

the kill command sends a signal to each process specified by a pid process identifier. The default signal is SIGTERM, which normally terminates processes that do not trap or ignore the signal. mv

move or rename files and directories. And you also need add the parameter –r to move or rename the directories. file

determine file type.file perform a series of tests on each file in an attempt to classify it. ftp ftp is File Transfer Protocol. As file transfer program. It’s a user interface to the file transfer protocol. ftp copies files over a network connection between the local ‘client’ host and a remote ‘server’ host.ftp runs on the client hosts. find

Agilent 3070 Basic Technology

the find command recursively desecends the directory hierarchy for each path name seeking files. touch

touch updates the access, modification, and last-change times of each argument. The file name is created if it does not exist. If no time is specified and the current time is used. chown

the chown command changes the owner ID of each specified file to owner and optionally the group ID of each specified file to group. chgrp

the chgrp command changes the group ID of each specifie file to group. chmod

the chmod command changes the permission of one or more files.and you can display the current permissions for a file with the ls –l command. more

more is a filter for examining continuous text, one screenful at a time, on a soft-copy terminal. head

the head command prints on standard output the first count lines of each of the specified files, or of the standard input. If count is omitted it defaults to 10. tail

the tail command copies the named file to standard output beginning at a designated place. If no file is named,standard input os used. telnet

telnet is used to communicate with another host using the TELNET protocol. passwd the passwd command installs or changes the password associated with the login name. If name is omitted, it defaults to invoking user’s login name. And the default password file is /etc/passwd. exit

terminate process umask

the umask command sets the value of the file mode creation mask or desplays the current one. The mask affects the initial value of the file mode (permission) bits for subsequently created files. compress & uncompress compress and expand data. tar

tar file archiver. the tar command saves and restores archives of files on magnetic tape, a flexible disk, or a regular file. And the default archive file is /dev/rmt/0m. date

the date command diaplays or sets the current HP-UX clock date and time. cal cal prints a calendar for the specified year. If a month is also specified,a calendar just for that month is printed. If neither is specified, a calendar for the present month is printed. Year can be between 1 and 9999. month is a decimal number between 1 and 12. the calendar produces is a Gregorian calendar. clear

the command clears the terminal screen if it is possible to do so. It reads the TERM environment variable for the terminla type, then reads the appropriate terminfo database to determine how to clear the screen.

本文来源:https://www.bwwdw.com/article/wjev.html

Top