background image

User Manual 2460 Series 

Programming The 2461 Module 4-4 

 

 Racal Instruments 

 2003 

 

 

Commands and string data in SCPI have two forms, long form 
and short form, in the following command definitions and 
examples capitals are used to represent the short form and a 
mix of capitals and lowercase make up the long form. The 
2461 can only accept the long or the short form as defined. 
Using a form between short and long form is not permissible. 

 

Sending and Receiving 
SCPI Commands Over 
the VXI

bus

 

SCPI commands are sent over the VXI

bus

 by using the word 

serial command, 

byte available. 

See definition later. The last 

byte sent in a command line must either have the END bit set 
or a Line Feed must be appended to the end of the command 
line. The system controller will usually set the END bit for the 
user. It is permissible to terminate a command line with both 
an END bit set and a Line Feed appended provided the END 
bit is set when sending the Line Feed. 

To receive a message from the 2461, the word serial 
command 

byte request 

command should be used. The 

previous message sent must have contained at least one 
query command. For each 

byte request 

command, a single 

word is read by the controller containing one byte of reply 
data. This repeats until the end bit in the response from the 
2461 is set. 

 

Selecting an 
Application 

The 2461 general command set is available at all times. This 
includes the commands to interrogate which cards are 
installed and to select which card is to be addressed next. To 
determine which application cards are installed, the operator 
should send: 

INST:CAT? 

If two UCT application cards are fitted the reply will be: 

COUNter1, COUNter2 

To select counter 2 (card located at the lower end of the front 
panel) the operator should send: 

INST:SEL COUNter2 

The command set for card 2 (a counter) is now enabled. 

 

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for 2460 Series

Page 1: ...service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE IN...

Page 2: ...ssago Milan Italy Tel 39 02 5750 1796 FAX 39 02 5750 1828 Racal Elektronik System GmbH Frankenforster Strasse 21 51427 Bergisch Gladbach Germany Tel 49 2204 92220 FAX 49 2204 21491 Racal Instruments L...

Page 3: ...uments Inc products are designed and manufactured to exacting standards and in full conformance to Racal s ISO 9001 procedures For the specific terms of your standard warranty or optional extended war...

Page 4: ...or the operation of the goods purchased and should ensure that they are used properly and in accordance with this handbook and any other instructions provided by Seller RII products are not specifical...

Page 5: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 6: ...rument has been designed and tested in accordance with EN6I 010 1 1 9931A2 l 995 SAFETY REQUIREMENTS FOR ELECTRONIC MEASURING APPARATUS and has been supplied in a safe condition This manual contains s...

Page 7: ...prong adapter This will defeat the protective feature of the third conductor in the power cord 10 Maintenance and calibration procedures sometimes call for operation of the unit with power applied and...

Page 8: ...Iplug play Driver 2 4 Recommended Controllers 2 4 Chapter 3 VXIplug play Driver 3 1 Using The Soft Front Panel 3 1 Chapter 4 PROGRAMMING THE 2461 MODULE 4 1 Introduction 4 1 General Principles 4 1 Ope...

Page 9: ...rrors 4 29 VXIbus Word Serial commands 4 30 Abort Normal Operation 4 30 Assign Interrupt Line 4 31 Asynchronous Control Mode 4 32 Begin Normal Operation 4 33 Byte Available 4 33 Byte Request 4 34 Clea...

Page 10: ...t Panel of the 2461 application 3 2 Figure 3 2 System Functions secondary Panel of the 2461 application 3 3 Figure 3 3 Status 3 4 Figure 3 3 Self Test 3 4 Figure 3 3 About secondary Soft Front Panel o...

Page 11: ...User Manual 2460 Series iv This page was left intentionally blank Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 12: ...series is based on an innovative module produced by RACAL Instruments It s design was developed to reduce the size and cost of test systems by allowing more than one function in a single VXIbus modul...

Page 13: ...for future development or enhancements Cost Effective In some applications this will allow the user to expand or reduce the number of modules cards with in an existing system Additionally fewer modul...

Page 14: ...ument for safety before use NOTE Proper ESD handling procedures must always be used when packing unpacking or installing any module Failure to do so may cause damage to the unit Reshipment Instruction...

Page 15: ...be repaired before proceeding Refer to the product identification label on the side of the module for system integration information relating to voltage power and cooling requirements to be supplied...

Page 16: ...e with the guides for the slot selected and slide the module into the mainframe Push the module home to connect it to the mainframe Secure the module to the mainframe with the captive screws provided...

Page 17: ...test and is now ready for use 1 Initialize the system as appropriate eg for a PCI MXI 2 system run Resman 2 Run the Self Test from the VXIplug play soft front panel and check that a PASS is indicated...

Page 18: ...o the 2461 plugged into the VXI system All other functions will require this handle as a passed parameter If more than one 2461 exists in a VXI system then this function must be called for each instru...

Page 19: ...lled function cards are shown in selectable buttons Clicking on one of these will bring up the main front panel of that function card These function card sub panels may contain further sub panels depe...

Page 20: ...to their default conditions The Close button releases the interface and stops the execution of the soft front panel application The Active LED indicates the status A Green LED indicates a working 246...

Page 21: ...perated successively until no more errors are available The Apply command button initiates the change to the Time out setting The Close command button closes the panel The Status window displays the s...

Page 22: ...Software revision of the soft front panel instrument driver VISA library and LabWindows CVI As well as instrument details such as its type and serial number the SCPI revision to which the software com...

Page 23: ...er Manual 2460 Series Using The 2461 Module 3 6 Racal Instruments 2003 This page was left intentionally blank Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg co...

Page 24: ...iant commands and data If the Plug and Play driver is used the user has the option of running the soft front panel application to get interactive control The 2461 is a VXIbus Module with up to three f...

Page 25: ...ocol relies on the bus controller sending information to an instrument An instrument will never send information to the controller unless requested or command to so by the bus controller The controlle...

Page 26: ...2003 Programming The 2461 Module 4 3 Commands may be concatenated on the same line Command Command Command mnemonic Command mnemonic Space DATA DATA Artisan Technology Group Quality Instrumentation G...

Page 27: ...END bit set and a Line Feed appended provided the END bit is set when sending the Line Feed To receive a message from the 2461 the word serial command byte request command should be used The previous...

Page 28: ...is is especially true of measurement type instruments such as UCTs where no signal means that a measurement cannot take place when the MEAS Or READ Is sent To overcome this problem the 2461 implements...

Page 29: ...STATus OPERation EVENt ENABle ENABle CONDition PRESet Path to control operation registers Reads the event register Programs the enable register Reads the enable register Reads the condition register R...

Page 30: ...mand returns a comma separated list which contains the names of individual instruments present on the 2461 module Example INST CAT COUNter1 one function card fitted INST CAT COUNter1 COUNter2 two func...

Page 31: ...he COUNter1 instrument MEAS FREQ Takes a frequency measurement COUNTer1 INST CAT COUNter1 COUNter2 Returns the identifier list of the module INST SEL COUNter1 Selects the COUNter1 instrument INIT Init...

Page 32: ...as Error Detection or Operation Complete SCPI has added a few supplementary registers which represent the status and events specific to the instrument Three registers are available at the same level A...

Page 33: ...8 B7 B6 B5 B4 B3 B2 B1 B0 MEAS 1 B10 Operation Event Register B15 B14 B13 MEAS 2 B12 INIT 2 B11 INIT 1 B9 TEST B8 B7 B6 B5 B4 B3 B2 B1 B0 MEAS 1 B10 To Operation Status Summary bit of the Status Byte...

Page 34: ...a mask for events When a bit in an event enable register is cleared 0 the corresponding bit in the event register is masked and thus cannot set the corresponding bit of the next register set in the s...

Page 35: ...ATus OPERation ENABle numeric_value STATus OPERation CONDition numeric_value Description Returns the contents of the Operation CONDition register Refer to Figure 4 2 Content of the Status Operation Co...

Page 36: ...r mode and clear when it returns in the idle state normal mode Bit B12 Data available Meas2 Set when all of the required measurements have been completed by instrument 2 Cleared when the measurement i...

Page 37: ...e Identical to the RST common command Appendix C lists the default conditions for this command No Interrogative form SYSTem VERSion numeric_value Description Returns the SCPI year version to which the...

Page 38: ...t can be programmed to control all the instrument boards Parameters integer Represents the value of the time out in seconds It can take value from 0 to 100 000 0 Disables the time out Initialization 1...

Page 39: ...5 measurements are armed and completed 00003 9862505E 00 00003 9862505E 00 9 90000000000E 37 9 90000000000E 37 9 90000000000E 37 Interrogative form SYSTem TIMeout integer Queries the programmed time o...

Page 40: ...erial number and firmware revision of the module Sets the Operation Complete bit in the Standard Event Status Register after all pending commands have been executed Places an ASCII 1 into the VXI outp...

Page 41: ...uest Enable Register OR SRE SRE OSB Operation Status Summary Bit MSS Master Summary Status RQS Request for Service ESB Event Summary Bit MAV Message Available EAV Error Available STB Service Request G...

Page 42: ...gical AND B7 B6 B5 B4 B3 B2 B1 B0 OPC QYE DDE EXE CME Standard Event Status Register B7 B6 B5 B4 B3 B2 B1 B0 OPC QYE DDE EXE CME Standard Event Status Enable Register OR ESR ESR ESE ESE CME Command Er...

Page 43: ...e occurrence of that event will set the ESB bit A cleared bit bit set to 0 in the enable register will prevent mask the ESB bit in the Status Byte Register from setting when the standard event occurs...

Page 44: ...er to Figure 4 3 ESR numeric_value Description Returns the programmed value of the Standard Event Status Register A set bit in this register indicates that a particular event has occurred For example...

Page 45: ...1301 01 03 01 03 01 03 The firmware revision field includes the 2461 revision first number and the Function Card Firmware Revision s OPC Description After the OPC command is sent The Operation Complet...

Page 46: ...ures 4 2 and 4 3 RST Description Reset the module Identical to the SCPI SYSTem PRESet command Appendix C lists the default conditions for this command SRE numeric_value Description Sets the contents o...

Page 47: ...numeric_value Description Read the contents of the Service Request Enable Register STB numeric_value Description Read the contents of the Status Byte Register A description of this register is shown i...

Page 48: ...elf test Failure application board 2 3 Self test Failure application board 1 and 2 Examples TST 3 Self test Failure in application board 1 and 2 TST 0 Tests passed TST 1 Self test Failure in applicati...

Page 49: ...ation Examples Number 101 Invalid Character An element of the syntax contains a character invalid for this type 102 Syntax Error Command not recognized or incorrect data type found For example a chara...

Page 50: ...YZ is defined for no instruments 120 Numeric Data Error Like Error 121 this error is generated when data appears that includes non decimal numeric data types This error message may appear if the instr...

Page 51: ...Conflict A command has been interpreted but cannot be executed because of the current state of the instrument Examples While the device is in INITiate state some commands are not allowed A TTLTrg lin...

Page 52: ...ing hardware does not exist For example an option is not installed Instrument Specific Errors Error Description Description Explanation Examples Number 311 Memory Related Error An error has occurred i...

Page 53: ...ad Interrupters Read Protocol Read Protocol Error Read STB Abort Normal Operation This command is used to halt normal operations When the instrument receives this command it returns to its default con...

Page 54: ...ne X Insignificant Int_ID Unique identifier of the assigned interrupt generator For this model the INT_ID field has the value 001 Line Number of the IRQ line on the VME bus A zero value indicates that...

Page 55: ...hat events can be sent as interrupts The response is place in the Data Low Register Response 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status 1 1 1 1 1 1 1 1 Val Resp Val Event Resp Mode Event Mode Status...

Page 56: ...F16 or FDFE16 The response is placed in the Data Low Register Response FFFE16 Byte Available A master uses this command to send a byte of data to the slave The END field indicates the last byte of the...

Page 57: ...field indicates the last byte of the message Response 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 0 1 1 1 1 0 END DATA Clear This command is used by a master to force a slave to re initialize the VXI int...

Page 58: ...e Data Low Register Response FFFE16 The command terminated normally 7FFE16 Command default The instrument does not generate the referenced event End Normal Operation This command is used by the master...

Page 59: ...onse Status This field indicates the status of command execution F16 The command has executed correctly 716 Command default The interrupt generator referenced in the Int_ID field is unknown to the ins...

Page 60: ...rotocol word is placed in the Data Low Register Response FE2316 The 2400 VXI Instrumentation is capable of generating the events supports the Read Interrupts Read Interrupt Line and Assign Interrupt L...

Page 61: ...Queries FFFD16 The instrument was instructed to write over a previous unread response Unsupported command FFFC16 The instrument received an unsupported command DIR violation FFFB16 The instrument rec...

Page 62: ...command allows a master to read the status byte of a slave Command CFFF16 The status byte is placed in the Data Low Register Response 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 1 1 1 1 1 1 1 Status Byte...

Page 63: ...Manual 2460 Series Programming The 2461 Module 4 40 Racal Instruments 2003 This page was left intentionally blank Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisant...

Page 64: ...service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE IN...

Reviews: