Home

2050 User Manual - Digalog Systems, Inc.

image

Contents

1. PXI Bus Power 0050 2011 000000000000 0050 2006 24VDC 0000 5934 6000 1021 0050 5101 E Stop On Off Assembly O 1 CG On Off E Sto CH S 0003 0006 AC Fan Assembly 0000 5934 e 0000 5928 208 240VAC In e CD o w 208 230VAC FI F2 F3 Fa 250VAC 250VAC 250VAC 250VAC 10A 4A 1A 10A 10A MDL MDL MDL MDL 50 60Hz Front AC Power Management Rear 0050 2006 24VDC
2. State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid or is different than the value you specify This instrument driver contains high level functions that set most of the instrument attributes It is best to use the high level driver functions as much as possible They handle order dependencies and multithread locking for you In addition they perform status checking only after setting all of the attributes In contrast when you set multiple attributes using the SetAttribute functions the functions check the instrument status after each call Also when state caching is enabled the high level functions that configure multiple attributes perform instrument I O only for the attributes whose value you change Thus you can safely call the high level functions without the penalty of redundant instrument I O PROTOTYPE ViStatus dI50Sw_SetAttributeViBoolean ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViBoolean attributeValue lt int gt dI5OSw SetAttributeViBoolean ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session 174 Series 2050 Test System 2050 Switch Family channelName If the attribute is channel based thi
3. viCheckErr TakeAction2 vi viCheckErr dl50Sw_LockSession vi amp haveLock if flags amp BIT 3 viCheckErr TakeAction3 vi Error At this point you cannot really be sure that you have the lock Fortunately the haveLock variable takes care of that for you dI5OSw UnlockSession vi amp haveLock return error Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred 192 Series 2050 Test System 2050 Switch Family To obtain a text description of the status code call the di50Sw_error_message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF IviSwtch Warnings 3FFA0000 to 3FFA1FFF IVI Warni
4. Bank O CH8 CH15 havea V1 bus and a V1 bus Bank 1 CH16 CH23 havea V2 bus and a V2 bus Bank 2 CH24 CH31 havea V3 bus and a V3 bus Bank 3 One bank of 8 channels is shown in figure 1 All the switching for these tests is done on the 6622 using IVI calls The meter is utilised in 4 wire measurement mode The tests are conducted as follows For the first test CHO is connected to the 20 Ohm resistor and the VO terminal is switched in on the 6622 card Figure 2 Figure 2 MS 20 ohm 4 M M V0 Ms Due to the series posistor not shown and under normal ambient operating temperatures the expected returned reading should be in the range 22 to 30 Ohms If for some reason the 6622 board gets overheated this test will fail with a higher resistance One possible reason for this board overheating could be the failure of the fans located below the PXI rack Next CHO is connected to the 100K resistor instead of the 20 Ohm resistor The V0 terminal remains switched on the 6622 card Figure 3 Figure 3 MS M V0 E The third test disconnects the 4 VO bus and connects the VO bus The 20 ohm resistor is connected to this bus and measured Series 2050 Test System 211 Discrete Switching For the fourth test CHO is connected to the 100K resistor instead of the 20 Ohm resistor The MO terminal remains switched on the 6622 card The four tests described above are then repeated for each ch
5. 3 3VDC 15 3 3VDC 16 3 3VDC 17 3 3VDC 18 3 3VDC 19 12VDC Rtn 20 12VDC 21 12VDC 22 Signal Rtn 23 Reserved 24 12VDC Rtn 60 33 3 3V Remote Sense 34 Sense Rtn 35 5V Current Share 36 12V Remote Sense 37 N C 38 Degrade Signal 39 Inhibit 40 N C 41 3 3V Current Share 42 Fail Signal 43 N C 44 12V Current Share 45 Chassis Gnd 46 AC Input Neutral 47 AC Input Line 12VDC 9 Enable 10 12VDC Rtn 11 12VDC 12 Inhibit 13 N C 14 N C 15 Signal Rtn 16 5V Remote Sense 17 Sense Rtn 18 N C 19 3 3V Remote Sense 20 N C 21 N C 22 N C 23 N C 24 N C 25 5 3 3 Rtn 26 5 3 3 Rtn 27 3 3VDC 28 3 3VDC 29 Series 2050 Test System Hardware AC Power Management 24VDC to Mass Interconnect Fan Assembly PXI Fan Assembly Mass Interconnect P S amp RIC P S 0050 2006 1 24VDC 24VDC 1 2 N C N C 2 3 Ground Ground 3 4 N C N C 4 Series 2050 Test System 61 Hardware AC Power Management To RCS Controller 0050 2007 1 24VDC Shield 1 2 N C N C 2 3 Ground Ground 3 4 N C N C 4 24VDC 5 One 62 Series 2050 Test System Hardware Fault Inhibit From Mass Interconnect P S to J5 on Testhead P S 0050 2010 1 Fault Loop Out PS1 Fault In Col 1 2 Gnd PS1 Fault In Emtr 2 3 N C N C 3 4 N C N C 4 5 N C N C 5 6 N C N C
6. Successful but invoke no handlers for this event Successful but session has nested shared locks Successful but session has nested exclusive locks Successful but operation not asynchronous Unknown svstem error miscellaneous error Session or object reference is invalid Resource is locked Invalid expression specified for search Resource is not present in the svstem Invalid resource reference specified Parsing error Invalid access mode Timeout expired before operation completed Unable to deallocate session data structures Specified degree is invalid Specified job identifier is invalid Attribute is not supported by the referenced object Attribute state not supported bv the referenced object Specified attribute is read only Lock type lock not supported by this resource Invalid access key Specified event type not supported by the resource Invalid mechanism specified A handler was not installed Handler reference either invalid or was not installed Specified event context invalid Event queue for specified type has overflowed Event type must be enabled in order to receive User abort during transfer Violation of raw write protocol during transfer Violation of raw read protocol during transfer Device reported output protocol error during transfer Device reported input protocol error during transfer Bus error during transfer Unable to queue asynchronous operation Unable to start operation because setu
7. channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window vou can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt 118 Series 2050 Test System 2050 Switch Family A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the Vilnt32 type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than Vilnt32 are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pr
8. 1 Close relay Series 2050 Test System 235 2050 Appendix C ProtoRelayControlList This function is used to open or close a list of relays which is being controlled by the 2050 R I C Prototyping card given by ProtoHandle The ProtoHandle parameter is the handle to the card This handle is obtained by using the Init ProtoRelayControl call This call accepts two arrays One array contains the relays to access and the other array contains the state of the relay The elements in the arrays are a one to one match Meaning the first element in the state array specifies the state of the relay given in the first element of the relay array The call also ac cepts a parameter that specifies how many array elements are valid Each array must have as many elements as is specified by the ListLen parameter The relays are opened or closed one at a time in the order they are in the ar ray This call does not wait for the relay to open or close It is up to the user to provide a delay long enough for the relay to open or close CVI Declaration u int32 DLIprc ProtoRelavControlList u int32 ProtoHandle int16 Relay int16 State int16 ListLen u int32 DLIprc_ProtoRelayControlList ProtoHandle Relay State ListLen ProtoHandle Handle of the R I C Prototyping Card to access Relay Array of relay numbers that are to be changed State Array of relay states that are to be changed ListLen Length of the
9. If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window vou can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt 124 Series 2050 Test System 2050 Switch Family A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViSession type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViSession are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value which you want to verify as a valid value for the attribute From the funct
10. Indicates the state of the switch module The driver returns the value of DL5OSW ATTR IS DEBOUNCED attribute The value VI TRUE indicates that all the paths that vou created have settled The value VI FALSE indicates that all the paths that you created have not settled Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI50Sw_GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors 158 Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000
11. Relay and State arrays It is up to the user to guarantee that the arrays are as long as ListLen 236 Series 2050 Test System 2050 Appendix C ResetProtoControlRelavs This function is used to open all of the relavs that are controlled from one R I C Prototyping card CVI Declaration u int32 DLIprc ResetProtoControlRelavs u int32 ProtoHandle u int32 DLIprc_ResetProtoControlRelays ProtoHandle ProtoHandle Handle of the R I C Prototyping Card to access Series 2050 Test System 237 2050 Appendix C 238 Series 2050 Test System Analog Backplane Digalog Signal Conditioning Mass Interconnect Panel o ojjo ojjo o Mass a Interconnect P S Front 5 o ojjo ojjo o 0050 0033 PXI Fan Assemblv Boards WOCH En Cain ges WOCH CH Svstem Controller EJ ms ag g Bi o cen E H LE GEMINI ii li il 0050 2001 0050 2002 0050 2014 Prox Fault ba 6000 1039 GPIB PXI Data Bus o RIC P S Rear Egiio eC Kl 0050 2013 0050 2006 24VDC 0050 2005 6000 1039 GPIB Fee 0050 2010 PBP S Fault 0050 2011 RCS Fault 6000 1021 6000 1021 0050 2006 24VDC 6000 1021 RIC P S Front 0000 3984 Fault Inhibit 0050 2003 UPS REPO Cable
12. The function returns an empty string in the Coercion Record parameter if no coercion records remain for the session PROTOTYPE ViStatus dI5OSw GetNextCoercionRecord ViSession instrumentHandle Vilnt32 bufferSize ViChar VI FAR coercionRecord lt int gt dI50Sw_GetNextCoercionRecord ViSession instrumentHandle bufferSize coercionRecord instrumentHandle The ViSession handle that you obtain from the dI5OSw init function The handle identifies a particular instrument session Series 2050 Test System 137 2050 Switch Family 138 bufferSize coercionRecord Return Value Pass the number of bytes in the ViChar array you specify for the Coercion Record parameter H the next coercion record string including the terminating NUL byte contains more bytes than you indicate in this parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 If you pass a negative number the function copies the value to the buffer regardless of the number of bytes in the value If you pass 0 you can pass VI NULL for the Coercion Record buffer parameter Returns the next coercion record for the IVI session If there are no coercion records the function returns an empty string The b
13. 0050 1216A PPS Selftest board was designed to evaluate tester capabilities relative to power supplv resources ported through the 0050 5104 PPS MIC interconnect The HP 6652 power supplv is capable of delivering 0 20V at 0 25A The purpose of these tests is to ensure the supply can deliver the voltages and currents specified Test 1 The first batch of tests cycles the HP 6652 through it s range of voltages 0 20V The voltage is measured each time the voltage of the supply is re programmed This test exercises the capabilitv of the power supplv to provide the proper voltage over its full scale range Simplified diagram of connections for the voltage tests V VS M Timer Switch HP 6652 fun 0 01 ohms Test 2 For the current tests the meter is connected across the 0 01 Ohms resistor The current is calculated using Ohms law This test exercises the capabilitv of the power supplv to provide current over a range 222 Series 2050 Test System PPS Selftest Simplified diagram of connections for the current tests V VS Timer Switch HP 6652 M 0 01 ohms Gr The timer switch is connected to a timing circuit which is triggered just before the tests begin Should a problem occur on the system and it hangs during the middle of a test where the current may be a maximum the circuit only remains active for a maximum of approximately 30 seconds Thus the circuit is protected from overheating and any related prob
14. 19 5V Sense sense 12 19 5V Common rout 13 15V Sense out 14 15V out 15 15V Sense sense 16 15V Common out 17 N C 18 N C 19 KEY PLUG J4 Digital Motherboard Connector Signal 1 5V 2 5V 3 5V Sense 4 N C 5 5V Common 6 5V Common 7 5V Sense 8 Keying Plug 9 N C 10 EXT PS FAULT LOOP OUT 11 PS1 FAULT COL 12 PS1 FAULT EMTR 13 GND 14 GND 15 Keving Plug 16 N c 17 N C 18 N C 19 N C Series 2050 Test System Hardware 25 Hardware 26 Series 2050 Test Svstem Series 2050 Test System Hardware PXI Chassis Assembly 27 Hardware PXI Chassis Assembly Typical Typical Switchir DMM Digitize ARB SCT D PER PR PR AR PR LLI AI PP 28 Series 2050 Test System Hardware PXI Chassis Assemblv The PXI Chassis Assemblv provides an open architecture solution for the 2050 Test Svstem It uses the industrv standard PXI bus as the control for the instrumentation cards It comes standard with a PXI power supplv from Power One Bv using a 6U chassis instead of a 3U chassis there is enough room for the additionof a Digital Backplane for the Resource Interface Chassis RIC The serial interface provides the communications link between the PXI rack and the svstem controller A PCI board is installed in the PCI bus of the svstem controller A PXI board is also installed in the PXI rack The PCl to PCI bridge uses a 2 meter copper cable to provide a high speed serial link
15. 2050 Test System Hardware Tvpical 2050 Test System Rear Access Door Resource Interface Chassis P S AC Power Management Series 2050 Test System i De H D ns Ji A Bier 9000 eis Vent Mass Interconnect P S External Connectors PC Video Kb Mouse Fan Assembly 11 Hardware 12 Series 2050 Test Svstem Series 2050 Test System Hardware System Controller 13 Hardware Tvpical 2050 Svstem Controller Parallel Printer GPIB USB 2 0 Network PCI to PCI Bridge USB 2 0 Keyboard Mouse Video 14 Series 2050 Test System Hardware Svstem Controller The computer in the Series 2050 Test Svstem is an industrial rack mount controller with an ATX form factor motherboard It typically features e 2 8GHz Pentium IV processor 533MHz FSB e 1GBPC2700 333MHz DDR SDRAM e 10 100 LAN e Dual EIDE ATA100 ports e On board VGA amp sound e 4 USB 2 0 ports e 1 44 MB floppy drive e 40 GB ATA100 EIDE hard drive e 4 7GB 4X DVD RW R CD RW drive e Windows XP Pro e Norton AntiVirus e Symantec V2i Protector Serial Interface The serial interface provides the communications link between the PXI rack and the computer A PCI board is installed in the PCI bus of the system controller A PXI board is als
16. 2050 Test System 99 2050 Switch Family dI5OSw Disable This function places the instrument in a quiescent state where it has minimal or no impact on the svstem to which it is connected PROTOTYPE ViStatus dI5OSw Disable ViSession instrumentHandle lt int gt dI5OSw Disable ViSession instrumentHandle 100 instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dISOSw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in H
17. 37 Sp 13 3 Sp 939 Sp 73110 SE 7311 Sp 7311 Sp 7313 BE 7314 e Er EE EEI EEI ED BI BI BE EE LI A C Ser EE d A a AE EL LEE oe Wo ere Er Ei Ee ee ei BE 7314 E JE EVE LEO Ee E LEX EL to OAO EI L sat 2 37 Hardware Digital Backplane The digital backplane has three main purposes One is to provide the digital power to the RIC cards The second is to provide the parallel or serial communication from the 2050 PXI Bus Controller card and the RIC cards The third is to provide the 68 Pass Through Signals from the PXI rack to the RIC cards The main use for the Pass Through Signals is to provide a means to get the inputs and outputs from a 3U PXI instrument card up to the RIC cards or out to the Mass Interconnect Panel This is accomplished by installing a 3U Pass Through card above the 3U PXI instrument card The PXI instrument card s inputs and outputs can be connected to the Pass Through card with external cables The Pass Through cards will then route the 68 signals to the digital backplane which then routes the signals to the RIC slot Tvpicallv the RIC card will then route the Pass Through Signals to the Mass Interconnect Panel In addition some RIC cards will provide a means to connect their circuitrv to the Pass Through Signals An example is the 128x4 Matrix card that allows the user to connect eight of the Pass Through Signals to the Matrix card s buses Please note the 68 Pass Through Signals are shared with the para
18. 6 7 PS1_Fault_In_Col Fault Loop Out 7 8 PS1_Fault_In_Emtr Gnd 8 SOO 00O OO OO Series 2050 Test System 63 Hardware RIC P S J6 To Fault Inhibit On RCS Controller 0050 2011 P1 P2 RCS Controller 1 Ext_Fault_2 Ext_Fault_2 1 2 Gnd Gnd 2 3 Fault_Out2_Col 3 4 Fault_Out2_Emtr 4 5 Fault_Out2_Col 6 Fault_Out2_Emtr 7 N C 8 N C GO 60 64 Series 2050 Test System Hardware Mass Interconnect P S To RIC 0050 2012 Patchboard P S 1 N C 2 Keying Plug 3 N C 4 5VDC 5 5V Sense 6 5V Common 7 5V Sense 8 N C 9 15V Sense 10 15VDC 11 15V Common 12 15V Sense 13 15V Sense 14 15VDC 15 15V Common 16 15V Sense 17 N C 18 N C 19 N C Series 2050 Test System Testhead 5VDC 1 5V Sense 2 N C 3 15V Sense 4 15V Sense 5 N C 6 15V Sense 7 15V Sense 8 5V Sense 9 5V Common 10 15VDC 11 15V Common 12 N C 13 15V Common 14 15VDC 15 O O0O0O000O0 Q Q Q Q Q Q Q Q 65 Hardware PPSO UUT Power From Relav Dis Connect 0500 2013 To A1 Out1 Out2 TB2 A2 Out1 Out2 Out1 14AWG White 1 1 N C Out2 14AWG White 2 Sense 20AWG BIk Wht 3 2 N C Sense 20AWG Black 4 3 Sense Out1 14AWG Black 5 4 N C Out2 14AWG Black 6 5 Sense O OOGO 8 66 Series 2050 Test System Hardware RIC J7 To
19. An optional DMM can be used for measuring analog signals The Pass through card acts as a 3U to 6U slot adaptor allowing a 3U card to be easilv inserted into the 6U rack The external signals from the DMM are connected to the Pass Through board through the use of a short external cable These external signals are routed through the Pass Through board to the Digital Backplane on the RIC Access to these external signals at the receiver panel is then possible if a 2050 board with signal pass through capabilities is present in the corresponding 2050 RIC slot The Bus Controller is a GU PXI card designed to bridge map 2050 card 1 O logic into the system controller s memory for direct control The design consists of a FPGA PCI interface core system board parallel bridge I O control logic system board serial I O control logic and PXI trigger bus I O buffers The FPGA and PCI core provides a compliant PCI PXI interface The custom control logic bridges I O functions between the PCI PXI bus and the 2050 RIC boards Series 2050 Test System 29 Hardware 30 Series 2050 Test System Hardware Resource Interface Chassis Series 2050 Test Svstem 31 Hardware L f sel JILJJJJUJ S d pauUOdJa U SSEW JONPOJA GU 9001 05004 euedeg peysa o H ES SC b d 1 6020 o ol 020 Go 8001 0S00 Juejdjoeg Sojeuy SISSEU JIBJJOJUJ JIJNOSOJ din did tin
20. BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Tvpes Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw SetAttributeViSession This function sets the value of a ViSession attribute This is a low level function that vou can use to set the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid or is different than the value you specify This instrument driver contains high level functions that set most of the instrument attributes It is best to use the high level driver functions as much as possible They handle order dependencies and multithread locking for you In addition they perform status checking only after setting all of the attributes In contrast when you set multiple attributes using the SetAttribute functions the functions check the instrument status after each call Also when state caching is enabled the high level functions that configure multiple attributes perform instrument I O only for the attributes whose value you change Thus you can safely call the high level functions without the penalty
21. Default Value VI FALSE 0 Don t Reset You can use this control to set the initial value of certain attributes for the session The following table lists the attributes and the name you use in this parameter to identify the attribute Name Attribute Defined Constant RangeCheck DL50SW_ATTR_RANGE_CHECK QuervinstrStatus DL5OSW ATTR QUERV INSTRUMENT STATUS Cache DL5OSW ATTR CACHE Simulate DL5OSW ATTR SIMULATE RecordCoercions DL5OSW ATTR RECORD COERCIONS DriverSetup IVI ATTR DRIVER SETUP Note The format of this string is AttributeName Value where AttributeName is the name of the attribute and Value is the value to which separate their assignments with a comma 152 Series 2050 Test System 2050 Switch Family If you pass NULL or an empty string for this parameter and a VISA resource descriptor for the Resource Name parameter the session uses the default values for the attributes The default values for the attributes are shown on the next page Attribute Name Default Value RangeCheck VI TRUE QuervinstrStatus VI FALSE Cache VI TRUE Simulate VI FALSE RecordCoercions VI FALSE DriverSetup see below If you pass NULL or an empty string for this parameter and a virtual instrument or logical name for the Resource Name parameter the session uses the values that you configure for virtual instrument or logical name with the IVI Configuration utility You can override the values of the attributes by assigning a value expl
22. EStop NC 2 EStop NO 1 EStop NO 1 Power Off Power On Off Power On Power Light Rtn JO O1 P ND J15 Out to REPO Signal on UPS Connector Signal N C N C To REPO P1 To REPO P2 N C N C N C N C JO O1 P ND 20 Series 2050 Test System Hardware Resource Interface Chassis P S Series 2050 Test Svstem 21 Hardware RIC P S 000000000000 FOR CONTINUED PROTECTION AGAINST RISK OF REPLACE ONLY WITH amp TYPE AND RATING OF FUSE Resource Interface Chassis Power Bo CONTROLLER m 12 0412 045 O Mess Interconnect OFroduct PS OMI Handle ORIC PS o o GGOb Mass To Analog Interconnect 24VDC In Backplane P S Fault in RIC 2 J Product 000000000 P S Fault 0000000000 0000000000 0000000000 O000000000 GPIB 0000000000 0000000000 0000000000 0000000000 J4 Proximinity Switch SCH Faul 220VAC In To Digital all Backplane in RIC 22 Series 2050 Test Svstem Hardware RIC Power Supply Assembly The RIC Power Supply Assembly provides the 2050 Series Test System with 15VDC 3 0A 5VDC 18A 19 5VDC 4 8A and 19 5VDC 4 8A The layout of the back panel is shown to the left The following pages show the pinouts for both the J3 Analog Backplane and J4 Digital Backplane connectors Note that the five power supplies utilize sense circuitry to maintain accurate output voltages with respect to the AC line voltage The use of a G
23. Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSwW GetChannelName This function returns the highest level channel name that corresponds to the specific driver channel string that is in the channel table at an index vou specifv Bv passing O for the buffer size the caller can ascertain the buffer size required to get the entire channel name string and then call the function again with a sufficientiv large buffer PROTOTVPE ViStatus dI5OSw GetChannelName ViSession instrumentHandle Vilnt32 index Vilnt32 bufferSize ViChar VI FAR channelNamell lt int gt dI5OSw GetChannelNamel ViSession instrumentHandle index bufferSize channelNamell instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session index A l based index into the channel table bufferSize Pass the number of bytes in the ViChar array you specifv for the Channel Name parameter If the channel name including the terminating NUL byte contains more bytes than you indicate in this parameter the function copies BufferSize 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 If you pass a negative number t
24. ID of an attribute From the function panel window you can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViStringn type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViString are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value to which you want to set the attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of
25. IVI Errors VISA Errors VXIPnP Driver Errors 155 2050 Switch Family dI5OSw InvalidateAllAttributes This function invalidates the cached values of all attributes for the session PROTOTYPE ViStatus dI5OSw InvalidateAllAttributes ViSession instrumentHandle lt int gt dI5OSw InvalidateAllAttributes ViSession instrumentHandle instrumentHandle Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls Notes 1 This function creates a new session each time you invoke it This is useful if you have multiple physical instances of the same type of instrument 2 Avoid creating multiple concurrent sessions to the same physical instrument Although you can create more than one IVI session for the same resource it is best not to do so A better approach is to use the same IVI session in multiple execution threads You can use functions dI5OSw LockSession and dI5OSw UnlockSession to protect sections of code that require exclusive access to the resource Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI50S
26. Returns the instrument driver software revision numbers in the form of a string You must pass a ViChar array with at least 256 bytes firmwareRevision Return Value The firmware revision is not available at this time A blank string will be returned for the firmware revision You must pass a ViChar array with at least 256 bytes Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI50Sw_GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value 0 Positive Values Meaning Success Warnings Negative Values Errors Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF B
27. State caching is enabled and the currently cached value is invalid or is different than the value you specify This instrument driver contains high level functions that set most of the instrument attributes It is best to use the high level driver functions as much locking for you In addition they perform status checking only after setting all of the attributes In contrast when you set multiple attributes using the SetAttribute functions the functions check the instrument status after each call Also when state caching is enabled the high level functions that configure multiple attributes perform instrument I O only for the attributes whose value you change Thus you can safely call the high level functions without the penalty of redundant instrument I O PROTOTYPE ViStatus dI5OSw SetAttributeViReal64 ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViReal64 attributeValue lt int gt dI5OSw SetAttributeViReal64 ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session 180 Series 2050 Test Svstem 2050 Switch Family channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an
28. This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test Svstem Status Code Tvpes Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 163 2050 Switch Family dI5OSw reset This function resets the instrument to a known state and sends initialization commands to the instrument The initialization commands set instrument settings such as Headers Off Short Command form and Data Transfer Binary to the state necessary for the operation of the instrument driver PROTOTYPE ViStatus dI5OSw reset ViSession instrumentHandle lt int gt dI5OSw reset ViSession instrumentHandle instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI5OSw InitWithOptions function The handle identifies a particular instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the s
29. Value 0 Positive Values Meaning Success Warnings Negative Values Errors Series 2050 Test System 189 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status 190 codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFATFFF 3FFFO000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw UnlockSession This function releases a lock that vou acquired on an instrument session using dI5OSw LockSession Refer to dI5OSw LockSession for additional information on session locks PROTOTYPE ViStatus dI5OSw UnlockSession ViSession instrumentHandle ViPBoolean callerHasLock lt int gt dI5OSw UnlockSession ViSession instrumentHandle callerHasLock instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session caller HasLock This parameter serves as a convenience If you do not w
30. X2 to BUS3 amp M FileGlobals CLOSED MRLY MEASUREMENT RESULTS ARRAVI3 X2 to BUS2 amp MS X3 to BUSO amp MS X3 to BUST amp M X126 to BUSO amp M FileGlobals CLOSED MRLY MEASUREMENT RESULTS ARRAVI1261 X126 to BUS1 amp MS X127 to BUS2 amp MS X127 to BUS3 amp M X126 to BUSO amp Mt FileGlobals CLOSED MRLY MEASUREMENT RESULTS ARRAY 127 X126 to BUST amp MS X127 to BUS2 amp MS X127 to BUS3 amp M Series 2050 Test System 217 MRI v Selftest MRLY Test 2 This test utilizes the NI 4070 meter card in 2 wire Mode The two meter leads are routed to the NI 4070 measurement card in such a way that they be connected to any bus through internal switching on the selftest card The result of each test is passed to Teststand into the variable fileGlobals STATE O A successful test is indicated by a 1 returned to this array Any other number suggests a problem within the group of four relays being tested This test will pick up shorts which are not detected in the first MRLY tests Each test is broken down into three smaller tests The illustration below is for channel 0 only but the same tests are repeated for each of the other 128 channels Shorts Test 1 Open expected Shorts Test 2 Short expected 218 Series 2050 Test System MRIy Selftest Shorts Test 3 Open expected If either the first or third test fails indicating one or more shorted relavs then the number 2 is pass
31. bus technologies while providing for the needs of a fully integrated test system using the Resource Interface Chassis RIC For application specific needs the RIC can be configured with a wide selection of signal conditioning source measurement and switching capabilities This configuration provides the accuracy required for many of today s test solutions Mass Interconnect The Series 2050 utilizes the industry standard Virginia Panel Interface as the mass interconnect to the UUT It can be configured with the exact mixture of high density high current coaxial connections needed for any particular UUT This interface may be populated as required and expanded to support changing needs The Virginia Panel Interface provides a reliable industry accepted adapter to the UUT whether using a fixture or wiring harness Series 2050 Test System 7 Overview AC Power Management The Series 2050 integrated AC power management assembly features include e Emergency Stop e Uninterruptable Power Source e Power Monitoring and Shutdown e Power Distribution 8 Series 2050 Test System Hardware Hardware Series 2050 Test Svstem 9 Hardware Tvpical 2050 Test System Front Svstem 0000000 ONI Controller 0000000 B E Stop gitt D Resource em EGEMINI Interconnect l Interface Pane Chassis J PER SE Product P S UPS f A ET Series
32. either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dISOSw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFATFFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family di50Sw_error_query This function reads an error code and a message from the instrument s error queue PROTOTYPE ViStatus dI5OSw error query ViSession instrumentHandle
33. emptv string attributelD Pass the ID of an attribute From the function panel window you can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViReal64 type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViReal64 are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value to which you want to set the attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants a
34. for the attributes whose value you change Thus you can safely call the high level functions without the penalty of redundant instrument I O PROTOTYPE ViStatus dI5OSw SetAttributeVilnt32 ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD Vilnt32 attributeValue lt int gt dI5OSw SetAttributeVilnt32 ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session Series 2050 Test Svstem 177 2050 Switch Family 178 channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an empty string attributelD Pass the ID of an attribute From the function panel window you can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the Vilnt32 type If you choo
35. of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF IviSwtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 117 2050 Switch Family dI5OSw GetAttributeVilnt32 This function queries the value of a Vilnt32 attribute You can use this function to get the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid PROTOTYPE ViStatus dI5OSw GetattributeVilnt32 ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViPInt32 attributeValue lt int gt dI5OSw GetaAttributeVilnt32 ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI50Sw_init or di50Sw_InitWithOptions function The handle identifies a particular instrument session
36. of bvtes in the value If you pass 0 you can pass VI NULL for the Attribute Value buffer parameter Default Value 512 The buffer in which the function returns the current value of the attribute The buffer must be of tvpe ViChar and have at least as many bytes as indicated in the Buffer Size parameter If the current value of the attribute including the terminating NUL byte contains more bytes that you indicate in this parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 If you specify O for the Buffer Size parameter you can pass VI NULL for this parameter From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Return Value Series 2050 Test System Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred
37. of redundant instrument I O PROTOTYPE ViStatus dI5OSw SetAttributeViSession ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViSession attributeValue lt int gt dI5OSw SetAttributeViSession ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI50Sw_InitWithOptions function The handle identifies a particular instrument session Series 2050 Test System 183 2050 Switch Family 184 channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an empty string attributelD Pass the ID of an attribute From the function panel window you can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViSession type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box A
38. of the status code call the di50Sw_error_message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFATFFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAOOOO to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 179 2050 Switch Family dI5OSw SetAttributeViReal64 This function sets the value of a ViReal64 attribute This is a low level function that vou can use to set the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases State caching is disabled for the entire session or for the particular attribute
39. parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window vou can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt Read only attributes appear dim in the list box If you select a read Series 2050 Test System 115 2050 Switch Family only attribute an error message appears A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViBoolean type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViBoolean are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you ca
40. spivog Zumoupuo peusis sojesiq jaueg JaUUODAa U SSEW Series 2050 Test System 32 Hardware Resource Interface Chassis The Resource Interface Chassis RIC was designed to mate the resources of the PXI chassis to the Virginia Panel Interface and ultimatelv to the Device Under Test DUT It consists of a Digital Backplane for communication with the PXI Chassis Assemblv and an optional 2050 svstem board control The Analog Backplane is used for switching and signal conditioning to from the Virginia Panel The Mass Interconnect Panel itself contains seventeen 17 connectors each with 192 pins per connector for a 3264 pin patch panel It also has a positive locking mechanism for the test fixture and a proximitv switch for fault control Power to the Mass Interface Panel is provided bv the Product mass Interconnect P S Interface 0050 5104 This assembly can handle the Mass Interconnect P S outputs and up to five Product Power Supplies Pinouts for the power supplv connectors is as follows J19 Analog Motherboard Connector Signal 1 15V Sense 2 15VDC 3 15V Sense 4 15V Common 5 19 5V Sense 6 19 5VDC 7 19 5V Sense 8 19 5V Common 9 N C 10 N C 11 N C 12 N C 13 N C 14 N C 15 N C 16 N C 17 19 5V Sense Sense 18 19 5VDC 19 19 5V Sense Sense 20 19 5V Common Out 21 15V Sense Sense 22 15VDC 23 15V Sense Sense 24 15V Common Out Series 2050 Test Syste
41. the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 To obtain a text description of the status code or if the status code is not listed below call the dI5OSw error message function To obtain additional information about the error condition use the dI5OSw GetError and dI5OSw ClearError functions The general meaning of the status code is as follows Value 0 Positive Values Meaning Success Warnings Negative Values Errors Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test Svstem Status Code Tvpes Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 133 2050 Switch Family dI5OSw GetError This function retrieves and then clea
42. 0 Matrix Relav Card 1574 Digalog Svstems 2050 Bus Controller Card This driver has all the functions that IVI requires Note This driver requires NI VISA and NI IVI libraries 72 Series 2050 Test System 2050 Switch Family dI5OSw CanConnect This function verifies that the switch module is capable of creating a path between the two channels vou specifv with the Channel 1 and Channel 2 parameters If the switch module is capable of creating a path this function indicates whether the path is currently available given the existing connections If the path is not available due to the currently existing connections but the implicit connection between the two channels already exists the function returns the DL5OSW WARN IMPLICIT CONNECTION EXISTS 0x3FFA2002 warning PROTOTYPE ViStatus dI5OSw CanConnect ViSession instrumentHandle ViChar VI FAR channel1 ViChar VI FAR channel2 ViPInt32 pathCapability lt int gt dI5OSW CanConnect ViSession instrumentHandle channel1 channel 21 pathCompatibilitv instrumentHandle The ViSession handle that you obtain from the dI50Sw_init or di50Sw_InitWithOptions function The handle identifies a particular instrument session channel Vou identifv a path with two channels Pass one of the channel names for which vou want to create a path Pass the other channel name as the Channel 2 parameter channel2 Vou identifv a path with two channels Pass one of the channel names fo
43. 000 to BFFCFFFF Series 2050 Test System Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 87 2050 Switch Family di50Sw_CheckAttributeViString This function checks the validity of a value you specify for a ViString attribute PROTOTYPE ViStatus dI5OSw CheckattributeViString ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViChar VI FAR attributeValuell lt int gt dI5OSw CheckAttributeViString ViSession instrumentHandle channelNamell attributelD attributeValue 88 instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window vou can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and t
44. 1 Hardware PXI Chassis and Mass Interconnect Panel Fan Assemblies Both the Mass Interconnect Panel and the PXI chassis are cooled bv DC fan assemblies These assemblies contain three DC fans powered bv 24VDC from the AC Power Management assembiv Both fan assemblies are identical except for mounting hardware The PXI chassis fan assembly is 0050 0033 and the Mass Interconnect Panel fan assembly is 0050 0035 Fan Assemblies 0050 0033 0035 52 Series 2050 Test System Series 2050 Test System Hardware System Cables 53 Hardware Svstem Cables 0000 3983 0000 5928 0000 5934 0050 2001 0050 2002 0050 2003 0050 2005 0050 2006 0050 2007 0050 2010 0050 2011 0050 2012 0050 2013 0050 2014 6000 1021 6000 1038 6000 1039 54 Product P S to RCS Relav Dis Connect 208 240VAC In 208 240VAC AC Power Management to UPS RIC P S J3 to Analog Motherboard RIC P S J4 to Digital Motherboard UPS REPO Cable PXI Bus Power 24VDC From AC Power Management to Mass Interconnect Panel Fan Assembly PXI Fan Assembly Mass Interconnect P S RIC P S 24VDC To RCS Controller Fault Inhibit From Mass Interconnect P S to J5 on RIC P S Fault Inhibit from RCS Controller To J6 on RIC P S Mass Interconnect P S To RIC Relay Dis Connect To RIC Fault Inhibit from Proximity Switch to J7 on RIC P S 220VAC Power Cable 6 GPIB to RCS GPIB 3 Series 2050 Test System Hardware Agilent 6642A Output to Relay Dis Con
45. 2050 User Manual 4200 0339 V1 0 Table of Contents A a AT 5 Typical Series E ne aan 6 a tr cet ane Co EE ATE 7 o ie den 7 PXI Chassis and We 7 Resource Interface Chassis and Instrumentation 7 Mass UCTS ON Ea a se nets 7 AG EE EE 8 il e 9 Typical 2050 Test System Fonti ee ne dan 10 Typical 2050 Test System R ne be lik 11 EE eege 13 Typical 2050 System CONTE EE 14 System CONTONE betekent 15 DEM al ae teats 15 GPIB Communication KGA i eteri am 15 AC Power EE EE 17 AC Power Management Assembly 0050 5100 19 Resource Interface Chassis P S Son 21 le 22 RIC Power Supply eet ugereegt erer 23 PXI EE 27 EE EE 29 kesolmte lite e 31 Resource Interface Chassis acc i eue 33 PATA TA e 35 Typical Analog Backplane Slot Slot 3 assis danses 36 Digital el EE 38 Mass Interconnect IAEA 39 Mass Interconnect Power Supply Assembly siswisninconsonnonrernadassnverairons 41 24VDC RCS Controller ere kross ek bikes Ee 43 Relay Controller 0050 1020A nano 45 E Stop Power On Off EE 47 Remote E Stop Power Switch Aesermlht ketitugereuerer regeiert 48 AC Fan Assem E 49 PAS APS D a en re du 50 PXI Chassis and Mass Interconnect FANS as 51 PXI Chassis and Mass Interconnect Panel Fan Assemblies 52 Systemi E 53 KE 54 GEET Ii ege 55 OLOQ A i fat bini bo b TER 56 ODA OO a ee beau 57 UM EE 58 ODA OO a e EE E EE NEENA SE 59 0050 2000 B a ni pepe on tr b TR 60 SEH sc i i i 61 EE Eeer een 62 00502010 a p EE EE
46. 20VAC is connected to outputs J4 and J5 for use by the two AC Power terminal strips These strips feed the UUT P S Mass Interconnect P S RIC P S System Controller AC Fan Assembly etc Also when the On Off switch is closed the 220VAC is fed to the primary of a 24VDC linear power supply This 24VDC is used by the control circuitry of the Mass Interconnect P S RIC P S Relay Control System RCS and for both RIC Fan Assemblies Another function of the 24VDC circuitry in the AC Power Management assembly is to sense the position of the E Stop switch and shut down the UPS using the Remote Emergency Power Off REPO line when the switch is tripped Fuses F1 4A 250VAC input to 24VDC Power Supply F2 1A for 24VDC out to connectors J6 J7 J8 J9 J10 amp J11 F3 10A 250VAC for connectors J4 amp J5 F4 10A 250VAC for connectors J14 amp J15 J6 24VDC Out to Mass Interconnect P S Connector Signal 1 24VDC 2 N C 3 GND 4 N C J7 24VDC Out to Resource Interface Chassis P S Connector Signal 1 24VDC 2 N C 3 GND 4 N C Series 2050 Test System 19 Hardware J8 24VDC Out to PXI Fan Assembly Connector Signal 1 24VDC 2 N C 3 GND 4 N C J9 24VDC Out to RCS Controller Connector Signal 1 24VDC 2 N C 3 GND 4 N C J10 24VDC Out Spare J11 24VDC Out to Receiver Fan Assembly Connector Signal 1 24VDC 2 N C 3 GND 4 N C J14 Out to E Stop On Off Switch Assembly Connector Signal EStop NC 1
47. ATTR_IS CONFIGURATION CHANNEL This channel based attribute specifies whether to reserve the channel for internal path creation A channel that is available for internal path creation is called a configuration channel The driver may use configuration channels to create paths between two channels you specify in the dI50 Sw_ Connect function Configuration channels are not available for external connections Set this attribute to VI TRUE to mark the channel as a configuration channel Set this attribute to VI FALSE to mark the channel as available for external connections After vou identifv a channel as a configuration channel vou cannot use that channel for external connections The dI5OSw Connect function returns the DL5OSW ERROR IS CONFIGURATION CHANNEL error when vou attempt to establish a connection between a configuration channel and anv other channel DL5OSW ATTR IS DEBOUNCED This attribute indicates whether the entire switch module has settled since the last switching command A value of VI TRUE indicates that all signals going through the switch module are valid DL5OSW ATTR IS SOURCE CHANNEL This channel based attribute specifies whether vou want to identifv the channel as a source channel Tvpicallv vou set this attribute to VI TRUE when you attach the channel to a power supply a function generator or an active measurement point on the unit under test and vou do not want to 200 Series 2050 Test Svstem 2050 Switch Family conn
48. C22 SB 34 5 OO A23 SB 23 6 B23 BUS SIG 6 C23 SB_34 6 OO A24 SB 23 7 B24 BUS SIG 7 C24 SB 34 7 OOo A25 SB 23 8 B25 BUS SIG 8 C25 SB_34 8 Ooo A26 SB 239 B26 BUS SIG 9 C26 SB_34 9 OO A27 SB 23 10 B27 BUS SIG 10 C27 SB_34 10 OO A28 SB 23 11 B28 BUS SIG 11 C28 SB_ 34 11 Ooo A29 SB 23 12 B29 BUS SIG 12 C29 SB 34 12 OOo A30 SB 23 13 B30 BUS SIG 13 C30 SB_34 13 OOLUQ A31 SB 23 14 B31 BUS SIG 14 C31 SB 34 14 OOo A32 SB 23 15 B32 BUS SIG 15 C32 SB 34 15 36 Series 2050 Test System Hardware The second method to share signals between cards is to use the 16 Bus Left and 16 Bus Right Signals as shown by the red signals below These signals create a daisv chained bus that connects each RIC card with its adjacent card to the left and to the right Thus the Bus Right Signal of a given RIC slot connects to the Bus Left signal of the adjacent slot and so on Slot one only has the 16 Bus Right Signals and slot 18 onlv has the 16 Bus Left Signals The Svstem Bus Signals and the Bus Left Right Signals can handle 100 volts and 0 750 amps slot 4 ze E DEL UTC ELO CL 0 UI m DOOOOOOLOOLOOOOLOULL er EL EIERE EELER ELE ado SS ad 1 SS 243 Bad Ed d SE dds Edad 6 mE dd 7 SS ad 2 Ed 9 dd io SS 341 SS dd iz Eddia E ddid jO ELE ECK E E EELER EL EL EI CL _dd 15 Series 2050 Test System Wi u EI E ER ELE ER ooo DEET DN Sp 930 Sp 131 Sp 133 Sp 23 3 BE 734 SE 73 5 Sp 73 6 Sp
49. E 63 UA EE 64 00502012 nren er TS DT 65 RU EE 66 DDR ennemie 67 2050 SWitch Family pika eee a ea ja ija EE 69 e 19 aa 70 MISS L G EE 73 dl50Sw_CheckAttributeViBoolean stunt 76 DOS CHE RAI EVA de annee 79 dl50Sw_CheckAttributeViReal64 E 82 la E Debatte ere gie eb ess jek a 85 ST e 88 DIS ER SR ae cn damier donne 91 ier Clearinterchanpe Malines sense 93 AIS OSW EE 95 dISOSW CORRE nant pi ENEN a EE E 97 ale 100 AIS OSW DISA A a Eege 102 diS OSw DisconnectAll sesiis E 104 dI5OSW eror IER EEN 106 el TE 113 OBS CelATiIDULENV BOIS nement 115 dl50Sw_GetAttributeVilnt3 EE 118 dl50Sw_GetAttributeViReal64 rs ikiibiikbiappdeti 121 al E i isir jii kotra e iv 124 GIBOS i GetAttrnibuteViString a ap in bi b 127 ae EE 131 dISOSW e ij eea aee E EEEE a 134 ale Ree 137 elle ee EE 140 US E E 143 SE nn do B un 146 AFOSXE DEMAIN mn moon 150 ABOSA e dE 156 IBS ISIS UTA CEE 5 name a manon 158 GIS0S A E TE 160 ISOS g EN 164 GIROSME Resell nierelanpeC NECK nee 166 SE E 168 GIE GUR i Diodes 170 SE leg GE 172 dl50Sw_SetAttributeViBoolean E 174 le Setatinibutev nee cosmos 177 leet SefAtribite VIRE aient 180 ET E 183 di5OSw SetAttributeViSting nent Geer 186 IBS RE SE PA Sn ne dd ne mine 189 GIS 0S Det E 191 GIB US a Wat RE a nomma 194 Attribute Information for the Following Functions sse 196 Te IIE SE sp eba a b ez said 207 Discrete SWitehiNg en annee ne 209 MINS CIE ae b onanuee 213 MRIy TEHA nie tte nn 215 MRO E 218 e
50. ELF OxBFFA2015 if channels 1 and 2 are one and the same channel DL5OSW ERROR PATH NOT FOUND 0xBFFA2011 if the driver cannot find a path between the two channels 1 The paths are bidirectional For example if a path exists between channels CH1 and CH2 then the path between channels CH2 and CHT also exists PROTOTYPE dI5OSw Connect ViSession instrumentHandle ViChar _VI FAR channel1 ViChar VI FAR channel2 lt int gt dl50Sw_Connect ViSession instrumentHandle channel1 channel2 Series 2050 Test System 97 2050 Switch Family instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session channel Vou identifv a path with two channels Pass one of the channel names for which vou want to create a path Pass the other channel name as the Channel 2 parameter Valid Channel Names Model 1510 AO A1 A31 CO C1 C31 Model 1536 AO A7 Analog Backplane PT48 PT55 Pass Through 10 13 Internal Pass Through and Analog bus BUSO BUS3 External channel bus CHO CH127 Channels channel2 You identify a path with two channels Pass one of the channel names for which you want to create a path Pass the other channel name as the Channel 1 parameter Valid Channel Names Model 1510 AO A1 A31 CO C1 C31 Model 1536 AO A7 Analog Backplane PT48 PT55 Pass Thro
51. F VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAOOOO to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 105 2050 Switch Familv dI5OSw error message This function converts a status code returned bv an instrument driver function into a user readable string PROTOTYPE ViStatus dI5SOSw error message ViSession instrumentHandle ViStatus errorCode ViChar VI FAR errorMessagell lt int gt dI5OSW error messagelViSession instrumentHandle errorCode errorMessagell instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session You can pass VI NULL for this parameter This is useful when one of the initialize functions fails Default Value VI NULL errorCode Pass the Status parameter that is returned from anv of the instrument driver functions Default Value O VI SUCCESS dI5OSw Status Codes Status Description WARNINGS 3FFA2001 Some connections remain after disconnecting 3FFA2002 The channels are implicitlv connected ERRORS BFFA2001 Invalid path string BFFA2002 Invalid Scan List string BFFA2003 One of the channels is in use BFFA2004 The scan list string is emptv BFFA2005 The path string is empty BFFA2006 The switch module is currently in scanning mode BFFA2007 The switch module is not currently in scanni
52. FFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test System Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 171 2050 Switch Family dI5OSw self test This function runs the instrument s self test routine and returns the test result s PROTOTVPE ViStatus dI5OSw self test ViSession instrumentHandle ViPInt16 selfTestResult ViChar VI FAR selfTestMessagell lt int gt dI5OSw ViSession instrumentHandlee selfTestResult selfTestMessagell instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI5OSw InitWithOptions function The handle identifies a particular instrument session selfTestResult This control contains the value returned from the instrument self test Zero means success For anv other code see the device s operator s manual Self Test Code Description 0 Passed self test 1 Self test failed selfTestMessage Returns the self test response string from the instrument See the device s operation manual for an explanation of the string s contents Vou must pass a ViChar arrav with at least 256 bvtes Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurre
53. FFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw SetPath This function connects two channels bv establishing the exact path vou specifv with the pathList parameter PROTOTYPE ViStatus dI5OSw SetPath ViSession instrumentHandle ViChar Z VI FAR pathList lt int gt dI5OSw SetPath ViSession instrumentHandle pathList instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI5OSw InitWithOptions function The handle identifies a particular instrument session pathList Return Value Pass the path list for the path you previously created that you want the switch module to establish You obtain the path list for a path you previously created with the dI50Sw_GetPath function Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows
54. FS 10050 5010 232 Description Low Current Relay Board 40A Relay Board W O Curr Controller USB TO GPIB Windows 2000 XP MXI 3 PCI PXI KIT PCI 8330 PXI 8330 2M Digalog 2050 Matrix relav board Digalog 2050 Bus control card Digalog 2050 Prototvping card AVT Multiple protocol unit NI 4070 PXI card Spare fuse Kit for RIC Power Supplv Spare fuse Kit for MIC Power Supplv Mass Interconnect Power Box Series 2050 Test System 2050 Appendix C Appendix C 2050 Export Prototvping Card Functions InitProtoRelavControl This routine returns a handle to the 2050 Prototvping Card specified by Pro toDesc This handle is then passed to the calls used to control the relavs Every handle obtained using this call must be freed by using the CloseProt oRelayControl call If the handle is not freed eventually the system will run out of available handles or it will run out of memory A handle is obtained by passing in the VISA style descriptor string for the 2050 Prototyping Card An example would be 2050 4 INSTR Where the 4 stands for the R I C slot number the card is in R I C slot numbers can be 1 to 18 CVI Declaration u int32 DLIprc InitProtoRelavControl char ProtoDesc u int32 ProtoHandle u int32 DLIprc_InitProtoRelayControl ProtoDesc xProtoHandle ProtoDesc Resource descriptor of the card ProtoHandle Returns the obtained handle Series 2050 Test System 233 2050 Appendix C Clos
55. If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window vou can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt Read only attributes appear dim in the list box If you select a read only attribute an error message appears A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViReal64 type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViReal64 are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type Series 2050 Test System 2050 Switch Family H you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt att
56. If the current value of the return buffer including the terminating NUL byte is larger than the size you indicate in the Buffer Size parameter the function places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire 129 2050 Switch Family value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 To obtain a text description of the status code call the di50Sw_error_message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFATFFF 3FFFO000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF 130 Status Code Tvpes Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA
57. Is Debounced DL5OSW ATTR IS DEBOUNCED Settling Time DL5OSW ATTR SETTLING TIME Bandwidth DL5OSW ATTR BANDWIDTH Maximum DC Voltage DL5OSW ATTR MAX DC VOLTAGE Maximum AC Voltage DL5OSW ATTIR MAX AC VOLTAGE Maximum Switching DC Current DL5OSW ATTR MAX SWITCHING DC CURRENT Maximum Switching AC Current DL5OSW ATTR MAX SWITCHING AC CURRENT Maximum Carrv DC Current DL5OSW ATTR MAX CARRV DC CURRENT Series 2050 Test Svstem 197 2050 Switch Family Maximum Carry AC Current DL5OSW ATTR MAX CARRV AC CURRENT Maximum Switching DC Power DL5OSW ATTR MAX SWITCHING DC POWER Maximum Switching AC Power DL5OSW ATTR MAX SWITCHING AC POWER Maximum Carrv DC Power DL5OSW ATTR MAX CARRV DC POWER Maximum Carrv AC Power DL5OSW ATTR MAX CARRV AC POWER Characteristic Impedance DL5OSW ATTR CHARACTERISTIC IMPEDANCE Matrix Configuration Number of Rows DL5OSW ATTR NUM OF ROWS Number of Columns DL5OSW ATTR NUM OF COLUMNS Number of Analog channels DL5OSW ATTR NUM OF ANALOG Number of Digital channels DL5OSW ATTR NUM OF DIGITAL Wire mode DL5OSW ATTR WIRE MODE Miscellaneous Attributes Manufacturer ID DL5OSW ATTR MANUFACTURER ID Model Code DL5OSW ATTR MODEL CODE Hidden Attributes not user viewable Slot number of the RIC board DL5OSW ATTR SLOT NUM DL5OSW ATTR BANDWIDTH This channel based attribute returns the bandwidth for the channel The units are hertz DL5OSW ATTR CACHE This attribute specifies whether to cache the value of attributes When cac
58. NTER gt A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViString type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViString are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt bufferSize Pass the number of bytes in the ViChar array you specify for the Attribute Value parameter If the current value of the attribute including the terminating NUL byte contains more bytes that you indicate in this parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is Series 2050 Test System attributeValue 2050 Switch Familv 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 If you pass a negative number the function copies the value to the buffer regardless of the number
59. OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors Series 2050 Test System 91 2050 Switch Family 92 This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw ClearInterchangeWarnings This function clears the list of current interchange warnings PROTOTVPE ViStatus dI5OSw ClearInterchangeWarnings ViSession instrumentHandle lt int gt dI5OSw ClearInterchangeWarnings ViSession instrumentHandle instrumentHandle The ViSession handle that you obtain from the dI50Sw_init or di50Sw_InitWithOptions fu
60. PIB controller provides AC control voltage monitoring and fault loop control The front panel contains a series of LED output indicators for monitoring the status of this assembly and the Mass Interconnect Power Supply assembly as shown to the left The supply is cooled using positive fan assisted air flow through the use of two front mounted fans with exhaust air directed towards the rear of the assembly The connectors labeled J5 J6 and J7 contain remote fault loop signals that are monitored and controlled by the RIC P S controller board F1 5VDC 1 5A F2 15VDC 1 5A F3 19 5VDC 1 0A F4 19 5VDC 1 0A F5 24VDC 3 0A J5 Fault 1 Connector Signal EXT FAULT 1 GND KEY PLUG N C KEV PLUG N C FAULT OUT1 COL FAULT OUT1 EMTR JO O1 P ND J6 Fault 2 Series 2050 Test System 23 Hardware Connector Signal EXT FAULT 2 GND KEY PLUG N C FAULT OUT2 COL FAULT OUT2 EMTR KEY PLUG N C JO O1 P ND J7 Fault 3 Connector Signal EXT FAULT 3 GND FAULT OUT3 COL KEY PLUG FAULT OUT3 EMTR N C KEV PLUG N C JO O1 P Go J2 24VDC In from AC Power Management Assembly Connector Signal 1 24VDC 2 N C 3 GND 4 N C 24 Series 2050 Test System J3 Analog Motherboard Connector Signal 1 15V Sense 2 15V 3 15V Sense 4 15V Common 5 19 5V Sense 6 19 5VDC 7 19 5V Sense 8 19 5V Common 9 19 5V Sense sense 10 19 5VDC out 11
61. Prox Switch Fault Inhibit 0050 2014 P1 1 Ext Fault 3 2 Gnd 3 Blank Pin 4 N C 5 N C 6 N C 7 N C 8 N C GC eeb Series 2050 Test System 67 Hardware 68 Series 2050 Test System 2050 Switch Family 2050 Switch Family Series 2050 Test System 69 2050 Switch Family Introduction This instrument driver provides programming support for the 2050 RIC Switch Family It contains functions for opening configuring taking measurements from and closing the instrument Assumptions To successfully use this module the following conditions must be met For GPIB instrument drivers the instrument is connected to the GPIB the GPIB address supplied to the initialize function must match the GPIB address of the instrument For VXI instrument drivers the instrument is installed in the VXI mainframe and you are using one of the following controller options Embedded controller MXI MXI2 GPIB VXI the logical address supplied to the initialize function must match the logical address of the instrument For RS 232 instrument drivers the instrument is connected to the RS 232 interface the COM port baud rate parity and timeout supplied to the initialize function must match the settings of the instrument Error and Status Information Each function in this instrument driver returns a status code that either indicates success or describes an error or warning condition Your progr
62. S nc O TE TTE 221 TESE Le o p RER 222 NESE E E 222 2050 Error MessapeS ae A 225 2050 ERROR MESSAGES e nement nan 227 Appendix A Weekly M IR ERARES nent 231 Appendix B Recommended Spare Parts iebes pk 232 Appendix C 2050 Export Prototyping Card FUNCHONS serein 233 Lee ssrin o o ae 233 Beete Rtg 234 PIOLORE IE Controleer ao ao eana arenai 235 ProtoRelayControl eenegen EE 236 ResetProtoControlRelayS re o pi 237 Overview Overview Series 2050 Test System 5 Overview Tvpical Series 2050 Test System System Controller E Stop Mass te TE Interface j Chassis PXI Bus Product P S UPS 6 Series 2050 Test System Overview Overview Svstem Controller The 2050 Series Test System uses a PC based system controller and standard Windows software operating system supporting e GPIB e Ethernet e Environmental Chamber Control e Process Control including Handlers e PXI Control e Standard PC Peripheral and I O Features PXI Chassis and Instrumentation The Series 2050 Test System is centered on the widely supported PXI PCI Extensions for Instrumentation standard The Series 2050 integrates an 18 slot 6U PXI Chassis that supports 3U instruments such as any of the Digalog designed PXI cards or PXI instruments from any of over 60 third party venders who support the open architecture PXI standard Resource Interface Chassis and Instrumentation The Series 2050 is designed to take advantage of open architecture
63. Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors 126 Series 2050 Test System 2050 Switch Family di50Sw_GetAttributeViString This function queries the value of a ViString attribute You can use this function to get the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid Vou must provide a ViChar arrav to serve as a buffer for the value Vou pass the number of bytes in the buffer as the Buffer Size parameter If the current value of the attribute including the terminating NUL byte is larger than the size you indicate in the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 If you want to call this function just to get the requir
64. ViPInt32 errorCode ViChar VI FAR errorMessagell lt int gt dI5OSw error querv ViSession instrumentHandle errorcode errorMessagell instrumentHandle errorCode errorMessage Return Value The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session Returns the error code read from the instrument s error queue Returns the error message string read from the instrument s error message queue You must pass a ViChar array with at least 256 bytes Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the di50Sw_error_message function To obtain additional information about the error condition call the dI5OSw Gettrror function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value 0 Positive Values Meaning Success Warnings Negative Values Errors Series 2050 Test Svstem 113 2050 Switch Family 114 This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the di
65. ViStatus dI5OSw DisconnectAlI ViSession instrumentHandle lt int gt dI50Sw DisconnectAll ViSession instrumentHandle instrumentHandle The ViSession handle that you obtain from the dI5OSw initor di50Sw_InitWithOptions function The handle identifies a particular instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes 104 Series 2050 Test System 2050 Switch Family Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFATFFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFC0000 to 3FFCFFF
66. Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 167 2050 Switch Family dI5OSw ResetWithDefaults This function resets the instrument and applies initial user specified settings from the Logical Name which was used to initialize the session If the session was created without a Logical Name this function is equivalent to the dI50Sw_ reset function PROTOTYPE ViStatus dI5OSw ResetWithDefaults ViSession instrumentHandle lt int gt dI5OSw ResetWithDefaults ViSession instrumentHandle instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI50Sw_InitWithOptions function The handle identifies a particular instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of
67. about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors Series 2050 Test System 77 2050 Switch Family 78 This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw CheckAttributeVilnt32 This function checks the validitv of a value vou specifv for a Vilnt32 attribute PROTOTYPE ViStatus dI5OSw CheckaAttributeVilnt32 ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD Vilnt32 attributeValue lt int gt dI5OSwCheckAttributeVilnt32 ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle th
68. am should examine the status code from each call to an instrument driver function to determine if an error occurred The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors 70 Series 2050 Test System 2050 Switch Family Use this document as a programming reference manual It describes each function in the 2050 RIC Switch Family instrument The functions appear in alphabetical order with a description of the function and its C syntax a description of each parameter and a list of possible error codes Function Tree Lavout Class Panel Name Initialize Initialize With Options Configuration Set Get Check Attribute Set Attribute Set Attribute Vilnt32 Set Attribute ViReal64 Set Attribute ViString Set Attribute ViBoolean Set Attribute ViSession Get Attribute Get Attribute Vilnt3 2 Get Attribute ViReal64 Get Attribute ViString Get Attribute ViBoolean Get Attribute ViSession Check Attribute Check Attribute Vilnt32 Check Attribute ViReal64 Check Attribute ViString Check Attribute ViBoolean Check Attribute ViSession Route Connect Channels Disconnect Channels Disconnect All Channels Switch Is Debounced Wait For Debounce Can Connect Channels Series 2050 Test System Function Name dI5OSw init dI5OSw InitWithOptions dI5OSw SetAttributeVilnt3 2 dI5OSw SetAttributeViReal64 dI5OSw SetAttributeViString dI5OSw SetAttributeViBoolean dI5OSw SetAttributeV
69. ameter is set to VI TRUE this function resets the instrument to a known state Sends initialization command s to set the instrument to the state necessary for the operation of the instrument driver Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls Note This function creates a new session each time vou invoke it Although you can open more than one IVI session for the same resource it is best not to do so Vou can use the same session in multiple program threads Vou can use the dI5OSw LockSession and di50Sw_UnlockSession functions to protect sections of code that require exclusive access to the resource PROTOTYPE ViStatus dI5OSw InitWithOptions ViRsrc resourceName ViBoolean IDQuery ViBoolean resetDevice ViChar VI FAR optionString ViPSession instrumentHandle 150 Series 2050 Test Svstem 2050 Switch Family lt int gt dI50Sw_initWithOptions resourceName IDQuery ViBoolean optionString instrumentHandle resourceName Pass the resource name of the device to initialize Vou can also pass the name of a virtual instrument or logical name that vou configure with the IVI Configuration utilitv The virtual instrument identifies a specific device and specifies the initial settings for the session A logical Name identifies a particular virtual instrument Note Refer to the following table below for the exact grammar to use for this parameter Opt
70. an ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViBoolean attributeValue lt int gt dI5OSw CheckAttributeViBoolean ViSession instrumentHandle channelNamell attributelD attributeValue 76 instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window vou can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt Read only attributes appear dim in the list box If you select a read only attribute an error message appears A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViBoolean type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes wi
71. annel 212 Series 2050 Test System MRIv Selftest MRIy Selftest Series 2050 Test Svstem 213 MRIly Selftest Mrly Board Mrly Selftest Bus A pued JPIUUQDJJIJUJ SSEW OO M GO M Sense GO Bus C M Sense SO Bus D M Figure 1 To other channels 214 Series 2050 Test Svstem MRIy Selftest Overview The 0050 1204A Matrix Relav Selftest board was designed to evaluate the 0050 1536 MRLY board and minimallv test PXI resources attached to its Pass through lines There are two tests which are run on the MRLY cards The first uses a 4 wire measurement to obtain the resistance between 4 relavs and signal paths The second uses a 2 wire measurement which is essentiallv a go no go test MRly Test 1 Inside the Selftest assembly adjacent MRLY channels are connected together in pairs i e XO is directly connected to X1 via a straight wire loop X2 to X3 Grezzja X126 to X127 The four MRLY buses are then routed to the NI 4070 measurement card on the 4 meter leads M MS MS and M As can be seen in Figure 1 the first test closes the MRLY relays ready for the 4 wire test The meter probes are connected as shown to the left XO to BUSA amp Meter Plus Lead M XO to BUSB A Meter Plus Sense Lead MS X1 to BUSC amp Meter Return Sense Lead MS X1 to BUSD amp Meter Return Lead M This test measures the resistance not only of the relays selected on the different channels b
72. ant to use this parameter pass VI NULL Use this parameter in complex functions to keep track of whether vou obtain a lock and therefore need to unlock the session Pass the address of a local ViBoolean variable In the declaration of the local variable initialize it to VI FALSE Pass the address of the same local variable to anv other calls vou make to dI5OSw LockSession or dI5OSw UnlockSession in the same function The parameter is an input output parameter dI5OSw LockSession and dI5OSw UnlockSession each inspect the current value and take the following actions If the value is VI TRUE dI5OSw LockSession does not lock the session again If the value is VI FALSE dI5OSw LockSession obtains the lock and sets the value of the parameter to VI TRUE If the value is VI FALSE dI5OSw UnlockSession does not attempt to unlock the session If the value is VI TRUE dI5OSw UnlockSession releases the lock and sets the value of the parameter to VI FALSE Thus you can call dI5OSw UnlockSession at the end of your function without worrving about whether vou actuallv have the lock Series 2050 Test System 191 2050 Switch Family Example ViStatus TestFunc ViSession vi Vilnt32 flags i ViStatus error VI SUCCESS ViBoolean haveLock VI FALSE if flags amp BIT 1 i viCheckErr dI5SOSw LockSession vi amp haveLock viCheckErr TakeAction1 vi if flags amp BIT 2 i viCheckErr dl50Sw_UnlockSession vi amp haveLock
73. as the Channel 1 parameter Series 2050 Test System 143 2050 Switch Family 144 bufferSize path Return Value Pass the number of bytes in the ViChar array you specify for the Path List parameter If the current value of the attribute including the terminating NUL byte contains more bytes that you indicate in this parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is R1 gt C1 and the Buffer Size is 4 the function places R1 into the buffer and returns 7 If you pass 0 you can pass VI NULL for the Path parameter Thisenables you to find out the path size and to allocate the buffer of the appropriate size before calling this function again The comma separated path between channels you specify in the Channel 1 and Channel 2 parameters Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred If the current value of the return buffer including the terminating NUL byte is larger than the size you indicate in the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size yo
74. at you obtain from the dI50Sw_init or di50Sw_InitWithOptions function The handle identifies a particular instrument session channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window vou can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt Read only attributes appear dim in the list box If you select a read only attribute an error message appears A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the Vilnt32 type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than Vilnt32 are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type Series 2050 Test System 79 2050 Switch Family H you want to enter a
75. ble to find globals in GPIB 32 DLL The MS Windows error code is ibent Not a National Instruments GPIB 32 DLL Unable to acquire Mutex for loading DLL The MS Windows error code in ibent Unable to register callback function with MS Windows The callback table is full Unknown system error Invalid port number Port is not open Unknown IO error Unexpected internal error No serial port found Cannot open port Memory allocation error Unable to allocate system resources Invalid parameter Invalid baud rate Invalid parity mode Illegal Number of data bits Series 2050 Test System 227 2050 Error Messages 110 113 RS232 Illegal number of stop bits 110 114 RS232 Bad file handle 110 115 RS232 Error in performing file I O 110 116 RS232 Invalid count must be 0 or greater 110 117 RS232 Invalid interrupt level 110 118 RS232 Default port address not defined for ports 8 through 32 110 119 RS232 1 O operation timed out 110 120 RS232 Break time must be between 0 and 255 110 121 RS232 Invalid input queue size 110 122 RS232 Invalid output queue size 110 123 RS232 General I O error 110 124 RS232 Buffer parameter is null 110 125 RS232 No acknowledgement received after packet sent 110 126 RS232 Packet not sent within retry limit 110 127 RS232 Packet not received within retry limit 110 128 RS232 Unexpected end of transmission received 110 129 RS232 Unable to read packe
76. btain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF IviSwtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAOOOO to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 139 2050 Switch Family di50Sw_GetNextinterchangeWarning This function returns the interchangeability warnings associated with the IVI session It retrieves and clears the oldest instance in which the class driver recorded an interchangeability warning Interchangeability warnings indicate that using your application with a different instrument might cause different behavior You use this function to retrieve interchangeability warnings The driver performs interchangeability checking when t
77. byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 To obtain a text description of the status code or if the status code is not listed below call the dI50Sw_error_message function To obtain additional information about the error condition use the dI5OSw GetError and dI5OSw ClearError functions 141 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors 142 Series 2050 Test System 2050 Switch Family dI5OSw GetPath In some cases there is more than one possible path between two channels The driver or the instrument selects the path when vou c
78. c Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFATFFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Tvpes Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw SetAttributeVilnt32 This function sets the value of a Vilnt32 attribute This is a low level function that vou can use to set the values of instrument specific attributes and attribute represents an instrument state this function performs instrument UO in the following cases State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid or is different than the value vou specifv This instrument driver contains high level functions that set most of the instrument attributes It is best to use the high level driver functions as much as possible Thev handle order dependencies and multithread locking for vou In addition they perform status checking only after setting all of the attributes In contrast when you set multiple attributes using the SetAttribute functions the functions check the instrument status after each call Also when state caching is enabled the high level functions that configure multiple attributes perform instrument 1 O only
79. ch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors 136 Series 2050 Test System 2050 Switch Family dI5OSw GetNextCoercionRecord This function returns the coercion information associated with the IVI session This function retrieves and clears the oldest instance in which the instrument driver coerced a value vou specified to another value If you set the DL5OSW ATTR RECORD COERCIONS attribute to VI TRUE the instrument driver keeps a list of all coercions it makes on Vilnt32 or ViReal64 values vou pass to instrument driver functions Vou use this function to retrieve information from that list If the next coercion record string including the terminating NUL byte contains more bytes than you indicate in this parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 If you pass a negative number the function copies the value to the buffer regardless of the number of bytes in the value If you pass 0 you can pass VI NULL for the Coercion Record buffer parameter
80. ch call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dISOSw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors 102 Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test System Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 103 2050 Switch Family dI5OSw DisconnectAII This function disconnects all existing paths Note If the switch module is not capable of disconnecting all paths this function returns DL5SOSW WARN PATH REMAINS 0x3FFA2001 warning PROTOTVPE
81. d To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function 172 Series 2050 Test System 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF IviSwtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 173 2050 Switch Family dI5OSw SetAttributeViBoolean This function sets the value of a ViBoolean attribute This is a low level function that vou can use to set the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases
82. down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt Read only attributes appear dim in the list box If you select a read only attribute an error message appears A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViSession type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViSession are dim If you select an attribute data type that is dim LabWindows Series 2050 Test System 85 2050 Switch Family CVI transfers you to the function panel for the corresponding function that is consistent with the data type H you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value which you want to verify as a valid value for the attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values yo
83. e buffer regardless of the number of bytes in the value If you pass 0 you can pass VI NULL for the Interchange Warning buffer parameter interchangeWarning Return Value Series 2050 Test System Returns the next interchange warning for the IVI session H there are no interchange warnings the function returns an empty string The buffer must contain at least as manv elements as the value vou specify with the Buffer Size parameter If the next interchangeabilitv warning string including the terminating NUL byte contains more bytes than you indicate with the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 This parameter returns an empty string if no interchangeability warnings remain for the session Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred If the current value of the return buffer including the terminating NUL byte is larger than the size you indicate in the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL
84. e warnings you can call the dISOSw ClearInterchangeWarnings function PROTOTYPE ViStatus dI50Sw_ResetInterchangeCheck ViSession instrumentHandle lt int gt dI50Sw_ResetInterchangeCheck ViSession instrumentHandle instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session 166 Series 2050 Test Svstem 2050 Switch Family Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF IviSwtch
85. e access to one or more of the 16 signals The green signals on the bus below represent the System Bus Signals Slot 4 Slot 3 Slot 2 BUS SIG 0 BUS SIG 0 D I e Oho wa Dn D I wan Oho wa D n Ooo uses DO war DO D I uses oho wa D n D I uses OO wa joo we B i ww Ooo D ss oo war joao ogof wax OOO wax OO OOO wan OOO ssser0 DD OOO wan OOO essen OMO OOO wax OOO essei 000 OOO maen OOO esse O gO OOO wsse OOO esses Ogo OOO wax OOO max JOTO A E C A w O gt w O Series 2050 Test System 35 Hardware Tvpical Analog Backplane Slot Slot 3 CU A1 PS1 B1 PS1 C1 PS1 000 A2 PSO B2 PSO C2 PSO CU A3 15V B3 15V C3 15V OOo A4 19 5V B4 19 5V C4 19 5V OO A5 PS3 B5 AGnd C5 PS2 00g A6 AGnd B6 AGnd C6 AGnd 000 A7 AGnd B7 AGnd C7 AGnd 000 A8 AGnd B8 AGnd C8 AGnd 000 A9 AGnd B9 AGnd C9 AGnd 000 A10 PS3 B10 AGnd C10 PS2 CU A11 19 5V BIT 19 5V C11 19 5V OOo A12 15V B12 15V C12 15V 000 A13 PSO B13 PSO C13 PSO OOd A14 PS1 B14 PS1 C14 PS1 OOo A15 N C B15 N C C15 SEL SLOT 3 CU A16 SEL SLOT 3 B16 SEL SLOT 3 C16 SEL_ SLOT 3 OO A17 SB 23 0 B17 BUS SIGO C17 SB_ 34 0 OO A8 SB 23 1 B18 BUS SIG 1 C18 SB 341 000 A19 SB 23 2 B19 BUS SIG 2 C19 SB 34 2 OO A20 SB 23 3 B20 BUS SIG 3 C20 SB 34 3 000 A21 SB_23_4 B21 BUS SIG 4 C21 SB 34 4 OO A22 SB 23 5 B22 BUS SIG 5
86. e particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF IviSwtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 123 2050 Switch Family dI5OSw GetAttributeViSession This function queries the value of a ViSession attribute Vou can use this function to get the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid PROTOTYPE ViStatus dI50Sw_GetAttributeViSession ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViPSession attributeValue lt int gt dI50Sw_GetAttributeViSession ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI5OSw InitWithOptions function The handle identifies a particular instrument session channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute
87. e terminating NUL byte contains more bytes than you indicate in this parameter the function copies BufferSize 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 134 Series 2050 Test System description Return Value Series 2050 Test System 2050 Switch Family If you pass a negative number the function copies the value to the buffer regardless of the number of bytes in the value If you pass O you can pass VI NULL for the Description buffer parameter Returns the error description for the IVI session or execution thread If there is no description the function returns an empty string The buffer must contain at least as manv elements as the value you specify with the Buffer Size parameter If the error description including the terminating NUL byte contains more bytes than you indicate with the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 If you pass O for the Buffer Size you can pass VI NULL for this parameter Returns the
88. eProtoRelavControl This routine frees a handle to the 2050 Prototyping card that was previously obtained The handle is obtained by using the InitProtoRelayControl call Once the handle is freed it is not valid anymore Every handle obtained us ing this call must be freed by using the CloseProtoRelayControl call If the handle is not freed eventually the system will run out of available handles or it will run out of memory CVI Declaration u int32 DLIprc CloseProtoRelavControl u int32 ProtoHandle u int32 DLIprc_CloseProtoRelayControl ProtoHandle ProtoHandle Handle of the R I C Prototyping Card to access 234 Series 2050 Test System 2050 Appendix C ProtoRelavControl This function is used to open or close one relav which is being controlled bv the 2050 R I C Prototyping card given by ProtoHandle The ProtoHandle parameter is the handle to the card This handle is obtained by using the Init ProtoRelayControl call This call does not wait for the relav to open or close It is up to the user to provide a delav long enough for the relav to open or close CVI Declaration u int32 DLIprc ProtoRelavControl u int32 ProtoHandle int16 Relay int16 State u int32 DLIprc_ProtoRelayControl ProtoHandle Relay State ProtoHandle Handle of the R I C Prototyping Card to access Relay Relay number to access O to 127 State Specifies if the relay should be opened or closed 0 Open relay
89. ecify This instrument driver contains high level functions that set most of the instrument attributes It is best to use the high level driver functions as much as possible They handle order dependencies and multithread locking for you In addition they perform status checking only after setting all of the attributes In contrast when you set multiple attributes using the SetAttribute functions the functions check the instrument status after each call Also when state caching is enabled the high level functions that configure multiple attributes perform instrument I O only for the attributes whose value you change Thus you can safely call the high level functions without the penalty of redundant instrument I O PROTOTYPE ViStatus dI5OSw SetAttributeViString ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViChar VI FAR attributeValuell lt int gt dI5OSw SetAttributeViString ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session 186 Series 2050 Test Svstem 2050 Switch Family channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the
90. ect the channel to another source The driver prevents source channels from connecting to each other The dI5OSw Connect function returns the DL5OSW ERROR ATTEMPT TO CONNECT SOURCES when you attempt to connect two channels that vou identifv as source channels DL5OSW ATTR LOGICAL NAME A string containing the logical name vou specified when opening the current IVI session You may pass a logical name to the dI5OSw init or dI50Sw_ InitWithOptions functions The IVI Configuration utilitv must contain an entrv for the logical name The logical name entrv refers to a virtual instrument section in the IVI Configuration file The virtual instrument section specifies a phvsical device and initial user options DL5OSW ATTR MANUFACTURER ID Returns the manufacturer identification number of the device The instrument driver gets the value of this attribute when you pass VI TRUE for the ID Query parameter to the dI5OSw init or dI5OSw InitWithOptions function DL50OSW ATTR MAX AC VOLTAGE This channel based attribute returns the maximum AC voltage the channel can switch The units are volts RMS DL50OSW ATTR MAX CARRV AC CURRENT This channel based attribute returns the maximum AC current the channel can carrv The units are amperes RMS DL50OSW ATTR MAX CARRV AC POWER This channel based attribute returns the maximum AC power the channel can carrv The units are volt amperes DL50OSW ATTR MAX CARRV DC CURRENT This channel based attribute returns the max
91. ed back to TestStand If the second test fails indicating an open circuit in one of the two relays being tested on that channel a 4 is passed back to TestStand When the relavs on busses A and B have been tested on all 128 channels the same tests are repeated on busses C and D for the 128 channels These tests and all subsequent tests are dependant on a number of variables 1 Power to the selftest unit is established If the supply to the selftest is off or faulted then obviously no tests will work Power to the selftest unit is established through the connector in RIC slot 1 Unfortunately the RIC slots and the selftest slots use a different number base Slot 1 on the RIC is slot O on the selftest unit A quick check to see if the supply is on this designated DEV12 in software is to physically look at the supply controller on the back of the tester It should have 3 green LED s lit on the right and a further 3 green LED s on the left Any red LED s indicate a fault has occurred and will have to be reset Note also at this point that the RIC supply controller DEV 15 can be observed for faults too 2 Communications between the selftest unit and the system is via a USB port The USB port is seen as a serial COM port by the system This is achieved with a software driver It is important to note that after system booting one must wait for a period of 5 minutes before communications with the selftest are es
92. ed buffer size you can pass O for the Buffer Size and VI NULL for the Attribute Value buffer If you want the function to fill in the buffer regardless of the number of bytes in the value pass a negative number for the Buffer Size parameter PROTOTYPE ViStatus dI5OSw GetattributeViString ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD Vilnt32 bufferSize ViChar _VI_ FAR attributeValuel lt init gt dI5OSw GetattributeString ViSession instrumentHandle channelName f attributelD bufferSize attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI50Sw_InitWithOptions function The handle identifies a particular instrument session Series 2050 Test System 127 2050 Switch Family 128 channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an empty string attributelD Pass the ID of an attribute From the function panel window you can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt E
93. error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFATFFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAOOOO to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 185 2050 Switch Family di50Sw_SetAttributeViString This function sets the value of a ViString attribute This is a low level function that vou can use to set the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid or is different than the value you sp
94. essing lt ENTER gt attributeValue Pass the value which you want to verify as a valid value for the attribute From the function panel window you can use this control as follows H the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw Gettrror function To clear the error information from the driver call the dI5OSw ClearError function Series 2050 Test System 119 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the dif
95. ex Status Code Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings Series 2050 Test System 2050 Switch Family 3FFC0000 to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAOOOO to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 101 2050 Switch Family dI5OSw Disconnect This function destrovs the path between two channels that vou create with the dI5OSw Connect or dI5OSw SetPath function PROTOTYPE ViStatus dI5OSw Disconnect ViSession instrumentHandle ViChar VI FAR channel1 ViChar VI FAR channel2 lt int gt dI5OSwW Disconnect ViSession instrumentHandle channel1 channel2 instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI5OSw InitWithOptions function The handle identifies a particular instrument session channel Vou identifv a path with two channels Pass one of the channel names for which vou want to create a path Pass the other channel name as the Channel 2 parameter channel2 Vou identifv a path with two channels Pass one of the channel names for which vou want to create a path Pass the other channel name as the Channel 1 parameter Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from ea
96. ferent include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors 120 Series 2050 Test System 2050 Switch Family dI5OSw GetAttributeViReal64 This function queries the value of a ViReal64 attribute Vou can use this function to get the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid PROTOTYPE ViStatus dI50Sw_GetAttributeViReal64 ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViPReal64 attributeValue lt int gt dI5OSw GetaAttributeViRealb64 ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI5OSw InitWithOptions function The handle identifies a particular instrument session channelName If the attribute is channel based this parameter specifies t
97. fferent include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw GetAttributeViBoolean This function queries the value of a ViBoolean attribute Vou can use this function to get the values of instrument specific attributes and inherent IVI attributes If the attribute represents an instrument state this function performs instrument I O in the following cases State caching is disabled for the entire session or for the particular attribute State caching is enabled and the currently cached value is invalid PROTOTYPE ViStatus dI50Sw_GetAttributeViBoolean ViSession instrumentHandle ViChar VI FAR channelNamel ViAttr attributelD ViPBoolean attributeValue lt int gt dI5OSw GetAttributeViBoolean ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI5OSw InitWithOptions function The handle identifies a particular instrument session channelName If the attribute is channel based this
98. has invalid file format or invalid data Driver module contains undefined references Cannot find function in driver module Failure loading driver module Invalid path name Invalid attribute IVI attribute is not writable IVI attribute is not readable Invalid parameter Invalid value Function not supported Attribute not supported Value not supported Invalid type Types do not match Attribute already has a value waiting to be updated Specified item already exists Not a valid configuration Requested item does not exist or value not available Requested attribute value not known No range table Range table is invalid Object or item is not initialized Non interchangeable behavior No channel table has been built for the session Channel name specified is not valid Unable to allocate system resource Permission to access file was denied Too many files are already open Unable to create temporary file in target directory All temporary filenames already used Disk is full Cannot find configuration file on disk Cannot open configuration file Error reading configuration file Invalid Vilnt32 value in configuration file Invalid ViReal64 value in configuration file Invalid ViBoolean value in configuration file Entry missing from configuration file Initialization failed in driver DLL Driver module has unresolved external reference Cannot find CVI Run Time Engine Cannot open CVI Run Time E
99. he DL5OSW ATTR INTERCHANGE CHECK attribute is set to VI TRUE The function returns an empty string in the Interchange Warning parameter if no interchangeability warnings remain for the session In general the instrument driver generates interchangeability warnings when an attribute that affects the behavior of the instrument is in a state that you did not specify PROTOTYPE ViStatus dI5OSw GetNextinterchangeWarning ViSession instrumentHandle Vilnt32 bufferSize ViChar VI FAR interchangeWarninglil lt int gt dI5OSw GetNextinterchangeWarningi ViSession instrumentHandle bufferSize interchangeWarning instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI50Sw_InitWithOptions function The handle identifies a particular instrument session bufferSize Pass the number of bytes in the ViChar array you specifv for the Interchange Warning parameter If the next interchangeabilitv warning string including the terminating NUL byte contains more bytes than you indicate in this parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 140 Series 2050 Test System 2050 Switch Family If you pass a negative number the function copies the value to th
100. he function copies the value to the buffer regardless of the number of bytes in the value f you pass 0 you can pass VI NULL for the Channel Name buffer parameter Series 2050 Test System 131 2050 Switch Family 132 channelName Return Value Returns the highest level channel name that corresponds to the specific driver channel string that is in the channel table at an index you specify The buffer must contain at least as many elements as the value you specify with the Buffer Size parameter If the channel name description including the terminating NUL byte contains more bytes than you indicate with the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 If you pass O for the Buffer Size you can pass VI NULL for this parameter Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred If the current value of the return buffer including the terminating NUL byte is larger than the size you indicate in the Buffer Size parameter the function copies Buffer Size 1 bytes into
101. he name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI_NULL or an empty string attributelD Pass the ID of an attribute From the function panel window you can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt Series 2050 Test System 121 2050 Switch Family A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViReal64 type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViReal64 are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value which you want
102. hen pressing lt ENTER gt Read only attributes appear dim in the list box If you select a read only attribute an error message appears A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViString type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViString are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type Series 2050 Test System 2050 Switch Family H you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value which you want to verify as a valid value for the Note attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Some of the values might not be valid depending on the current settings of the
103. hing is enabled the instrument driver keeps track of the current instrument settings and avoids sending redundant commands to the instrument Thus you can significantly increase execution speed The instrument driver can choose always to cache or never to cache particular attributes regardless of the setting of this attribute The default value is VI TRUE Use the dl50Sw_ InitWithOptions function to override this value 198 Series 2050 Test System 2050 Switch Family DL5OSW ATTR CARD_TYPE The relav card will either be a switching card or a matrix card Values DL5OSW VAL SWITCHING TYPE 0 DL50SW_VAL_MATRIX_TYPE 1 DL50SW_ATTR_CHARACTERISTIC_IMPEDANCE This channel based attribute returns the characteristic impedance for the channel The units are ohms DL50SW_ATTR_DRIVER_SETUP Some cases exist where you must specify instrument driver options at initialization time An example of this is specifying a particular instrument model from among a family of instruments that the driver supports This is useful when using simulation You can specify driver specific options through the DriverSetup keyword in the optionsString parameter to the dl50Sw_ InitWithOptions function If you open an instrument using a logical name you can also specify the options through the IVI Configuration Utility The default value is an empty string DL50SW_ATTR_GROUP_CAPABILITIES A string that contains a comma separated list of class extension groups that this driver
104. iSession dI5OSw GetAttributeVilnt32 dI5OSw GetAttributeViReal64 dI5OSw GetattributeViString dI5OSw GetattributeviBoolean dI5OSw GetattributeViSession dI50Sw_CheckAttributeVilnt32 dI50Sw_CheckAttributeViReal64 dI50Sw_CheckAttributeViString dI50Sw_CheckAttributeViBoolean dI50Sw_CheckAttributeViSession dI5OSw Connect dI5OSw Disconnect dI50Sw_DisconnectAll dI5OSw IsDebounced dI5OSw WaitForDebounce dI50Sw_CanConnect 71 2050 Switch Family Paths Set Path Get Path Utility Reset Reset With Defaults Disable Self Test Revision Query Error Query Error Message Invalidate All Attributes Get Channel Name Error Info Get Error Clear Error Coercion Info dI50Sw_SetPath dI50Sw_GetPath dI50Sw_reset dI5OSw ResetWithDefaults dI5OSw Disable dI5OSw self test dI5OSw revision Ouer dI5OSw error query dI5OSw error message dI5OSw InvalidateAllAttributes dI50Sw_GetChannelName dI50Sw_ GetError dI5OSw ClearError Get Next Coercion Record dI5OSw GetNextCoercionRecord Interchangeabilitv Info Get Next Interchange Warning dI5OSw GetNextinterchangeWarning Clear Interchange Warnings dI5OSw ClearInterchangeWarnings Reset Interchange Check Locking Lock Session Unlock Session Close dI5OSw ResetinterchangeCheck dI5OSw LockSession dI5OSw UnlockSession dI5OSw close This instrument driver contains programming support for the following cards 1510 Digalog Svstems 2050 Auxiliarv Relav Card 1536 Digalog Svstems 205
105. icate run time configuration entry Index parameter is one based Index parameter is too high Attribute is not cacheable You cannot export a ViAddr attribute to the end user Bad channel string in channel string list Bad prefix name in default configuration file VISA Status Codes Status WARNINGS 3FFFOOO2 3FFF0003 3FFF0004 3FFFOOO5 3FFFOOO6 3FFFOO77 3FFFOO7D 3FFF0080 Series 2050 Test System Description Event enabled for one or more specified mechanisms Event disabled for one or more specified mechanisms Successful but queue already empty Specified termination character was read Number of bytes transferred equals input count Configuration non existent or could not be loaded Open successful but the device not responding Wait successful but more event objects available 109 2050 Switch Family 110 3FFFOO82 3FFFOO84 3FFFOO85 3FFFOO88 3FFFOO98 3FFF0099 3FFFOO9A 3FFFOO9B ERRORS BFFFOOOO BFFFOOOE BFFFOOOF BFFFOOTO BFFFOO11 BFFFOO12 BFFFOO13 BFFFOO15 BFFFOO16 BFFFOO1B BFFFOO1C BFFFOOTD BFFFOOTE BFFFOOTF BFFF0020 BFFFOO21 BFFFOO26 BFFFOO27 BFFFOO28 BFFFOO29 BFFFOO2A BFFFOO2D BFFFOO2F BFFFOO30 BFFFOO34 BFFFOO35 BFFF0036 BFFFOO37 BFFFOO38 BFFFOO39 BFFFOO3A BFFFOO3B BFFFOO3C BFFFOO3D BFFFOO3E BFFFOO3F BFFFOO41 Specified object reference is uninitialized Attribute value not supported Status code could not be interpreted Specified I O buffer type not supported
106. icitly in a string you pass for this parameter You do not have to specifv all of the attributes and may leave any of them out If you do not specify one of the attributes its default value or the value that you configure with the IVI Configuration utilitv will be used The following are the valid values for ViBoolean attributes True 1 TRUE or VI TRUE False 0 False or VI FALSE DriverSetup The only tag recognized in the DriverSetup attribute is the Model tag The value of this tag is used to define which model card the driver should simulate If Simulate 0 this tag s value is ignored The following are the valid Model tag values for the DriverSetup attribute Model 1510 Example DriverSetup Model 1510 Series 2050 Test Svstem 153 2050 Switch Family Default Value Simulate 0 RangeCheck 1 QuervinstrStatus 0 Cache 1 DriverSetup Model 1510 instrumentHandle Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls Notes 1 This function creates a new session each time you invoke it This is useful if you have multiple physical instances of the same type of instrument 2 Avoid creating multiple concurrent sessions to the same physical instrument Although you can create more than one IVI session for the same resource it is best not to do so A better approach is to use the same IVI session in multiple execution threads You can use func
107. ies 2050 Test System Series 2050 Test System Hardware E Stop Power On Off Panel 47 Hardware Remote E Stop Power Switch Assemblv The back panel of the AC Power Management assemblv contains a connector labeled J14 ESTOP ON OFF that is provided to connect with the remote power control panel The remote power control panel contains the E Stop switch and the main power On Off switch mounted to a 2U panel Pin Signal 1 ESTOP NC 1 2 ESTOP NC 2 4 ESTOP NO 1 4 ESTOP NO 2 5 POWER OFF 6 7 8 OO 905 POWER ON OFF POWER ON POWER LIGHT RETURN 0050 5101 E Stop Power Switch Assembly Green 4 E Stop Power Off Power On Power LED l M fe 48 Series 2050 Test Svstem Series 2050 Test System Hardware AC Fan Assembly 49 Hardware AC Fan Assembly The lower rear of the cabinet assembly contains a set of three fans for circulation and cooling This assembly 0003 0006 is powered by 220VAC as shown below AC Fan Assembly 0003 0006 Ed ER gt D D An c om TE G LL Neutral t Fan2 Neutral ETAT pu Fan1 Neutral Fan3 Neutral Fan1 Line Line Input Fan2 Line Fan3 Line 50 Series 2050 Test System Hardware PXI Chassis and Mass Interconnect Fans Series 2050 Test Svstem 5
108. ifies a particular virtual instrument 146 Series 2050 Test System 2050 Switch Family Note Refer to the following table below for the exact grammar to use for this parameter Optional fields are shown in square brackets Syntax search path 2050 lt slot number gt INSTR lt LogicalName gt lt DriverSession gt If you do not specifv a value for an optional field the following values are used Optional Field Value search path none The following table contains example valid values for this parameter Valid Value Description 42050 9 INSTR 2050 platform Slot 9 of the Resource Interface Chassis visa DigalogPC_2050 2050 9 INSTR 2050 platform connected to the network 2050 PC s name DigalogPC_2050 Slot 9 of the Resource Interface Chassis AuxCard1 Logical name AuxCard1 Default Value 2050 10 INSTR IDQuery Specify whether you want the instrument driver to perform an ID Query Valid Range VI TRUE 1 Perform ID Query Default Value VI FALSE 0 Skip ID Query Note When you set this parameter to VI TRUE the driver verifies that the instrument you initialize is a type that this driver supports Series 2050 Test System 147 2050 Switch Family Circumstances can arise where it is undesirable to send an ID Query command string to the instrument When you set this parameter to VI FALSE the function initializes the instrument without perform
109. implements DL50SW_ATTR_INSTRUMENT_FIRMWARE_REVISION A string that contains the firmware revision information for the instrument you are currently using DL50SW_ATTR_INSTRUMENT_MANUFACTURER A string that contains the name of the instrument manufacturer you are currently using DL50SW_ATTR_INSTRUMENT_MODEL A string that contains the model number or name of the instrument that you are currently using DL50SW_ATTR_INTERCHANGE_CHECK Specifies whether to perform interchangeability checking and retrieve interchangeability warnings The default value is VI_FALSE Series 2050 Test System 199 2050 Switch Family Interchangeability warnings indicate that using your application with a different instrument might cause different behavior You call dI50Sw_ GetNextinterchangeWarning to extract interchange warnings Call the dI5OSw ClearInterchangeWarnings function to clear the list of interchangeabilitv warnings without reading them Interchangeabilitv checking logs a warning for each attribute vou have not set that affects the behavior of the instrument DL50OSW ATTR IO RESOURCE DESCRIPTOR Indicates the resource descriptor the driver uses to identifv the phvsical device If vou initialize the driver with a logical name this attribute contains the resource descriptor that corresponds to the entrv in the IVI Configuration utility If you initialize the instrument driver with the resource descriptor this attribute contains that value DL50SW_
110. imum DC current the channel can carrv The units are amperes DL50OSW ATTR MAX CARRV DC POWER This channel based attribute returns the maximum DC power the channel can carrv The units are watts Series 2050 Test System 201 2050 Switch Family DL5OSW ATTR MAX DC VOLTAGE This channel based attribute returns the maximum DC voltage the channel can switch The units are volts DL50OSW ATTR MAX SWITCHING AC CURRENT This channel based attribute returns the maximum AC current the channel can switch The units are amperes RMS DL50OSW ATTR MAX SWITCHING AC POWER This channel based attribute returns the maximum AC power the channel can switch The units are volt amperes DL5OSW ATTR MAX SWITCHING DC CURRENT This channel based attribute returns the maximum DC current the channel can switch The units are amperes DL50OSW ATTR MAX SWITCHING DC POWER This channel based attribute returns the maximum DC power the channel can switch The units are watts DL50OSW ATTR MODEL CODE Returns the model code for the device The instrument driver gets the value of this attribute when you pass VI TRUE for the ID Query parameter to the dISOSw init or dI50Sw_InitWithOptions function DL5OSW ATTR NUM OF ANALOG This attribute returns the number of relavs attached to the analog svstem bus backplane DL5OSW ATTR NUM OF COLUMNS This attribute returns the number of columns of a matrix or scanner If the switch module is a scanner this value is the numbe
111. ing an ID Query resetDevice Specify whether you want the to reset the instrument during the initialization procedure Valid Range VI_TRUE 1 Reset Device Default Value VI FALSE 0 Don t Reset instrumentHandle Notes Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls 1 This function creates a new session each time you invoke it This is useful if you have multiple physical instances of the same type of instrument 2 Avoid creating multiple concurrent sessions to the same physical instrument Although you can create more than one IVI session for the same resource it is best not to do so A better approach is to use the same IVI session in multiple execution threads You can use functions dI5OSw LockSession and dI5OSw UnlockSession to protect sections of code that require exclusive access to the resource Return Value 148 Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function Series 2050 Te
112. ins a mapped window Operation not implemented Invalid length Invalid mode Session did not have a lock on the resource The device does not export any memory VISA required code library not located or not loaded VXIPnP Driver Status Codes Status WARNINGS 3FFCO101 3FFC0102 3FFCO103 3FFC0104 3FFCO105 ERRORS BFFCOOO1 BFFCOOO2 BFFCOO03 BFFCOOO4 BFFCOOO5 BFFCOOO6 Series 2050 Test Svstem Description Instrument does not have ID Querv capabilitv Instrument does not have Reset capabilitv Instrument does not have Self Test capabilitv Instrument does not have Error Querv capabilitv Instrument does not have Revision Querv capabilitv Parameter 1 out of range or error trving to set it Parameter 2 out of range or error trving to set it Parameter 3 out of range or error trving to set it Parameter 4 out of range or error trving to set it Parameter 5 out of range or error trving to set it Parameter 6 out of range or error trving to set it 11 2050 Switch Family 112 BFFCO007 Parameter 7 out of range or error trying to set it BFFCO008 Parameter 8 out of range or error trying to set it BFFCOO11 Instrument failed the ID Query BFFCOO12 Invalid response from instrument errorMessage Returns the user readable message string that corresponds to the status code vou specifv Vou must pass a ViChar arrav with at least 256 bytes Return Value Returns the status code of this operation The status code
113. instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors Series 2050 Test System 89 2050 Switch Family 90 This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw ClearError This f
114. ion from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value 0 Positive Values Meaning Success Warnings Negative Values Errors Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test System Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 195 2050 Switch Family Attribute Information for the Following Functions dI5OSw SetAttributeVilnt32 dI5OSw GetattributeVilnt32 dI50Sw_CheckAttributeVilnt32 dI5OSw SetAttributeViReal64 dI5OSw GetAttributeViReal64 dI50Sw_CheckAttributeViReal64 dI5OSw SetAttributeViSession dI5OSw GetAttributeViSession dI50Sw_CheckAttributeViSession dI5OSw SetAttributeViBoolean dI50Sw_ GetAttributeViBoolean dI50Sw_CheckAttributeViBoolean dI5OSw SetAttributeViString dI5OSw GetattributeViString dI5OSw CheckaAttributeViString Inherent IVI A
115. ion panel window you can use this control as follows H the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI50Sw_GetError function To clear the error information from the driver call the dI50Sw_ClearError function Series 2050 Test System 125 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code
116. ional fields are shown in square brackets Il Svntax search path 2050 lt slot number gt INSTR lt LogicalName gt lt DriverSession gt H you do not specify a value for an optional field the following values are used Optional Field Value search path none The following table contains example valid values for this parameter Valid Value Description 42050 9 INSTR 2050 platform Slot 9 of the Resource Interface Chassis visa DigalogPC_2050 2050 9 INSTR 2050 platform connected to the network 2050 PC s name DigalogPC_2050 Slot 9 of the Resource Interface Chassis AuxCard1 Logical name AuxCard1 Default Value 2050 10 INSTR Series 2050 Test System 151 2050 Switch Family IDQuery Specify whether you want the instrument driver to perform an ID Query Valid Range VI TRUE 1 Perform ID Query Default Value VI FALSE 0 Skip ID Query Note When you set this parameter to VI_TRUE the driver verifies that the instrument you initialize is a type that this driver supports Circumstances can arise where it is undesirable to send an ID Query command string to the instrument When you set this parameter to VI_FALSE the function initializes the instrument without performing an ID Query resetDevice optionString Specify whether you want the to reset the instrument during the initialization procedure Valid Range VI_TRUE 1 Reset Device
117. l BFFA200A One path channel is not a configuration channel BFFA200B Cannot connect two sources BFFA200C The channels are explicitly connected BFFA200D A leg in the path does not begin with a channel name BFFA200E A leg in the path is missing the second channel name BFFA200F The first and second channels in the leg are the same BFFA2010 Duplicate channel in the path string BFFA2011 No path found between the channels BFFA2012 Beginning and end of adjacent legs are not the same BFFA2013 Path contains a leg with un connectable channels BFFA2014 A leg in the path is already connected BFFA2015 A channel cannot be connected to itself IVI Engine Status Codes Status Description ERRORS BFFAOOO1 Instrument error Call dI50Sw_error_query BFFA0002 Cannot open file BFFA0003 Error reading from file Series 2050 Test System 107 2050 Switch Family 108 BFFA0004 BFFA0005 BFFA0006 BFFA0007 BFFA0008 BFFA0009 BFFAOOOA BFFAOOOB BFFAOOOC BFFAOOOD BFFAOOOE BFFAOOOF BFFA0010 BFFAOO11 BFFA0012 BFFA0013 BFFA0014 BFFA0015 BFFA0016 BFFA0017 BFFA0018 BFFA0019 BFFA001A BFFA001B BFFA001C BFFA001D BFFA001E BFFA001F BFFA0020 BFFA0021 BFFA0022 BFFA0023 BFFA0024 BFFA0025 BFFA0026 BFFA0027 BFFA0028 BFFA0029 BFFA002A BFFA002B BFFA002C BFFA002D BFFAOO2E BFFAOO2F BFFA0030 BFFA0031 BFFA0032 Error writing to file Driver module file not found Cannot open driver module file for reading Driver module
118. lems The signal path for these tests is as follows The outputs from the power supply are connected directly through RIC slot 1 and Selftest slot O where ALL power comes into the Selftest Assembly The power supply is programmed to the selected voltages and currents and measurements are read back through the meter If for some reason communications are lost or the 15V or 5V supplies are lost the timer switch will remain open disconnecting all loads Series 2050 Test System 223 PPS Selftest 224 Series 2050 Test Svstem Series 2050 Test System 2050 Error Messages 2050 Error Messages 225 2050 Error Messages Digalog 2050 Error Messages The 2050 error codes are derived in the same way as with previous versions of tester 2030 and 2040 i e group number item number The group number is found by dividing the error code by 256 The decimals are ignored to leave the group number The item number which is the number shown after the colon is derived bv taking the group number and multiplving it bv 256 This number is then sub tracted from the original error code to give the item number Mathematically group number integer part of Error Code 256 Item number Error Code group number 256 Example For the error code 28260 The group number integer part of 28260 256 110 The item number 28260 110 256 100 Therefore 28260 110 100 226 Series 2050 Test System 2050 Erro
119. llel communication signals Therefore the Pass Through Signals are only available in RIC slots that do not have a parallel communication card in them The 68 Pass Through signals can handle 100 volts and 0 375 amps 38 Series 2050 Test System Series 2050 Test System Hardware Mass Interconnect P S 39 Hardware Mass Interconnect P S P ZT G CONTROLLER 12 12 5 FAULTS QExtemal Fault ocosoco oo 000000000000 o 900000 Q To ProductMass Fault Inhibit Interconnect P S to J5 on RIC Interface Power Supplv 24VDC In 220VAC In 40 Series 2050 Test Svstem Hardware Mass Interconnect Power Supplv Assemblv The Mass Interconnect power supplies offer utility voltages of 5V 3A and 15V 0 8A for use in powering either the UUT or circuitrv located in the fixture These power supplies are programmed on or off using a software functional call The outputs of the supplies are also monitored for fault conditions A fault on the power supplies will only affect the UUT power supply system the RIC power supplies are unaffected If a fault is detected the Mass Interconnect power supplies are disconnected from both the AC power and the Mass Interconnect Panel The supplies are also disconnected from the Mass Interconnect Panel when they are programmed to an off state The assembly contains a GPIB controller used for monitoring the sense outputs from the power supplies and fault loop control The front
120. lude filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw CheckAttributeViSession This function checks the validitv of a value vou specifv for a ViSession attribute PROTOTYPE ViStatus dI5OSw CheckAttributeViSession ViSession instrumentHandle ViChar VI FAR channelNamel ViAttr attributelD ViSession attributeValue lt int gt dI5OSw CheckaAttributeViSession ViSession instrumentHandle channelNamell attributelD attributeValue instrumentHandle The ViSession handle that you obtain from the dI50Sw_init or di50Sw_InitWithOptions function The handle identifies a particular instrument session channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window vou can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl
121. m 33 Hardware J37 Digital Motherboard Connector Signal 1 48V Sense 2 48VDC 3 48V Common 4 48V Sense J38 Digital Motherboard Connector Signal 1 5VDC 2 5VDC 3 5V Sense 4 PS1 FAULT COL 5 EXT PS FAULT LOOP OUT 6 PS1 FAULT EMTR GND 7 5V Sense 8 5V Common 9 5V Common PSO PS5 Product Mass Interconnect P S Interface Connector Signal A1 Out1 Out2 A2 Out1 Out2 1 N C 2 N C 3 Sense 4 N C 5 Sense PBPS Product Mass Interconnect P S Interface Connector Signal 1 5VDC 2 5V Sense 3 N C 4 15V Sense 5 15V Sense 6 N C 7 15V Sense 8 15V Sense 9 5V Sense 10 5V Common 11 15VDC 12 15V Common 13 N C 14 15V Common 15 15VDC 34 O 9 0 Ho 9 0 Vo O 8 06 Series 2050 Test System Hardware Analog Backplane The analog backplane has two main purposes One is to provide the analog power to RIC cards Notice that the upper pins on the backplane A1 A16 B1 B16 and C1 C16 are used for power distribution for the RIC Power Supplies and also signal lines for address decoding for the RIC cards The second purpose is to allow RIC cards to share signals Signals can be shared in two ways The first is by using the 16 System Bus Signals provided by pins B17 B32 on each RIC card These 16 signals run the length of the Analog Backplane They connect to the same pin on each of the slots and can be used to connect a signal from a RIC card to another RIC card provided the cards hav
122. mentHandle ViPBoolean callerHasLock lt int gt dI5OSw LockSession ViSession instrumentHandle callerHasLock instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI50Sw_InitWithOptions function The handle identifies a particular instrument session 160 Series 2050 Test System 2050 Switch Family callerHasLock This parameter serves as a convenience If you do not want to use this parameter pass VI NULL Use this parameter in complex functions to keep track of whether you obtain a lock and therefore need to unlock the session Pass the address of a local ViBoolean variable In the declaration of the local variable initialize it to VI FALSE Pass the address of the same local variable to any other calls you make to dI5OSw LockSession or dI5OSw UnlockSession in the same function The parameter is an input output parameter dI5OSw LockSession and dI5OSw UnlockSession each inspect the current value and take the following actions If the value is VI TRUE dI5OSw LockSession does not lock the session again If the value is VI FALSE dI5OSw LockSession obtains the lock and sets the value of the parameter to VI TRUE If the value is VI FALSE dI5OSw UnlockSession does not attempt to unlock the session If the value is VI TRUE dI5OSw UnlockSession releases the lock and sets the value of the parameter to VI FALSE Thus you can call dI50Sw_UnlockSession at the end of your function without worrying ab
123. mily dI5OSw close This function performs the following operations Closes the instrument I O session Destroys the instrument driver session and all of its attributes Deallocates any memory resources the driver uses Notes 1 You must unlock the session before calling dI5OSw close 2 After calling dI5OSw close you cannot use the instrument driver again until you call dI5OSw init or dI5OSw InitWithOptions PROTOTYPE ViStatus dI5OSw close ViSession instrumentHandle lt int gt dI5OSw close instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors Series 2050 Test System 95 2050 Switch Family 96 This instrument driver returns errors and warnings defined b
124. n view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value which you want to verify as a valid value for the Note attribute From the function panel window you can use this control as follows H the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Some of the values might not be valid depending on the current settings of the instrument session Return Value 116 Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI50Sw_GetError function To clear the error information from the driver call the dI50Sw_ClearError function Series 2050 Test System 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges
125. nction The handle identifies a particular instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings Series 2050 Test System 93 2050 Switch Family 94 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Fa
126. nect 0000 3983 ET Wht Blk 20AWG Sense TB1 TH Wht Red 20AWG Sense Out 14AWG White 1 or 2 U Sense 20AWG White Red 3 g Sense 20AWG White Black 4 oO Out 14AWG Black 5 or 6 O DJ NC h N Black 14AWG Out SJ White 14AWG Out Series 2050 Test System 55 Hardware Agilent 6642A Fault Inhibit to P2 on Relav Dis Connect 0000 3984 Fault White P2 on 0050 1021 Relay Dis Connect Fault Green Fault White 1 Inhibit Black Fault Green 2 Inhibit Red Inhibit Black 3 Inhibit Red 4 N C 5 N C 6 Shield 7 N C 8 56 Series 2050 Test System Hardware RIC P S P3 To J19 On Analog Motherboard 0050 2001 1 15V Sense 2 15VDC 3 15V Sense 4 15V Common 5 19V Sense 6 19VDC 7 19V Sense 8 19V Common 9 19V Sense Sense 10 19VDC 11 19V Sense Sense 12 19V Common Out 13 15V Sense Sense 14 15VDC 15 15V Sense Sense 16 15V Common Out 17 N C 18 N C 19 N C Series 2050 Test Svstem 15V Sense 1 15VDC 2 15V Sense 3 15V Common 4 19V Sense 5 19VDC 6 19V Sense 7 19V Common 8 N C 9 N C 10 N C 11 N C 12 N C 13 N C 14 N C 15 N C 16 19V Sense Sense 17 19VDC 18 19V Sense Sense 19 19V Common Out 20 15V Sense Sense 21 15VDC 22 15V Sen
127. ng mode BFFA2008 No explicit path exists between the two channels BFFA2009 Cannot explicitly connect a configuration channel BFFA200A One path channel is not a configuration channel BFFA200B Cannot connect two sources 106 Series 2050 Test System 2050 Switch Family BFFA200C The channels are explicitlv connected BFFA200D A leg in the path is missing the first channel name BFFA200E A leg in the path is missing the second channel name BFFA200F The first and second channels in the leg are the same BFFA2010 Duplicate channel in the path string BFFA2011 No path found between the channels BFFA2012 Beginning and end of adjacent legs are not the same BFFA2013 Path contains a leg with un connectable channels BFFA2014 A leg in the path is already connected BFFA2015 A channel cannot be connected to itself BFFA4001 Hardware failed a write verification IviSwtch Status Codes Status Description WARNINGS 3FFA2001 Some connections remain after disconnecting 3FFA2002 The channels are implicitly connected ERRORS BFFA2001 Invalid path string BFFA2002 Invalid Scan List string BFFA2003 One of the channels is in use BFFA2004 The scan list string is empty BFFA2005 The path string is empty BFFA2006 The switch module is currently in scanning mode BFFA2007 The switch module is not currently in scanning mode BFFA2008 No explicit path exists between the two channels BFFA2009 Cannot explicitly connect a configuration channe
128. ngine CVI Run Time Engine has invalid format Series 2050 Test System BFFA0033 BFFA0034 BFFA0035 BFFA0036 BFFA0037 BFFA0038 BFFA0039 BFFAOO3A BFFA003B BFFA003C BFFA003D BFFAOO3E BFFAOO3F BFFA0040 BFFAOO41 BFFA0042 BFFA0043 BFFA0044 BFFA0045 BFFA0046 BFFA0047 BFFA0048 BFFA0049 BFFAOO4A BFFA004B BFFA004C BFFA004D BFFAOO4E BFFAOO4F BFFA0050 BFFA0051 BFFA0052 BFFA0053 BFFA0054 BFFA0055 2050 Switch Family CVI Run Time Engine is missing required function s CVI Run Time Engine initialization failed CVI Run Time Engine has unresolved external reference Failure loading CVI Run Time Engine Cannot open DLL for read exports DLL file is corrupt No DLL export table in DLL Unknown attribute name in default configuration file Unknown attribute value in default configuration file Memory pointer specified is not known Unable to find any channel strings Duplicate channel string Duplicate virtual channel name Missing virtual channel name Bad virtual channel name Unassigned virtual channel name Bad virtual channel assignment Channel name required Channel name not allowed Attribute not valid for channel Attribute must be channel based Channel already excluded Missing option name nothing before the Missing option value nothing after the Bad option name Bad option value Operation only valid on a class driver session ivi ini filename is reserved Dupl
129. ngs 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAOOOO to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 193 2050 Switch Family dI5OSw WaitForDebounce This function returns after all the paths that vou create have settled PROTOTYPE ViStatus dI5OSw WaitForDebounce ViSession instrumentHandle Vilnt32 maximumTime ms lt int gt dI5OSW WaitForDebounceViSession instrumentHandle maximumTime ms 194 instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session maximumTime ms Return Value Specifies the maximum length of time for this function to wait until all switches in the switch module debounce If the time vou specifv elapses before all switches debounce this function returns a timeout error The units are milliseconds Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI50Sw_GetError function To clear the error informat
130. nse lines of the GPIB power supplies to the RIC are managed by an on board microcontroller which communicates with the host system controller through its IEEE 488 interface to effect the execution of each GPIB related power functional call The microcontroller also constantly monitors the system fault loop and disengages all of the relays and thus the product power supplies outputs if a fault signal has been generated either by a functional call or by any of the product power supplies This prevents the product power supplies from possibly damaging or being damaged by the product It also has a selftest mode to check its own functionality TB1 Relay Dis Connect Product P S In 1 Out 14AWG White 2 Out 14AWG White 3 Sense 20AWG White Red 4 Sense 20AWG White Black 5 Out 14AWG Black 6 Out 14AWG Black TB2 Relay Dis Connect Product P S to RIC 0050 2013 1 Out 14AWG White 2 Out 14AWG White 3 Sense 20AWG Black White 4 Sense 20AWG Black 5 Out 14AWG Black 6 Out 14AWG Black P2 Relay Dis Connect Fault Inhibit From PPS 1 Fault 2 Fault 3 Inhibit 4 Inhibit 5 N C Series 2050 Test System 45 Hardware 6 N C 7 Shield 8 N C P3 Relay Controller Fault Inhibit 0050 2011 1 Fault 2 Fault 3 Inhibit 4 Inhibit P4 Relay Controller 24VDC In 0050 2007 1 Shield 2 N C 3 Gnd 4 N C 5 24VDC 46 Ser
131. o installed in the PXI rack The PCl to PCI bridge uses a 2 meter copper cable to provide a high speed 1 5Gb s serial link GPIB Communication Card There is one PCI GPIB IEEE 488 card installed in the PCI bus of the system controller This device is used to communicate with the Resource Interface Chassis RIC Power supply assembly the Mass Interconnect Power Supply and the programmable Product Power Supply Series 2050 Test System 15 Hardware 16 Series 2050 Test Svstem Series 2050 Test System Hardware AC Power Management 17 Hardware AC Power Management 0050 5100 208 230VAC In 220VAC 24VDC to Return RIC from UPS P S Assy Spare 208 230VAC 220VAC Out to to Terminal 24VDC E Stop UPS Strip PXI Fans On Off Remote Emergency CH Power Off 24VDC 220 to RCS to Terminal Strip 24VDC Receiver Fans 24VDC to Mass Interconnect P S Assembly 18 Series 2050 Test System Hardware AC Power Management Assembly 0050 5100 The AC Power Management Assembly accepts 208 230VAC 50 60 cycle input voltage from the J1 receptacle on its front panel and routes it through the master relay to J2 on the rear panel From there it is routed to the the UPS If the E Stop switch is pressed AC power is removed from J2 and the UPS is signaled to shut down Conditioned power is then routed back from the UPS to the AC Power Management assembly through connector J3 When the On Off switch is closed the 2
132. onnect two channels with the dI5OSw Connect function Thus you cannot guarantee that every call to the dI5OSw Connect function establishes exactly the same path when you pass the same channels This function returns a string that uniquelv identifies the path you create with the dI5OSw Connect function You can pass this string to the dI5OSw SetPath function to establish the exact same path in the future Note This function returns only those paths that you explicitly create by calling dI5OSw Connect and dI5OSw SetPath functions For example if vou connect channels CH1 and CH3 and then channels CH2 and CH3 the explicit path between channels CH1 and Ch2 does not exist and this function returns an error PROTOTYPE ViStatus dI5OSw GetPath ViSession instrumentHandle ViChar _VI FAR channel ViChar VI FAR channel2 Vilnt32 bufferSize ViChar _VI FAR pathil lt int gt dI5OSwW GetPath ViSession instrumentHandle channel1 channel 21 bufferSize path instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI50Sw_InitWithOptions function The handle identifies a particular instrument session channel You identify a path with two channels Pass one of the channel names for which you want to obtain a path Pass the other channel name as the Channel 2 parameter channel2 You identify a path with two channels Pass one of the channel names for which you want to obtain a path Pass the other channel name
133. out whether you actually have the lock Example ViStatus TestFunc ViSession vi Vilnt32 flags d ViStatus error VI SUCCESS ViBoolean haveLock VI FALSE if flags amp BIT 1 viCheckErr dI5OSw LockSession vi amp haveLock viCheckErr TakeAction1 vi if flags amp BIT 2 i viCheckErr dls50Sw_UnlockSession vi amp haveLock viCheckErr TakeAction2 vi Series 2050 Test System 161 2050 Switch Family viCheckErr dI5OSw LockSession vi amp haveLock if flags amp BIT 3 viCheckErr TakeAction3 vi Error je At this point vou cannot reallv be sure that you have the lock Fortunatelv the haveLock variable takes care of that for vou dl50Sw_UnlockSession vi amp haveLock return error Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dl50Sw_error_message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors 162 Series 2050 Test System 2050 Switch Family
134. p is invalid Unable to queue the asynchronous operation Insufficient resources to perform memory allocation Invalid buffer mask specified UO error Format specifier invalid Format specifier not supported Series 2050 Test System BFFFOO42 BFFFOO4A BFFFOO4E BFFFOO51 BFFFOO52 BFFFOO54 BFFFOO55 BFFFOO57 BFFFOO59 BFFFOO5F BFFFOO6O BFFFOO61 BFFFOO67 BFFFOO6A BFFFOO6B BFFFOO6C BFFF0070 BFFFOO71 BFFFOO72 BFFFOO76 BFFFOO78 BFFFOO79 BFFFOO7B BFFFOO8O BFFF0081 BFFF0083 BFFFOO91 BFFFOO9C BFFFOO9D BFFFOO9E 2050 Switch Family Trigger line is currently in use Service request not received for the session Invalid address space specified Invalid offset specified Invalid access width specified Offset not accessible from this hardware Source and destination widths are different Session not currently mapped Previous response still pending No listeners condition detected Interface not currently the controller in charge Interface not the system controller Session does not support this operation A parity error occurred during transfer A framing error occurred during transfer An overrun error occurred during transfer Offset not properly aligned for operation access width Specified user buffer not valid Resource valid but VISA cannot access it Width not supported by this hardware Invalid parameter value parameter unknown Invalid protocol Invalid window size Session currently conta
135. panel also contains a series of LED output indicators for monitoring the status of this assembly and the RIC Power Supplv assemblv as shown to the left Fuse assignments are shown below FI 15VDC 0 375A F2 5VDC 0 25A F3 24VDC In 1A J2 24VDC In Connector Signal 1 24VDC 2 N C 3 GND 4 N C J3 Fault Inhibit Connector Signal FAULT LOOP OUT GND N C N C N C N C PS1 FAULT IN COL PS1 FAULT IN EMTR OO JO O1 P oh Series 2050 Test System 41 Hardware J4 Patchboard Power Connector Signal 1 N C 2 Keving Plug 3 N C 4 5VDC 5 5V Sense 6 5V Common 7 5V Sense 8 N C 9 15V Sense 10 15VDC 11 15V Common 12 15V Sense 13 15V Sense sense 14 15VDC 15 15V Common out 16 15V Sense sense 17 N C 18 N C 19 N C 42 Series 2050 Test System Series 2050 Test System Hardware 24VDC RCS Controller Assembly 43 Hardware 44 Series 2050 Test Svstem Hardware Relav Controller 0050 1020A The Relav Controller is designed to control the output relavs of the GPIB power supplies on Digalog s Series 2050 Test System It consists of one controller board plus one relav dis connect board for each Product P S output A graphic of the svstem is shown on the left page The RCS is a complete system which provides relay control for up to five sets Vout Vout of outputs from the product power supplies The relays which connect the outputs and the se
136. r Messages 2050 ERROR MESSAGES 98 001 98 002 98 003 98 004 98 005 98 006 98 007 98 008 98 010 98 011 98 012 98 014 98 015 98 016 98 020 98 021 98 022 98 023 98 024 98 025 98 026 in 98 027 98 028 is 98 029 98 030 110 100 110 101 110 102 110 103 110 104 110 105 110 106 110 107 110 108 110 109 110 110 110 111 110 112 Function requires GPIB to be Controller In Change Write function detected no Listeners GPIB board is not addressed correctiv Invalid argument to function call GPIB board not Svstem Controller I O operation aborted Non existent GPIB board Virtual DMA device error I O started before previous operation completed No capabilitv for operation File svstem error Command error during device call Serial poll status byte s lost SRQ stuck in the ON position Table problem Address or board is locked The GPIB ENET was alreadv on line and the default board configuration sent to it differs from than configuration under which it was alreadv operating This is only a warning The board configuration has not been changed but the operation has otherwise completed successfully CPIB CPIB CPIB The GPIB librarv was not linked Dummv functions were linked instead Error loading GPIB 32 DLL The MS Windows error code is in ibent Unable to find the function in GPIB 32 DLL The MS Windows error code is in ibent CPIB CPIB CPIB CPIB CPIB Una
137. r of input channels The DL50SW_ATTR_WIRE_MODE attribute affects the number of available columns For example if your module has 8 input lines and you use the four wire mode then the number of columns you have available is 2 DL50SW_ATTR_NUM_OF_DIGITAL This attribute returns the number of relays that attach the digital pass through channels to the analog system bus backplane 202 Series 2050 Test System 2050 Switch Family DL5OSW ATTR NUM OF ROWS This attribute returns the number of rows of a matrix or scanner If the switch module is a scanner this value is the number of output channels The DL5OSW ATTR WIRE MODE attribute affects the number of available rows For example if vour module has 2 output lines and vou use the two wire mode then the number of rows vou have available is 1 DL50OSW ATTR QUERV INSTRUMENT STATUS Specifies whether the instrument driver queries the instrument status after each operation Querying the instrument status is very useful for debugging After you validate your program you can set this attribute to VI FALSE to disable status checking and maximize performance The instrument driver can choose to ignore status checking for particular attributes regardless of the setting of this attribute The default value is VI FALSE Use the dl50Sw_ InitWithOptions function to override this value DL50SW_ATTR_RANGE_CHECK Specifies whether to validate attribute values and function parameters If enabled the instrumen
138. r which vou want to create a path Pass the other channel name as the Channel 1 parameter pathCapability Indicates whether a path is valid Possible values include Status Name Actual Value DL5OSW VAL PATH AVAILABLE 1 DL5OSW VAL PATH EXISTS 2 DL5OSW VAL PATH UNSUPPORTED 3 DL5OSW VAL RSRC IN USE 4 DL5OSW VAL SOURCE CONFLICT 5 DL5OSW VAL CHANNEL NOT AVAILABLE 6 Series 2050 Test Svstem 73 2050 Switch Family Notes 74 1 DL5OSW VAL PATH AVAILABLE indicates that the driver can create the path at this time DL5OSW VAL PATH EXISTS indicates that the path already exists DL5OSW VAL PATH UNSUPPORTED indicates that the instrument is not capable of creating a path between the channels you specifv DL5OSW VAL RSRC IN USE indicates that although the path is valid the driver cannot create the path at this moment because the switch module is currently using one or more of the required channels to create another path You must delete the other path before creating this one DL5OSW VAL SOURCE CONFLICT indicates that the instrument cannot create a path because both channels are connected to a different source channel DL5OSW VAL CHANNEL NOT AVAILABLE indicates that the driver cannot create a path between the two channels because one of the channels is a configuration channel and thus unavailable for external connections Return Value Returns the status code of this operation The status code either indicates success or describes an e
139. ributeValue Pass the value which you want to verify as a valid value for the Note attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Some of the values might not be valid depending on the current settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors Series 2050 Test System 83 2050 Switch Family 84 This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different inc
140. rom the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking Series 2050 Test System 175 2050 Switch Family on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session 176 Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5SOSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeri
141. rror or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test System Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 75 2050 Switch Family dI5OSw CheckAttributeViBoolean This function checks the validitv of a value vou specifv for a ViBoolean attribute PROTOTYPE ViStatus dI5OSw CheckAttributeViBoole
142. rs Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test System Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 81 2050 Switch Family dI5OSw CheckAttributeViReal64 This function checks the validitv of a value vou specifv for a ViReal64 attribute PROTOTYPE ViStatus dI5OSw CheckAttributeViReal64 ViSession instrumentHandle ViChar VI FAR channelNamell ViAttr attributelD ViReal64 attributeValue lt int gt dI5OSw CheckAttributeViReal64 ViSession instrumentHandle channelNamell attributelD attributeValue 82 instrumentHandle The ViSession handle that you obtain from the dI50Sw_init or di50Sw_InitWithOptions function The handle identifies a particular instrument session channelName If the attribute is channel based this parameter specifies the name of the channel on which to set the value of the attribute
143. rs the IVI error information for the session or the current execution thread One exception exists If the BufferSize information By passing O for the buffer size the caller can ascertain the buffer size required to get the entire error description string and then call the function again with a sufficiently large buffer If the user specifies a valid IVI session for the InstrumentHandle parameter Get Error retrieves and then clears the error information for the session If the user passes VI_ NULL for the InstrumentHandle parameter this function retrieves and then clears the error information for the current execution thread If the InstrumentHandle parameter is an invalid session the function does nothing and returns an error Normally the error information describes the first error that occurred since the user last called dI5OSw GettError or dI5OSw ClearError PROTOTYPE ViStatus dI50Sw_GetError ViSession instrumentHandle ViPStatus code Vilnt32 bufferSize ViChar VI FAR descriptionil lt int gt dI5OSw GetError ViSession instrumentHandle code buffersize description instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI5OSw InitWithOptions function The handle identifies a particular instrument session code Returns the error code for the session or execution thread If you pass 0 for the Buffer Size you can pass VI NULL for this parameter bufferSize If the error description including th
144. s 2050 Test System 2050 Error Messages 110 184 110 200 Operation is not supported on this session Unknown Generic IVI Error 110 176 IVI Violation of raw write protocol occurred 110 177 IVI Violation of raw read protocol occurred 110 178 IVI Device reported an output protocol error 110 179 IVI Device reported an input protocol error 110 180 IVI Bus error occurred during transfer 110 181 IVI Invalid setup attributes are not consistent 110 182 IVI A no listeners condition was detected 110 183 IVI This interface is not the controller in charge IVI IVI Series 2050 Test System 229 2050 Error Messages 230 Series 2050 Test System 2050 Appendix A Appendix A Weekly Maintenance The only weekly maintenance due on the 2050 Test System is to check and clean the six fan filters on the rear of the cabinet One is located on the Mass Interconnect P S two are located on the Resource In terface Chassis P S and three are located on the fan assembly on the lower part of the back panel If the filters cannot be cleaned replace them with Digalog 2600 1001 Mass Interconnect P S Resource Interface Chassis Fan Assembly Series 2050 Test System 231 2050 Appendix B Appendix B Recommended Spare Parts Qnty Digalog P N 2 0001 0014A 10001 0064A 12000 2026 1 4100 1027 CopperCable 1 0050 1536A 10050 1574A 10050 1592A 1 4100 01 24 14100 1026 2 0050 5020 FS 20050 5021
145. s function to override this value DL5OSW ATTR SLOT NUM The slot number of the Resource Interface Chassis where the 2050 RIC board is located DL5OSW ATTR SPECIFIC DRIVER CLASS SPEC MAJOR VERSION The major version number of the class specification with which this driver is compliant DL5OSW ATTR SPECIFIC DRIVER CLASS SPEC MINOR VERSION The minor version number of the class specification with which this driver is compliant DL5OSW ATTR SPECIFIC DRIVER DESCRIPTION A string that contains a brief description of the specific driver DL5OSW ATTR SPECIFIC DRIVER PREFIX A string that contains the prefix for the instrument driver The name of each user callable function in this driver starts with this prefix DL5OSW ATTR SPECIFIC DRIVER REVISION A string that contains additional version information about this instrument driver DL5OSW ATTR SPECIFIC DRIVER VENDOR A string that contains the name of the vendor that supplies this driver DL5OSW ATTR SUPPORTED INSTRUMENT MODELS Contains a model code of the instrument For drivers that support more than one device this attribute contains a comma separated list of supported instrument models 204 Series 2050 Test System 2050 Switch Family DL5OSW ATTR WIRE MODE This attribute specifies the wire mode of the switch module This attribute affects the values of the DL5OSW ATTR NUM OF ROWS and DL5OSW ATTR NUM OF COLUMNS attributes The actual number of input and output lines on the switch mod
146. s parameter specifies the name of the channel on which to set the value of the attribute If the attribute is not channel based then pass VI NULL or an emptv string attributelD Pass the ID of an attribute From the function panel window you can use this control as follows Click on the control or press lt ENTER gt lt spacebar gt or lt ctrl down arrow gt to display a dialog box containing a hierarchical list of the available attributes Attributes whose value cannot be set are dim Help text is shown for each attribute Select an attribute by double clicking on it or by selecting it and then pressing lt ENTER gt A ring control at the top of the dialog box allows you to see all IVI attributes or only the attributes of the ViBoolean type If you choose to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than ViBoolean are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type H you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value to which you want to set the attribute F
147. s valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking Series 2050 Test System 181 2050 Switch Family on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session 182 Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5SOSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFATFFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF
148. se Sense 23 15V Common Out 24 57 Hardware RIC P S J4 To J37 amp J38 On Digital Motherboard 0050 2002 1 5VDC 2 5VDC 3 5V Sense 4 N C 5 5V Common 6 5V Common 7 5V Sense 8 N C 9 N C 10 EXT PS FAULT LOOP OUT 11 PS1 FAULT COL 12 PS1 FAULT EMTR 13 GND 14 GND 15 N C 16 448V Sense 17 48VDC 18 48V Sense 19 48V Common 58 J38 5VDC 1 5VDC 2 5V Sense 3 PS1_FAULT COL 4 EXT PS FAULT LOOP OUT 5 PS1 FAULT EMTR GND 6 5V Sense 7 5V Common 8 5V Common 9 J37 48V Sense 1 48VDC 2 48V Common 3 48V Sense 4 Series 2050 Test System Hardware AC Power Management to UPS REPO Cable 0050 2003 eS J15 1 N C 2 N C 3 To REPO P1 4 To REPO P2 5 N C 6 N C 7 N C 8 N C OG GC eeb Series 2050 Test System 59 Hardware PXI Bus Power Cable 0050 2005 208 240VAC L P1 To Power One Supply P2 Tracewell Backplane 1 5VDC 25 N C 5VDC 1 2 5VDC 26 Reserved 5VDC 2 3 5VDC 27 Enable 5 3 3 Rtn 3 4 5VDC 28 N C 5 3 3 Rtn 4 5 5 3 3 Rtn 29 N C 12VDC Rtn 5 6 5 3 3 Rtn 30 5V Remote Sense 12VDC 6 7 5 3 3 Rtn 31 N C 12V Remote Sense 7 8 5 3 3 Rtn 32 N C 12VDC Rtn 8 9 5 3 3 Rtn 10 5 3 3 Rtn 11 5 3 3 Rtn 12 5 3 3 Rtn 13 3 3VDC 14
149. se to see all IVI attributes the data types appear to the right of the attribute names in the list box Attributes with data types other than Vilnt32 are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value to which you want to set the attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking Series 2050 Test System 2050 Switch Family on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description
150. session to the specified device using the interface and address vou specifv for the Resource Name parameter If the ID Query parameter is set to VI TRUE this function queries the instrument ID and checks that it is valid for this instrument driver If the Reset parameter is set to VI TRUE this function resets the instrument to a known state Sends initialization command s to set the instrument to the state necessarv for the operation of the instrument driver Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls Note This function creates a new session each time vou invoke it Although you can open more than one IVI session for the same resource it is best not to do so Vou can use the same session in multiple program threads You can use functions dI5OSw LockSession and dI5OSw UnlockSession to protect sections of code that require exclusive access to the resource PROTOTYPE ViStatus dI5OSw init ViRsrc resourceName ViBoolean IDQuerv ViBoolean resetDevice ViPSession instrumentHandle lt int gt dI5OSW init resourceName IDQuery resetDevice resourceName Pass the resource name of the device to initialize You can also pass the name of a virtual instrument or logical name that you configure with the IVI Configuration utility The virtual instrument identifies a specific device and specifies the initial settings for the session A logical Name ident
151. so requires ensuring that each test module completely configures the state of each instrument it uses If a particular test module does not completely configure the state of an instrument the state of the instrument depends on the configuration from a previously executed test module If you execute the test modules in a different order the behavior of the instrument and therefore the entire test module is likely to change This change in behavior is generally instrument specific and represents an interchangeability problem You can use this function to test for such cases After you call this function the interchangeability checking algorithms in the specific driver ignore all previous configuration operations By calling this function at the beginning of a test module you can determine whether the test module has dependencies on the operation of previously executed test modules This function does not clear the interchangeability warnings from the list of previously recorded interchangeability warnings If you want to guarantee that the dI5OSw GetNextinterchangeWarning function only returns those interchangeability warnings that are generated after calling this function you must clear the list of interchangeability warnings You can clear the interchangeability warnings list by repeatedly calling the dI50Sw_ GetNextInterchangeWarning function until no more interchangeabilitv warnings are returned If you are not interested in the content of thos
152. st System 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF Iviswtch Warnings 3FFA0000 to 3FFATFFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAOOOO to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 149 2050 Switch Family di50Sw_InitWithOptions This function performs the following initialization actions Creates a new IVI instrument driver and optionallv sets the initial state of the following session attributes DL5OSW ATTR RANGE CHECK DL5OSW ATTR QUERY_ INSTRUMENT STATUS DL5OSW ATTR CACHE DL5OSW ATTR SIMULATE DL5OSW ATTR RECORD COERCIONS Opens a session to the specified device using the interface and address vou specifv for the Resource Name parameter If the ID Query parameter is set to VI TRUE this function queries the instrument ID and checks that it is valid for this instrument driver If the Reset par
153. status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred If the current value of the return buffer including the terminating NUL byte is larger than the size you indicate in the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function 135 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF Iviswt
154. t driver validates the parameter values that you pass to driver functions Range checking parameters is very useful for debugging After you validate your program you can set this attribute to VI FALSE to disable range checking and maximize performance The default value is VI TRUE Use the dI5OSw InitWithOptions function to override this value DL50SW_ATTR_RECORD_COERCIONS Specifies whether the IVI engine keeps a list of the value coercions it makes for integer and real type attributes You call dls0Sw_GetNextCoercionRecord to extract and delete the oldest coercion record from the list The default value is VI FALSE Use the dI5OSw InitWithOptions function to override this value DL5OSW ATTR RELAV COUNT This attribute returns the number of relavs on this card DL5OSW ATTR SETTLING TIME This channel based attribute returns the maximum length of time from after you make a connection until the signal flowing through the channel settles The units are seconds Series 2050 Test Svstem 203 2050 Switch Family DL5OSW ATTR SIMULATE Specifies whether or not to simulate instrument driver I O operations 1f simulation is enabled instrument driver functions perform range checking and call Ivi_GetAttribute and Ivi SetAttribute functions but they do not perform instrument I O For output parameters that represent instrument data the instrument driver functions return calculated values The default value is VI FALSE Use the dI5OSw InitWithOption
155. t number 110 130 RS232 Packet number inconsistency 110 131 RS232 Packet data could not be read 110 132 RS232 Checksum could not be read 110 133 RS232 Received checksum does not match computed checksum 110 134 RS232 Invalid packet size 110 135 RS232 Error opening file 110 136 RS232 Error reading file 110 137 RS232 Initial negative acknowledgment not received 110 138 RS232 Acknowledgement not received following end of 110 139 RS232 Error while writing tot file 110 140 RS232 Did not receive start of data nor end of transmission when one was expected 110 141 RS232 Transfer was cancelled because CAN byte was received 110 142 RS232 Invalid start delay 110 143 RS232 Invalid maximum number of tries 110 144 RS232 Invalid wait period 110 145 RS232 Invalid packet size 110 146 RS232 Unable to read CRC 110 147 RS232 CRC error 110 150 The returned selftest ID from the backplane was invalid 110 151 Invalid slot number parameter passed 110 152 Invalid address parameter passed 110 153 Invalid byte parameter passed 110 154 Failed to readback the same data as written 110 170 IVI The specified termination character was read 110 171 IVI The specified number of bytes was read 110 172 IVI Reset not supported 110 173 IVI Miscellaneous or system error occurred 110 174 IVI Invalid session handle 110 175 IVI Timeout occurred before operation could complete 228 Serie
156. tablished The reason for this is that the NI software takes precedence on boot up and takes a few minutes to do it s internal setup and checks Of course this should not present a problem in the Series 2050 Test System 219 MRIy Selftest normal situation since the system should warmed up for 30 minutes before conducting selftest 3 All cards in the Resource Interconnect Controller RIC chassis MUST be screwed into position when being seated otherwise intermittent failures WILL be obtained 4 For this and all subsequent tests the path for the signals back to the NI 4070 card must be preserved For the GMT 900 selftest the NI 4070 card is situated in PXI slot 3 The meter probes are passed to the selftest board via a pass through card located above the 4070 onto the Mass Interconnect Connector MIC The meter leads appear on the pins A48 M B48 MS C48 MS and D48 M Looking at the MIC from the front of the tester the connections are left to right from the top A1 B1 C1 amp D1 A48 is the bottom left connection A quick test to see if these meter leads are reaching the MIC is to take off the selftest unit connect a known resistor into the MIC on the correct pins and then open the NI Meter front panel software If the corrections are correct then the panel should give the resistor reading 220 Series 2050 Test System PPS Selftest PPS Selftest Series 2050 Test Svstem 221 PPS Selftest Overview The
157. tatus code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors 164 Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test Svstem Status Code Tvpes Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 165 2050 Switch Family di50Sw_ResetinterchangeCheck When developing a complex test system that consists of multiple test modules it is generally a good idea to design the test modules so that they can run in any order To do
158. th data types other than ViBoolean are dim If you select an attribute data type that is dim LabWindows Series 2050 Test System 2050 Switch Family CVI transfers you to the function panel for the corresponding function that is consistent with the data type H you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value which you want to verify as a valid value for the attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information
159. the constants by pressing lt ENTER gt on this control Select a value by double clicking Series 2050 Test System 187 2050 Switch Family on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session 188 Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5SOSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFATFFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFC
160. the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors 168 Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test Svstem Status Code Tvpes Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 169 2050 Switch Family di50Sw revision querv This function returns the revision numbers of the instrument driver and instrument firmware PROTOTYPE ViStatus dI5OSw revision querv ViSession instrumentHandle ViChar VI FAR instrumentDriverRevision ViIChar VI FAR firmwareRevision lt int gt dI50Sw_revision_query ViSession instrumentHandle instrumentDriverRevision firmwareRevision 170 instrumentHandle The ViSession handle that you obtain from the dI5OSw init or dI50Sw_InitWithOptions function The handle identifies a particular instrument session instrumentDriverRevision
161. tions dI5OSw LockSession and dI5OSw UnlockSession to protect sections of code that require exclusive access to the resource Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the di50Sw_error_message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors 154 Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test Svstem Status Code Tvpes Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors
162. to BFFCFFFF Series 2050 Test System Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 159 2050 Switch Family dI5OSw LockSession This function obtains a multithread lock on the instrument session Before it does 50 it waits until all other execution threads have released their locks on the instrument session Other threads might have obtained a lock on this session in the following Ways The user s application called dI5OSw LockSession call to the instrument driver locked the session call to the IVI engine locked the session After your call to dI5OSw LockSession returns successfully no other threads can access the instrument session until you call dI5OSw UnlockSession Use dI5OSw LockSession and dI5OSw UnlockSession around a sequence of calls to instrument driver functions if vou require that the instrument retain its settings through the end of the sequence You can safely make nested calls to dI5OSw LockSession within the same thread To completelv unlock the session vou must balance each call to use the Caller Has Lock parameter in all calls to dI5OSw LockSession and only once within the function regardless of the number of calls you make to dI5OSw LockSession This allows you to call dI5OSw UnlockSession just once at the end of the function PROTOTYPE ViStatus dI5OSw LockSession ViSession instru
163. to verify as a valid value for the attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI50Sw_GetError function To clear the error information from the driver call the dI50Sw_ClearError function 122 Series 2050 Test System 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for th
164. ttributes User Options Range Check DL5OSW ATTR RANGE CHECK Querv Instrument Status DL5OSW ATTR QUERV INSTRUMENT STATUS Cache DL5OSW ATTR CACHE Simulate DL5OSW ATTR SIMULATE Record Value Coercions DL5OSW ATTR RECORD COERCIONS Interchange Check DL5OSW ATTR INTERCHANGE CHECK Driver Identification Description DL5OSW ATTR SPECIFIC DRIVER DESCRIPTION Driver Prefix DL5OSW ATTR SPECIFIC DRIVER PREFIX Driver Vendor DL5OSW ATTR SPECIFIC DRIVER VENDOR Revision DL5OSW ATTR SPECIFIC DRIVER REVISION Class Specification Major Version DL5OSW ATTR SPECIFIC DRIVER CLASS SPEC MAJOR VERSION Class Specification Minor Version DL5OSW ATTR SPECIFIC DRIVER CLASS SPEC MINOR VERSION 196 Series 2050 Test Svstem 2050 Switch Family Driver Capabilities Supported Instrument Models DL5OSW ATTR SUPPORTED INSTRUMENT MODELS Class Group Capabilities DL5OSW ATTR GROUP CAPABILITIES Instrument Identification Manufacturer DL5OSW ATTR INSTRUMENT MANUFACTURER Model DL5OSW ATTR INSTRUMENT MODEL Firmware Revision DL50SW_ATTR_INSTRUMENT_FIRMWARE_ REVISION Advanced Session Information Logical Name DL5OSW ATTR LOGICAL NAME I O Resource Descriptor DL50SW_ATTR_IO_RESOURCE_DESCRIPTOR Driver Setup DL50SW_ATTR_DRIVER_SETUP Channel Configuration Is Source Channel DL5OSW ATTR IS SOURCE CHANNEL Is Configuration Channel DL5OSW ATTR IS CONFIGURATION CHANNEL Module Characteristics Number of relavs DL5OSW ATTR RELAV COUNT Tvpe of relav card DL5OSW ATTR CARD TVPE
165. ttributes with data types other than ViSession are dim If you select an attribute data type that is dim LabWindows CVI transfers you to the function panel for the corresponding function that is consistent with the data type If you want to enter a variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value to which you want to set the attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking Series 2050 Test System 2050 Switch Family on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the di50Sw_error_message function To obtain additional information about the
166. u can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Note Some of the values might not be valid depending on the current 86 settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO
167. u must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 To obtain a text description of the status code call the di50Sw_error_message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dI5OSw ClearError function The general meaning of the status code is as follows Value 0 Positive Values Meaning Success Warnings Negative Values Errors Series 2050 Test System 2050 Switch Family This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Series 2050 Test System Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors 145 2050 Switch Family dI5OSw init This function performs the following initialization actions Creates a new IVI instrument driver session Opens a
168. uffer must contain at least as many elements as the value you specify with the Buffer Size parameter If the next coercion record string including the terminating NUL byte contains more bytes than you indicate with the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 This parameter returns an empty string if no coercion records remain for the session Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred If the current value of the return buffer including the terminating NUL byte is larger than the size you indicate in the Buffer Size parameter the function copies Buffer Size 1 bytes into the buffer places an ASCII NUL byte at the end of the buffer and returns the buffer size you must pass to get the entire value For example if the value is 123456 and the Buffer Size is 4 the function places 123 into the buffer and returns 7 Series 2050 Test System 2050 Switch Family To obtain a text description of the status code call the di50Sw_error_message function To o
169. ugh 10 13 Internal Pass Through and Analog bus BUSO BUS3 External channel bus CHO CH127 Channels Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred 98 Series 2050 Test System 2050 Switch Family To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GettError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF IviSwtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAOOOO to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series
170. ule is fixed but the number of channels depends on how many lines constitute each channel Series 2050 Test Svstem 205 2050 Switch Family 206 Series 2050 Test System Selftest Selftest Series 2050 Test Svstem 207 Selftest 208 Series 2050 Test Svstem Discrete Switching Discrete Switching Series 2050 Test Svstem 209 Discrete Switching Overview The 0050 1218A Discrete Switch Pass through Selftest board was designed to evaluate the 0000 6622 PXI Discrete Switch board attached to Pass through lines routed through the RIC prototvping card 0050 1592 or equivalent The 6622 board is used to simulate dirty or leaky switch contacts Usuallv the value of the resistors is 47 Ohm and 100K Ohm However these values can be project specific as in the case of the GMT 900 The values here are 20 Ohm and 100K respectively It should be noted that there is a posistor in series with the 20 Ohm resistor for current limiting purposes The selftest for this board uses a 4 wire test to measure the 20 Ohm resistor and although the 4 wire is still connected for the 100K There are 4 banks of 8 channels Each bank of 8 channels has two busses associated with it so that an external positive or negative voltage can be applied during normal use i e 6622 Selftest 100kOhm Figure 1 Pued JIUUODJa U SSEW 210 Series 2050 Test System Discrete Switching CHO CH7 have a V0O bus and a VO bus
171. unction clears the error code and error description for the IVI session If the user specifies a valid IVI session for the InstrumentHandle parameter this function clears the error information for the session If the user passes VI NULL for the Vi parameter this function clears the error information for the current execution thread If the Vi parameter is an invalid session the function does nothing and returns an error The function clears the error code by setting it to VI SUCCESS If the error description string is non NULL the function de allocates the error description string and sets the address to VI_NULL Maintaining the error information separately for each thread is useful if the user does not have a session handle to pass to the dI5OSw GetError function which occurs when a call to dI5OSw init or dI5OSw InitWithOptions fails PROTOTYPE ViStatus dI5OSw ClearError ViSession instrumentHandle lt int gt dl50Sw_ClearError ViSession instrumentHandle instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition Vou examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5
172. ut also the resistance paths through the MRLY board and the Virginia Panel Mass Interconnect system The measured resistance is hence much higher than one would expect from the relav contacts alone The expected resistance value is in the range 0 1 to 0 8 Ohms The actual reading for this first test is stored in Teststand in the array FileGlobals CLOSED_MRLY_MEASUREMENT_RESULTS_ARRAY 0 The second test switches the relays as follows Once again a 4 wire measurement is taken at the 4 buses this time they are connected as shown in Figure 2 Series 2050 Test System 215 MRI v Selftest Mriv Board Mrly Selftest Bus A Bus B oued DaUUOHaIuI SSEW Q Q OX Ee Go vn Bus A SC GO pus E M Sense So Bus c M Sense SO Bus D M Figure 2 To other channels 216 Series 2050 Test Svstem MRIy Selftest XO to BUSC amp Meter Plus Lead M XO to BUSD amp Meter Plus Sense Lead MS X1 to BUSA amp Meter Return Sense Lead MS X1 to BUSB amp Meter Return Lead M The actual reading for this second test is stored in TestStand in the array FileGlobals CLOSED MRLY MEASUREMENT RESULTS ARRAVIIT The rest of the tests in MRLY test 1 follow the same pattern as above for each channel pair i e TEST CONNECTIONS MEASUREMENT ARRAY INDEX 3 127 128 X2 to BUSO amp M FileGlobals CLOSED MRLY MEASUREMENT RESULTS ARRAY 2 X2 to BUST amp MS X3 to BUS2 amp MS X3 to BUS3 amp M
173. v other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex 3FFA2000 to 3FFA3FFF 3FFA0000 to 3FFA1FFF 3FFF0000 to 3FFFFFFF 3FFCO000 to 3FFCFFFF BFFA2000 to BFFA3FFF BFFA0000 to BFFA1FFF BFFFO000 to BFFFFFFF BFFCO000 to BFFCFFFF Status Code Types Iviswtch Warnings IVI Warnings VISA Warnings VXIPnP Driver Warnings Iviswtch Errors IVI Errors VISA Errors VXIPnP Driver Errors Series 2050 Test System 2050 Switch Family dI5OSw Connect This function creates a path between Channel 1 and Channel 2 The driver calculates the shortest path between the two channels If a path is not available the function returns one of the following errors Notes DL5OSW ERROR EXPLICIT CONNECTION EXISTS OxBFFA200C if the two channels are already explicitlv connected by calling either the dI5OSw Connect or dI5OSw SetPath function DL5OSW ERROR IS CONFIGURATION CHANNEL OxBFFA2009 if a channel is a configuration channel Error elaboration contains information about which of the two channels is a configuration channel DL50OSW ERROR ATTEMPT TO CONNECT SOURCES OxBFFA200B if both channels are connected to a different source Error elaboration contains information about sources channel 1 and 2 connect to DL5OSW ERROR CANNOT CONNECT TO ITS
174. variable name press lt CTRL T gt to change this ring control to a manual input box If the attribute in this ring control has named constants as valid values you can view the constants by moving to the Attribute Value control and pressing lt ENTER gt attributeValue Pass the value which you want to verify as a valid value for the Note attribute From the function panel window you can use this control as follows If the attribute currently showing in the Attribute ID ring control has constants as valid values you can view a list of the constants by pressing lt ENTER gt on this control Select a value by double clicking on it or by selecting it and then pressing lt ENTER gt Some of the values might not be valid depending on the current settings of the instrument session Return Value Returns the status code of this operation The status code either indicates success or describes an error or warning condition You examine the status code from each call to an instrument driver function to determine if an error occurred To obtain a text description of the status code call the dI5OSw error message function To obtain additional information about the error condition call the dI5OSw GetError function To clear the error information from the driver call the dl50Sw_ ClearError function The general meaning of the status code is as follows 80 Value Meaning 0 Success Positive Values Warnings Negative Values Erro
175. w_GetError function To clear the error information from the driver call the dI5OSw ClearError function 156 Series 2050 Test System 2050 Switch Family The general meaning of the status code is as follows Value Meaning 0 Success Positive Values Warnings Negative Values Errors This instrument driver returns errors and warnings defined by other sources The following table defines the ranges of additional status codes that this driver can return The table lists the different include filenames that contain the defined constants for the particular status codes Numeric Range in Hex Status Code Types 3FFA2000 to 3FFA3FFF IviSwtch Warnings 3FFA0000 to 3FFA1FFF IVI Warnings 3FFFOOOO to 3FFFFFFF VISA Warnings 3FFCOOOO to 3FFCFFFF VXIPnP Driver Warnings BFFA2000 to BFFA3FFF Iviswtch Errors BFFAO000 to BFFA1 FFF IVI Errors BFFFOOOO to BFFFFFFF VISA Errors BFFCOOOO to BFFCFFFF VXIPnP Driver Errors Series 2050 Test System 157 2050 Switch Family dI5OSw IsDebounced This function returns the state of the switch module It indicates if all the paths that vou created have settled PROTOTYPE ViStatus dI5OSw IsDebounced ViSession instrumentHandle ViPBoolean isDebounced lt int gt dI5OSw IsDebounced ViSession instrumentHandle isDebounced instrumentHandle The ViSession handle that you obtain from the dI5OSw init or di50Sw_InitWithOptions function The handle identifies a particular instrument session isDebounced

Download Pdf Manuals

image

Related Search

Related Contents

Diamond Multimedia Radeon 9800 Series User's Manual  PN-L702B PN  GUIDA ALL`ABBRONZATURA-ING    

Copyright © All rights reserved.
Failed to retrieve file