background image

 

Figure

 

4-7.

 

Positive edge Triggered AutoScan is a hardware initiated automatic scanning process.

 

 

4.2.5 Triggered Scan Operation 

This operation requires that the Scanner be in one of the following configurations: 

TwoWire

FourWire

SixWire

TwoGroups,

 and 

FourGroups

. The Triggered Scan operation is a hardware driven scanning process. Each step 

through the Scan List table is initiated by hardware trigger event. The trigger input signal edge polarity can be 
selected. The 

SCANTrigScan()

 function sets the Scanner into the Triggered Scan mode, in which the Scanner 

expects a total of 

iPoints

 triggers. Once this command is issued to the Scanner, it waits for the first trigger edge to 

select the first channel from the first location in the Scan List table. Following the selection of each point, the 
Scanner waits for t-Actuation period, during which triggers are ignored. The Scanner responds to subsequent trigger 
edges by sequentially selecting channels stored in the Scan List. The total number of points in the scan is controlled 
by the 

iPoints

 parameter passed to the scanner by the 

SCANTrigScan()

 function, which must be a value between 1 

and 192. This mode is concluded at the end of the number of points specified, or terminated by sending 

SCANAbort()

 command to the Scanner. Use the 

SCANOpenAllChannel()

 function if you wish to open the last 

selected channel. 
 

 

Figure 4-8. Positive edge Triggered Scan operation is a hardware initiated scanning process. 
 

4.2.6 Single Step Scan Operation 

This operation requires that the Scanner be in one of the following configurations: 

TwoWire

FourWire

SixWire

TwoGroups,

 and 

FourGroups.

 The Single Step Scan operation is similar to the Triggered Scan process with the 

exception that each step through the Scan List table is initiated by the 

SCANStep()

 command rather than by 

hardware trigger event. The 

SCANSetupStep()

 function prepares the Scanner for this operation by resetting the 

Scanner’s Scan List pointer to point to the first entry of the table. In response to the 

SCANStep()

 command, the 

Scanner selects the channel stored in the Scan List location pointed to by the Scan List pointer, then it increments 
this pointer to point to the next location. The number of points in the scan is controlled by the number of times 

SCANStep()

 commands is issues since the last 

SCANSetupStep()

 function was executed. When done using the 

SCANStep() and SCANSetupStep()

 functions, the Scanner is going to remain with the last channel selected. The 

maximum number of entries in the 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                                                       

22 

Содержание SMX4030

Страница 1: ...Operator s Manual Model SMX4032 35 Channel PXI Instrumentation Relay Multiplexer Model SMX4030 35 Channel PXI Relay Multiplexer Signametrics Corporation June 2010...

Страница 2: ...rising out of the use of or inability to use Signametrics products even if Signametrics has been advised of the possibility of such damages Because some states do not allow the exclusion or limitation...

Страница 3: ...plexing 19 4 1 4 Two Groups Configuration 19 4 1 5 Four Groups Configuration 20 4 1 6 Thermocouple ColdJunction test Configuration 20 4 1 7 Disabled Configuration 20 4 2 SCANNER OPERATIONS 20 4 2 1 Tr...

Страница 4: ...ig 38 SCANGetGrdVer 38 SCANGetHwVer 39 SCANGetID 39 SCANGetManDate 40 SCANGetScanList 40 SCANGetShortedChannel 41 SCANGetStepTime 41 SCANGetTriggerIn 42 SCANGetType 42 SCANGetVer 43 SCANInit 43 SCANIs...

Страница 5: ...anner It is important to note that using the SMX40 or SM40L limit the voltages to 40V due to the structure of these products Using appropriate and safe connection means to the SMX4030 and SMX4032 is r...

Страница 6: ...multaneous channels allowing a DMM or other device to connect to four individual lines In the SixWire configuration six wires or three differential channels are selected simultaneously providing such...

Страница 7: ...ot offer the protection of the predefined configurations This could result in shorting some hot lines constituting in potential hazard to the user from any thing that is connected to the scanner and f...

Страница 8: ...Closure Time 4 ms 12 ms Typical Release Time 1 2 ms 5 ms Actuation Time 2 5 ms 15 ms Actuation Time range 1ms to 850ms in 0 25ms steps 1ms to 850ms in 0 25ms steps AutoScan Period Range 1ms to 850ms i...

Страница 9: ...iggers That includes the PXI_TRIG1 through PXI_TRIG6 and PXI_STAR trigger The trigger is a Wire Ored function of the external trigger at the DB 78 connector or the PXI_TRIGn input The trigger output o...

Страница 10: ...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 Read about the operation of the Ext...

