Vishay 7000 Programmer's Reference Manual

System scanner/data acquisition system
Table of Contents

Advertisement

System 7000 Scanner
Programmer's Reference Manual
Version 1.01
130-000197
Document Number: 49897
Vishay Micro-Measurements
P. O. Box 27777, Raleigh, North Carolina, 27611, USA Phone (919) 365-3800 Fax (919) 365-3945 www.vishay.com

Advertisement

Table of Contents
loading

Summary of Contents for Vishay 7000

  • Page 1 System 7000 Scanner Programmer’s Reference Manual Version 1.01 130-000197 Document Number: 49897 Vishay Micro-Measurements P. O. Box 27777, Raleigh, North Carolina, 27611, USA Phone (919) 365-3800 Fax (919) 365-3945 www.vishay.com...
  • Page 2: Table Of Contents

    3.15.2 Controlling the Real-time (Online) Data Transmission _____________________________________49 3.15.3 Parsing the Real-time (Online) Data ___________________________________________________50 3.16 Z ________________________________________________________50 EROING AND HUNT ALIBRATION 3.17 S _______________________________________52 CALING THE NALOG IGITAL ONVERTER OUNTS Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 2 of 142...
  • Page 3 5.2 S 7000 I _________________________________________________________57 YSTEM NSTRUMENT RIVER 5.2.1 System 7000 Instrument Driver Layout __________________________________________________57 5.2.2 System 7000 Instrument Driver Examples ________________________________________________58 5.2.3 System 7000 Instrument “Readme.html” _________________________________________________58 5.2.4 Supported LabVIEW Versions _________________________________________________________58 6 ACTIVEX INTERFACE ___________________________________________________________________59 6.1 A ___________________________________________________________________59...
  • Page 4 7.4.2.3 Set Time-Based Recording Mode Command __________________________________________________ 110 7.4.2.4 Set Time-Based Recording Count Command _________________________________________________ 110 7.4.2.5 Set Time-Based Recording Delay Command__________________________________________________ 111 7.4.2.6 Set Time-Based Recording Skip Count Command _____________________________________________ 111 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 4 of 142...
  • Page 5 7.4.8.1 Set Date/Time _________________________________________________________________________ 137 7.4.8.2 Set IP Configuration Information___________________________________________________________ 138 7.4.8.3 Get Free Space Command ________________________________________________________________ 138 7.4.8.4 Configure Online Data ___________________________________________________________________ 139 7.4.8.5 Define Scanner’s Network Configuration ____________________________________________________ 139 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 5 of 142...
  • Page 6 7.4.8.10 Display Flashing LED Sequence __________________________________________________________ 141 7.4.8.11 Clear Errors __________________________________________________________________________ 142 7.4.8.12 System Status Query ___________________________________________________________________ 142 7.4.8.13 Get Error Message from Error Code _______________________________________________________ 142 8 WARRANTY ____________________________________________________________________________143 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 6 of 142...
  • Page 7: Introduction

    The System 7000 data acquisition instrument (scanner) may be remotely programmed via an Ethernet (TCP/IP) interface. Any high-speed, modern personal computer supporting this interface may be used to program the System 7000 and, as a result, the scanner can be a part of an automated instrumentation system.
  • Page 8: Definition Of Terms

    The System 7000 is said to be scanning after it has completed an “arm/start” sequence and it is actively acquiring data. A scan in the System 7000 refers to a single group of data that is acquired Scan simultaneously. For example, if you have 2 cards in your scanner (with 8 active channels per card), a single scan consists of all 16 readings made at the same point in time.
  • Page 9: Registered Trademark Notices

    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. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 9 of 142...
  • Page 10: Programming Overview

    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.
  • Page 11: System States

    Table 3 – System States 2.4 Command Overview The following chart shows the System 7000 command list broken down by functional group. It lists the required state for each command. If you are using the LabVIEW instrument driver or the ActiveX interface you will find that many of these commands have been bundled into a single “vi”...
  • Page 12 Delete File on AIM Card Idle Cancel File Transfer Uploading List Files on Control Module Idle Retrieve File from Control Module Idle Delete File from Control Module Idle Table 4 – Command List Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 12 of 142...
  • Page 13: Debugging Tips

    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). Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 13 of 142...
  • Page 14: Program Layout

    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 –...
  • Page 15 3.1 Overview of Program Layout - Scanning Figure 1 shows the flow of a typical program accessing the System 7000 scanner and performing scanning. Idle State Connect to System and Validate Idle State Perform Configuration Idle State Armed State Start Scanning...
  • Page 16 3.2 Overview of Program Layout – Single Channel Reads Figure 2 shows the flow of a typical program accessing the System 7000 scanner and performing single channel readings (no scanning is performed). Idle State Connect to System and Validate Idle State...
  • Page 17: System Level Configuration

    3.3 Establishing a Connection to the Scanner The first step in programming the System 7000 scanner is connecting to one or more of its TCP and UDP ports. TCP Command Port You must connect to the command port in order to send commands to and receive responses from the scanner.
  • Page 18: System Validation

    3.4 System Validation After you have successfully connected with the System 7000 you may wish to confirm the connection by validating that you are, in fact, connected to a System 7000. LabVIEW Use the ID Query parameter to the Initialize VI to automatically perform a check.
  • Page 19: Card-Level Configuration

    Card-level configuration commands are performed on an individual I/O card. Any settings are applied to all channels on the card. Instructions on how to determine the appropriate values for the 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.
  • Page 20: Channel-Level Configuration

    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...
  • Page 21: Configuring Scani

    (those whose inputs change rapidly). You should always attempt to match your scan rate with the highest rate of change of your inputs. The System 7000 has a base-10 and a base-2 master clock and you are provided with a selection of scan rates for both clocks.
  • Page 22: Recording

    Continuous Time-based Recording To set up the System 7000 scanner for continuous time-based recording perform the following steps. 1. Assign all channels to a single recording group (group A). 2. Configure the time-based recording mode to be “Continuous”.
  • Page 23: Advanced Recording Options

    3.9.2 Advanced Recording Options 3.9.2.1Recording Groups The System 7000 is capable of assigning every channel on a card to one of four recording groups (A-D). This may be used as a means to assign different recording rates and configurations to channels. In other words, even though all channel data is being acquired at the same rate you are capable of storing the data with a variety of different rates and methods.
  • Page 24 = (Scan_Rate * Desired_Recording_Interval) - 1 For example if your scan rate is 10 scans/sec and you would like to record a scan every 5 seconds: Skip_Count = (10 * 5) = 49 scans Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 24 of 142...
  • Page 25: Configuring Manual Recording

    1000 samples/second. Calculate as follows: Skip_Count = (2000 / 1000) - 1 = 1 scan Burst_Count = 2000 * 30 = 60000 scans Burst_Skip_Count = (2000 * 300) –60000- 1 = 539999 scans Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 25 of 142...
  • Page 26: Configuring Limits Recording

    “Start Manual Recording” command is received and ends when a “Stop Manual Recording” command is received. Your program can tie these commands to a user input, a signal read from another device, or similar. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 26 of 142...
  • Page 27 Manual Recording “Pre-Record” Buffer Size The System 7000 buffers a defined number of scans. You may specify that when you send the “Start Manual Recording” command to the scanner you would also like to record some number of scans that occurred just previously.
  • Page 28 Figure 5 shows 'trip scans' as yellow dots. Defining Limits In the System 7000 scanner defining limits is a four-step process. First define the limit conditions, next define how you want the card to respond to a limits condition, then assign a limit condition to a channel, and, lastly, configure how you want recording to occur based on that limit.
  • Page 29 Table 6 Number of “Pre-Limit” Scans The System 7000 buffers a defined number of scans. You may specify that when a limit is tripped you would also like to record some number of scans that occurred just previously. You must specify the number of “pre-limit” scans that you would like to have recorded. If you'd like to think of acquiring N number of seconds of "pre-limit"...
  • Page 30 Configure Number of Limit Conditions VI Active X AssignLimitToChannel method SetLimitConditionCount method Low-level Assign a Limit Event Condition to a Channel command Set Number of Limit Event Conditions command Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 30 of 142...
  • Page 31 ConfigureGlobalLimits method Low-level Ignore or Accept Sync (Global) Limits command Set Pre-trigger Buffer Size Command for Sync (Global) Limits command Set Post-trigger Buffer Size Command for Sync (Global) Limits command Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 31 of 142...
  • Page 32 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. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 32 of 142...
  • Page 33 1050 (greater than 1000), we satisfy the second limit with a reading of 2500 (greater than 2400), and we satisfy our last limit with a reading of 7000 (greater than 6000).
  • Page 34 40 (40 < 50), and our new limits become -60 and 140. Since we are in singleshot recording mode only the trip scans are recorded Table 17 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 34 of 142...
  • Page 35: Acquiring A Single -Point

    If your application does not require simultaneous sampling, it will simplify your programming (and physical setup), if you leave your scanners unsynchronized. Unsynchronized is the default. If you choose to synchronize your scanners, they are referred to as being “networked” together. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 35 of 142...
  • Page 36 LabVIEW Start Networked Scanners VI Active X StartSynchronizedScanning method Low-level Start Networked Scanners command The flowchart in Figure 6 shows the steps necessary to implement synchronized scanning. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 36 of 142...
  • Page 37: Synchronized

    If your system is configured to perform manual recording (see the Recording section), you may programmatically start and stop manual recording. LabVIEW Control Manual Recording VI Active X ControlManualRecording method Low-level Start Manual Recording command Stop Manual Recording command Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 37 of 142...
  • Page 38: Acquiring And Decoding Recorded Data

    3.14.1 Identifying and Reading the Data File When a card on the System 7000 is configured to record data, the recorded data is stored into a data file on the card’s compact flash. This file has the extension “.7KD”. You must download the file from the card and then decode the data in the file.
  • Page 39 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.
  • Page 40: Decoding The Data File

    Read Data and Store Update Checksum Total Amount of Data Received =File Size? Read 2-byte Checksum from Data Port Checksums Match? Error Finished Figure 7 – Flow Diagram for Reading Data Files Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 40 of 142...
  • Page 41: Scan Id

    3.14.2 Decoding the Data File In order to maximize data transfer speed and to minimize disk space requirements, the System 7000 employs a proprietary real-time data compression algorithm on its recorded data. This data structure provides the ability to store data using multiple recording rates. This format also reduces the size of the raw data file by 50% or more.
  • Page 42: Status Information

    Programming note: Though data compression has many advantages, it also means that all raw data files have to be read sequentially. It is impossible to jump to scan number 10,000 without first starting at scan number 1. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 42 of 142...
  • Page 43: Status Byte 0

    Bit 0: SAD What is the size of the absolute data? 0 = 16-bits, 1 = 32-bits Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 43 of 142...
  • Page 44: Examples

    A 320B00000000 Incremented Scan ID, relative channel data, group A, group Table 20 (Red = Status Byte(s), Green = Scan ID, Blue = Channel Data) Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 44 of 142...
  • Page 45: Sample Code

    This Microsoft Visual Studio C# code snippet shows a basic technique for decoding the data found in a System 7000 data file from a single card. It assumes that all 8 channels have been assigned to the same recording group, but the technique shown can easily be expanded to include all groups. In this sample, the decoded values are written to a console window.
  • Page 46 // not shown in this sample if (groupCRecorded == 01) // not shown in this sample if (groupDRecorded == 01) // not shown in this sample } // end while Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 46 of 142...
  • Page 47: Scanners

    3.14.4 What is a Header File? The System 7000 stores a header file (extension “.7KH”) along with the data file. 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.
  • Page 48: A Cquiring R Eal - Time (O Nline ) D Ata

    The exception is the command to set the Box Number (ID). 3.15 Acquiring Real-time (Online) Data The System 7000 has the ability to broadcast real-time (online) data via the UDP data port. This data is broadcast while the System 7000 is actively scanning.
  • Page 49 0.00, many applications remove this zero offset from all subsequent readings (both scanned and single-point readings). The zero reading is not stored on the System 7000 scanner, so you must programmatically read and store this value for each channel.
  • Page 50 Typically the channel is also zeroed before calibration. If you have a remote sense circuit attached, you should leave the calibration factor at the default value of 1. Please refer to the “System 7000 Instruction Manual” for more detailed information. The steps in performing a shunt calibration are: 1.
  • Page 51: S Caling The A Nalog - To -D Igital C Onverter C Ounts

    Asynchronous Read A/D Converter command 3.17 Scaling the Analog-to-Digital Converter Counts The values provided by the System 7000 are in 32-bit, analog-to-digital converter counts. The readings are not in “raw” ADC counts but have been corrected based on the channel’s current calibration settings.
  • Page 52: System Status And Error Handling

    System 7000. Command / Query Responses When a command or query is passed to the System 7000 a response is returned indicating if the command is successful (ACK) or if it failed (NAK). If the command failed, an error number is returned indicating the cause of the failure.
  • Page 53: Decoding The Error Number

    4.2 Decoding the Error Number You may request a text description of any error number returned by the System 7000. The error codes returned by the System 7000 are in the range 1-500. LabVIEW Error Query VI (Most instrument driver VI’s automatically call this function and return the description as part of the “error out”...
  • Page 54: Message Format

    Updating Flag (0 = not updating, 1 = updating) Idle Flag (0 = not idle, 1 = idle) Maintenance Mode Flag (0 = not in maintenance mode, 1 = in maint mode) Table 24 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 54 of 142...
  • Page 55: Card Error Message

    Message Length (LSB) excluding the length bytes Message Length (MSB) excluding the length bytes Message Type = Error (0x06) Error Code Error String byte 0 … Error String Byte N Table 26 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 55 of 142...
  • Page 56: Labview Instrument Driver

    5.2 System 7000 Instrument Driver The System 7000 instrument driver is fully compliant with the National Instruments May 2006 “Instrument Driver Guidelines”. As such, each VI is fully self-documented and that documentation will not be repeated in this manual. Refer to the context help (and front panel and block diagram documentation) for each VI.
  • Page 57: System 7000 Instrument Driver Examples

    (online) data. 5.2.3 System 7000 Instrument “Readme.html” As per the driver standard, the System 7000 driver includes the file “Vishay 7000 Readme.html” in the instrument driver project. This file includes the most recent version information, required software, installation instructions, and release information.
  • Page 58: Activex Interface

    If you would like to retrieve a text message describing an error, pass the error code to the “GetErrorMessage” method. In the case of commands with a card mask, the System 7000 will return a success or error code for each card in the mask. In the event of multiple error codes, only the first error code detected will be returned.
  • Page 59: Card Mask, Channel Mask, And Recording Group Mask Notation

    6.3 Card Mask, Channel Mask, and Recording Group Mask Notation The System 7000 scanner has a control module, a power module, and 1 to 16 input cards. Card Mask In order to specify which cards are acted upon, some methods have a Card Mask argument.
  • Page 60: Sample Programs

    Programming Note: The sample program uses an instrument driver, created with the “Create ActiveX Controller” tool, to access the ActiveX interface. You may wish to re-create the instrument driver. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 60 of 142...
  • Page 61: Ivmm7000Control Interface Description

    Sets or retrieves the TCP data port to be used when transferring files from the scanner. Notes: This value must be set before calling the “Open” method for the scanner Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 61 of 142...
  • Page 62: Lasterrorcode Property (Read/Write)

    2. Set the timeout to a relatively low value at initialization. Increase the timeout value on an as-needed basis, and return it to the lower value when the method has completed. This value should not be set to less than 1000. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 62 of 142...
  • Page 63: Dataporttimeout Property (Read/Write)

    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. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 63 of 142...
  • Page 64: Connection Methods

    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 called, no additional methods will be accepted. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 64 of 142...
  • Page 65: Action - Status Group

    All selected cards must be in the armed state. After successful completion of this command, the scanner will return to idle state. Note if an error code is returned, one or more of the cards specified in the card mask may not be disarmed. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 65 of 142...
  • Page 66: Startscanning Method

    Note if an error code is returned, one or more of the cards specified in the card mask may not stop scanning. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 66 of 142...
  • Page 67: Controlmanualrecording Method

    0 if Successful, otherwise an Error Code Notes: The System must be in the “Scanning” state. . Online data must be configured for this command to be allowed (see the ConfigureOnlineDataTransfer method). Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 67 of 142...
  • Page 68: Getsystemstate Method

    6.5.3.7 GetSystemState Method Syntax: HRESULT _stdcall GetSystemState(out retval long * result ); Description: Returns the state of the System 7000. Arguments: None Returns: Bytes 0 (LSB) and 1: A bitmapped flag indicating the state of the system 0x0001 = Idle...
  • Page 69: Synchronizenetworkedscanners Method

    1) a master has been selected (via the SetScannerNetworkConfiguration method), 2) the network has been verified (via the GetSyncStatus method), 3) and all of the scanners on the network have been armed (via the method). Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 69 of 142...
  • Page 70: Startsynchronizedscanning Method

    This command must only be sent to the scanner designated as the Master. All cards in the synchronized network must be issued the StartScanning method before this command is executed. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 70 of 142...
  • Page 71: Configuration Group

    HRESULT _stdcall ConfigureTimeBasedRecordingStartandStop(in long CardNo, in long Count, in long Delay, out retval long * result ); Description: Sets the maximum number of scans to record (the count) and the delay before time-based recording starts. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 71 of 142...
  • Page 72: Configuremanualrecording Method

    Manual recording mode must be set to singleshot or continuous before manual recording can be started while the system is scanning. The BufferSize must not be bigger than the configured Scan Buffer Size (see the ConfigureScan method). Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 72 of 142...
  • Page 73: Setchannelrecordinggroup Method

    The limit type 0 = None (default) 1 = Incremental Limit 2 = Range Limit 3 = Normal Returns: 0 if Successful, otherwise an Error Code Notes: See SetLimitsBasedRecordingType method Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 73 of 142...
  • Page 74: Setlimitsbasedrecordingtype Method

    Mode, in long SkipCount, in long BurstCount, in long BurstSkipCount, out retval long * result ); Description: This method is used to configure limits-based recording for one or more recording groups.. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 74 of 142...
  • Page 75: Configurelimitcondition Method

    8 = Range -This condition is valid only when the limits type is set to Range mode. The limit will be tripped when the input reading is within the specified range as defined by the increment/decrement values specified. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 75 of 142...
  • Page 76: Setlimitconditioncount Method

    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. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 76 of 142...
  • Page 77: Assignlimittochannel Method

    (and all scanners in the network). You may choose to ignore the signal or you may choose to start limits-based recoding when the signal is detected. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 77 of 142...
  • Page 78 (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 method). Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 78 of 142...
  • Page 79: Configurescan Method

    The scan buffer size impacts the maximum size of the recording “pre-trigger” buffers. The pre- trigger buffers can be no larger than the scan buffer size. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 79 of 142...
  • Page 80: Configurestraingagecardexcitation Method

    0 = Open (default) 1 = 120 Ohm 2 = 350 Ohm 3 = 1000 Ohm (socketed) If your strain gage is not a quarter bridge configuration. Select 0:Open. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 80 of 142...
  • Page 81: Configurehighlevelcardexcitation Method

    The compensation point is determined by a temperature sensor on the panel of the card. When the thermocouple type is set it takes up to two seconds for the new setting to be processed by the system Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 81 of 142...
  • Page 82: Configurelvdtcardexcitation Method

    The excitation value in Vrms. The excitation value is based upon your sensor requirements. Note: Currently the LVDT only accepts 3 Vrms. Returns: 0 if Successful, otherwise an Error Code Notes: Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 82 of 142...
  • Page 83: Configurelvdtchannelinputconnections Method

    LVDT. The Positive Reference is the default state and should be selected when excitation is disabled to prevent oscillation. The System 7000 automatically sets the demodulator source to Positive Reference when the excitation is disabled.
  • Page 84: Setfirfiltercoefficients Method

    0 if Successful, otherwise an Error Code Notes: The default filter may be selected using the SetDefaultFilter method. The carriage return character is represented by the ASCII character 0x13. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 84 of 142...
  • Page 85: Setdatetimemethod

    HRESULT _stdcall ConfigureOnlineDataTransfer(in long SkipCount, in BSTR ChannelList, out retval long * result ); Description: The VMM System 7000 has the ability to broadcast online (real-time) data via a UDP port. This method defines the broadcast by configuring the channels and rate for online data transfer. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual...
  • Page 86: Setscannernetworkconfiguration Method

    Only one scanner can be designated as the “Master” scanner. Scanners that are not members of a synchronized network will not be synchronized and will not share global limits. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 86 of 142...
  • Page 87: Setboxid Method

    This method is optional Arguments: BoxId Box Identifier (Range: 0 to 9999, Default: 1) Returns: 0 if Successful, otherwise an Error Code Notes: Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 87 of 142...
  • Page 88: Data

    If successful, a string containing the last file information File Name[CR] (in 8.3 format) File Size in bytes[CR] (integer, 32-bit value), Number of scans recorded[CR] (integer, 40-bit value, Scanning Start Time MM/DD/YYYY HH:MM:SS Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 88 of 142...
  • Page 89 (“.7KH” and “.7KD” extensions respectively). (Use the RetrieveFile method.) The header file will contain the scan information and the data file contains the scan data. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 89 of 142...
  • Page 90: Utilities

    Returns control module (system information) Arguments: None Returns: A string containing the card information, delimited by carriage returns. The returned 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]...
  • Page 91: Getfreespace Method

    Limit asserted flag[CR] (1 = limit asserted) Masked offscale+ status[CR] (corresponding bit is set if offscale) Masked offscale- status[CR] (corresponding bit is set if offscale) Calibration status of current range[CR] (1 = out of range) Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 91 of 142...
  • Page 92: Detectcards Method

    0xFFFF indicates that sixteen cards are present. Notes: This method does not return a Success/Error status. Use the LastErrorCode property to check if an error occurred during the method. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 92 of 142...
  • Page 93: Getcardinformation Method

    If you are comparing the Sensor Card Type against a constant, for strain gage cards use the constant value ‘7003-8-SG” as not all strain gage types listed are currently in use. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 93 of 142...
  • Page 94: Flash System Leds Method

    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 Successful, otherwise an Error Code Notes: Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 94 of 142...
  • Page 95: Shuntcalenable Method

    Connects / disconnects the remote calibration resistor into the bridge circuit. Enabling the remote calibration resistor is only valid for strain gage channels in quarter-bridge configuration. In ordinary operation, the remote calibration resistor is disabled. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 95 of 142...
  • Page 96: Clearerrors Method

    6.5.6.10 ClearErrors Method Syntax: HRESULT _stdcall ClearErrors(out retval long * result ); Description: Clears the errors on the System 7000 scanner (the control module and all I/O cards). Does not clear the error log files. Arguments: None Returns: 0 if Successful, otherwise an Error Code Notes: 6.5.6.11...
  • Page 97: Retrievefile Method

    The fully qualified path/filename to copy the file. Callback A reference (pointer) to the IVMM7000DataTransferStatus Interface (object) Returns: 0 if Successful, otherwise an Error Code Notes: The IVMM7000DataTransferStatus interface provides critical information about the download. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 97 of 142...
  • Page 98: Listfiles Method

    The card number (1-16). Use 0 to deletes the file from the control module. Filename The filename to delete (in 8.3 format) Returns: 0 if Successful, otherwise an Error Code Notes: Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 98 of 142...
  • Page 99: Deletelastdatafile Method

    Description: Cancels a file transfer in progress Arguments: CardNo The card number (1-16). Returns: 0 if Successful, otherwise an Error Code Notes: System must be in the uploading state. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 99 of 142...
  • Page 100: Ivmm7000Datatransferstatus Interface Description

    (100 mSecs or less) in your software to between calling the method and reading the property. A value of -1 is returned when the property has not been updated. Refer to the sample programs for an example. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 100 of 142...
  • Page 101: Totalbytes Property (Read/Write)

    Sets or returns the transfer complete status of the file transfer. A value of 0 indicates the transfer is active (not complete), a value of 1 indicates the transfer is complete. Notes: Set this property to 0 before calling the RetrieveFile, ListFiles, or RetrieveLastData methods. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 101 of 142...
  • Page 102: Low-Level Command Set

    All parameters in this specification, unless otherwise noted, are in little-endian (Intel) format. 7.1 Card and Channel Mask Notation The System 7000 scanner has a control module, a power module, and 1 to 16 input cards. Card Mask In order to specify which cards are acted upon, all commands have a Card Mask field. The Card...
  • Page 103: Command/Query Syntax

    One important exception, is if a General Error occurs (which means an error in the TCP communication level) the response will include the Length, followed by a 0xFF, a NAK, and an error code. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 103 of 142...
  • Page 104: Example Responses

    C (0x03), and Card 10/Channel 3 is set to Group D (0x04) If card 2/channel 3 detects an error the response will change to: 0x0014 0x06 0x8001 0x0202 0x05 0x06 0x01 0x06 0x31 0x15 0x49 0x06 0x04 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 104 of 142...
  • Page 105: Command Descriptions

    Channel Parameters Group Code Mask 0x0006 0x01 0x0004 Used Ignored None Queries are not 0x00 allowed This command stops manual recording. It is only valid in the scanning state. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 105 of 142...
  • Page 106: Arm Command

    0x0006 0x01 0x0008 Ignored Ignored None Queries are not 0x0000 0x00 allowed This command stops the transfer of online data. This command is only valid in the scanning state. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 106 of 142...
  • Page 107: Synchronize Networked Scanners

    This command is issued to synchronize scanning on networked scanners. It is sent only to the master scanner after the Start Scanning command has been sent to all scanners. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 107 of 142...
  • Page 108: Recording Group

    Code Mask 0x000A 0x02 0x000D Used Ignored Bytes 8-11: 0x00 32-bit buffer size, in scans. Sets the “pre-trigger” buffer size for manual recording Range: 0 to 645,000 Default: 0 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 108 of 142...
  • Page 109: Set Time-Based Recording Mode Command

    Specifies the number of scans to be recorded using time based recording. If a value of 0 is specified, time based recording will not stop based on the number of scans recorded. Range: 0 to 1099511627775 Default: 0 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 109 of 142...
  • Page 110: Set Time-Based Recording Delay Command

    Determines the number of scans to skip while using time-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 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 110 of 142...
  • Page 111: Set Time-Based Recording Burst Count Command

    0x000000. The time-based recording burst skip count instructs the specified cards to skip the specified number of scans between recording bursts. Range: 0 to 1099511627775 Default: 0 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 111 of 142...
  • Page 112: Set Limits-Based Recording Setting

    This command controls how data will be recorded on the selected cards when a limit event is triggered. Off - disables time-based recording for the selected group (default) Continuous - records data continuously, Burst - records data continuously in bursts Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 112 of 142...
  • Page 113: Set Limits-Based Recording Skip Count Command

    0x000000. This value specifies the number of recordings the specified cards will collect during each recording burst. Range: 0 to 1099511627775 Default: 0 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 113 of 142...
  • Page 114: Set Limits-Based Recording Burst Skip Count Command

    0x000000. The limits-based recording burst skip count instructs the specified cards to skip the specified number of scans between recording bursts. Range: 0 to 1099511627775 Default: 0 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 114 of 142...
  • Page 115: Scan Group

    This command determines which channels are enabled within the selected cards. The channel mask should be a value between 0b00000001 and 0b11111111, where the least significant bit corresponds to channel 1 and the most significant bit corresponds to channel 8. Default: 0b00000000 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 115 of 142...
  • Page 116: Autostop Command

    (note the space between the year and the hour) Byte 49: Null Terminator (0x00) This function returns the last data file name, size, number of scans recorded, and recording start time. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 116 of 142...
  • Page 117: Set Box Id From Scan Header Command

    Byte 12 Null terminator (0x00) The Vishay StrainSmart application uses this field to save a box number to the header file for the selected cards. The parameter must be null terminated. If your application involves multiple scanners you may find it useful to track the box number. Default: 0001 7.4.3.6 Set Project Name to Scan Header File Command...
  • Page 118: Set Scan Session Guid To Scan Header File Command

    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...
  • Page 119: Limits Group

    0x0002 Used Used Bytes 8-9: The number of limit conditions. This command sets the number of limit event conditions for the selected channel(s). Range: 0 to 50 Default: 0 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 119 of 142...
  • Page 120: Set Limit Event Condition Command

    The 32-bit value in A/D counts. This command sets the lower value for the specified limit index for the selected cards/channels. Range: The full range of a 32-bit signed integer Default 0: Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 120 of 142...
  • Page 121: Set Upper Limit Value Command

    The 16-bit index of the limit event. Bytes 10-13: 32-bit buffer size, in scans Sets the size of the “post-trigger” buffer for the selected limit event. Range: 0 to 4294967295 Default: 0 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 121 of 142...
  • Page 122: Ignore Or Accept Sync (Global) Limits

    0x04 0x000A Used Ignored Bytes 8-11: 0x00 32-bit buffer size, in scans Sets the size of the “post-trigger” buffer for synchronized (global) limits. Range: 0 to 4294967295 Default: 0 Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 122 of 142...
  • Page 123: Card Group

    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: Personality Module CPLD Version Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 123 of 142...
  • Page 124: Set Excitation Command

    The 16-bit excitation value, in millivolts Sets the excitation DAC for the selected cards. The excitation value is based upon your sensor requirements. Please see the VMM System 7000 datasheet for more information. Strain Gage Range: 0 to 10,000 mV...
  • Page 125: Card Status

    Card Mask Channel Parameters Group Code Mask 0x0006 0x05 0x0006 Used Ignored None 0x00 Performs a soft reset of the card. All configurable parameters are set to their default values. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 125 of 142...
  • Page 126: Excitation Output Enable/Disable

    0x05 0x001A Used Ignored 0x00 Excitation Frequency Setting Value Excitation Frequency 0x00 Off (default) 0x01 2500 Hz 0x02 5000 Hz 0x03 10000 Hz 0x04 125 Hz (test mode only) Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 126 of 142...
  • Page 127: Channel Group

    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.) Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 127 of 142...
  • Page 128: Shunt Calibration Resistor Enable / Disable

    If your strain gage channel is not a half-bridge configuration this should be set to bypass. With LVDT cards, in normal usage half-bridge is bypassed for 6-, 5-, and 4- wire LVDT inputs. It is enabled for 3- wire LVDT inputs. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 128 of 142...
  • Page 129: Remote Calibration Resistor Enable Disable

    Programming Note: It is recommended that after the thermocouple type is set you either 1) wait 3 seconds or 2) loop and query the setting until byte 9 indicates complete. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 129 of 142...
  • Page 130: Assign A Limit Event Condition To A Channel(S)

    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. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 130 of 142...
  • Page 131: Set Lvdt Demodulator Source

    LVDT. The Positive Reference is the default state and should be selected when excitation is disabled to prevent oscillation. The System 7000 automatically sets the demodulator source to Positive Reference when the excitation is disabled. See the ConfigureLVDTCardExcitation method.
  • Page 132: File Group

    “00010123”. If the filename is less than 8 bytes it should be NULL terminated Note that the command response returns a 32-bit file size in bytes 9-12. (The ACK/NAK is in byte 8.) Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 132 of 142...
  • Page 133: List Files

    “00010123.7KD”, byte 8 will equal 0x00 and bytes 9 through 16 will equal “00010123”. If the filename is less than 8 bytes it should be NULL terminated Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 133 of 142...
  • Page 134: Cancel File Transfer

    TCP Data Port. It must be requested separately using the “Verify Checksum of a Control Module File” command. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 134 of 142...
  • Page 135: Delete File From Control Module

    Should be NULL terminated Performs a checksum operation on the specified file and compares the calculated checksum against the one specified. Returns an ACK if the checksums match, NAK otherwise. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 135 of 142...
  • Page 136: System Group

    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. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 136 of 142...
  • Page 137: Set Ip Configuration Information

    Query returns the amount of free space available on the compact flash drive on the control module. The value is a 64-bit integer representing the number of available bytes. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 137 of 142...
  • Page 138: Configure Online Data

    (default) 0x01 - Scanner is a member of a network and it is the master 0x02 –Scanner is a member of a network, but it is not the master Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 138 of 142...
  • Page 139: Verify Sync Cable Status

    Code Mask 0x0006 0x08 0x0009 Used Ignored None. 0x00 Clears the error flags and status for the selected cards and the control module. Will not delete the Error.Log file. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 139 of 142...
  • Page 140: Get Control Module Information Command (Control Module)

    0 – stop sequence Causes the leds on the system 7000 front panel to begin a flashing sequence. This can be used to help pick a particular system out of a group (e.g. sort of a “here I am” indication). .
  • Page 141: Clear Errors

    Mask 0x0006 0x08 0x800F Ignored Ignored Byte 8: Query Only 0x00 0x00 Error Code In Returns a null-terminated (0x00) text string containing a descriptor for the entered error code. Vishay Micro-Measurements System 7000 Programmer’s Reference Manual Page 141 of 142...
  • Page 142: Warranty

    Buyer hereby waives all rights buyer may have arising out of any breach of contract or breach of warranty on the part of Vishay Micro-Measurements, to any incidental or consequential damages, including but not limited to damages to property, damages for injury to the person, damages for loss of use, loss of time, loss of profits or income, or loss resulting from personal injury.

Table of Contents