background image

 

Vishay Micro-Measurements

 

                         

System 7000 Programmer’s Reference Manual 

Page 127 of 142 

 

7.4.6 Channel Group 

Channel group commands are only valid while the system is in the idle state. 
 

7.4.6.1 Asynchronous Read A/D Converter Command 

Length 

 

Command 

Group 

Command 

Code

 

Card Mask 

Channel 

Mask 

Parameters 

0x0006

 

0x06 

0x8007 

 

Query Only 

Used 

Used 

 

None

 

 
This command reads the A/D converter value from the selected card/channel and returns the value in 
reduced counts. The value returned is a 32-bit signed integer value.  Data is filtered using a lowpass filter. 
See the manual section on scaling A/D converter counts. 
 

7.4.6.2 Set Channel Recording Group Command 

Length 

 

Command 

Group 

Command 

Code 

Card Mask 

Channel 

Mask 

Parameters 

0x0007 

0x06 

0x0001

 

Used 

Used 

 

Byte 8: 

Channel Recording Group 

Value 

Group 

0x01 

Group A 

0x02 

Group B 

0x03 

Group C 

0x04 

Group D 

 

 
Assigns a recording group to a channel 

 

7.4.6.3 Set FIR Filter Command 

Length 

 

Command 

Group 

Command 

Code 

Card Mask 

Channel 

Mask 

Parameters 

varies 

0x06 

0x0002 

No Query

 

Used 

Used 

 

Bytes 8-9:  

16-bit number of taps 

 
Bytes 10-… 

The FIR coefficients. Each 
coefficient is represented by a 
32-bit IEEE single precision 
value. 
 

This function sets the coefficients for the FIR filter algorithm in the DSP

.  

Your filter must be 252 taps.  

(Also see the Set Default Filter command.) 
 

Summary of Contents for 7000

Page 1: ...cro Measurements P O Box 27777 Raleigh North Carolina 27611 USA Phone 919 365 3800 Fax 919 365 3945 www vishay com System 7000 Scanner Programmer s Reference Manual Version 1 01 130 000197 Document Number 49897 ...

Page 2: ... 1 Setting up Simple Recording __________________________________________________________22 3 9 2 Advanced Recording Options__________________________________________________________23 3 9 2 1 Recording Groups _______________________________________________________________________ 23 3 9 2 2 Configuring Time Based Recording__________________________________________________________ 24 3 9 2 3 Confi...

Page 3: ...________________________________________ 63 6 5 1 5 CommandPortTimeout Property Read Write __________________________________________________ 63 6 5 1 6 DataPortTimeout Property Read Write ______________________________________________________ 64 6 5 2 Connection Methods_________________________________________________________________65 6 5 2 1 Open Method _________________________________________...

Page 4: ...____________________ 99 6 5 6 16 DeleteLastDataFile Method ______________________________________________________________ 100 6 5 6 17 CancelFileTransferMethod_______________________________________________________________ 100 6 6 IVMM7000DATATRANSFERSTATUS INTERFACE DESCRIPTION ___________________________________101 6 6 1 Properties_________________________________________________________________...

Page 5: ...24 7 4 5 2 Set Excitation Command _________________________________________________________________ 125 7 4 5 3 Get Free Space Command ________________________________________________________________ 125 7 4 5 4 Card Status____________________________________________________________________________ 126 7 4 5 5 Card Reset ____________________________________________________________________________ ...

Page 6: ...9 Get Control Module Information Command Control Module ____________________________________ 141 7 4 8 10 Display Flashing LED Sequence __________________________________________________________ 141 7 4 8 11 Clear Errors __________________________________________________________________________ 142 7 4 8 12 System Status Query ___________________________________________________________________ 142...

Page 7: ...ommended for use in most applications developed in the Microsoft Windows environment This includes programming environments such as Microsoft Visual Basic Microsoft Visual C and C National Instruments LabWindows CVI and Embarcadero Delphi The ActiveX application program interface API simplifies your programming by bundling related commands into a single method managing critical timing and handling...

Page 8: ...an 3 at 2mSec etc Scan Rate The rate at which scans are acquired This can also be thought of as the sampling rate I O Card or AIM Card This refers to a Model 7003 8 A I Analog Input Cards coupled with either a Model 7003 8 SG Strain Gage Input Card Model 7003 8 HL High Level Input Card Model 7003 8 TC Thermocouple Input Card or a Model 7003 8 LVDT Input Card StrainSmart StrainSmart is a software a...

Page 9: ...Visual Basic Windows Visual C and Windows Visual C are registered trademarks of Microsoft Corporation in the United States and other countries LabVIEW and LabWindows CVI are registered trademarks of National Instruments Inc NI in the United States and other countries Delphi is a registered trademark of Embarcadero Technologies Inc ...

Page 10: ...me documents of particular interest are IETF RFC 791 Internet Protocol http www ietf org rfc rfc791 txt IETF RFC 768 User Datagram Protocol http www ietf org rfc rfc768 txt Note A System 7000 scanner is capable of generating a significant amount of network traffic when broadcasting real time data therefore it is important to carefully consider the network architectural design 2 2 Accessing Multipl...

Page 11: ...r method Command Group Command Valid State Card Get Card Information Idle Armed Scanning Set Excitation Strain Gage High Level LVDT Idle Excitation Output Enable Disable Strain Gage High Level LVDT Idle Get Free Space on Compact Flash Idle Armed Scanning Get Card Status Idle Armed Scanning Calibrating Card Reset Idle Set Query LVDT Excitation Frequency LVDT Idle Query Temperature Sensor Idle Chann...

Page 12: ...Accept Sync Global Limits Idle Set Pre Limit Buffer Size for Sync Global Limits Idle Set Post Limit Buffer Size for Sync Global Limits Idle System Set Date Time Idle Get Free Space on Compact Flash on Control Module Idle Configure Online Data Idle Scanning Define Scanner s Network Configuration Idle Verify Sync Cable Status Idle Card Detect Idle Clear Errors Idle Get Control Module Information Com...

Page 13: ...icro Measurements System 7000 Programmer s Reference Manual Page 13 of 142 2 5 Debugging Tips A packet sniffer or analyzer program is useful for monitoring the TCP and UDP traffic to and from your System 7000 s ...

Page 14: ...ion in a single application 1 Scanning Scanning is the process of arming the system and starting the acquisition of multiple channels at the same scan rate Why choose scanning You wish to sample from multiple channels simultaneously To record the data directly onto the System 7000 scanner Your application requires high scan rates You wish to monitor real time data broadcast from the scanner 2 Sing...

Page 15: ...uration Arm Scanning Acquiring Data Download Recorded Data optional Monitor Real Time Data optional UDP Data Idle State Armed State Scanning State Idle State Uploading State when Data is transferred Connect to System and Validate Idle State Acquire More Data Change Configuration Yes Disconnect from Scanner No No Decode and Scale Recorded Data optional Idle State Idle State Start Scanning Stop Scan...

Page 16: ...m accessing the System 7000 scanner and performing single channel readings no scanning is performed Perform Configuration Idle State Connect to System and Validate Idle State Acquire More Data Change Configuration Yes Disconnect from Scanner No Yes NO Perform a Single Reading on One or More Channels Idle State Scale Reading optional Figure 2 Program Layout Single Channel Reads ...

Page 17: ...must set your program up as a listener on the multicast broadcast from the System 7000 if you wish to receive event status and error messages from the Scanner If you don t wish to receive these messages ignore this port It is not required to receive status and error messages via broadcast as you may query the system for status information via a TCP command Information on configuring the system net...

Page 18: ...quired as part of configuration Set the System 7000 date and time This should be done as part of the system startup For closest correlation with the personal computer clock this can also be done as part of configuration before the system is armed LabVIEW Use the SetDateandTime parameter to the Initialize vi to automatically set the date and time You may also call the Set Data and Time VI Active X ...

Page 19: ...et the Card Resets the configuration values to the default state LabVIEW Use the ResetAimCards parameter to the Initialize vi to reset all cards You may also call the Reset VI Active X ResetCard method Low level Reset Card command Programming tip This command should be used to set a card and its channels back to the default states This can be a useful shortcut in your program Strain Gage Cards Con...

Page 20: ...ally eight channels on a card and each must be set independently Instructions on how to determine the appropriate configuration settings is beyond the scope of this manual see the System 7000 Instruction Manual the StrainSmart help system or contact the Vishay Micro Measurements application engineering department for assistance All Cards You must assign a filter to each channel The filter is based...

Page 21: ...ion of scan rates for both clocks The scan rate must be the same for every card and scanner in the network Scan List The scan list defines which channels will be read during scanning For example if you have 2 cards in your system you may only wish to take readings from the first channel on each card Therefore your scan list will include card 1 channel 1 and card 2 channel 1 Scan Buffer Size The sc...

Page 22: ...time based recording mode to be Continuous 3 Set the time based skip count burst count and burst skip count to 0 4 Set the time based delay and recording count to 0 LabVIEW Configure Channel Recording Group VI Configure Time Based Recording VI Configure Time Based Recording Start and Stop VI Active X SetChannelRecordingGroup method ConfigureTimeBasedRecording method ConfigureTimeBasedRecordingStar...

Page 23: ...rmation isn t used In this way all channels in Group A share the same recording rate all channels in Group B share a rate and so forth regardless of card It is possible but not recommended to have the groups configured differently on each card This manual assumes that each recording group is configured identically across all cards All examples and discussion are based on this assumption Because yo...

Page 24: ...t a fixed rate for the entire duration of the scan session Burst In burst mode recording may be scheduled to occur at certain intervals throughout the scan For example you may specify to record a burst of 100 scans every 2 minutes Skip Count The skip count is used when the recording mode is continuous or burst The skip count allows you to specify how many scans to skip between each recorded scan A...

Page 25: ...cording in Burst mode It allows you to configure the interval between each burst If you would like to schedule recording to occur at a recurring rate calculate Burst_Skip_Count Scan_Rate Recording_Interval Burst_Count 1 For example if your scan rate is 10 scans sec and you would like to have 2 scans recorded every 5 seconds Burst_Skip_Count 10 5 2 1 47 scans LabVIEW Configure Time Based Recording ...

Page 26: ...ates that recording will not stop until scanning stops A value of 1000 means that you will stop recording after 1000 scans have occurred To clarify recording stops after the 1000th scan not after 1000 scans have been recorded If you would like to record for a certain amount of time you can calculate the number of scans required to reach the time by Number of Scans to Record Scan_Rate Amount_of_Tim...

Page 27: ...f lag time between the event that generated the signal and the Start Recording command being sent so you specify that you would also like to record the 5 most previous scans In this case you would also be recording scans N 5 N 4 N 3 N 2 N 1 as well as N and so on If you d like to think of acquiring XX number of seconds of pre trigger data use the following formula to convert time into scans NumSca...

Page 28: ... to each card in the system The table can hold up to 50 defined conditions Though only incremental limits type use more than 1 condition The following parameters are used to define this limit condition table Index Index of a limit condition in the limit condition table Test Condition The test condition defines the test that will activate a limit None This condition does not have a limit assigned G...

Page 29: ...mula to convert time into scans NumScans ScanRate Time Number of Post Limit Scans You may also specify some number of scans that should be recorded after the limit goes inactive If you d like to think of acquiring N number of seconds of post limit data use the following formula to convert time into scans NumScans ScanRate Time Table 7 shows that three limits are defined This table should be passed...

Page 30: ...ation of scanning The recording type is ignored as it is assumed to be singleshot Pre and post trigger buffers are valid and are useful in defining a fixed number of scans to be recorded at each limit Example Record the first scan then record 1 scan every time my transducer sees another 100 kilograms added or removed LabVIEW Configure Limits Type VI Active X SetLimitType method Low level Set Limit...

Page 31: ...d Recording Settings command Recording Groups Recording groups are set up similarly to the time based recording groups please see that section for more information Group level Recoding Options Group level recording options are set up similarly to the time based recording groups please see that section for more information LabVIEW Configure Limits Based Recording for Group VI Active X ConfigureLimi...

Page 32: ...card Green represents out of limit values Orange and green represents readings that are recorded Recorded Scans for Card 1 Scan 2 is recorded because channel 3 has tripped the limit of less than 50 Scan 4 is recorded because channel 2 trips the limit of greater than 1000 Since the recording type is record while limit active scans are recorded through scan 6 Index Condition Lower Limit Upper Limit ...

Page 33: ...hat all 3 limit conditions have been assigned to channel 2 All of the other channels have the number of limit conditions set to 0 No global limits are active Table 14 shows the readings that satisfy the limit conditions for the channel in red The way incremental limits works is that as soon as the limit condition at index 0 is satisfied we increment to the limit condition at index 1 when it is sat...

Page 34: ...his example our first reading is 0 so our next limit will occur when the reading has changed by plus or minus 100 0 100 100 and 0 100 100 Our next limit is satisfied when our reading is 150 150 100 so 50 and 250 become our new limit values 150 100 250 150 100 50 Our final limit is satisfied when our reading is 40 40 50 and our new limits become 60 and 140 Since we are in singleshot recording mode ...

Page 35: ...ed before you can start scanning If the system is armed and you don t wish to start scanning return to the idle state by issuing the disarm command Starting Scanning Scanning acquiring data is initiated via the start command If configured to do so while the system is scanning it is recording data and broadcasting real time data Stopping Scanning The stop command ends scanning and returns the syste...