Страница 11: ...four floppy disks containing software drivers user interface panel and this Operator s manual 3 1 Setting the Scanner The SMX4000 series Relay Scanners are PCI plug and play devices and do not require...

Страница 12: ...y or damage to the instrument your computer or application may result Figure 3 1 The Scanner s DB 78 connector facing the bracket Pin Number Label Description Pin Number Label Description 1 Ch2Hi Chan...

Страница 13: ...hannel 7 Low 56 Ch29Lo Channel 29 Low 25 Ch10Lo Channel 10 Low 57 Ch31Lo Channel 31 Low 26 Ch12Lo Channel 12 Low 58 DLo D bus Ch35 Low 1 27 Ch13Hi Channel 13 High 59 Comm Common 28 Ch15Hi Channel 15 H...

Страница 14: ...to route bus pairs to other bus pairs In TwoWire mode these are also Ch33Hi Ch33Lo lines CHi CLo These are the C bus positive and negative terminals respectively The channels positive and negative li...

Страница 15: ...and its usage should be limited to no more than 10mA This supply is isolated from the rest of the signals in the DB 78 connector This signal is referenced to the PowerComm line PowerComm This is the r...

Страница 16: ...hat are not included in the control panel above Relay Buttons These buttons are context sensitive Depending on the selected Configuration these buttons allow the closing and opening of the various cha...

Страница 17: ...e from the control panel described in the previous section This section describes in detail the Scanner s operations and practices To gain familiarity with the SMX4000 series Scanners run the Windows...

Страница 18: ...reducing low resistance measurement errors by a factor of 10 The following table quantifies the effect of TEMF on Ohms measurement using a high quality DMM such as the SMX2042 SMX2044 and SMX2064 in...

Страница 19: ...onnected to the DMM source leads the B bus to the sense leads and the C bus to the Guarded point Make sure the polarity of the lines is consistent It should e noted that the D group consisting of Ch31...

Страница 20: ...ailable as an input See sectin 4 2 14 for more information 4 1 7 Disabled Configuration In the Disabled configuration all relays including channel and configuration relays are open This is the default...

Страница 21: ...he last selected channel The Trigger output signal can be used to synchronize other instruments to the SMX4000 Scanner The value of t Step and t Actuation can be set to generate a trigger output signa...

Страница 22: ...Channel function if you wish to open the last selected channel Figure 4 8 Positive edge Triggered Scan operation is a hardware initiated scanning process 4 2 6 Single Step Scan Operation This operatio...

Страница 23: ...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 0 1 2 3...

Страница 24: ...ment These tests require the test connector Channel Relays Test Each Channel may be tested using the SCANTestChannelRelay function The Channel parameter can be a value between 1 and 32 If no failure i...

Страница 25: ...of both measuring and calculating the sensor temperature as well as linearizing thermocouple measurements Following the selection of the sensor SCANSetConfig ColdJunction use the DMMReadCJTemp of the...

Страница 26: ...current of the SMX2044 DMM using the 33M range is 0 1 A which translates to 33ms dt C dV I It is also recommended to set the appropriate number of settling measurements for the DMM a minimum of 4 is r...

Страница 27: ...greater than t Actuation nSettling 1 read per sec 4 5 Single Ended Applications 4 5 1 Point to Point Operation This may not be obvious but the SMX4030 and SMX4032 modules can be used for single ended...

Страница 28: ...to D D to A Ch1Lo Ch1Hi Ch1 C to C B to B C to A B to A Ch1Hi Ch1Lo Figure 4 14 Point to Point selection table NC means no connection 4 5 2 Single Ended Selector By connecting AHi pin 62 and CLo pin 1...

Страница 29: ...mportant files to note are File Description SMX4032 LIB The Windows import library Install in a directory pointed to by your LIB environment variable SMX4032 DEF SM2040 driver DLL module definition fi...

Страница 30: ...e etc The Scanner function constants are defined in the ScanUser H header file and have names that clearly indicate the function they invoke Two functions are provided to set channel relays SCANSelect...

Страница 31: ...DLL MB_OK Show Error SCANSetConfig iScan TwoWire Set to TwoWire configuration SCANSelectChannel iScan 32 Close Channel 32 relay and necessary path relays MessageBox 0 strMsg Channel 32 is closed and s...

Страница 32: ...1 for True use YES and NO instead of True and False Global Const YES 1 Global Const NO 0 Error handling code Public Sub ShowFault status As Long Dim errtext As String 48 Dim errcode As Long Dim start...

Страница 33: ...ins 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 retr...

Страница 34: ...ot applicable for the following configurations Universal and Disabled Being a polled function following this command uses SCANReady to test for completion of the operation No new H W access command sh...

Страница 35: ...he Scanner Scanners are numbered starting with zero Return Value The return value is one of the following constants Value Meaning SCAN_OKAY Scanner is OK Negative Value Error Example SCANCleanRelays 0...

Страница 36: ...MX4032 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...

Страница 37: ...Act int i SCANGetActuationTime 0 tAct SCANGetBusInfo H W access Command Polled Command Description Returns the PCI Bus and Slot numbers for the selected SCANNER int SCANGetBusInfo int nScan int bus in...

Страница 38: ...are numbered starting with zero Return Value The return value is an integer configuration code or an error code Value Meaning Positive Value Configuration code Negative Value Error code Example int iC...

Страница 39: ...anner Scanners are numbered starting with zero Return Value Scanner hardware code or an error code Value Meaning Positive value Hardware version code Negative Value Error code Example int HWVer SCANGe...

Страница 40: ...er to a specific manufacturing date code Parameter Type Description IScan int Identifies the Scanner Scanners are numbered starting with zero Month int A pointer to an integer where the month is store...

Страница 41: ...ion 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 retu...

Страница 42: ...ve Value Error code Example double FAR Tstep int status SCANGetStepTime 0 Tstep SCANGetTriggerIn H W access Command Polled Command Description Read the state of the Trigger Input line include SM4040 H...

Страница 43: ...SCANGetVer H W access Command Polled Command Description Return the Scanner s DLL software driver version include SMX4032 H int SCANGetVer double FAR lpfResult Remarks This function returns the Scann...

Страница 44: ...nner SCANIsInitialized H W access Command Polled Command Description Return the active status of the Scanner include SMX4032 H int SCANIsInitialized int iScan Remarks This function returns the status...

Страница 45: ...nfigurations using SCANSetConfig will open all relays including configuration relays Parameter Type Description iScan int Identifies the Scanner Scanners are numbered starting with zero Return Value T...

Страница 46: ...e return value is one of the following constants Value Meaning TRUE 1 Scanner is done and ready to accept new commands FALSE 0 Scanner is not ready Negative Value Error code Example double Buffer 10 S...

Страница 47: ...nel 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 SCANRea...

Страница 48: ...25ms Setting Actuation time below the relay specifed Bounce Time could result in premature measurement with an open or unsettled relay Parameter Type Description iScan int Identifies the Scanner Numb...

Страница 49: ...etChannelRelay 0 OPEN 10 Open channel 10 relay for I 1 I 9 I Close 1 2 9 SCANSetChannelRelay 0 CLOSE I SCANSetConfig H W access Command Polled Command Description Set the Scanner configuration to one...

Страница 50: ...ter part is the SCANSetChannelRelay function Parameter Type Description iScan int Identifies the Scanner being addressed iState int Indicates if relay is to be opened or closed OPEN CLOSE iRelay int I...

Страница 51: ...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 scanni...

Страница 52: ...ng SCAN_OKAY Operation successfully completed Negative Value Error code Example status SCANSetTriggerOut 0 1 Set trigger line to high level SCANSetupStep H W access Command Polled Command Description...

Страница 53: ...scan list Up to 192 points can be selected in this operation mode Parameter Type Description iScan int Identifies the Scanner being addressed Return Value The return value is one of the following con...

Страница 54: ...tion 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 ei...

Страница 55: ...y to be tested 1 to 32 Return Value The return value is one of the following constants Value Meaning SCAN_OKAY Operation successfully completed Negative Value Error code Example SCANTestChanIntegrity...

Страница 56: ...lures If no failure the Actuation time of the relay including bounce time is returned This value can be used to fine tune the Scanner for maximum switching performance by setting the highest Actuation...

Страница 57: ...st channel selected is left closed See SCANAutoScan for details Parameter Type Description iScan int Identifies the Scanner being addressed iPoints int Indicates the number of points in the scan Retur...

Страница 58: ...DISABLED and POSITIVE If iState is set to ENABLED the trigger output is enabled which reflects in its activity during channel selection and during scanning operations With iEdge set to POSITIVE the tr...

Страница 59: ...Up to 192 point may be set per scan This process is completed when iPoints have been canned iPoints trigger edges received This is a polled operation It is issued and then monitored for completion usi...

Страница 60: ...ot 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 funct...

Страница 61: ...0V DC and 40V AC Signametrics SMX40L Loop back test connector Required for self tests and contact cleaning operations Several manufacturers provide mating connectors for the SMX4030 32 male DB 78 conn...

Отзывы: