Home
ProDAQ 3020 User Manual
Contents
1. 10 2 2 2 Installing the ProDAQ 3080 into the Mainframe 11 2 3 Connecting the ProDAQ 3080 Interface sese 11 2 4 Installing the VISA Library et i ei e a ei a eue ol 13 2 5 Accessing the ProDAGO 3080 cese ite ener en e tite enek ete esee set esee eset esee eset esee e Se pese tent 16 2 5 4 Accessing the ProDAQ 3080 using Dynamic DNS eee eee 16 2 5 2 Discovering the ProDAQ 3080 using Multicast DNS 16 2 5 3 Discovering the ProDAQ 3080 using VXI 11 Broadcast 17 CHAPTER 3 WEB PAGE OPERATION esse sese 19 3 4 Instrument Home Page 19 21 IPCONIQUAIONE AS US es acu Atte abet gtd abled bead ete beni rs nes 20 dioc WORIDUS Instrurelils 2 25 59 5 00 pe paie opu dep pt wks edi pp to ates aay 22 3 3 1 Instrument Information and ACCESS 23 3 3 2 Resource Manager OUIDUL sss eee 24 e e T 16 4 R Rc eed eel 24 or MEM RI VICE SUIS NUMMORUM MODUM DU ECOUTER UFOU NUNT 25 uut Advanced Status vanessa Reed 26 3 9 ESYSIENT OM HN Se te at te ak ae ae tat att ot E E IE 27 30 Device Configufalofi occescceoccesckepctesetehetesc ten ctesetehetes t tenet ese eRe En c kebetese ehe eee SERERE 27 201 G n ral SOLIS uates Dee aUe eee Mea NUR ee De ae NUR S Me Du NR ne 28 3 0 2 SOECUMLY SOHINGS ect et a ttu tube tu otutucu nr utut cu ocu bu epe 28 9 0 9 VXIDUS SENJ ss TREND MES a pul Savoia dE 29 3 6 4 Interrupt Config
2. Page 30 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual None This setting will prevent the resource manage to use the interrupt line for this level in his allocation mechanism This setting must be used if a instrument in the system does not allow the dynamic allocation of interrupt lines and wants to use one or more lines permanently allocated 3 6 5 CLK10 Configuration This page allows you to enable or disable the CLK10 output on the ProDAQ 3080 front panel Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox i oj xl File Edit View History Bookmarks Tools Help Go X 8 np 192 168 168 158 devconfig ck html LY IGl soogle d lt 3080 _s _ J W Slot 0 Interface Home P Configuration Device Configuration VEG EUM CLK10 Configuration Device Status l Sui Front Panel CLK10 Disabled Back ResetForm Save Values Datasheet Manual I Copyright 2010 Bustec Production Ltd vaun bustec com sd Y Done Z Figure 25 CLK10 Configuration Page 3 6 6 Reboot Device If for any reason you need to reboot the ProDAQ 3080 remotely you can use the button Reboot Device in the Device Configuration page To avoid accidental usage of this feature selecting the button will cause a verification dialog to pop up before the actual reboo
3. system It lets a controller query and manipulate specific lines on a specific mainframe in a given VXI system Services are provided to map unmap assert and receive hardware triggers and also to assert various utility and interrupt signals The resource descriptor used for the backplane resource is again a combination of interface type and number logical address of the VXI device and the device type BACKPLANE VXI 0 0 BACKPLANE Interface Type Device Type Interface Number Logical Address As before the interface type is always VXI The interface number depends on the assignment you made using the configuration utility see 4 2 Mapped Interface Access The logical address will be zero 0 as you will need to configure the ProDAQ 3080 for logical address zero to allow it to function as a VXIbus slot 0 controller Though the ProDAQ 3080 does not support the mapping of one VXIbus trigger line to another the standard VISA functions viMapTrigger and viUnmapTrigger can be used to map the front panel trigger input to one or many of the VXIbus trigger lines as well as to map one or many VXIbus trigger lines to the front panel trigger output Figure 49 shows an example how to map the trigger lines to from the front panel input and output First a session for the backplane resource is opened Then the function viMapTrigger is used to map the front panel input to the VXIbus trigger line TTL 1 and also to the VXIbus t
4. Figure 23 VXIbus Settings Page Bus Timeout The time the on board timer needs to expire once a VXIbus access by the 3080 is started If it expires a VXIbus slave did not respond correctly and a bus error is generated Possible values are Disabled 16 usec 32 usec 64 usec 128 usec 256 usec 512 usec and 1024 usec Bus Arbiter Mode Selects the bus arbiter mode Possible values are Priority or Round Robin Remark The arbiter is only enabled if the module is placed in the leftmost slot of a VXI mainframe slot 0 Bus Arbiter Timeout Specifies the timeout for the arbiter Possible values are Disabled 16 usec 256 usec Bus Requester Mode Sets the request mode of the ProDAQ 3080 Fair or Demand Bus Requester Level Selects the request level the module is using when accessing the VXIbus Possible values are 3 to 0 with 3 as the highest priority and O as the lowest Copyright 2007 2010 Bustec Production Ltd Page 29 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM Bus Req Release Mode Access Counter On Access Counter Off Selects the release mode RWD release when done or ROR release on request Sets the number of bytes to transfer before a bus access can be interrupted Possible values are 0 disabled 256 bytes 1024 bytes 2048 bytes 4096 bytes 8192 bytes and 16384 bytes Sets the time the accesses are paused before a new block is
5. 3E VI_A32_SPACE Supervisory Program 0E VI PROG NPRIV VI_A16 SPACE Non priv 29 VI A24 SPACE Non priv Program 3A VI A32 SPACE Non priv Program 0A VI BLCK PRIV VI A16 SPACE Supervisory 2D VI A24 SPACE Supervisory BLT 3F VI A32 SPACE Supervisory BLT OF VI BLCK NPRIV VI A16 SPACE Non priv 29 VI A24 SPACE Non priv BLT 3B VI A32 SPACE Non priv BLT 0B VI_D64_PRIV VI_A16 SPACE Supervisory 2D VI_A24 SPACE Supervisory MBLT 3C VI_A32 SPACE Supervisory MBLT 0C VI D64 NPRIV VI A16 SPACE Non priv 29 VI A24 SPACE Non priv MBLT 38 VI A32 SPACE Non priv MBLT 08 VI 2eVME PRIV VI A32 SPACE 2eVME 20 01 VI 2eVME NPRIV VI A32 SPACE 2eVME 20 01 Figure 45 VXIbus transfer types Block transfers are performed on the VXlbus only if the correct attribute VI ATTR SRC PRIV or VI ATTR DEST PRIV depending on the direction is set to one of the types VI BLCK PRIV VI BLCK NPRIV VI D64 PRIV or VI D64 NPRIV The data width of the performed transfer depends on the viMoveXX function used except for the case that the attribute is set to VI Dod PRIV VI Dod NPRIV VI 2eVME PRIV or VI 2eVME NPRIV in which case a D64 MBLT resp 2eVME transfer is performed viMoveln32 and viMoveOut32 only Please note that the attributes VI 2eVME PRIV and VI 2eVME NPRIV are temporary assigned by Bustec to allow the usage of the 2eVME block transfers in compliance with the VXlbus Standard revision
6. Figure 48 shows an example for sending a trigger pulse to a device The function viSetAttribute is used to set the attribute VI ATTR TRIG ID to select the trigger line In general the trigger ID can be set to VI TRIG TTLO to VI TRIG TTL7 VI TRIG ECLO VI TRIG ECL1 or VI TRIG SW For the setting VI TRIG SW the device is sent the word serial trigger command the other settings correspond to the VXIbus trigger lines TTLO TTL7 and ECLO ECL1 To send the trigger the function viAssertTrigger is used in the example with the protocol argument set to VI PROT DEFAULT The interpretation of this argument depends on the value the attribute VI ATTR TRIG ID is set to For software triggers the only valid protocol is VI PROT DEFAULT For hardware triggers the protocols VI PROT DEFAULT or VI PROT SYNC will generate a trigger pulse on the specified line while VI PROT ON and VI PROT OFF let you explicitly assert and de assert the trigger line 5 5 2 Using Front Panel Trigger Lines The ProDAQ 3080 supports a front panel trigger input and output which can be mapped to the VXIbus trigger lines For this purpose as for querying and manipulating other VXlbus backplane specific lines the VISA standard implements a special resource It encapsulates the VXI defined operations and properties of the backplane in a VXIbus Page 54 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual
7. User Manual ProDAQ 3080 Gigabit Ethernet VXIbus Slot 0 Interface PUBLICATION NUMBER 3080 XX UM 1010 Copyright 2007 2010 Bustec Production Ltd Bustec Production Ltd World Aviation Park Shannon Co Clare Ireland Tel 353 0 61 707100 FAX 353 0 61 707106 PROPRIETARY NOTICE This document and the technical data herein disclosed are proprietary to Bustec Production Ltd and shall not without express written permission of Bustec Production Ltd be used in whole or in part to solicit quotations from a competitive source or used for manufacture by anyone other than Bustec Production Ltd The information herein has been developed at private expense and may only be used for operation and maintenance reference purposes or for purposes of engineering evaluation and incorporation into technical specifications and other documents which specify procurement of products from Bustec Production Ltd This document is subject to change without further notification Bustec Production Ltd Reserve the right to change both the hardware and software described herein Table of Contents CHAPTER T INTRODUCTION nn feu en feu ee 7 dolo eONMEPVIBW nu dr ir eine aia hoes gua a SN Tin 7 CHAPTER 2 GETTING STARTED sss s sese 9 2 1 Unpacking and Inspection ss 9 2 2 Installing the ProDAQ 3080 Interface ccce 10 2 2 1 Configuring the Logical Address
8. DxcBc Manual Device Class Register based Address Space A1BIA32 Required Memory 0x10000000 Allocated at 0x20000000 Back Memory O Basic to Copyright 2010 Bustec Production Ltd ww bustec com zl Done ZA Figure 13 Instrument Information and Access Page Depending on the type of instrument you can perform basic memory or message based access operations on the device by selecting the Memory 1 0 or Basic 1 0 buttons at the bottom of the page Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox i js x File Edit View History Bookmarks Tools Help http 192 168 168 158 instconfig_mio html la 1 Tema ae 1 ProDAQ 3080 4 06 Woe cg RR gp Frere eee bustec 19 61 Na Tandi s Giga N Slot 0 Interface d 27 RE TE 28 4 Home Pnp VXIbus Instruments VMbus Instruments Instrument Access Memory I O Device Status VXIbus Instrument at Logical Address 1 Manufacturer Bustec Model Name ProDAO 3180 System Log Address Space VILA16_SPACE Device Configuration Datasheet Address Offset 0 0000 Manual Data Width ML WIDTH 8 _ E c c c Write Data 0x00 HEX DEC BIN Read Data BIEN Grex Cc C BIN Returned Status Back Read Write Copyright 2010 Bustec Production Ltd winw bustec com gt Done 2 Figure 14 Instrument Memory I O Copyright 2007 2010 Bustec Produ
9. 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 9000 Metric 1 Device Configuration RX packets 36526 errors 0 dropped 0 overruns 0 frane 0 Datasheet TX packets 1040 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 10000 Manual RX bytes 2740038 2 6 Mb TX bytes 882897 862 2 Kb Base address 0x6000 Back Select the information set to be displayed ifconfig E Refresh Copyright 2010 Bustec Production Ltd m vwaw bustec com EZ Done 2 Figure 18 Advanced Status Page The following tools and configuration files are available ifconfig Shows the output of the ifconfig utility with detailed information on the network interface status For detailed information please refer to the Linux manual page for ifconfig route Shows the routing table as seen by the embedded Linux kernel on the ProDAQ 3080 resolv conf Displays the contents of the resolv conf file The resolv conf file is maintained by networking scripts and shows the current nameserver configuration in use by the ProDAQ 3080 kernel hosts Displays the contents of the hosts file The hosts file contains the known host aliases device conf The device conf file holds the static settings configured via the IP Setup page device and firmware Shows the revisions of the different parts of the system revision Page 26 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3 5 Syste
10. ERROR viMoveIn16 returned status 08x s n status descr return status close the sessions as shown in Figure 41 Opening a VISA Session Figure 44 Moving a Block of Data Copyright 2007 2010 Bustec Production Ltd Page 49 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM For each move one or several packets of data are moved over the VXIbus to the ProDAQ 3047 The type of transfer used on the VXIbus depends on the value of several attributes VI_ATTR_SRC_PRIV for data moved from a VXIbus instrument to the host VI ATTR DEST PRIV for data moved from the host to a VXIbus instrument Only if the value of those attributes are set correctly prior to moving the data via viMoveln or viMoveOut a block transfer on the VXIbus will take place The following table shows the type of transfers performed by the viMoveln viMoveOut and viMove functions for the different values of the attributes Settings Resulting Transfer Attribute Address Space Privilege Data Program Block Transfer AM hex VI DATA PRIV VI A16 SPACE Supervisory 2D VI A24 SPACE Supervisory Data 3D VI A32 SPACE Supervisory Data OD VI DATA NPRIV VI A16 SPACE Non priv 29 VI A24 SPACE Non priv Data 39 VI A32 SPACE Non priv Data 09 VI PROG PRIV VI A16 SPACE Supervisory 2D VI A24 SPACE Supervisory Program
11. Figure 43 Register I O using memory mapping 48 Figure 44 Moving a Block of Data 49 Figure 45 VXIbus transfer types iii 50 Figure 46 Performing VXIbus Block Transrers HH 51 Figure 47 Reading the Device Identification Figure 48 Sending a Trigger Pulse idee eee Figure 49 Mapping Trigger Unes eot ee re ei rto Ee reto Fern reo Eee eo Ee Eo Ee reo Een Ehe Pr eto beo VI Chapter 1 Introduction 1 4 Overview The ProDAQ 3080 Gigabit Ethernet VXIbus Slot 0 Interface provides access to VXIbus instruments through a standard Gigabit LAN interface using the VXI 11 protocol It is designed to function as a bridge between the established time tested and proven base of VXIbus instruments and the IEEE 802 Ethernet which allows you to build any size of test and measurement system simply by connecting the instruments via standard LAN to your computer The ProDAQ 3080 provides a standardized Gigabit LAN interface with support for the VXI 11 protocol and an embedded WEB interface It utilizes the new Tundra Tsi148 bridge to support the 2eVME block transfers specified in the revision 3 0 of the VXI standard in addition to all standard transfer modes This allows for high speed data transfers while maintaining backward compatibility to existing VXI rev 1 3 1 4 and 2 0 instruments The
12. VXIplug amp play program group in the start menu Start gt VXIPNP VISA Assistant The main window of the Visa Assistant shows a list of all VISA resources in the system Bustec VISA Assistant vaiet Detected resources EI VXl Resource Information Manufacturer ID Oxe70 3696 VXIO 0 BACKPLANE DH VXIO 1 BACKPLANE Oxc30 3120 VXID MEMACC VXID SERVANT o ASRLI INSTR t ASRL2 INSTR Figure 34 The VISA Assistant On selecting one by double clicking on its entry the VISA Assistant opens a VISA session for that device in a separate window uia VXI0 2 INSTR E Template Operations Session identifier Basic 1 0 Operations Memory 1 0 Operations H Shared Memory Operations Vl Specific Operations 0x49c150 Lock state No lock held Event handler Notinstalled Enabled events Figure 35 VISA Assistant Session Window In the treeview control on the left hand side you have now access to information about the session and the VISA functions possible for the resource Copyright 2007 2010 Bustec Production Ltd Page 39 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM The functions available are divided into five groups Template Operations Basic I O Operations Memory I O Operations Shared Memory Operations VXI Specific Operations Not all operations are available for all types of devices so depending
13. asserted Assert Deassert Pulse M Backplane TTL1 Unouted Not asserted Assert Deassert Pulse Datasheet Backplane TTL2 Unrouted Not asserted Assert Deasset Pulse Manual Backplane TTL3 Unrouted 2 Notasserted Assert Deasser Pulse Backplane TTL4 umued x Not asserted Assert Deassert Pulse Backplane TTLS Unoued Cd Not asserted Assert Deassert Pulse Backplane TTL6 Unrouted Je Notasserted Asset Deassert Pulse Backplane TTLT Unrouted SS Not asserted Asset Deassert puise Backplane ECLO Unouted SC Not asserted Assert Deassert Pulse Backplane ECL1 Unoued SC Not asserted Assert Deassert Pulse Front Panel Trigger In notassertea Assert Deassert Pulse Front Panel Trigger Out Unouted std Not asserted Assert Deassert Pulse _ Back Unmap all triggers Refresh Copyright 2010 Bustec Production Ltd wun bustec com zl Done 3 4 Device Status Figure 16 VXIbus Trigger Control Z The Device Status page shows the overall status of the ProDAQ 3080 and its network connection For a more detailed status select the Show advanced status button at the bottom Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot O Interface Mozilla Firefox Ee File Edit View History Bookmarks Tools Help Er CX aw http 192 168 168 158 devstatus html we VI Home orn
14. implemented without the software overhead of the High Level Services XIO 2 INSTR Session Information H Template Operations H Basic 1 0 Operations l Memory 1 0 Operations Input Address space vi 16 SPACE lt viQut viMoveln Offset set xo E C 16bit iMoveDut viMove amp sync 32 bit viMap ddress Read in an 8 bit 16 bit or 32 bit value from the specified memory space offset viUnMapAddress viPeek i viPoke H Shared Memory Operations Output I VI Specific Operations Data read ip Returned Status Ix 0 Operation completed successfully Figure 38 Memory I O Operations Copyright 2007 2010 Bustec Production Ltd Page 41 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM Figure 38 shows an example of the high level access services In the Input section the user can select an address space an offset and a transfer width By pressing Run on of the functions viln8 viln16 or viln32 depending on the access width are executed and the result is shown in the Output section of the dialog along with the returned status The high level functions viMoveln viMoveOut and viMoveAsync will move blocks of data As with the functions viln8 vin16 viln32 viOut8 viOut16 and viOut32 the Input section will allow you to enter an address space an offset and a transfer width Additionally a length parameter will d
15. k k k kk k k k k k k k k k kkk k Perform a 32 bit wide block transfer from the host to a VXIbus instrument BRR RK KK KKK KR RR KK RR A k k AR k k k RR k k E Eccc XX set the correct attribute VI ATTR DEST PRIV for moving data OUT if status viSetAttribute instr session VI ATTR DEST PRIV VI BLK PRIV VI SUCCESS handle errors or warnings not shown here now move a block of 32 bit data from the instrument to the buffer if status viMoveOut32 instr session VI A32 SPACE MEM START 1024 data VI SUCCESS handle errors or warnings not shown here BRR RK KK KKK KR KK KK AA A RRA k k k k k k k k k k k KKK Perform a 64 bit wide block transfer from the host to a VXIbus instrument 2 BRR KK KKK KK RR KK RR A A k RR A k k k k k k k k k k k k k k k k k k SEE uiu XX set the correct attribute VI ATTR DEST PRIV for moving data OUT if status viSetAttribute instr session VI ATTR DEST PRIV VI D64 PRIV VI SUCCESS handle errors or warnings not shown here now move a block of 64 bit data from the instrument to the buffer status viMoveOut32 instr session VI A32 SPACE MEM START 1024 data VI SUCCESS handle errors or warnings not shown here close the sessions as shown in Figure 41 Opening a VISA Session Figure 46 Performing VXIbus Block Transfers Copyright 2007 2010 Bustec Production Ltd Page 51 of 58
16. on the device type the treeview control might not list all the possibilities discussed here 4 3 1 Template Operations The VISA standard implements a template of standard services for a resource The functions in this group provide access to those services The services available include attribute operations asynchronous operation control resource access control and event operations As an example the function viGetAttribute allows to retrieve the values for attributes defined for a resource Selecting the function in the treeview control on the left hand side click on Template Operations then on viGetAttribute allows you to control the parameters for the function in a dialog on the right hand side of the session window Retrieve the state of an attribute Input Attribute VLATTR MANF ID z iDisableE vent iDiscardE vents r Output iWaitOnE vent c amp Basic 1 0 Operations Attribute state x E70 H Memory 1 0 Operations amp Shared Memory Operations VXI Specific Operations Returned Status x Operation completed successfully Figure 36 Using a template operation Select one of the attributes to retrieve in the Attribute control in the Input section and press Run The Output section will show the current value of the attribute in the control Attribute state if the operation was successful and the returned status of the function 4 3 2 Basi
17. rallon roc te teorie Sn nane nu i uo n a i 30 3 6 5 CLK10 Connguralon ssi i GR ERO ORG ERI E ERE I EROR ERR E 31 310 0 Reboot DEVICE sairaan ns n id p mpm om dud a aeaa eane aaa ds 31 OT Firmware WO ale sic tinal ve ps eases a eae ed ee Cl NAE RN SUE 32 3 7 Datasheet and Manual Pages nct throne Eh ete bo eto bla Ete E csc tn sh nee en 33 CHAPTER 4 REMOTE OPERATION cose sese sese 34 41 TCP IP Instrument Access sonne nee nn Rennes 35 4 2 Mapped Interface Access ss 35 a3 The ISA ASSISIIE ne nt ein eu neo nd ed ntu nn n nd nies 39 43 1 Template Operations user ea POPOLARI ORE e ved oleate tetes ane 40 4 3 2 Basic I O Operations o OO RR E RR OG EROR ERR EE E 40 43 3 Memory VO Operation S RS RE RES DIDO E 41 4 3 4 Shared Memory Operations 42 49 5 VXI Specific Operation nn did Sen nn epa PEE nue 42 CHAPTER 5 PROGRAMMING VXI DEVICES eere nnns 45 5 1 Connecting to a Device aee ie iet eee rente hae 45 5 2 Programming Register based Devices sss 46 5 2 1 ACCESSING ReUISIBIS is ceto oes Ce BERE a OH a UE LR RN 46 5 2 2 Moving Blocks OF Data ceti aisi dta e qu edu e qtu dM dO Rude 49 5 3 Programming Message based Devices 52 5 3 1 Writing and Reading Messages 52 5 4 Optimizing Data Throughput ae cu acces even cesar emcee ver oet thee toe tes tene tese eoe tese tete tust 53 5 5 Using VXIbus and Front Panel Trigger Lines 53 5 5 1 Using VXIbus Trigge
18. started Possible values are 0 disabled 2 us 4 us 8 us 16 us 32 us 64 us 128 us 256 us 512 us and 1024 us Note Please note that any changes will be applied only at the next reboot of the device 3 6 4 Interrupt Configuration The Interrupt Configuration page allows configuring the usage of the VXIbus interrupt lines in the allocation mechanism of the VXI resource manager Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox ls xl File Edit View History Bookmarks Tools Help Go CXS 88 htp 192 168 168 158 devconfg_int html LY IGI Sooge Home IP Configuration Device Status IRQ Level 1 System Log Device Configuration IRQ Level 2 Datasheet IRQ Level 3 Manual IRG Level 4 IRQ Level 5 IRG Level 6 IRQ Level 7 deg ded Back Copyright 2010 Bustec Production Ltd Done a 5 C ES yd 12 22 4 oDA MA da Ka th I pax E Device Configuration VXibus Instruments Interrupt Configuration Auto x Auto x Auto x Auto x Auto x Auto x ResetForm Save Values 120 001 S Z Figure 24 Interrupt Configuration Page For each of the VXIbus interrupt lines Level 1 to Level 7 one of two settings for the assignment can be chosen Auto This setting will allow the resource manager to use the interrupt line for this level in his allocation mechanism
19. your application 5 5 1 Using VXlbus Trigger Lines The VISA standard implements the function viAssertTrigger together with the attribute VI ATTR TRIG ID to assert and de assert trigger lines on the VXlbus or sending the word serial trigger command to message based devices Copyright 2007 2010 Bustec Production Ltd Page 53 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM include lt visa h gt main int argc char argv ViStatus status ViSession rm session ViSession instr session ViChar descr 256 open session to the resource manager if status viOpenDefaultRM amp rm session VI SUCCESS error handling as shown in the previous examples open a session to the instrument status viOpen rm session VXI0 2 INSTR VI_NULL VI_NULL amp instr session l VI_SUCCESS error handling as shown in the previous examples defining the trigger line to use status viSetAttribute instr_session VI ATTR TRIG ID VI TRIG TTLO VI SUCCESS error handling as shown in the previous examples send a trigger pulse to the device status viAssertTrigger instr session VI TRIG PROT SYNC VI SUCCESS error handling as shown in the previous examples close the sessions to the instrument and the resource manager viClose instr session viClose rm session Figure 48 Sending a Trigger Pulse
20. your system use the installation sequence as described in this chapter Step 1 Unpacking and Inspection Step 2 Installing the ProDAQ 3080 Step 3 Connecting the ProDAQ 3080 Interface Step 4 Installing the VISA Library Step 5 Accessing the ProDAQ 3080 2 1 Unpacking and Inspection All ProDAQ modules are shipped in an antistatic package to prevent any damage from electrostatic discharge ESD Proper ESD handling procedures must always be used when packing unpacking or installing any ProDAQ module ProDAQ plug in module or ProDAQ function card Ground yourself via a grounding strap or similar e g by holding to a grounded object Remove the ProDAQ module from its carton preserving the factory packaging as much as possible Discharge the package by touching it to a grounded object e g a metal part of your VXlbus chassis before removing the module from the package Copyright 2007 2010 Bustec Production Ltd Page 9 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM Inspect the ProDAQ module for any defect or damage Immediately notify the carrier if any damage is apparent Only remove the module from its antistatic bag if you intend to install it into a VXI mainframe or similar When reshipping the module use the original packing material whenever possible The original shipping carton and the instrument s plastic foam will provide the necessary support for safe reshipment If t
21. 28 Figure 22 Security Settings Page cc made od ad n cepe ceste mue co ud uus 28 Fig re 23 VXibus Setlings Page ede pied bod it te pisei nee 29 Figure 24 Interrupt Configuration Page 30 Figure 25 CLK10 Configuration Page iiie eet etta enin ta eee ae E Hd su es 31 Figure 26 Firmware Update Page sans 32 Figure 27 Firmware Upload Progress 33 Figure 28 VISA Configuration UW 36 Figure 29 Add New Interface Dialog 36 Figure 30 Add Network Interface Dialog 36 Figure 31 Updated Available Interfaces List sauna 37 Figure 32 Updated Configured Interfaces List 37 Figure 33 Resource Manager ai nomo Ue ni nd nb n DL nn 38 Figure 34 The VISA Assistant 39 Figure 35 VISA Assistant Session Window 39 Figure 36 Using a template operation sante 40 Figure 37 Using a basic I O operation sinus 41 Figure 38 Memory lO Op rations nina Dot Die DE e Din Di e Die Died nen 41 Figure 39 Shared Memory Operations 42 Figure 40 VXI Specific OperaliOrisi ioc peer eoe Er e ER ERI RETE REX E ERE FEX E ERE REX E remettent et 43 Figure 41 Opening a VISA Session 45 Figure 42 Memory based lO 47
22. 3 0 The 2eVME block transfers are not yet part of the VISA standard VPP 32 and may be named differently once they are Page 50 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual include lt visa h gt ViUInt16 data 1024 buffer used to store data main int argo char argv ViStatus status ViSession rm session ViSession instr session ViChar descr 256 ViUInt16 value open a session to the resource manager and instrument as shown in Figure 41 Opening a VISA Session not shown here S EKK K K KK KKK KK k k KK KK AA k k k k k k k k k k k k k k kk k k k k k k k k kk kk k k k kk k k k kk kkk kk kk k Perform a 16 bit wide block transfer from a VXIbus instrument to the host zy J EK K K K K KKK k k k k KK k k k k k k k k k k k k k k k k k k k k k k k k k K k k k k k k k k k k k k k k k k k k k k k k k kk k k k kk k kk k kkk k set the correct attribute VI ATTR SRC PRIV for moving data IN if status viSetAttribute instr session VI ATTR SRC PRIV VI BLK PRIV VI SUCCESS handle errors or warnings not shown here now move a block of 16 bit data from the instrument to the buffer if status viMoveInl6 instr session VI A32 SPACE MEM START 1024 data VI SUCCESS handle errors or warnings not shown here J EK K K KKK KKK RR A RK A k A k k k k k k k k k k k k k k A A k k k k k k k k k k
23. 7 14 05 55 none MARK Mar 17 14 25 55 none MARK Mar 17 14 45 55 none MARK Mar 17 15 05 55 none MARK Mar 17 15 25 55 none MARK Mar 17 15 45 55 none MARK Mar 17 16 05 55 none MARK Mar 17 16 25 55 none MARK Back Refresh 05 10 5 0 7770 AMM M M MU M Copyright 2010 Bustec Production Ltd y bustec com a Done P Figure 19 System Log Page 3 6 Device Configuration The device configuration is split up into several sub items Click on one of the buttons to the right of the different sections to access it Each sub item lets you configure a part of the ProDAQ 3080 Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox x File Edit View History Bookmarks Tools Help CH yw CX 0 Y e http 192 168 168 158 devconfig html G lt a 2s L Pro Ab EUER Device Configuration VXibus Instruments Gi Seti Chi ie DERIT eneral Settings ange Se Security Settings Change Vxlbus Settings Change Datasheet Interrupt Configuration change Manual CLK10 Configuration Change Reboot Device Firmware update Back Copyright 2010 Bustec Production Ltd wn bustec com si Done P Figure 20 Device Configuration Page Copyright 2007 2010 Bustec Production Ltd P
24. 80 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM saa XIbus Resource Manager ni xj Resource Manager Finished TTT TT TTT TT TT TTT 00 Close lt lt Details Bustec VXI Resource Manager v 2 2 0 Al Interface VXIO Mapped to TCPIP 192 168 168 122 vxi0 Slot LA Device Address Base Size 0 0 Register A16 A32 x20000000 0x20000000 6 1 Register A16 A32 0x40000000 0x10000000 3 2 Extended A16 A32 0x50000000 0x10000000 Writing Output File C NVXIPNENSWinNT buVisa buresman out Figure 33 Resource Manager Note The VISA library is a shared library that initializes itself when it is first loaded by an application Applications started while the VISA library is already loaded just share this configuration Only when all applications using the VISA library are stopped it will be unloaded by the system Therefore all applications using the VISA library must be closed before running the resource manager or using the VISA configuration utility Take special care while using integrated development environments they will keep the VISA library loaded even when the application developed in them was stopped Page 38 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 4 3 The VISA Assistant The VISA Assistant is an interactive tool which allows executing VISA commands without programming To run the VISA Assistant select VISA Assistant from the
25. AN Slot 0 Interface Asset Number lt not assigned gt Instrument Revision 11 Copyright 2010 Bustec Production Lid internet lt Ame Figure 8 Using Bonjour to discover the ProDAQ 3080 2 5 3 Discovering the ProDAQ 3080 using VXI 11 Broadcast The configuration utility coming with the Bustec VISA can be used to discover the ProDAQ 3080 using the VXI 11 protocol To start the application select the VISA Configuration Utility Start VXIPNP VISA Configuration Utility from the VXlp ug amp play program group created during the installation of the VISA library This will start the configuration tool for the VISA library and attached hardware interfaces Select the tab Network Instruments and select the button Find Instruments to the right of the list of Instrument Descriptors This will open the Find Network Instruments dialog Here you can select the device type of network instrument to discover and the range of interface numbers To discover any ProDAQ 3080 located in your subnet at least the interface device type VXI needs to be enabled with a range starting with zero 0 To start the search select the button Start Searching to the right After the search is complete the list below will show the network instruments found see Figure 9 Copyright 2007 2010 Bustec Production Ltd Page 17 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface
26. Device Status VXIbus Instruments Status System status Ready pees Network connection 1 000Mb s Full Duplex Device Configuration cele Back Refresh Show advanced status Datasheet Manual Copyright 6 2010 Bustec Production Ltd 12 22 LET DAQ rr TM 4 FTODAI L 14 08 77 AJ L 121 29 17r rapa bustec 19 61 7 9 7 s Giga 2 TEL AMI 28 ws Done Figure 17 Device Status Page Copyright 2007 2010 Bustec Production Ltd Page 25 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM 3 4 1 Advanced Status The Advanced Status page allows you to view the output of several tools and contents of configuration files available on the ProDAQ 3080 To switch between the different outputs files just select the tool file with the combo box at the bottom The Refresh button allows updating the status Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox zt Lx File Edit View History Bookmarks Tools Help G CQ X uw B np192 168 168 158 devstatus adv html 7 IG Google E a 5 1 Da am 12 22 XII 2 ODA m mE am Mo WA ee MINES bustec mei VXIbus Gigabit LAN Exi a ordo Home IP Configuration Advanced Status VXIbus Instruments foontig leth Link encap Ethernet HWaddr 00 01 AF 17 DC 4 System Log inet addr 192 168 168 158 Bcast 192 168 168 255 Mask
27. ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM 5 3 Programming Message based Devices Message based VXIbus devices implement the word serial protocol to communicate with the application Programming is done by sending ASCII messages to the device and reading its answer 5 3 1 Writing and Reading Messages The basic functions to write and read messages to from devices are the two functions viRead and viWrite They implement the word serial protocol for message based devices but on a very basic level The user needs to build his message and use viWrite to send it to the device Then he uses viRead to receive the message sent back The message received might consist of strings numbers and formatting characters and he will need to interpret this message To avoid some of these steps a couple of higher level functions were implemented in the VISA library include lt visa h gt main int argc char argv ViStatus status ViSession rm session ViSession instr session ViChar descr 256 open a session to the resource manager if status viOpenDefaultRM amp rm session VI SUCCESS error handling as shown in the previous examples open a session to the instrument status viOpen rm session VXIO 2 1INSTR VI NULL VI NULL amp instr session VI SUCCESS error handling as shown in the previous examples reset the device status viPrintf vi RST n VI S
28. ProDAQ 3080 is fully compliant to the VXlplug amp play standard Access to the 3080 and the VXIbus instruments is provided through a standard VISA library This allows for backward compatibility with existing VXlp lug amp play drivers and application software The VXIbus resource manager is embedded in the 3080 firmware and automatically executed at power up The embedded WEB interface allows configuring and controlling the ProDAQ 3080 VXIbus Gigabit LAN Slot 0 interface and provides access to the VXlbus instruments via a standard WEB browser Communication with the host processor via the front panel Gigabit Ethernet port is done via standard Cat 5e Ethernet cable for distances up to 200 meters Low cost Gigabit Ethernet switches can be used to increase the maximum distance as well as to connect multiple mainframes to a single host or to integrate multiple mainframes and hosts into a network Note To achieve maximum performance connect the ProDAQ 3080 to a host featuring a Gigabit LAN interface If you are using switches or hubs in your network connection make sure that they conform to the Gigabit Ethernet standard and are able to operate at that speed For synchronization in legacy systems the ProDAQ 3080 features a front panel trigger input output and CLK10 I O via SMB connectors Copyright 2007 2010 Bustec Production Ltd Page 7 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM This page was intentionally lef
29. Specific Operations i vi amp ssertIntriSignal i vi amp ssertUtilSignal i viUnmapTrigger Map the specified trigger source line to the specified destination line Input Source line vi TRIG ECLO lt Destination line vi TRIG EcLO Returned Status x Figure 40 VXI Specific Operations The functions viMapTrigger and viUnmapTrigger enable you to route a trigger signal from a front panel input to one of the VXIbus trigger lines only for VXIbus controller supporting this feature In the Input section you can select a source trigger line which should be mapped to a destination trigger line As in the other examples pressing Run will execute the function and display the result in the Output section Note For more information about the VISA functions and their parameter refer to the VXIplug amp play Systems Alliance document VPP 4 3 The VISA Library Copyright 2007 2010 Bustec Production Ltd Page 43 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM This page was intentionally left blank Page 44 of 58 Copyright 2007 2010 Bustec Production Ltd Chapter 5 Programming VXI Devices This chapter shows how to use the ProDAQ 3080 Embedded VXlbus Slot 0 Controller and the Bustec VISA library to program VXI instruments The following examples assume that the ProDAQ 3080 was mapped as a VXI interface on the host 5 1 Connecting to a Device An ap
30. UCCESS error handling as shown in the previous examples ask the device for its identification status viPrintf vi IDN n VI SUCCESS error handling as shown in the previous examples read the identification sent back status viScanf vi 256t descr VI SUCCESS error handling as shown in the previous examples printf Device Identification s n descr close the sessions to the instrument and the resource manager viClose instr session viClose rm session Figure 47 Reading the Device Identification Page 52 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual The functions ViPrintf and viScanf use a C style formatting string to format and scan messages send to and read from the device freeing the user from the separate steps necessary to do so if using the lower level function viWrite and viRead Furthermore the functions implement an extended set of formatting styles specially shaped towards instrument communication In the above example the function viPrintf is used to send two messages to the device first a command to reset the device then a request to send back its identification string viPrinf uses the format string together with the other arguments passed to it to build a message string in a local buffer and then it calls viWrite to send this message to the device The ex
31. User Manual 3080 XX UM Figure 9 ProDAQ Configuration Utility Page 18 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual Chapter 3 WEB Page Operation The ProDAQ 3080 features an embedded WEB server which allows you to configure and operate the ProDAQ 3080 by using a standard WEB browser from any host computer in your network 3 1 Instrument Home Page The instrument home page shows general information about the device like model number manufacturer serial number and revisions Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox File Edit View History Bookmarks Tools Help CQ X uw amp i htp 192 168 168 158 J a dA gt 12 22 AID posi 14 06 2 T bustec 29 61 2942 AN Slot 0 Interface gt OD M TI IP Configuration Instrument Home Page VXibus Instruments Instrument Model ProDAQ 3080 AA VXIbus Gigabit LAN Slot 0 Interface Device Status Manufacturer Bustec Production Ltd SEA Serial Number 00120227 Device Configuration Host Name ProDAQ3080 001 20227 local Datasheet mDNS Service Name Bustec Production Ltd ProDAQ 3080 00120227 Manual MAC Address 00 01 af17 dc a4 TCP IP Address 192 168 168 158 Current Time Wed 17 Mar 2010 15 52 32 UTC Time Source SYSTEM Instrument Address S
32. age 27 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM In addition the page contains two buttons to either reboot the device or to update the firmware 3 6 1 General Settings This page allows you to change the system time and assign an asset number to the device which will be shown on the instrument home page Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox x File Edit View History Bookmarks Tools Help RA bustec 19 61 4 RTE Fees Device Configuration VXibus Instruments General Configuration Device Status Sum Bet Master PTP Date Time 17 Mar Pool 16 42 20 ne ute z a Datasheet Back Reset form Save values Manual Copyright 2010 Bustec Production Ltd wa bustec com Done Z Figure 21 General Configuration Page 3 6 2 Security Settings On this page you can change the password that is used to protect the pages of the ProDAQ 3080 Please type in your old password the new one and confirm it by re typing Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox x File Edit View History Bookmarks Tools Help http 192 168 168 158 devconfig_sec html a P r vat 12 22 iH Pro DA Q 3080 ru lt 14 06 M32 E Ls T QT T bustec 29 61 Ma 2 XIb
33. ample program reads the identification using the function viScanf ViScanf allocates a local buffer calls the function viRead to receive the message form the device and then it parses the message using the formatting supplied by the format string In the example the format code t together with a size modifier is used telling viScanf to expect a string to be returned in the message and to copy a maximum of 256 characters into the buffer supplied The VISA standard support a wide range of formatted I O services like the viPrintf viScanf functions shown in the example Please refer to the VISA standard document VXIplug amp play Systems Alliance VPP 4 3 The VISA library for a complete list 5 4 Optimizing Data Throughput To optimize you programs to achieve the maximum data throughput please keep the following in mind Use the functions viMove viMoveln or viMoveOut instead of single read and write commands for devices and register ranges where this is possible Use the attributes VI ATTR SRC PRIV and VI ATTR DEST PRIV to specify block transfer privileges for devices where this is possible Use 32 bit or 64 bit moves whenever possible 5 5 Using VXIbus and Front Panel Trigger Lines One feature that differs the VXlbus from other busses is its ability to use trigger signals to communicate with instruments in real time to share clock signals etc The VISA library implements functions to control those trigger lines from
34. c I O Operations The basic I O operations will allow the user to send commands to a device and read back its answer to trigger the device or read its status Page 40 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual a VXI0 2 INSTR Session Information H Template Operations Basic 1 0 Operations Input viRead ReadToFie Number of bytes to read lal 0 z Asynchronous iW Tite viwiriteFromFile vi amp ssertTrigger Pn viReadSTB viClear Output g Memory 170 Operations Reed biter H Shared Memory Operations Y M Specific Operations Job identifier Returned Status E VE Figure 37 Using a basic I O operation Read data from device As an example you can use the viRead function to read data or a message from the device To do so just specify the maximum number of bytes to read from the device and press Run As before the VISA Assistant will show the message read as well as the returned status of the operation 4 3 3 Memory I O Operations The memory I O operations consist of High and Low Level Access services The High Level Access Services allow register level access to devices that support direct memory access They encapsulate most of the code required to perform the access such as window mapping address translation and error checking The Low Level Access Services are similar in purpose but are
35. ce System Log Device Configuration Current IP Address 192 168 168 158 Current Subnet Mask 255 255 255 0 Datasheet Current Default Gateway 192 168 168 201 ewe 192 168 168 222 Current DNS Server s 213 94 190 194 TCPIIP Mode R DHCP assigned gt MAutolP gt Static IP IP Address Subnet Mask Default Gateway DHCP C Static DNS Server s MTU 9000 Back mDNS Service Name Reset form Save and restart network Copyright 2010 Bustec Production Ltd y bustec com si X Done 4 Figure 11 IP Configuration Page The IP Configuration page shows the current settings for the instruments LAN interface and allows you to change and store the following settings Hostname User Description Current IP configuration User defined hostname for the device without domain Clear this value to revert to factory default Note Multicast DNS domain is always local Dynamic DNS domain depends on the network configuration User defined description of the device it is displayed on the Home Page along with user defined Asset Number see Device Configuration Clear this value to revert to factory default Displays currently assigned IP Address Subnet Mask Default Gateway and DNS servers Page 20 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual TCP IP mode IP Address Subnet mask Default Gateway DNS Servers MTU mDNS Service Name Specifie
36. ction Ltd Page 23 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM 3 3 2 Resource Manager Output The Resource Manager Output page lets you review the output of the embedded VXIbus resource manager Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox ps ni xj Ble Edt View History Bookmarks Tools Help c c x os Wi http 192 168 168 158 nstconfig rout html IG P 1 gt 2 B K E Mam lace s 5 7 322 Q 3080 ELT DTE TET 7 VXIbus Gigabit LAN Slot 0 Interface a Home VXIbus Instruments IP Configuration Resource Manager Output Device Status System Log Bustec VXI Resource Manager v 2 2 0 Device Configuration Datasheet Interface VXIO Manual Slot LA Device Address e z 0 0 Register ALS Only 0x00000000 0x00000000 1 Register 16 A32 0x20000000 0x10000000 Writing Output File tnp buresnan out x x x VXI Device Table Configured Interface VXIO Slot Manufacturer Id Model 1d Device Status 0 Bustec e70 ProDAQ 3080 008 Register Based Ready Bustec e70 ProDAQ 3180 c6c Register Based Ready Memory Map Slot Address Space Base Size VxIO 0 Al6 Only 0x00000000 0x00000000 VXIO 2 A16 A32 0x20000000 0x10000000 Back Copyright Z 2010 Bustec Production Ltd vanis bustec com Done Figure 15 Resource Manager Output Page 3 3 3 VXI Trigger Control The VXI Trigger Control page allows you to route the VXIbus trigger lines fr
37. dom number generator By using the embedded web interface the ProDAQ 3080 can also be configured to use a static IP address 2 5 1 Accessing the ProDAQ 3080 using Dynamic DNS If there is a Dynamic DNS server available in the network the instrument can be accessed via its hostname The default hostname is prodaq3080 lt serial number gt lt domain gt Where lt serial number gt _ is the 8 digit serial number of the device lt domain gt is defined by the Dynamic DNS server To access the instruments WEB pages just enter the hostname into the address bar of your internet browser for example http prodaq3080 10478812 local lt return gt The serial number of the device can be found on the product label on the module cover 2 5 2 Discovering the ProDAQ 3080 using Multicast DNS The ProDAQ 3080 publishes the availability of its HTTP service so that clients using the Multicast DNS protocol and DNS Service Discovery can access it without knowing its actual IP address Using a zero configuration networking tool like for example Bonjour for Windows for Microsoft Windows 32 bit and 64 bit Operating Systems available at www apple com or Avahi for 32 bit or 64 bit Linux available at www avahi org will allow you to browse your network and discover all ProDAQ 3080 devices The default mDNS service name is Bustec Production Ltd ProDAQ3080 lt serial number gt Where lt serial number gt _ is the 8 digit serial number of th
38. e device To access the instrument using Bonjour open the Internet Explorer on your host computer and check whether the Bonjour explorer bar is visible If not use the Bonjour icon or the menu entry View Explorer Bars Bonjour to show it Double click the ProDAQ 6100 entry to open the instruments embedded web page see Figure 8 Page 16 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual e Bustec Production Ltd ProDAQ 3080 AA 00000001 VXIbus Gigabit LAN Slot 0 Interface Windows Internet Explorer E gt G Ed a prodaq3080 00000001 local Fie Edt View Favorites Tools Help i Favori tes BL Bustec Production Ltd ProDAQ 3080 AA 000 x About Bonjour Bustec Production Ltd ProDAQ 6100 10487861 jome Instrument Home Page 1P Configuration R VXibus instruments A Instrument Model ProDAQ 3080 AA VXIbus Gigabit LAN Siot 0 Interface Manufacturer Bustec Production Ltd System Log Serial Number 00000001 Dena SONNO HostName ProDAQ3080 00000001 local um MONS Service Name Bustec Production Lid ProDAQ 3080 00000001 Manusi MAC Address 00 01 3t10 10 df TCPAP Address 192 168 280 Current Time Thu 11 Mar 2010 10 31 27 UTC Time Source SYSTEM instrument Address String TCPIP 192 168 2 80 INSTR User Description Bustec Production Ltd ProDAQ 3080 00000001 VXIbus Gigabit L
39. ection control Page 32 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual Bustec Production Ltd ProDAQ 3080 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox File Edit View History Bookmarks Tools Help G C X y e http 192 168 168 158 devconfig utl html Wc i D a LEM RE E tte te ProDAQ 3080 4 M06 M 7 Tay Dit ANS rA de Albus Giga AN Slot 0 Interface L a PETES BL 28 4 Home IP Configuration Vxlbus Instruments Device Configuration Firmware Update Device Status System Log Device Configuration T File CiTempifirmuware 1 000 bin Browse Datasheet Browse Manual Status Initializing Progress 0 Back Copyright 2009 Bustec Production Ltd mmm buste o com Sending request to 192 168 168 158 If Figure 27 Firmware Upload Progress C Z During the upload and programming do not navigate away from the page by using the browser controls Any interruption of the update process might render the ProDAQ 3080 unusable WARNING Depending on your connection speed uploading and programming a new firmware image may take several minutes To safely complete the process do not navigate away from the page and do not interrupt the connection to the ProDAQ 3080 or power cycle the mainframe 3 7 Datash
40. eet and Manual Pages The Datasheet and Manual pages allow you to view or download the ProDAQ 3080 datasheet and user manual Copyright 2007 2010 Bustec Production Ltd Page 33 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM This page was intentionally left blank Page 34 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual Chapter 4 Remote Operation The ProDAQ 3080 Gigabit LAN Slot 0 Interface features a VXI 11 RPC server which allows the access from remote hosts via the VISA library This access can be done in two ways either by accessing the VXlbus instruments separately as TCP IP instruments or by mapping the ProDAQ 3080 into the remote VISA configuration as a standard VXIbus interface 4 1 TCP IP Instrument Access To access the VXIbus instruments installed in the same mainframe as the ProDAQ 3080 interface you will need to use resource strings in the format TCPIP board lt host address gt lt interface gt lt logical address gt INSTR where board is the optional index of the LAN interface devices as default device O is used lt host address gt specifies the host name or IP number of the ProDAQ 3080 interface lt interface gt specifies which interface on the ProDAQ 3080 to use currently only vxi0 is supported and lt logical address gt specifies the logical address of the VXIbus instruments t
41. efine the number of elements to transfer The low level access services viMapAddress viUnmapAddress viPeek and viPoke need to be used together First a memory mapping must be established by using the function viMapAddress then viPeek and viPoke can be used to access the mapped register space and viUnmapAddress must be used to undo the memory mapping 4 3 4 Shared Memory Operations Shared memory operations allow allocating memory space on the device to be used exclusively by the session allocating it Figure 39 shows an example of the shared memory operations VXI0 2 INSTR ssion Information mplate Operations sic 1 0 Operations r Input emory 1 0 Operations Mein o Shared Memory Operations Allocate memory from a device s memory region MemFree VI Specific Operations m Output Offset B Returned Status E Figure 39 Shared Memory Operations 4 3 5 VXI Specific Operations VXI Specific Operations are those operations which were implemented to deal with special circumstances you can find only on controller and instruments using the VXIbus to communicate The example shows an operation which can be found only for backplane resources of VXIbus mainframes Page 42 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual VX10 0 BACKPLANE Session Information H Template Operations H Basic 1 0 Operations Md
42. ening a VISA Session Copyright 2007 Bustec Production Ltd Page 45 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM The example shown in Figure 41 contains all necessary steps to connect to a device using VISA functions The first step in a program which uses the VISA library is always to open a session to the default resource manager It provides connectivity to all VISA resources registered with it and gives applications control and access to individual resources The next step is to open a session to the instrument or multiple sessions to multiple instruments The resource name used is a combination of interface type and number logical address of the VXI device and a device type VXI 0 2 INSTR Interface Type 2 Device Type Interface Number Logical Address The interface type for the ProDAQ 3080 Slot 0 Controller is always VXI The interface number is the number which was assigned to the particular 3080 by using the VISA configuration utility see 4 2 Mapped Interface Access The logical address of a VXI device is defined either statically by setting its logical address switch or dynamically during runtime by the resource manager If the resource manager assigned the address dynamically the actual assignment can be found in the output file of the resource manager The device type for VXI instruments is always INSTR Note When running the above example please make sure tha
43. eration the whole network must have the same MTU To achieve the maximum performance it is recommended to configure the network to work with a MTU settings as high as possible User defined name of mDNS services that are advertised by the ProDAQ 3080 Clear this value to revert to factory default Copyright 2007 2010 Bustec Production Ltd Page 21 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM 3 3 VXIbus Instruments The VXIbus Instruments Configuration page shows a table with the VXlbus instruments identified by the embedded resource manager on start up File Edit View History Bookmarks Tools Help Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox CX aos e http 192 168 168 158 instconfig html Wc m 14 06 bustec 9 61 de Home F ro VXIbus Instruments e Matua Resource Management was performed at Wed 17 Mar 2010 12 05 54 UTC System Log LA Slot Manufacturer Name Model Name Device Configuration 0 0 Bustec 0xe70 ProDAG 3080 0x008 More Datasheet f J i zen Manual 1 2 Bustec 0xe70 ProDAQ 3180 Oxc amp c More Back Show Resource Manager Output VI Trigger Control Copyright 2010 Bustec Production Ltd y bustec com i X Done Ui Figure 12 VXIbus Instruments Page By pressing the More buttons to the right of an instruments entr
44. erfaces A new dialog Available Interfaces is shown with a list of unconfigured devices found in the host system To map a remote interface select the Map Network Interface button at the bottom 4 ProDAQ Configuration Utility Add New Interface ET Available Interfaces Type Interface Description Interface Number xo The list to the left shows all available not configured interfaces To add an interface select one of the available interfaces to the left and press DK 5 Map Network Interface OK Figure 29 Add New Interface Dialog In the Add Network Interface dialog you can specify the network address of the remote interface and the local interface on the remote server to use Network Address 192 168 1 80 Type vx x Number 0 Interface Descriptor TCPIP 192 168 1 80 vxi0 x ox Figure 30 Add Network Interface Dialog Page 36 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual To map the ProDAQ 3080 as a VXlbus interface select type VXI and the interface number 0 After selecting Ok the remote interface will be visible in the list of available interfaces wa ProDAQ Configuration Utility Add New Interface 2 x Available Interfaces Type Interface Description Interface Number TCPIP 192 168 1 80 vxi vxo The list to the left shows all available
45. firmly in the corresponding backplane connectors The top and bottom of the front panel of the module should touch the mounting rails in the mainframe Figure 2 Installing the ProDAQ 3080 into a C Size Mainframe Note To ensure proper grounding of the module tighten the front panel mounting screws after installing the module in the mainframe 2 3 Connecting the ProDAQ 3080 Interface The ProDAQ 3080 is equipped with a standard RJ 45 network connector accepting standard Cat 3 Cat 5 Cat 5e and Cat 6 Ethernet cables However to run the interface in a network using 1000BASE T mode in minimum Cat 5e better Cat 6 cables are required The figure on the next page shows the location of the LAN connector on the ProDAQ 3080 front panel The connector features two LED indicators showing the speed and the link status of the connection made see Table 1 Copyright 2007 2010 Bustec Production Ltd Page 11 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM ProDAQ 3080 Ij SYSFAIL hs TRIG IN 6 TRIG our ES 6 CLKIO VO Ethernet eRe L r 5 y n i 5 Ai m y p 1 i Figure 3 ProDAQ 3080 Ethernet Port LED Color Description Off No link SPEED Yellow 10BASE T 100BASE T operation Green 1000BASE T operation Off No Activity ACT ES Blinking Green Activity proporti
46. g the front panel input to trigger line TTL1 status viMapTrigger instr session VI TRIG PANEL IN VI TRIG TTL1 VI NULL VI SUCCESS error handling as shown in the previous examples mapping the front panel input also to trigger line ECLO status viMapTrigger instr session VI TRIG PANEL IN VI TRIG ECLO VI NULL VI SUCCESS error handling as shown in the previous examples mapping trigger line TTL6 to the front panel output status viMapTrigger instr session VI TRIG TTL6 VI TRIG PANEL OUT VI NULL VI SUCCESS error handling as shown in the previous examples close the sessions to the instrument and the resource manager viClose instr session viClose rm session Figure 49 Mapping Trigger Lines Page 56 of 58 Copyright 2007 2010 Bustec Production Ltd Bustec Production Ltd World Aviation Park Shannon Co Clare Ireland Tel 353 0 61 707100 FAX 353 0 61 707106
47. gle access in the same way as internally done for the high level functions The function viUnmapAddress must be used to undo the mapping of the register range Only one mapping per session is allowed by the VISA standard Please not that the functions viPeek and viPoke will work in both cases VI ATTR WIN ACCESS equal to VI DEREF ADDR or equal to VI USE OPERS but will introduce a slightly higher overhead then using direct access if possible 5 2 2 Moving Blocks of Data To move blocks of data between an instruments memory and the host memory the VISA library implements the functions viMoveln and viMoveOut for different transfer sizes In addition a number of attributes can be used to define the type of transfer performed on the VXIbus include lt visa h gt buffer used to store data from the instrument ViUInt16 data 1024 main int argc char argv ViStatus status ViSession rm session ViSession instr session ViChar descr 256 ViUIntl6 value open a session to the resource manager and instrument as shown in Figure 41 Opening a VISA Session not shown here now move a block of 16 bit data from the instrument to the buffer if status viMoveInl6 instr session VI A32 SPACE MEM START 1024 data VI SUCCESS viStatusDesc instr session status descr if status VI SUCCESS printf VISA WARNING viMoveIn16 returned status 08x s n status descr else printf VISA
48. he original anti static packing material is unavailable wrap the ProDAQ module in anti static plastic sheeting and use plastic spray foam to surround and protect the instrument 2 2 Installing the ProDAQ 3080 Interface To prevent damage to the ProDAQ module being installed it is recommended to remove the power from the mainframe or to switch it off before installing 2 2 1 Configuring the Logical Address To allow a host to control the VXI devices in the mainframe via the network using the ProDAQ 3080 the ProDAQ 3080 must be installed as the slot O controller for the mainframe i e it must be installed in the leftmost slot of the mainframe slot 0 and must be configured for using logical address 0 zero The logical address switch is located on the back of the module Figure 1 shows the location of the logical address switch on the ProDAQ 3080 Set each switch to Off for a logical one 1 and to On for a logical zero 0 The picture shows the address switch set to logical address zero 0 log 4 log o Figure 1 Logical Address Switch Location Page 10 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 2 2 2 Installing the ProDAQ 3080 into the Mainframe Insert the module into the mainframe using the guiding rails inside the mainframe as shown in Figure 2 Push the module slowly into the slot until the backplane connectors of the module seat
49. l allow you to select the components to install see Figure 5 VISA Library The core files hardware driver VISA dynamic link library config utility include files of the installation VISA Assistant An interactive graphical user interface for the VISA library It will allow you to use the VISA library without writing your own application Help Files Help files for the VISA library Examples How to program using the VISA library Select Components Choose the components Setup will install Select the components you want to install and clear the components you do not want to install m Description vi VISA Assistant Bustec VISA Library Files v Help Files wj Examples Space Required on C 5288K Space Available on C 19450800 K lt Back Cancel Figure 5 Selecting Components for Installation 8 After selecting Next the wizard will install the files and components for the chosen configuration on your system Page 14 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 9 The next dialog allows you to select options for installing shortcuts to the resource manager configuration utility and the VISA assistant on your desktop as well as to install a shortcut to the resource manager in the Startup folder which will cause the resource manager to be run automatically when the system boots Instal
50. lation Options Please select various installation options IV Create Desktop Shortcut to V Resman IV Create Desktop Shortcut to VISA Config IV Create Desktop Shortcut to VISA Assistant InstallShield lt Back Cancel Figure 6 Selecting Installation Options 10 After selecting next the installation is complete Please choose whether you want to view the readme for the VISA distribution now or whether you want to run the configuration utility immediately to complete the configuration and click Finish Setup Complete Setup has finished installing Bustec YISA Library on your computer IZ Run VISA Configuration Utility Click Finish to complete Setup Figure 7 Finishing the Setup 11 Re start the computer after the installation is complete Copyright 2007 2010 Bustec Production Ltd Page 15 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM 2 5 Accessing the ProDAQ 3080 By default the ProDAQ 3080 uses DHCP to configure its network interface If no DHCP server is found in the network it will attempt to obtain a network address using AutolP AutolP addresses are allocated from the reserved range 169 254 0 0 169 254 255 255 The ProDAQ 3080 will first try to use the address 169 254 x y where lt x gt and lt y gt are the two last octets of the devices MAC address If the address is already in use a new pair of lt x gt and lt y gt will be generated using a ran
51. m Log The System Log page shows the output of the kernel logging facility Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox File Edit View History Bookmarks Tools Help CNN C X uw E htp 192 168 168 158 sysog htmi lt a 2 a 12 22 LOT T PRT aroa nAO 14 49 23 A dorm n D 26 Ea e See Nora ki bustec 19 61 1227 ga ot 0 Interface waran gt me 4 A7 3 a 27 79 k Home Bose System Log LE MINUS Mar 17 12 0555 none BUFCOT inifialzing Tog thread Device Status Mar 17 12 05 55 none BUFCGI opening socket Mar 17 12 05 55 none BUFCGI initializing FCGI request Mar 17 12 05 55 none BUFCGI initialization completed z Mar 17 12 06 03 none dhclient DHCPDISCOVER on eth0 to 255 255 255 255 port 67 interval 7 Device Configuration Mar 17 12 06 03 none dhclient DHCPOFFER from 127 0 0 1 Datashe Mar 17 12 06 03 none dhclient DHCPREQUEST on eth0 to 255 255 255 255 port 67 lasheet Mar 17 12 06 03 none dhclient DHCPACK from 127 0 0 1 Manual Mar 17 12 06 07 none dhclient bound to 192 168 168 158 renewal in 34686 seconds Mar 17 12 08 47 none lighttpd 796 http auth c 1132 digest auth failed for admin wrong password Mar 17 12 25 54 none MARK Mar 17 12 45 54 none MARK Mar 17 13 05 55 none MARK Mar 17 13 25 55 none MARK Mar 17 13 45 55 none MARK Mar 1
52. not configured interfaces To add an interface select one of the available interfaces to the left and press OK w Map Network Intetace ea Figure 31 Updated Available Interfaces List Now you only need to select the interface by clicking on its entry in the list and select an interface number on the right side to which it should be mapped to on this computer After selecting Ok the device is visible in the list of configured interfaces and can be used by any program running on this computer using the VISA library for instrument I O a ProDAQ Configuration Utility Bl x Interfaces Network Instruments VISA Name Interface Description d TCPIP 192 168 1 80 vxi0 Configure Interface Refresh List Resource Manager Figure 32 Updated Configured Interfaces List As the remote interface is now mapped as a standard VXIbus interface onto the computer the resource manager need to run to retrieve the instrument configuration from the remote host To run the resource manager select VXIbus Resource Manager from the VXIplug amp play program group in the start menu Start gt VXIPNP gt VXI Resource Manager During the identification phase it will connect to the remote interface and retrieve the configuration information stored by the embedded resource manager of the remote interface Copyright 2007 2010 Bustec Production Ltd Page 37 of 58 ProDAQ 30
53. o access The specification INSTR is optional Example If the ProDAQ 3080 is configured to use IP address 192 168 1 80 and is installed in the same mainframe as a VXIbus device configured for using logical address 2 access to this device can be gained by using the open statement status viOpen rm_session TCPIP 192 168 1 80 vx10 2 INSTR VI NULL VI NULL amp instr session Hence as the VXI 11 standard allows only for read write RPC messages only message based VXIbus instruments can be operated in this way 4 2 Mapped Interface Access To gain access to all VXIbus instruments via the ProDAQ 3080 Gigabit LAN Slot 0 Interface it is recommended to map the ProDAQ 3080 as a standard VXIbus interface onto the host system To do so select the VISA Configuration Utility Start gt VXIPNP VISA Configuration Utility from the VXlplug amp play program group created during the installation of the VISA library This will start the configuration tool for the VISA library and attached hardware interfaces Copyright 2007 2010 Bustec Production Ltd Page 35 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM ProDAQ Configuration Utility Intedaces Network Instruments VISAName Interface Description Add Intestaces Remove Interface iguie interface Retresh List Resource Manager Figure 28 VISA Configuration Utility To add a new interface select Add Int
54. om to the front panel trigger I Os on the ProDAQ 3080 see Figure 16 By choosing the Front Panel Trigger In selection for any or all of the VXlbus TTL and ECL trigger lines or the Front Panel Trigger Output line any trigger received on the front panel trigger input line of the ProDAQ 3080 will be routed to any or all of the chosen lines While Unrouted and Front Panel Trigger In are the only possible sources for trigger events for the VXIbus TTL and ECL Trigger lines the front panel trigger output line can also receive trigger events from the VXIbus TTL and ECL trigger lines In addition to routing the trigger lines each of the trigger lines can be asserted de asserted or a pulse can be generated by using the buttons Assert Deassert or Pulse to the right of each trigger line source selection Page 24 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox El File Edit View History Bookmarks Tools Help RZ G xX a x http 192 168 168 158 instconfig_trig html ENT Ds prr m LIT 2 ProDAQ Pr TOM ira Z EGEA 2 20 Z 2 s m Home ip Configuration VXI Trigger Control 7 Destination Source Status Device AE Backplane TTLO Front Panel Tiggerm Not
55. on 4 Select Next to review the license agreement for the Bustec VISA library You will need to accept the terms of the agreement by selecting Yes to be able to install the Visa library 5 Select the folder where the wizard will install the components of the VISA library Please note that the location chosen will be the top level directory for a VXIplug amp play standard compliant directory tree and not a single location for the library only If you install VXIplug amp play driver on your PC they will install using the directory tree created by the VISA installation 6 Select Next to choose the type of setup to perform see Figure 4 Typical will install the most common components while Compact will only install the absolute necessary components To choose which components to install choose Custom Copyright 2007 2010 Bustec Production Ltd Page 13 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM Setup Type Select the Setup Type to install Click the type of Setup you prefer then click Next Program will be installed with the most common options Recommended for most users C Compact Program will be installed with minimum required options Custom You may choose the options you want to install Recommended for advanced user lt Back Cancel Figure 4 Selecting the Type of Installation 7 If you have chosen Custom selecting Next wil
56. onal to bandwidth utilization Table 1 LAN Status Indicators Page 12 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 2 4 Installing the VISA Library The VISA library provided by Bustec Production Ltd is used to communicate to the ProDAQ 3080 and the VXI instruments installed together with the ProDAQ 3080 in the same mainframe Note On Microsoft Windows 2000 or Microsoft Windows XP systems it is recommended to install the VISA library from an account having administrator privileges To install it on your PC do the following 1 Apply power to your PC and boot your operating system Close all open applications to allow for a safe installation of the new components 2 Insert the driver CD provided with the module into your PC CD ROM drive If the autorun feature is turned on the CD menu will start automatically If not select Run from your Start menu and type lt drive gt autorun exe where lt drive gt designates the CD ROM drive with the driver CD in it 3 Select VISA Library for ProDAQ Controller from the driver section of the CD menu to start the setup wizard Please note If you have downloaded the Bustec VISA Library from our WEB site all files are packed into a single ZIP archive To start the installation unpack the files into a separate directory on your drive and run the executable setup exe from that locati
57. opyright 2007 2010 Bustec Production Ltd Page 47 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM ViStatus function rmw register ViSession instr session ViBusAddress offset ViUInt16 mod ViStatus status ViChar descr 256 ViAddr address ViUInt16 win access ViUInt16 value D if status viMapAddress instr_session VI_A32_SPACE offset sizeof ViUInt16 VI FALSE ViAddr 0 amp address VI SUCCESS viStatusDesc instr session status descr if status gt VI SUCCESS printf VISA WARNING viMapAddress returned status 08x s n status descr else printf VISA ERROR viMapAddress returned status 08x s n status descr return status status viGetAttribute instr_session VI ATTR WIN ACCESS amp win access VI SUCCESS viStatusDesc instr session status descr if status VI SUCCESS printf VISA WARNING viGetAttribute returned status 08x s n status descr else printf VISA ERROR viGetAttribute returned status 08x s n status descr return status win access VI DEREF ADDR allowed to use pointer or similar value ViUInt16 address value value mod ViUInt16 address value else if win access VI USE OPERS use functions to access memory viPeek16 instr session address amp value value value mod viPokel6 instr session address value if status
58. plication using the VISA library to communicate with the instrument needs to open a session for the resource it wants to use A resource might be a physical resource as for example a VXI instrument or virtual resources like the backplane or the resource manager The session will handle all accesses attributes and services for the particular resource include lt visa h gt main int argc char argv ViStatus status ViSession rm session ViSession instr session ViChar descr 256 open a session to the resource manager if status viOpenDefaultRM amp rm_session VI_SUCCESS viStatusDesc rm_session status descr if status gt VI_SUCCESS printf VISA WARNING viOpenDefaultRM returned status 08x s n status descr else printf VISA ERROR viOpenDefaultRM returned status 08x s n status descr return status open a session to the instrument if status viOpen rm session VXIO 2 INSTR VI NULL VI NULL amp instr session VI SUCCESS viStatusDesc instr session status descr if status VI SUCCESS printf VISA WARNING viOpen returned status 08x s n status descr else printf VISA ERROR viOpen returned status 08x s n status descr return status accessing the instrument close the sessions to the instrument and the resource manager viClose instr session viClose rm session Figure 41 Op
59. r Lines eee eee eee 53 5 5 2 Using Front Panel Trigger Lines t te teet tuve PU tans 54 Table of Figures Figure 1 Logical Address Switch Location 10 Figure 2 Installing the ProDAQ 3080 into a C Size Mainframe 11 Figure 3 ProDAQ 3080 Ethernet Port sss 12 Figure 4 Selecting the Type of Installation 14 Figure 5 Selecting Components for Installation sssss 14 Figure 6 Selecting Installation Options s 15 Figure 7 Finishing the Setup uiia nn actin Se nn ie Neue 15 Figure 8 Using Bonjour to discover the ProDAQ 3080 17 Figure 9 ProDAQ Configuration Utility 18 Figure 10 Instrument Home Page 19 Figure 11 IP Configuration Pages ne ast hehe esa eee at ane 20 Figure 12 VXIbus Instruments Pade 22 Figure 13 Instrument Information and Access Page 23 Figure 14 Instrument Memory lO 23 Figure 15 Resource Manager Output Page uns 24 Figure 16 VXIbus Trigger Control ue oo Stes ne eae ete scutes eee ieee ieee 25 Figure 17 Device Status Pages so ainda aad nn nn 25 Figure 18 Advanced Status Page 26 Figure 19 System bog Page ae tee dance nn eter to EI ee toten re Eo Eee toten re to EE centre 27 Figure 20 Device Configuration Page 27 Figure 21 General Configuration Page
60. rigger lines ECLO G This means that whenever an active trigger is detected on the front panel input of the ProDAQ 3080 both lines will be asserted In general when the viMapTrigger function is called multiple times with the same source trigger line and different destination trigger lines an assertion of the source line will cause all of those destination lines to be asserted To map one or multiple of the VXIbus trigger lines to the front panel output the value VI TRIG PANEL OUT must be used for the destination parameter 0 As with the front panel input multiple lines can be mapped to the front panel output When calling viMapTrigger multiple times with the same destination line and different source lines the destination line will be asserted when any of the source lines is asserted Copyright 2007 2010 Bustec Production Ltd Page 55 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM include lt visa h gt main int argc char argv ViStatus status ViSession rm session ViSession instr session ViChar descr 256 open session to the resource manager if status viOpenDefaultRM amp rm session VI SUCCESS error handling as shown in the previous examples open a session to the instrument status viOpen rm session VXIO0 0 BACKPLANE VI NULL VI NULL amp instr session VI SUCCESS error handling as shown in the previous examples mappin
61. s whether the device shall use a DHCP server in the network or AutolP protocol to automatically obtain the IP configuration or maybe the static IP configuration defined in the form below More than one option may be selected The priority is as follows DHCP AutolP Static For example if DHCP and Static are selected and DHCP fails the Static configuration is set If Static IP was selected as the TCP IP mode this field allows assignment of a static IP address to the ProDAQ 6100s LAN interface If Static IP was selected as the TCP IP mode this field allows assignment of a static subnet mask address to the ProDAQ 6100s LAN interface If Static IP was selected as the TCP IP mode this field allows assignment of a static default gateway for the routing of IP packets If Static IP was selected as the TCP IP mode these two fields allow you to specify the DNS server the ProDAQ 6100 will use for name resolving If DHCP was selected as the TCP IP mode then it is possible to select whether the DNS servers IP addresses shall be acquired automatically DHCP or user defined Static Maximum Transmission Unit MTU maximum size in bytes of an IP packet that can be transmitted without fragmentation including IP headers but excluding headers from lower levels in the protocol stack The default value for a typical network is 1500 bytes It can be defined as high as 9000 bytes jumbo frames For correct interop
62. t blank Page 8 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual Chapter 2 Getting Started The ProDAQ 3080 Gigabit Ethernet VXIbus Slot 0 Interface is a single slot C size VXlbus instrument and can be installed in any slot of a standard C size VXI mainframe To be Slot 0 controller for the VXIbus system it must be installed in the leftmost slot of the VXI mainframe slot O If it is installed in any other slot of a VXI mainframe all slot 0 capabilities MODID CLK10 etc will be automatically turned off Attention To allow access to instruments in the VXI mainframe the ProDAQ 3080 MUST be installed in the leftmost slot of the VXI mainframe slot 0 Installing it into any other slot will only allow you to access the device itself e g for configuration purposes Installing it into any other slot will only allow you to access the device itself e g for configuration purposes If you do so please make sure to set up the logical address correctly to avoid any collision with a slot 0 device already present in the mainframe Note The ProDAQ 3080 Gigabit Ethernet VXIbus Slot 0 Interface does not extend the VXI backplane between mainframes in a multi mainframe system This means that devices sharing the local bus must be installed in the same mainframe To install the ProDAQ 3080 Gigabit Ethernet VXIbus Slot 0 Interface and the necessary software on
63. t starts Note Please allow sufficient time for the device to reboot before trying to access it again Please note as well that depending on your IP and network configuration the device may use a different IP address after reboot e g DHCP Copyright 2007 2010 Bustec Production Ltd Page 31 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM 3 6 7 Firmware Update To update the firmware on the ProDAQ 3080 use the Update Firmware button on the Device Configuration pa ge Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox Ele Edit View History Bookmarks Tools Help e http 192 168 168 158 devconfig_ut html Wc SS G xa L 12 22 Ec 14 06 Home IP Configuration Device Configuration VXibus Instruments Firmware Update Device Status System Log ale LE Browse En Update Firmware Datasheet Manual Copyright 2010 Bustec Production m er Done bustec d T Figure 26 Firmware Update Page First save the file containing the new image on your local host Press the Browse to open the file upload dialog which allows you to browse through your file system and select the file to upload Once the correct file is selected press the Update Firmware button The upload progress and the programming progress will be displayed by a progress bar below the file sel
64. t the logical address used in it matches the logical address setting of the instrument you want to connect to Note Before you can use the above example to connect to your device you must run the VXI Resource Manager 5 2 Programming Register based Devices Register based devices are devices implementing a set of registers in A16 and often in A24 or A32 Programming register based devices is done by reading and writing these registers to change their contents either by bit in groups of bits or in whole 5 2 1 Accessing Registers To access single registers the VISA library offers two groups of functions The first group viln8 viln16 viln32 viOut8 viOut16 viOut32 provides a standardized single word access to a device register in A16 A24 or A32 space Figure 42 shows an example of a function reading a value from a device register modifying the value read and writing it back Q The driver for the ProDAQ 3080 will automatically take care about byte ordering i e it will swap the words to be read or written between the little endian host byte ordering your PC is using to the big endian byte ordering used on the VXIbus Page 46 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual ViStatus function rmw register ViSession instr session ViBusAddress offset ViUInt16 mod ViStatus status ViChar descr 256 ViUInt16 value D if status vilnl6 ins
65. tr session VI A16 SPACE offset amp value VI SUCCESS viStatusDesc instr session status descr if status VI SUCCESS printf VISA WARNING vilnl16 returned status 08x s n status descr else printf VISA ERROR vilInl6 returned status 08x s n status descr return status value value mod if status viOutl6 instr session VI A16 SPACE offset value VI SUCCESS viStatusDesc instr session status descr if status VI SUCCESS printf VISA WARNING viOut16 returned status 08x s n status descr else printf VISA ERROR viOut16 returned status 08x s n status descr return status return VI_SUCCESS Figure 42 Memory based I O The second group of functions is intended to map a register range into the memory of the host and accessing it directly Because this ability is architecture and system dependent the VISA standard foresees an attribute which allows determining whether the range could be physically mapped or the system architecture does not allow it Depending on the value of the attribute VI ATTR WIN ACCESS the range mapped can be directly accessed e g by using a C style pointer or the functions viPeek8 viPeek16 viPeek32 viPoke8 viPoke16 and viPoke32 must be used to access registers in the mapped range Figure 43 shows the same function as in Figure 42 this time implemented with memory mapping functions C
66. tring TCPIP 192 168 168 158 INSTR User Description Bustec Production Ltd ProDAQ 3080 00120227 VXIbus Gigabit LAN Slot 0 Interface Asset Number not assigned Instrument Revision 14 L CC 7T7 X 7 cc c NNI Copyright 2010 Bustec Production Ltd y bustec com si X Done A Figure 10 Instrument Home Page From here you can navigate to the different categories and pages by using the menu on the left side For security reasons all pages except of the instruments home page are protected by username and password which can be configured on the Device Configuration gt Security Settings page Upon delivery the username and is set to admin and the password to 1234 Copyright 2007 2010 Bustec Production Ltd Page 19 of 58 ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3080 XX UM 3 2 The IP Configuration Page allows you to change the settings for the ProDAQ 3080 s LAN interface IP Configuration Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox File Edit View History Bookmarks Tools Help Go X uw s 8 np 192 168 168 158 anconfig html Y y a V IS 12 22 eS 14 06 bustec Home ae VXibus Instruments m Hostname ProDAQ3080 00120227 Device Status User description Pustec Production Ltd ProDAQ 3080 00120227 VXIbus Gigabit LAN Slot 0 Interfa
67. u N Slot 0 Interface 278 27 aa Na OE Pe us x Home Gagan Device Configuration VXIbus Instruments Security Settings Device Status User Name admin System Log ena Datasheet New Password Manual Re type New Password Back Change Password Copyright 2010 Bustec Production Ltd ww bustec com Done A Figure 22 Security Settings Page Page 28 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3 6 3 VXIbus Settings The VXIbus Settings page allows you to configure how the ProDAQ 3080 accesses the VXIbus Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox File Edit View History Bookmarks Tools Help Go Cx o y http 192 168 168 158 devconfig_bus html E a V 7S m 12 22 30 m 14 06 2 5 bustec 29 61 24442 l AN Slot 0 Interface gt gt d x Home IP Configuration Device Configuration Taie VXIbus Settings Device Status Bus Timeout 1024 microseconds x System Log Bus Arbiter Mode Priority x Datasheet Bus Arbiter Timeout 0 disabled T Manual Bus Requester Mode Fair X Bus Requester Level 3 z Bus Req Release Mode Release on request Access Counter ON 512 Bytes La Access Counter OFF 0 disabled L2 Back ResetForm Save Values Copyright 2010 Bustec Production Ltd m au bustec com a Done Z
68. viUnmapAddress instr_session VI_SUCCESS viStatusDesc instr session status descr if status VI SUCCESS printf VISA WARNING viUnmapAddress returned status 08x s n status descr else printf VISA ERROR viUnmapAddress returned status 08x s Wn status descr return status return VI_SUCCESS Figure 43 Register I O using memory mapping Page 48 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual In the above example the function viMapAddress is used to map a register range starting with offset and extending over the size of the register into the memory of the host If this is successful the attribute VI ATTR WIN ACCESS is checked to see whether the controller was able to map the address range physically into the memory space of the controller or whether the mapping was done only logically Q If the mapping was done physically the application is allowed to use the address the register range is mapped to as if it is accessing its own memory So for example C style pointers may be used to change the register value If the mapping was done only logically the application need to use the functions viPeek and viPoke provided by the VISA library to access the mapped register range The VISA library will use the stored values for the mapped offset and range to calculate the physical address and execute a sin
69. y a separate page with additional information about the particular device is shown see 3 3 1 where you can perform basic I O operations in a way similar to the VISA assistant The Show Resource Manager Output button displays the log file written by the embedded resource manager on start up The VXI Trigger Control button lets you access a page where you can set the routing of the VXIbus backplane trigger lines and the ProDAQ 3080 front panel trigger I Os Page 22 of 58 Copyright 2007 2010 Bustec Production Ltd 3080 XX UM ProDAQ 3080 Gigabit LAN Slot 0 Interface User Manual 3 3 1 Instrument Information and Access The Instrument Information and Access page shows detailed information about the VXlbus instrument as discovered by the embedded resource manager Bustec Production Ltd ProDAQ 3080 AA 00120227 VXIbus Gigabit LAN Slot 0 Interface Mozilla Firefox E x File Edit View History Bookmarks Tools Help e c x fu http 192 168 168 158 instconfig_more html la 1 TE ProDAQ 3080 mmm L i Ta M ICIVUAS JVC 7 14 06 CORRE LA ee ied ARH E lt bustec 19 6 HNVXIBUS Giga N Slot 0 Interface ran gt y LII 27 79 x 2a lt s Home A VXIbus Instruments Instrument Information and Access Device Status Logical Address 1 lem Lo S S Slot 2 RME Manufacturer ID Bustec Oxe70 Datasheet Model Name ProDAQ 3180
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - UQコミュニケーションズ Mesures PQP Gruyère-Veveyse - Union des paysans fribourgeois Midi Tube Preamp 580 Philips 29PT5642 29" real flat TV 剛確 SmarthghnngEc。 取扱説明書 Ilumiline 21 IP Optic Series Copyright © All rights reserved.
Failed to retrieve file