Page 36: ...twork Configuration command You should also verify that the synchronization cable is present and that a master scanner is detected on the network LabVIEW Verify Sync Cable Status VI Active X GetSyncStatus method Low level Verify Sync Cable Status command After Arming After the Arm command has been sent to all scanners in the network a command is sent to only the master scanner that performs the sy...

Page 37: ...onizeNetworkScanners command to Master Issue StartScanning Command to all scanners Yes Issue ConfigureNetworkScanners command and VerifySynchCableStatus for all scanners Figure 6 Flow Diagram for Configuring Synchronized Scanners 3 13 Starting and Stopping Manual Recording If your system is configured to perform manual recording see the Recording section you may programmatically start and stop man...

Page 38: ...tarted It also returns the contents of the last scan data file It will delete the data file and the associated header file If you choose not to use this VI there are other VIs that allow you to perform these operations independently You will need to use these if you power cycle or reset the scanner between taking the data and attempting to download The scanner does not maintain the last data file ...

Page 39: ...me between the transmitted packets of file data may vary Programming Tip Your application must be able to keep up with reading the TCP packets as they are sent from the System 7000 If during the debug stage the data port quits transmitting you will likely find it necessary to restart your PC and the System 7000 The System 7000 sends 1460 bytes of data in each TCP packet and transmits in bursts of ...

Page 40: ...rt Block of Data Received from Data Port Timeout Total Amount of Data Received File Size Finished Acknowledgement and File Size Received Yes No Read 2 byte Checksum from Data Port Read Data and Store Update Checksum Yes Yes No Yes No No Clear Checksum Checksums Match Error No Yes Figure 7 Flow Diagram for Reading Data Files ...

Page 41: ...e sequence number for each scan The Scan ID is assigned based on the scan rate not the recording rate So that the first acquired scan has a Scan ID of 1 the second acquired scan has a Scan ID of 2 and so forth But remember that you do not have to record every scan so the Scan IDs recorded to file are not always sequential If you are only recording every 10th scan the first recorded scan has an Sca...

Page 42: ...present the full range of A D counts often a single channel s A D counts do not jump more than 127 counts from one recorded scan to the next Therefore the compression algorithm stores the full 32 bit values for all channels on the first scan On subsequent scans it monitors the amount each channel changes If no single channel changes more than 127 counts then it simply records the change in A D cou...

Page 43: ... Bits 1 and 2 SID0 SID1 Size of ScanID 00 Auto increment by 1 from the previous scan 01 16 bits 10 32 bits 11 48 bits Bit 3 EXT Extended Status Byte 0 No 1 Yes Bit 4 CGA Is Channel Group A recorded in this scan 0 No 1 Yes Bit 5 CGB Is Channel Group B recorded in this scan 0 No 1 Yes Bit 6 CGC Is Channel Group C recorded in this scan 0 No 1 Yes Bit 7 CGD Is Channel Group D recorded in this scan 0 N...

Page 44: ...Data Example 2 You are scanning at 1000 samples second and have 2 channels in Channel Group A and 1 channel in Group B Group A is recording at 500 samples second and Group B is recording at 200 samples second The first recorded scan is always recorded with absolute data to be an initial point of reference Notice that the Scan ID and channel data are in little endian format Recorded Data in hex Sca...

Page 45: ...alue new int 8 For this sample hard code the number of channels in each group int numChannelsinGroupA 8 try Open an existing binary file a 7KD System 7000 Data File BinaryReader inFile new BinaryReader File Open C Temp 00011234 7KD FileMode Open Each iteration of the loop will process a single scan Start by reading 1 byte from the file stream this single first byte is our status byte scanID 0 whil...

Page 46: ...s you re supporting if groupARecorded 01 write the 64 bit scan id to the console window Console WriteLine scanID If groupA is recorded read a value for each channel in the group if groupARecorded 01 for int i 0 i numChannelsinGroupA i if a relative 8 bit data type if dataType 0 we are reading in a 1 byte relative value add it to the current value groupAValue i groupAValue i sbyte inFile ReadByte e...

Page 47: ...ile This is a legacy feature that is required by Vishay s StrainSmart application You do not have to download or use this file but is recommended that you delete this file when the corresponding data file is deleted The header file contains the following information Token Description Defined by User Updated by Scanner GUID Standard globally unique identifier GUID Default 00000000 0000 0000 0000 00...

Page 48: ...for example if you would like the system to broadcast data from the first and fifth channels of a card Your mask should be 0x11 0b00010001 Note the ActiveX automation interface uses a different method for selecting the channels Skip Count This value defines the number of scans to skip between each transmission Skipping scans will effectively lower the transmission rate For example if you are scann...

Page 49: ... Card 9 Chan 1 0000000000000004 00040200 00000100 FFFFFFFC Table 22 This translates to a sequence count of 4 the fourth packet transmitted and readings of 262656 256 and 4 3 16 Zeroing and Shunt Calibration Zeroing all sensor types Zeroing is the act of specifying that the current value of a sensor is the zero offset reading Because this value is rarely 0 00 many applications remove this zero offs...

Page 50: ... point reading 5 Disable the calibration resistor 6 Add the zero offset value to the reading 7 Divide by 2 to convert the reading into µStrain 8 Divide by the simulated µStrain If you are using the LabVIEW instrument driver VIs have been written that perform steps 3 through 8 for you Following is a pseudo code example Set the excitation to 1000mV ConfigureStrainGageCardExcitation card ENABLE_EXCIT...

Page 51: ...is scaled according to the following formulas microStrain ADC_Count Zero_Reading 2 Calibration_Factor milliVolt_per_Volt microStrain Gage_Factor 10 03 4 Scaling for thermal effects rosette calculations etc is beyond the scope of this manual High Level Readings 1 count 100µV Linearization and other scaling are beyond this scope of this manual please see the specifications for your sensor Thermocoup...

Page 52: ... handling on command responses LabVIEW Each VI uses the standard error output indicator Any errors detected in a command response will be reported in this indicator Active X Most methods return a result status If the result is 0 then the method was successful If an error is detected in a command response the error number is passed as the result The last result status is also found in the LastError...

Page 53: ...us information includes system state i e idle armed scanning error state inactive or active last error code The card status information includes card state i e idle armed scanning error state inactive or active last error code low disk space limit latched limit asserted channel offscale status channel offscale status channel calibration status LabVIEW Get Card Status VI Get System Status VI Active...

Page 54: ... messages are transmitted when a card changes its operational mode For example when a user arms a card its status changes from idle to armed A corresponding status message will be broadcast out the event port The status message format is as follows Byte Position Value 1 Message Length LSB excluding the length bytes 0x0A 2 Message Length MSB excluding the length bytes 0x00 3 Message Type Card Statu...

Page 55: ...3 Message Type Error 0x02 4 Card ID 1 through 16 5 Channel Number 1 through 8 6 Error Code 7 Error String Byte 0 8 Error String byte 1 9 N Error String Byte N Table 25 4 4 4 Control Module Error Messages Control Module error messages are transmitted when a system level error is detected The message includes an error code byte and a text error message Byte Position Value 1 Message Length LSB exclud...

Page 56: ...lopment time by eliminating the need to learn the programming protocol for each instrument If you are experienced with LabVIEW but are not familiar with the format and use of instrument drivers please refer to the National Instruments web site There are several online documents and tutorials demonstrating how to use instrument drivers 5 2 System 7000 Instrument Driver The System 7000 instrument dr...

Page 57: ... information required software installation instructions and release information 5 2 4 Supported LabVIEW Versions This instrument driver was developed and tested using National Instruments LabVIEW version 8 5 This is the supported version of the instrument driver We will verify compatibility with subsequent versions of LabVIEW as they are released If you are using LabVIEW versions 8 2 or 8 0 we ca...

Page 58: ...lue of 0 indicates No Error a non zero value represents an error code Error codes less than 1000 are being passed through from the System 7000 Error codes greater than or equal to 1000 are generated by the ActiveX interface Most methods return an integer value representing pass or fail A value of 0 indicates that the method returned successfully without error Any non zero value represents an error...

Page 59: ...0100 will cause the method to act on cards 3 and 12 Note that for 4 slot scanners all bits except 0 through 3 should be 0 Channel Mask In order to specify which channels on a card are acted upon some methods have a Channel Mask argument The Channel Mask is configured as 31 8 7 6 5 4 3 2 1 0 Bit Set to 0 8 7 6 5 4 3 2 1 Channel 1 included 0 excluded For example a channel mask of 0x00000005 will cau...

Page 60: ...e library file generated with the Import Type Library tool You may wish to re generate the type library 6 4 2 Visual C Sample Programs The C sample program demonstrates how to configure strain gage cards configure online date configure a simple scan session arm start scanning and stop scanning control online data receive and decode online data A separate C sample program implements the data file d...

Page 61: ...ted decimal notation e g 192 168 0 3 6 5 1 2 CommandPort Property Read Write Syntax Get HRESULT _stdcall out retval long Value Set HRESULT _stdcall CommandPort in long Value Description Sets or returns the command port number for the scanner Notes This value must be set before calling the Open method for the scanner 6 5 1 3 DataPort Property Read Write Syntax Get HRESULT _stdcall DataPort out retv...

Page 62: ...wait for bytes to be received on the TCP command port Effectively this acts as the amount of time to wait for a response to a command Notes This value can vary depending on the number of cards in your scanner and the particular command that is issued For example it typically takes longer to receive a response r for the Arm command than for a simple configuration command You have two ways of handli...

Page 63: ...erty Read Write Syntax Get HRESULT _stdcall DataPortTimeout out retval long Value Set HRESULT _stdcall DataPortTimeout in long Value Description This timeout value defines the amount of time in milliseconds to wait for bytes to be received on the TCP data port Notes This value should not be set to less than 1000 ...

Page 64: ...rns 0 if Successful otherwise an Error Code Notes The IPAddress CommandPort and DataPort properties must be set prior to calling Open This method must be called before any methods are called 6 5 2 2 Close Method Syntax HRESULT _stdcall Close out retval long result Description Closes the scanner command port Arguments None Returns 0 if Successful otherwise an Error Code Notes Once this method is ca...

Page 65: ... is returned one or more of the cards specified in the card mask may not be armed The arm command typically takes longer to return a response than other commands in the system See the CommandPortTimeout property 6 5 3 2 Disarm Method Syntax HRESULT _stdcall Disarm in long CardMask out retval long result Description Disarms the selected cards and returns them into the command state Arguments CardMa...

Page 66: ...zedScanning is required After successful completion of this command the scanner will be in the scanning state Note if an error code is returned one or more of the cards specified in the card mask may not start scanning 6 5 3 4 StopScanning Method Syntax HRESULT _stdcall StopScanning in long CardMask out retval long result Description Stops scanning on selected cards Arguments CardMask It is recomm...

Page 67: ...ding method to configure manual recording Manual recording may be started and stopped multiple times while scanning is active Note if an error code is returned one or more of the cards specified in the card mask may not start or stop manual recording 6 5 3 6 ControlOnlineDataTransfer Method Syntax HRESULT _stdcall StartOnlineDataTransfer in long Control out retval long result Description This meth...

Page 68: ...ng 0x0010 Calibrating 0x0020 Downloading 0x0040 Updating 0x0080 Maintenance mode Byte 2 Set to 0x01 if an error is currently active in the system 0x00 if no error is active Byte 3 MSB The last error code generated by the system A value of 0x00 indicates no error Notes This method does not return a Success Error status Use the LastErrorCode property to check if an error occurred during the method 6...

Page 69: ...alid Base 2 clock 0x05 Sync cable detected and the input signal is a valid Base 10 clock Bit 7 0x0080 is if the returned state is not valid for the configuration entered Notes This method does not return a Success Error status Use the LastErrorCode property to check if an error occurred during the method This method does not configure the scanner s network configuration it only verifies it See the...

Page 70: ...chronized scanning on a synchronized network On a synchronized network the StartScanning command prepares for scanning but waits until this command is executed before actually scanning Arguments None Returns 0 if Successful otherwise an Error Code Notes This command must only be sent to the scanner designated as the Master All cards in the synchronized network must be issued the StartScanning meth...

Page 71: ...nt Specifies how many scans to skip between each recorded scan A value of 0 means skip none i e record each scan Range 0 to 4294967295 Default 0 BurstCount The number of scans to record during each burst Range 0 to 4294967295 Default 0 BurstSkipCount The number of scans between recording bursts Range 0 to 4294967295 Default 0 Returns 0 if Successful otherwise an Error Code Notes To assign a channe...

Page 72: ... Syntax HRESULT _stdcall ConfigureManualRecording in long CardNo in long RecordMode in long BufferSize out retval long result Description Configures the manual recording Modeand sets up the manual record Pre Record Buffer Size Arguments CardNo The card number 1 16 RecordMode 0 Off default 1 SingleShot 2 Continous BufferSize The number of pre trigger scans to be recorded when the start manual recor...

Page 73: ...channel number 1 8 Group The recording group number 1 Group A default 2 Group B 3 Group C 4 Group D Returns 0 if Successful otherwise an Error Code Notes 6 5 4 5 SetLimitType Method Syntax HRESULT _stdcall SetLimitType in long CardNo in long LimitType out retval long result Description The limit type defines the style of limit handling active on a card Arguments CardNo The card number 1 16 LimitTy...

Page 74: ... limit active Records scans while the limit condition remains active Recording stops when the limit condition goes inactive 2 Singleshot Records a single scan when a limit condition goes active 3 Continuous Recording starts when a limit condition is detected and continues until scanning stops Returns 0 if Successful otherwise an Error Code Notes See SetLimitsType method 6 5 4 7 ConfigureLimitsBase...

Page 75: ... long result Description Configures the limit event condition for the selected limit This method should be used to build a limit condition table for each card in the scanner Arguments CardNo The card number 1 16 LimitIndex Index of this limit condition in the Limit Condition Table 0 49 Condition The limit condition value 0 None This condition does not have a limit assigned default 1 Greater Than T...

Page 76: ...Returns 0 if Successful otherwise an Error Code Notes The pre and post limit buffer size must not be bigger than the configured scan buffer size see the ConfigureScan method 6 5 4 9 SetLimitConditionCount Method Syntax HRESULT _stdcall SetLimitConditionCount in long CardNo in long ChannelNo in long Count out retval long result Description Sets the total number of limit events for the selected chan...

Page 77: ...rwise an Error Code Notes Note that if a Normal or Range type limit is active a channel may only have one limit condition assigned For Incremental limits a channel may be associated with up to 50 limit conditions However these limits must be assigned sequentially 6 5 4 11 ConfigureGlobalLimit Method Syntax HRESULT _stdcall ConfigureGlobalLimit in long CardNo in long Enable in long PreBufferSize in...

Page 78: ...umber of pre trigger scans to be recorded when the global limit signal goes active Range 0 to 645 000 Default 0 PostBufferSize The number of post trigger scans to be recorded when the global limit signal goes inactive Range 0 to 4294967295 Default 0 Returns 0 if Successful otherwise an Error Code Notes The BufferSize must not be bigger than the configured Scan Buffer Size see the ConfigureScan met...

Page 79: ...6 5 4 3 2 1 0 Bit Set to 0 8 7 6 5 4 3 2 1 Channel 1 include in scan list 0 exclude from scan list For example to include channels 2 and 7 the mask would be 0x42 0b01000010 Default 00 BufferSize The scan buffers size in scans Range 20 000 to 645 276 Default 645 276 StopCount The number of scans to acquire before scanning is automatically stopped by the card A value of 0 indicates that scanning wil...

Page 80: ... 5 4 14 ConfigureStrainGageChannelBridgeSettings Method Syntax HRESULT _stdcall ConfigureStrainGageChannelBridgeSettings in long CardNo in long ChannelNo in long HalfBridgeEnable in long DummyValue out retval long result Description Defines the bridge settings for full bridge half bridge and quarter bridge strain gage configurations Arguments CardNo The card number 1 16 ChannelNo The channel numbe...

Page 81: ...e Positive Excitation Unipolar 2 Enable Negative Excitation Bipolar Excitation The excitation value in units of millivolts Bipolar Range 0 to 12000mV Unipolar Range 0 to 12000 mV Default 0mV Returns 0 if Successful otherwise an Error Code Notes 6 5 4 16 ConfigureThermocoupleChannel Method Syntax HRESULT _stdcall ConfigureThermocoupleChannel in long CardNo in long ChannelNo in long CGCType out retv...

Page 82: ...onfigureLVDTCardExcitation in long CardNo in long Frequency in long Enable in long Excitation out retval long result Description Sets the excitation for the selected LVDT card Arguments CardNo The card number 1 16 Frequency The LVDT Card operates at 3 Vrms The Excitation Frequency may be 0 Off default 1 2 5 kHz 2 5 kHz 3 10 kHz 4 125 Hz test mode only Enable 1 Enable Excitation 0 Disable Excitatio...

Page 83: ...Positive Reference default 1 Negative Reference used only in test mode 2 Secondary 3 Primary Returns 0 if Successful otherwise an Error Code Notes The Primary selection is used for 4 wire LVDTs or for LVDTs that don t have sufficient common mode output signal to trigger the secondary winding The secondary selection is preferred for 6 5 and 3 wire LVDTs In this mode the demodulator trigger is sourc...

Page 84: ... rate may be 100 scans sec To minimize the risk of aliasing you may find it useful when selecting a filter to select a scan rate closer to your recording rate 6 5 4 20 SetFIRFilterCoefficients Method Syntax HRESULT _stdcall SetFIRFilterCoefficients in long CardNo in long ChannelNo in long NumTaps in BSTR Coefficients out retval long result Description Sets the FIR filter coefficients for the selec...

Page 85: ...rd number 1 16 Year The year in 2 digit format Month The month 1 12 Day The day of the month 1 31 Hour The hour 0 23 Minute The minute 0 59 Second The second 0 59 Returns 0 if Successful otherwise an Error Code Notes 6 5 4 22 ConfigureOnlineDataTransfer Method Syntax HRESULT _stdcall ConfigureOnlineDataTransfer in long SkipCount in BSTR ChannelList out retval long result Description The VMM System...

Page 86: ...6 5 4 23 SetScannerNetworkConfiguration Method Syntax HRESULT _stdcall SetScannerNetworkConfiguration in long Configuration out retval long result Description This method defines a scanner s role in a network of scanners Arguments Configuration 0 Not a Member of a Network this scanner is independent and cannot be synchronized with other scanners default 1 Network Master this scanner is attached to...

Page 87: ...d in long BoxId out retval long result Description Defines a box number for the scanner If your application involves multiple scanners you may find it useful to assign a different box number to each scanner This method is optional Arguments BoxId Box Identifier Range 0 to 9999 Default 1 Returns 0 if Successful otherwise an Error Code Notes ...

Page 88: ...unts Notes Data is filtered using a lowpass filter This method does not return a Success Error status Use the LastErrorCode property to check if an error occurred during the method 6 5 5 2 GetLastDataFileInformation Method Syntax HRESULT _stdcall GetLastDataFileInformation in long CardNo out retval BSTR result Description Retrieves information from the last data file that was recorded on the card ...

Page 89: ...II 0x13 The last data file information is not available using this method after the scanner is power cycled If you have power cycled your system before retrieving the scan data and information you will have to list the files on the card ListFiles method and view the date time to retrieve the correct header and data files 7KH and 7KD extensions respectively Use the RetrieveFile method The header fi...

Page 90: ... format is A null terminated system identifier Vishay Micro Measurements System 7000 CR Firmware Version CR FPGA Device CR FPGA Version CR Serial Number CR Card Hardware Version CR Backplane FPGA Device CR Backplane FPGA Version CR Backplane Card Version CR Number of Backplane Card Slots Notes This method does not return a Success Error status Use the LastErrorCode property to check if an error oc...

Page 91: ...ErrorCode property to check if an error occurred during the method 6 5 6 3 GetCardStatusMethod Syntax HRESULT _stdcall GetCardStatus in long CardNo out retval BSTR result Description Returns the card status for the selected card Arguments CardNo The card number 1 16 Returns A string representing the current card status delimited by carriage returns Card State CR Last error code CR 0 no error Low d...

Page 92: ...sks If any channel is offscale then the corresponding bit is set in the mask For example if the mask is 0x03 then channels 1 and 2 are offscale The calibration status is also a bit mask If any channel s calibration is out of range then the corresponding bit is set in the mask 6 5 6 4 DetectCards Method Syntax HRESULT _stdcall DetectCards out retval long result Description Detects the cards install...

Page 93: ...umber CR Card Firmware Version CR Sensor Card Type CR o 7003 8 SG FB o 7003 8 SG HB o 7003 8 SG QB o 7003 8 SG QB 120 o 7003 8 SG QB 350 o 7003 8 SG QB 1000 o 7003 8 TC o 7003 8 PE VM o 7003 8 PE CM o 7003 8 LVDT o 7003 8 HL o 7003 8 SG_UN_CMRR Sensor Card Version CR Sensor Card Serial number CR Sensor Card CPLD version Notes This method does not return a Success Error status Use the LastErrorCode...

Page 94: ...m s front panel LEDs Arguments LEDState 0 Stop Flashing Pattern 1 Start Flashing Pattern Returns 0 if Successful otherwise an Error Code Notes 6 5 6 7 ResetCard Method Syntax HRESULT _stdcall ResetCard in long CardNo out retval long result Description Performs a soft reset on the selected card The card settings are returned to the default state Arguments CardNo The card number 1 16 Returns 0 if Su...

Page 95: ... selection This method is only applicable for strain gage channels in a quarter bridge configuration In ordinary operation the shunt calibration resistor is disabled Enable it when you are performing a shunt cal procedure 6 5 6 9 RemoteCalEnable Method Syntax HRESULT _stdcall RemoteCalEnable in long CardNo in long ChannelNo in long Enable out retval long result Description Enables the remote calib...

Page 96: ...files Arguments None Returns 0 if Successful otherwise an Error Code Notes 6 5 6 11 GetErrorMessage Method Syntax HRESULT _stdcall GetErrorMessage in long ErrorCode out retval BSTR result Description Returns an ASCII text string containing information about the entered error code Arguments None Returns An ASCII text error string Notes This method should be called when an error code is returned fro...

Page 97: ...MM7000DataTransferStatus Interface object Returns 0 if Successful otherwise an Error Code Notes The IVMM7000DataTransferStatus interface provides critical information about the download 6 5 6 13 RetrieveLastDataFile Method Syntax HRESULT _stdcall RetrieveLastDataFile in long CardNo in BSTR DestPath in VMM7000DataTransferStatus Callback out retval long result Description Retrieves the last created ...

Page 98: ...Returns A string containing a list of files delimited by carriage returns 0x13 in the format Filename File size Create Date MM DD YY Create Time HH MM CR Notes 6 5 6 15 DeleteFile Method Syntax HRESULT _stdcall DeleteFile in long CardNo in BSTR FileName out retval long result Description Deletes a file from the selected card Arguments CardNo The card number 1 16 Use 0 to deletes the file from the ...

Page 99: ...a file and associated header file from the selected card Arguments CardNo The card number 1 16 Returns 0 if Successful otherwise an Error Code Notes 6 5 6 17 CancelFileTransferMethod Syntax HRESULT _stdcall CancelFileTransfer in long CardNo out retval long result Description Cancels a file transfer in progress Arguments CardNo The card number 1 16 Returns 0 if Successful otherwise an Error Code No...

Page 100: ...lly by the ActiveX object There is no need for the user to set the property 6 6 1 2 PercentComplete Property Read Write Syntax Get HRESULT _stdcall PercentComplete out retval BSTR Value Set HRESULT _stdcall PercentComplete in BSTR Value Description Returns the percent complete for the current transfer Notes You may read the PercentComplete property to monitor the status of the file transfer Progra...

Page 101: ...HRESULT _stdcall ErrorStatus in BSTR Value Description Sets or returns the error status of the file transfer A value of 0 indicates No Error Notes Set this property to 0 before calling the RetrieveFile ListFiles or RetrieveLastData methods It should be monitored during the file transfer process If a non zero value is read an error has occurred 6 6 1 5 TransferComplete Property Read Write Syntax Ge...

Page 102: ... 9 8 7 6 5 4 3 2 1 0 Bit 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Card 1 included 0 excluded For example a card mask of 0x1010 will cause the command to act on cards 4 and 12 Note that for 4 slot scanners all bits except 0 through 3 should be set to 0 If the card mask is not used or ignored for a particular command it should be set to 0x0000 Channel Mask In order to specify which channels on a card ...

Page 103: ...he least significant bit corresponds to channel 1 the most significant with channel 8 A card mask of 0x00 should be used if this field is not used for a specific command Parameters parameters of varying sizes may be included in the command 7 3 Response Syntax Upon completion of each command the system will return the response length followed by a duplication of the command group command code card ...

Page 104: ...te that card 1 returned a NAK followed by an error code and card 4 returned an ACK Example 2 The following sequence queries the system for the channel recording group for channels 1 and 3 on cards 2 and 10 0x0006 0x06 0x8001 0x0202 0x05 Notice the query bit is set in the command code If successful the system will return 0x0014 0x06 0x8001 0x0202 0x05 0x06 0x01 0x06 0x02 0x06 0x03 0x06 0x04 Note th...

Page 105: ... Parameters 0x0006 0x01 0x0002 Queries are not allowed Used Ignored 0x00 None This command stops scanning This command is only valid in the scanning state After successful execution the system will change to the idle state 7 4 1 3 Start Manual Recording Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x0006 0x01 0x0003 Queries are not allowed Used Ignored 0x00 None This...

Page 106: ...ne This command will return a scanner in the armed state to the idle state 7 4 1 7 Start Online Data Transfer Length Command Group Command Code Card Mask Channel Mask Parameters 0x0018 0x01 0x0007 Queries are not allowed Ignored 0x0000 Ignored 0x00 None Start the transmission of real time online data This command is only valid in the scanning state Online data will stop automatically when scanning...

Page 107: ...be on a particular sync network It should only be issued to the master scanner after a master has been selected the network has been verified and all the scanners on the network have been armed 7 4 1 10 Start Scanning on Networked Scanners Length Command Group Command Code Card Mask Channel Mask Parameters 0x0006 0x01 0x000A Queries are not allowed Ignored 0x0000 Ignored 0x00 None This command is ...

Page 108: ... Continuous This command sets the manual recording mode for the selected cards There are three available manual recording modes Off disables manual recording default Single Shot records one reading for each channel Continuous records continuously until manual recording is disabled 7 4 2 2 Set Pre trigger Buffer Size for Manual Recording Command Length Command Group Command Code Card Mask Channel M...

Page 109: ...t Off disables time based recording for the selected group default Continuous records data continuously Burst records data continuously in bursts 7 4 2 4 Set Time Based Recording Count Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x000E 0x02 0x0003 Used Ignored 0x00 Bytes 8 15 64 bit recording count in scans The most significant 3 bytes will be ignored and should be ...

Page 110: ...ates no delay Range 0 to 1099511627775 Default 0 7 4 2 6 Set Time Based Recording Skip Count Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x000F 0x02 0x0005 Used Ignored 0x00 Byte 8 Group number Multiple groups can be specified by logically ORing the values 0x01 Group A 0x02 Group B 0x04 Group C 0x08 Group D Bytes 9 16 64 bit skip count in scans The most significant ...

Page 111: ...ifies the number of recordings the specified cards will collect during each recording burst Range 0 to 1099511627775 Default 0 7 4 2 8 Set Time Based Recording Burst Skip Count Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x000F 0x02 0x0007 Used Ignored 0x00 Byte 8 Group number Multiple groups can be specified by logically ORing the values 0x01 Group A 0x02 Group B 0...

Page 112: ...rds will to take when a limit event has occurred 7 4 2 10 Set Limits Based Recording Mode Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x0008 0x02 0x0009 Used Ignored 0x00 Byte 8 Group number Multiple groups can be specified by logically ORing the values 0x01 Group A 0x02 Group B 0x04 Group C 0x08 Group D Byte 9 Mode 0x00 Off 0x01 Continuous 0x02 Burst This command c...

Page 113: ...ng limits based recording A skip factor of 1 will skip every other point decimation factor of 2 Specifying a 0 indicates that no scans will be skipped Range 0 to 1099511627775 Default 0 7 4 2 12 Set Limits Based Recording Burst Count Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x000F 0x02 0x000B Used Ignored 0x00 Byte 8 Group number Multiple groups can be specified ...

Page 114: ... Ignored 0x00 Byte 8 Group number Multiple groups can be specified by logically ORing the values 0x01 Group A 0x02 Group B 0x04 Group C 0x08 Group D Bytes 9 16 64 bit burst skip count in scans Note the most significant 3 bytes will be ignored and should be 0x000000 The limits based recording burst skip count instructs the specified cards to skip the specified number of scans between recording burs...

Page 115: ...2048 1000 1024 500 512 200 256 100 128 10 128 Byte 12 Radix Valid values are 2 or 10 This function sets the scanning rate of the system Default 1000 radix 10 7 4 3 2 Create Scan List Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x0007 0x03 0x0002 Used Ignored Byte 8 Channel Mask This command determines which channels are enabled within the selected cards The channel ...

Page 116: ...o stop The autostop count should be the same for all cards 7 4 3 4 Get Last Data File Info Length Command Group Command Code Card Mask Channel Mask Parameters 0x0006 0x03 0x8004 Query Only Used Ignored 0x00 Query Returns Bytes 8 19 Last Data File Name in 8 3 format e g XXXXXXXX 7KD Byte 20 Null Terminator 0x00 Bytes 21 24 File Size in Bytes Bytes 25 29 Number of Scans Recorded 40 bit long integer ...

Page 117: ...r Default 0001 7 4 3 6 Set Project Name to Scan Header File Command Length Command Group Command Code Card Mask Channel Mask Parameters varies 0x03 0x0006 Used Ignored 0x00 Bytes 8 N The ASCII string representing the StrainSmart project which generated this header file The maximum string length is 48 bytes including the null terminator Used by Vishay s StrainSmart application software 7 4 3 7 Set ...

Page 118: ...der file The maximum string length is 16 bytes including the null terminator Note this command does not change the system s IP address it merely stores the downloaded IP address to the header file Used by Vishay s StrainSmart application software 7 4 3 10 Set the Size of the Scan Buffer Length Command Group Command Code Card Mask Channel Mask Parameters 0x000A 0x03 0x000A Used Ignored 0x00 Bytes 8...

Page 119: ...0007 0x04 0x0001 Used Ignored 0x00 Byte 8 Limit Type 0x00 None default 0x01 Incremental 0x02 Range 0x03 Normal This command sets the limits based recording mode for the selected card s 7 4 4 2 Set Number of Limit Event Conditions Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x0008 0x04 0x0002 Used Used Bytes 8 9 The number of limit conditions This command sets the nu...

Page 120: ...ximum number of conditions is 50 Condition Value LIMIT_COND_NONE default 0 LIMIT_COND_GT 1 LIMIT_COND_LT 2 LIMIT_COND_EQ 3 LIMIT_COND_BETWEEN 4 LIMIT_COND_OUTSIDE 5 LIMIT_COND_DIG_EQUAL 6 LIMIT_COND_DIG_NOTEQUAL 7 LIMIT_COND_RANGE 8 7 4 4 4 Set Lower Limit Value Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x000C 0x04 0x0004 Used Ignored 0x00 Bytes 8 9 The 16 bit ind...

Page 121: ... Pre trigger Buffer Size Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x000C 0x04 0x0006 Used Ignored 0x00 Bytes 8 9 The 16 bit index of the limit event Bytes 10 13 32 bit buffer size in scans Sets the pre trigger buffer size for the selected limit event Range 0 to 645 000 or the size of the scan buffer Default 0 7 4 4 7 Set Post trigger Buffer Size Command Length Co...

Page 122: ...imit is detected 7 4 4 9 Set Pre trigger Buffer Size Command for Sync Global Limits Length Command Group Command Code Card Mask Channel Mask Parameters 0x000A 0x04 0x0009 Used Ignored 0x00 Bytes 8 11 32 bit buffer size in scans Sets the pre trigger buffer size for synchronized global limits Range 0 to 645 000 or the size of the scan buffer Default 0 7 4 4 10 Set Post trigger Buffer Size Command fo...

Page 123: ...s it will be padded with Nulls 0x00 up to 8 characters Byte 22 Card Firmware Major Version Byte 23 Card Firmware Minor Version Byte 24 Personality Module ID Byte 25 Personality Module Major Version Byte 26 Personality Module Minor Version Bytes 27 34 Personality Module Serial Number Note if the serial number is less than 8 characters it will be padded with Nulls 0x00 up to 8 characters Byte 35 Per...

Page 124: ...r requirements Please see the VMM System 7000 datasheet for more information Strain Gage Range 0 to 10 000 mV Default 0 mV High Level Bipolar Range 0 to 12000mV Unipolar Range 0 to 12000 mV Default 0 mV LVDT Only accepts the value of 3 Vrms 7 4 5 3 Get Free Space Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x0006 0x05 0x8003 Query Only Used Ignored 0x00 None Query r...

Page 125: ...t Latched 0 no 1 yes Byte 12 Limit Asserted 0 no 1 yes Byte 13 Masked offscale status the corresponding bit is set if the channel is offscale Byte 14 Masked offscale status the corresponding bit is set if the channel is offscale Byte 15 Calibration status of current range the corresponding bit is set if the channel is out of range Note Byte 15 exists in firmware version 0 29 and greater only Byte ...

Page 126: ...citation is disabled on a LVDT card the Demodulator Source will automatically be set to 0x00 Positive Reference The default for all cards is 0x00 off 7 4 5 7 Aim Temperature Sensor Query Length Command Group Command Code Card Mask Channel Mask Parameters 0x0006 0x05 0x8018 Query Only Used Ignored 0x00 None This query returns an 8 bit temperature reading in Degrees Celsius from a sensor located on ...

Page 127: ...r See the manual section on scaling A D converter counts 7 4 6 2 Set Channel Recording Group Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x0007 0x06 0x0001 Used Used Byte 8 Channel Recording Group Value Group 0x01 Group A 0x02 Group B 0x03 Group C 0x04 Group D Assigns a recording group to a channel 7 4 6 3 Set FIR Filter Command Length Command Group Command Code Car...

Page 128: ...Command Code Card Mask Channel Mask Parameters 0x0007 0x06 0x000D Used Used Byte 8 CMD 0x00 Open Circuit 0x01 120 Ohm 0x02 350 Ohm 0x03 1000 Ohm This is a Strain Gage only command which selects the dummy resistor to use in a quarter bridge configuration If your strain gage is not a quarter bridge configuration select 0x00 Open Because the 1000 ohm resistor is socketed it may be replaced with a dif...

Page 129: ... 0x05 Type S 0x06 Type B 0x07 Type N 0x08 Type E Also Returned for Queries Byte 9 returned for queries 1 thermocouple setting complete 0 thermocouple setting in progress The thermocouple type setting is used to determine the correct coefficients to use during cold junction compensation The compensation point is determined by a temperature sensor on the panel of the card If no type is selected the ...

Page 130: ...s i e channel limit indexes 0 through 49 may be assigned to any of the 50 definable limit conditions However these limits must be assigned sequentially i e no channel limit indexes may be skipped 7 4 6 10 Set Default Filter Command Length Command Group Command Code Card Mask Channel Mask Parameters 0x000A 0x06 0x0012 No Query Used Used Bytes 8 11 32 bit scan rate in samples second Valid values are...

Page 131: ...the triggering source for the demodulator The Primary selection is used for 4 wire LVDTs or for LVDTs that don t have sufficient common mode output signal to trigger the secondary winding The secondary selection is preferred for 6 5 and 3 wire LVDTs In this mode the demodulator trigger is sourced directly from the secondary winding of the LVDT The Positive Reference is the default state and should...

Page 132: ...g 0x03 if index file 0x04 if XML file Bytes 9 16 8 byte filename no extension Wildcards are not recognized File name is not required if Byte 8 is 0x02 or 0x03 This command initiates the transmission of the contents of the selected file to the TCP data port Note that the filename does not include a file extension as this is determined by byte 8 For example if you wish to download the data file 0001...

Page 133: ...s 9 12 The ACK NAK is in byte 8 The process for downloading the file listing is identical to downloading the contents of the file except that you do not need to perform a checksum validation 7 4 7 3 Delete File Length Command Group Command Code Card Mask Channel Mask Parameters varies 0x07 0x0005 Queries are not allowed Used Ignored 0x00 Byte 8 0x00 if data file 0x01 if header file 0x02 if error l...

Page 134: ...HH MM Carriage Return Delimiter 0x13 Note that the command response returns a 32 bit data stream size in bytes 9 12 The ACK NAK is in byte 8 7 4 7 6 Retrieve File from Control Module Length Command Group Command Code Card Mask Channel Mask Parameters varies 0x07 0x0012 Queries are not allowed Used 0x0000 Ignored 0x00 Bytes 8 19 File Name in 8 3 format This command initiates the transmission of the...

Page 135: ...racters 8 3 format then you must terminate with a null 00 character The null character should be included in the command length 7 4 7 8 Verify the Checksum of a Control Module File Length Command Group Command Code Card Mask Channel Mask Parameters variable 0x07 0x0014 Queries are not allowed Ignored 0x0000 Ignored 0x00 Bytes 8 9 2 byte checksum Bytes 12 variable A filename in the 8 3 format Shoul...

Page 136: ... Group Command Code Card Mask Channel Mask Parameters 0x000D 0x08 0x0001 Ignored 0x0000 Ignored 0x00 Byte 8 Second 0 59 Byte 9 Minute 0 59 Byte 10 Hour 0 23 Byte 11 Day of Month 1 31 Byte 12 Month 1 12 Byte 13 Year Last two digits only example 06 Byte 14 Day of the week 1 7 7 Sunday This command sets the date and time on the selected cards ...

Page 137: ...ast Event IP address 1 16 In IPV4 dotted decimal notation Command Port 2 Integer Must be greater than or equal to 49152 49142 default Online Data Port 2 Integer Must be greater than or equal to 49152 49143 default Event Port 2 Integer Must be greater than or equal to 49152 49144 default Offline Data Port 2 Integer Must be greater than or equal to 49152 49145 default All character fields names and ...

Page 138: ... 1 byte 25 is used for the card in slot 16 Fill in the channel mask where channel 1 is represented in the least significant bit and channel 8 is represented in the most significant bit 7 6 5 4 3 2 1 0 Bit 8 7 6 5 4 3 2 1 Channel 1 include in offline data 0 exclude from offline data Skip Count Range 0 to 32768 Default 0 scans don t skip 7 4 8 5 Define Scanner s Network Configuration Length Command ...

Page 139: ... 0x01 Signal detected but no lockup is present This is an error condition 0x02 Scanner is configured as a MASTER and the reference clock is set to Base2 0x03 Scanner is configured as a MASTER and the reference clock is set to Base10 0x04 Sync cable detected and the master signal is a valid Base2 clock 0x05 Sync cable detected and the master signal is a valid Base10 clock 7 4 8 7 Card Detect Length...

Page 140: ... Bytes 51 FPGA Minor Version Byte 52 59 Serial Number Note if the serial number is less than 8 characters it will be padded with Nulls 0x00 up to 8 characters Byte 60 Card Major Version Byte 61 Card Minor Version Byte 62 Backplane FPGA Device Byte 63 Backplane FPGA Major Version Byte 64 Backplane FPGA Minor Version Byte 65 Backplane Card Version Byte 66 Number of Backplane Card Slots 7 4 8 10 Disp...

Page 141: ...rs 0x0006 0x08 0x800C Query Only Ignored 0x00 Ignored 0x00 none Returns the system status from the Control Module Byte 8 9 System State 0x0001 idle 0x0002 uploading 0x0004 Armed 0x0008 Scanning 0x0010 Calibrating 0x0020 Downloading 0x0040 Updating 0x0080 Maintenance Mode Byte 10 Error Flag 0 no error 1 error Byte 11 Last Error Code if Error Flag 1 7 4 8 13 Get Error Message from Error Code Length ...

Page 142: ...time loss of profits or income or loss resulting from personal injury Some states do not allow the exclusion or limitation of incidental or consequential damages for consumer products so the above limitations or exclusions may not apply to you The purchaser agrees that the Purchaser is responsible for notifying any subsequent buyer of goods manufactured by Vishay Micro Measurements of the warranty...

Reviews: