Signametrics SMX4032 Operator's Manual

35 channel pxi instrumentation relay multiplexer 35 channel pxi relay multiplexer
Table of Contents

Advertisement

Quick Links

Operator's Manual
Model SMX4032 35 Channel PXI Instrumentation Relay Multiplexer
Model SMX4030 35 Channel PXI Relay Multiplexer
Signametrics Corporation
June, 2010

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SMX4032 and is the answer not in the manual?

Questions and answers

Summary of Contents for Signametrics SMX4032

  • Page 1 Operator's Manual Model SMX4032 35 Channel PXI Instrumentation Relay Multiplexer Model SMX4030 35 Channel PXI Relay Multiplexer Signametrics Corporation June, 2010...
  • Page 2 Signametrics’ products, even if Signametrics has been advised of the possibility of such damages. Because some states do not allow the exclusion or limitation of liability for consequential damages, the above limitations may not apply to you.
  • Page 3: Table Of Contents

    PXI DMM..............25 NTERFACING TO THE SERIES IGIT 4.4.1 Triggering the SMX2040 DMMs ...................26 4.4.2 Multiplexing with the SMX2040 DMMs.................26 4.4.3 Interface Commands and Timing...................26 4.5 S .........................27 INGLE NDED PPLICATIONS 4.5.1 Point to Point Operation......................27 4.5.2 Single Ended Selector ......................28 Signametrics...
  • Page 4 5.0 SMX4032 S ................29 CANNER AMILY INDOWS NTERFACE 5.1 D ..........................29 ISTRIBUTION ILES 5.2 U SMX4032 D ............30 SING THE RIVER WITH IMILAR OFTWARE 5.2.1 Multiple Card Operations under Windows................30 5.3 V .....................31 ISUAL ASIC RONT ANEL PPLICATION 5.3.1 Visual Basic Simple Application ....................31 5.4 W...
  • Page 5: Introduction

    Do not use the SM40 and SM40L if voltages connected are above 50V DC or 40V AD. 1.2 Minimum Requirements The SMX4032 relays Scanner is copatible with any 3U PXI or CompactPCI chassis, it requires a 100MHz Pentium or higher. A mouse must be installed when controlling the Scanner from the Windows Control Panel. The install packagae comes with a Windows' DLL, for operation with Windows 9X/ME/2000/XP.
  • Page 6: Description

    For cost sensitive applications, where these issues are not as critical, the SMX4030 offers an economical solution. Though inferior to the SMX4032, the non isolated SMX4030 is a much better switching card compared to similar plug-in products on the market.
  • Page 7: Configuration Relays

    1.4 Configuration Relays In addition to the channel switching relays, the SMX4032 includes two sets of relays used for configuring of the scanner. The configuration switches facilitate inter-group connections and the Tree relays provide isolation of each of the group’s buses from their respective channel relays. These relays are automatically configured on the fly when the scanner receives configuration commands or while a channel is being selected, which requires routing via these relays.
  • Page 8: Specifications And Feature Table

    2.0 Specifications and Feature Table Function SMX4032 Instrumentation SMX4030 Standard Number of differential channels Number of 8:1 groups four four Scanning Arrangement Four groups of 8:1 differential Four groups of 8:1 differential V V Thermal EMF offset < 1.0 Maximum Switching DC...
  • Page 9: External Hardware Trigger Output

    2.1.3.1 PXI Trigger Outputs The DMM issues a Data Ready pulse each time the A/D is done making a measurement, indicating data is ready to be read. A short (about 140s) negative pulse is issued for each measurement, with the Signametrics...
  • Page 10 2.1.3.2 Trigger Inputs The trigger input to the SMX4032 is a wired-ored signal of the trigger input from the DB-78 connector and the PXI bus trigger. Make sure that no signal is connected to the DB-78 trigger inputs while the PXI trigger is in use.
  • Page 11: Other Specifications

    Scanner and prompt you for a driver. The driver your computer requires is on Disk 1 (SMX4032.inf). Guide the computer to search for device driver on the floppy drive (A:\). Next run ‘setup’ provided in Disk1(double click it).
  • Page 12: Installing The Scanner Module

    Channel 11 High Ch26Lo Channel 26 Low B-bus/Ch33 Low Ch28Lo Channel 28 Low Ch14Lo Channel 14 Low Ch30Lo Channel 30 Low Ch16Lo Channel 16 Low Ch32Lo Channel 32 Low Ch18Lo Channel 18 Low Trig_IN Trigger Input Ch20Lo Channel 20 Low Signametrics...
  • Page 13 Ch15Hi Channel 15 High Ch1Lo Channel 1 Low Ch17Hi Channel 17 High Ch3Lo Channel 3 Low Ch19Hi Channel 19 High Channel 32 Low Ch21Hi Channel 21 High Ch6Hi Channel 6 High Ch23Hi Channel 23 High Ch9Lo Channel 9 Low Signametrics...
  • Page 14 TrigComm - This is the TrigIn and TrigOut return terminal. Both of these signals are referenced to it. All three signals associated with the trigger circuitry, TrigComm, TrigIn, and TrigOut are optically isolated from the rest of the terminals in the DB-78 connector. Signametrics...
  • Page 15: Starting The Control Panel

    Windows based Control Panel. To run the control panel, double click the ‘SMX4032.EXE’ icon. If you do not hear the relays click, you may have an installation error. The Control Panel is operated with a mouse. All functions are accessed using the left mouse button.
  • Page 16 Figure 3-2. The Control Panel for the SMX4032. The three main groups include the relays buttons, the configuration selection options, and the main menu. Note: All of the controls described below correspond to their respective software function, which can be invoked within your control software or as objects in a visual programming environment.
  • Page 17: Scanner Tutorial

    For instance, in FourWire configuration, the responose to ‘select Ch2) will result in opening of a previousely selected channel relays and the closure of Ch2 and Ch18. All this will be done within a single actuation time. Signametrics...
  • Page 18: Two Wire Multiplexing

    DMM such as the SMX2042, SMX2044 and SMX2064 in conjunction with a low thermal EMF switches such as the SMX4030 and SMX4032 will result in the lowest possible error. Be aware that this effect is the same for either, 2-Wire or 4-Wire Ohms measurement. The resistance measurement error is equal to the thermal voltage divided by the DMM Ohms test current.
  • Page 19: Six Wire Multiplexing

    Figure 4-2. To perform 4-Wire resistance measurement with the SMX4032, connect Ch1 and Ch21 to a resistor, maintaining correct polarity. 4.1.3 Six Wire Multiplexing In SixWire configuration, the SMX4030 and SMX4032 simultaneously connect one channel to the A-bus, one to the B-bus and one to the C-bus.
  • Page 20: Four Groups Configuration

    Actuation time is set (use SCANSetActuationTime() function to set it). The logic level of TrigOut may be set high or low using the SCANSetTriggerOut() function. In the following diagram, TrigOut level corresponds to the circuit in figure 3.3. Signametrics...
  • Page 21: Trigger Input

    SCANTrigAutoScan() function. This value must be between 1 and 192. This may be terminated by sending SCANAbort() command to the Scanner. Use the SCANOpenAllChannel() function if you wish to open the last selected channel at the end of the scan. Signametrics...
  • Page 22: Triggered Scan Operation

    Scan List is 192. The polled version of SCANStep(), SCANStepCmd() function maybe used if a polled control is required. Read about the usage of polled operations in the “Polled Type Operations” section. Use the SCANOpenAllChannel() function if you wish to open the last selected channel. Signametrics...
  • Page 23: Scan List Operations

    Scanners. This requires that all Scanners included in the scan are loaded with identical table values. The following table shows multiple card scanning operation, assuming all Scanners are in TwoWire configuration. Scan Table Entries Scanner Number SMX4032 #0 SMX4032 #1 SMX4032#2 Selected scanner#, Ch. Ch35 Ch18 Figure 4-10.
  • Page 24: Integrity Test

    This parameter is the Auto Scan period, or step time. It maybe set to a value between 1ms to 850ms. On power up, it defaults to 100ms. It is the channel to channel scan time in Auto Scan. Use SCANSetStepTime() to set it and Signametrics...
  • Page 25: Thermocouple Temperature Measurements

    The temperature of the Isothermal Block, or the, or the temperature where the thermocouples are connected, is required in calculating the thermocouple temperature. Most of the Signametrics Digital Multimeters have a measurement function that is capable of both, measuring and calculating the sensor temperature, as well as linearizing thermocouple measurements.
  • Page 26: Triggering The Smx2040 Dmms

    Actuation time. This could be generated by one of the scanning operations, or simply by sending channel selection commands to the SMX4032. The SMX2040 must also be set up for triggered readings by using the DMMSetTrigRead() command. In the following example, the SMX2040 must send readings during the scan. Since it’s on board Fifo is limited to 5 readings, and the DMM must continue to send all readings during the scan, it is...
  • Page 27: Single Ended Applications

    In the following example, the Vlow input of the DMM is connected to both, the Bhi and the Dlo lines of the SMX4032. The Vhigh input of the DMM is connected to both, the Ahi and Clo of the SMX4032. The top eight lines of Figure 4-14 demonstrate a multiple SMX4032 system, where only a single line is connected to either High or Low terminal of an SMX2044 DMM.
  • Page 28: Single Ended Selector

    The collector of this switch is pin 62 (Figure 4-14). Ch1 corresponds to Ch1Hi, Ch2 to Ch2Hi …Ch10 is Ch10Hi etc.. Using Universal mode, make sure to select both, the appropriate channel relay as well as the various configuration relays. Figure 4-14. Single point switching is enabled by connecting A-bus High and C-bus Low. Signametrics...
  • Page 29: Smx4032 Scanner Family Windows Interface

    SETUP program. The SMX4032 DLL is a protected-mode Microsoft® Windows™ DLL that will control the Signametrics SMX4032 and SMX4030. It is provided with a sample Visual Basic™ control-panel application (GUI) to demonstrate the Scanner and the interface to the DLL.
  • Page 30: Using The Smx4032 Driver With C++ Or Similar Software

    5.2 Using the SMX4032 Driver with C++ or Similar Software Install the SMX4032.H and ScanUser.H header files in a directory that will be searched by your C/C++ compiler for header files. These header files are known to work with Microsoft Visual C++™.To compile using Borland, you will need to convert the SMX4032.DEF and SMX4032.LIB using ImpDef.exe and ImpLib.exe, provided with the...
  • Page 31: Visual Basic Front Panel Application

    0L; 5.3 Visual Basic Front Panel Application The Visual Basic front panel application, SMX4032.EXE, is an interactive control panel for the SMX4032 Scanners. When it loads it will take a few seconds to initialize before the front panel is displayed.
  • Page 32 Global.bas module file contents: Option Explicit 'function declarations Declare Function SCANInit Lib "smX4032.dll" _ (ByVal nScanner As Long) As Long Declare Function SCANSetConfig Lib "SMX4032.DLL" _ (ByVal nScanner As Long, ByVal Config As Long) As Long Declare Function SCANErrString Lib "SMX4032.DLL" _ (ByVal nError As Long, ByVal errString As String, ByVal stringlen As Long) As Long Declare Function SCANSelectChannel Lib "SMX4032.DLL"...
  • Page 33: Windows Dll Default Modes And Parameters

    The following section contains detailed descriptions of each function of the Windows command language. Those commands that pertain to only the SMX4032 are indicated. Most functions return an error code. The code can either be retrieved as a string using SCANErrString() function, or it may be looked up in the SMX4032.H header file.
  • Page 34: Scancleanrelays

    Description Initiate AutoScan operation. #include “SMX4032.H” int SCANAutoScan(int iScan, int iPoints) Remarks Run Auto Scan procedure from the Scanner's stored ScanList. This operation is carried out by the scanner’s on-board processor. It uses the Scan List table and timing parameters to perform a complete scan sequence. If necessary, the scan may be terminated by sending the SCANAbort() command.
  • Page 35: Scanclosepci

    Return Value Integer error code. Value Meaning SCAN_OKAY Operation successfully completed. Negative Value Error code Example int status = SCANClosePCI(0); SCANDelay H/W access Command  Polled Command  Description Wait for a given time. #include “SMX4032.H” int SCANDelay(double dTime) Signametrics...
  • Page 36: Scanerrstring

    SCANErrString H/W access Command  Polled Command  Description Return the string describing the error. #include “SMX4032.H” int SCANErrString(int iErrorCode, LPSTR lpszError, int iBuffLength) Remarks This function returns a string containing the error description, which corresponds to the integer error, code iErrorCode. The error string is placed at lpszError.
  • Page 37: Scangetactuationtime

    SCANGetActuationTime H/W access Command  Polled Command  Description Return the currently set actuation time. #include “SMX4032.H” int SCANGetActuationTime(int iScan, double FAR *lpdAct) Remarks This function returns a double floating value that is the currently set relay actuation time for the selected scanner.
  • Page 38: Scangetconfig

    SCANGetGrdVer H/W access Command  Polled Command  Description Get Scanner firmware version. #include “SMX4032.H” int SCANGetGrdVer(int iScan) Remarks This function reads and returns the Scanner’s firmware version, which is the on-board Microcontroller’s S/W version. This integer should be divided by 10 to get the actual version.
  • Page 39: Scangethwver

    SCANGetHwVer H/W access Command  Polled Command  Description Get the hardware version of the Scanner. #include “SMX4032.H” int SCANGetHwVer(int iScan) Remarks This function returns the Scanner hardware version. A returned value of 0 corresponds to Rev_, 1 corresponds to Rev_A, 2 to Rev_B etc.
  • Page 40: Scangetmandate

    H/W access Command  Polled Command  Description Get Manufacturing date stamp from the Scanner hardware #include “SMX4032.H” int SCANGetManDate(int iScan, int *month, int *day, int *year) Remarks This function returns the Scanner’s manufacturing date, which is read from the hardware.
  • Page 41: Scangetshortedchannel

    SCANGetShortedChannel H/W access Command  Polled Command  Description Returns the channel number of the shorted channel. #include “SMX4032.H” int SCANGetShortedChannel(int iScan) Remarks This function searches and detects a shorted channel, starting with channel 1. It returns the first channel which is found to be shorted. If none is found, the returned value is 0. A valid returned value must be 0 to 35.
  • Page 42: Scangettriggerin

    Description Get the currently set Auto Scan step time. #include “SMX4032.H” int SCANGetStepTime(int iScan, double FAR *lpdTstep) Remarks This function returns a double floating value that is the currently set step time. Parameter Type/Description iScan int Identifies the Scanner. Scanners are numbered starting with zero.
  • Page 43: Scangetver

    Return Value Scanner type Integer or an error code. Value Meaning 4030 SMX4030 is at iScan slot 4032 SMX4032 is at iScan slot Negative Value Error code Example int type = SCANGetType(0); SCANGetVer H/W access Command  Polled Command ...
  • Page 44: Scanisinitialized

    Description Initialize the scanner. #include "SMX4032.H" int SCANInit(int iScan) Remarks This function must be the first function to be executed. It loads the driver and opens the specified Scanner on the PCI bus. The first one being 0, the second 1, etc. It also initializes the hardware and software and sets the scanner to Disabled configuration.
  • Page 45: Scanopenpci

    Description Open all channel relays. #include “SMX4032.H” int SCANOpenAllChannels(int iScan) Remarks This function opens all channel relays. It does not effect the configuration of the Scanner. It may be used following one of the scanning operations, to make sure all channels are left open.
  • Page 46: Scanready

    SCANReady H/W access Command  Polled Command  Description Return the ready state of the Scanner following a polled operation. #include “SMX4032.H” int SCANReady(int iScan) Remarks Following the completion of long or complex polled commands, the scanner indicates it is ready to accept a new command by issuing a task complete message. Functions requiring the use of the SCANReady() command include;...
  • Page 47: Scanselectchannelcmd

    SCANSelectChannelCmd H/W access Command  Polled Command  Description Polled select channel command. #include “SMX4032.H” int SCANSelectChannelCmd(int iScan, int iChan) Remarks This is the polled version of the SCANSelectChannel function. It opens all channels in a group, then closes channel number iChan. This is a polled function. It sends a command to the Scanner but unlike SCANSelectChannel, unlike the SCANSelectChannel function it does not wait for completion of the operation.
  • Page 48: Scansetactuationtime

    SCANSetActuationTime H/W access Command  Polled Command  Description Set relay actuation time value #include “SMX4032.H” int SCANSetActuationTime(int iScan, double dActuate) Remarks This function sets the actuation time value to the scanner. The actuation time is the time it takes the scanner to select and deselect all relays. The default actuation time is set to 10mS.
  • Page 49: Scansetconfig

    SCANSetConfig H/W access Command  Polled Command  Description Set the Scanner configuration to one of the predefined modes. #include “SMX4032.H” #include “ScanUser.H” int SCANSetConfig(int iScan, int iConfiguration) Remarks This function sets the Scanner to one of the available configurations. It acts on both, the configuration relays and tree relays to set the Scanner for TwoWire, FourWire, SixWire, TwoGroups, FourGroups, Universal, ColdJunction or Disabled configurations.
  • Page 50: Scansetconfigrelay

    SCANSetConfigRelay H/W access Command  Polled Command  Description Set one of the configuration relays. #include “SMX4032.H” #include “ScanUser.H” int SCANSetConfigRelay(int iScan, int iState, int iRelay) Remarks This function opens or closes the selected configuration and tree relays. It is only available while the Scanner is set to the Universal configuration.
  • Page 51: Scansetsteptime

    SCANSetStepTime H/W access Command  Polled Command  Description Set auto scan step time #include “SMX4032.H” int SCANSetStepTime(int iScan, double dStep) Remarks This function sets the scanner’s Step time value. The Step time effects the various auto- scanning operations. It is the dwell time at each channel in a scan sequence. For proper operation the Step time must be greater than the actuation time.
  • Page 52: Scansetupstep

    Description Set the Scanner Trigger output signal level. #include “SMX4032.H” #include “ScanUser.H” int SCANSetTriggerOut(int iScan, int iLevel) Remarks This function forces the Scanner’s trigger output line to a high or a low level. With iLevel set to one (1), the level is set high. Zero (0) forces it low. This setting is independent of the trigger enable line, and may be used as a control line.
  • Page 53: Scanstep

    SCANStep H/W access Command  Polled Command  Description Step to the next channel in the Scan List. #include “SMX4032.H” int SCANStep(int iScan) Remarks Switch to the next point in the scan table. This is software triggered switching function. It is similar to SCANTriggerScan except the scanner steps to the next channel in the scan list due to a command rather than by hardware event.
  • Page 54: Scanterminate

    SCANTerminate H/W access Command  Polled Command  Description Terminate Scanner’s operation, and removes it from PCI configuration. #include “SMX4032.H” int SCANTerminate(int iScan) Remarks This function opens all relays of the selected Scanner, then removes it from the PCI structure. To use this Scanner again, it is necessary to either, exit the thread, or reinitialize it.
  • Page 55: Scantestchannelrelay

    Description Test a channel relay for integrity. #include “SMX4032.H” int SCANTestChanIntegrity(int iSca, int iChan) Remarks This function tests a single channel relay. The procedure closes a single relay, waits for tActuation, and then checks that both contacts are closed. Next it opens the relay, waits for 1/2 of tActuation, and then checks if the relay is open.
  • Page 56: Scantestconfigrelay

    SCANTestChannelRelay(0, 4); // test Chan4 SCANTestConfigRelay H/W access Command  Polled Command  Description Set the RTD parameters. #include “SMX4032.H” #include “ScanUser.H” int SCANTestConfigRelay(int iScan, int iConf, double * lpdBounce) Remarks This function tests a single configuration or tree relay. Its diagnostics include excessive bounce and open and short failures.
  • Page 57: Scantrigautoscan

    SCANTrigAutoScan H/W access Command  Polled Command  Description Set Scanner for Triggered Auto Scan operation. #include “SMX4032.H” int SCANTrigAutoScan(int iScan, int iPoints) Remarks This is the externally triggered version of SCANAutoScan operation. Following acceptance of this command, the Scanner enters a wait state, whereby it waits for a trigger edge to start an Auto Scan operation.
  • Page 58: Scantriggeroutstate

    SCANTriggerInState(0, ENABLED, POSITIVE) // set Trig-in line SCANTriggerOutState H/W access Command  Polled Command  Description Set trigger output state #include “SMX4032.H” #include “ScanUser.H” int SCANTriggerOutStete(int iScan, int iState, int iEdge) Remarks This function sets the scanner’s trigger output line state and polarity. Default is DISABLED and POSITIVE.
  • Page 59 Description Set Scanner for trigger driven step scanning. #include “SMX4032.H” int SCANTrigScan(int iScan, int iPoints) Remarks Setup for a hardware-triggered step scanning operation. iPoints is the number of points in the scan. The ScanList must be pre-loaded prior to issuing of this command. After receiving this command, the Scanner enters a wait state whereby each selected edge on the trigger input line, selects the next channel from the scan list table.
  • Page 60: Error Codes

    // Error: SCANNER Driver does not have all PCI items 5.8 Warning Codes Following a warning codes. The SMX4030 and SMX4032 will continue to run with the exception of the fault indicated by the warning code. Use the SCANErrString() function, to retrieve the string describing the warning.
  • Page 61: Accessories

    6.0 Accessories Several accessories are available for the SM4000 relay Scanners, which may be purchased directly from Signametrics or one of its distributors or representatives. Please see the ‘Accessories’ section on our web-site for the current accessories available: http://www.signametrics.com The following D-Subminiature 78 position Female connectors are sourced by a large number of manufactureres, and are all competible with the SMX4030/32 Scanner.

This manual is also suitable for:

Smx4030

Table of Contents