Omega Engineering OMB-CHARTSCAN 1400 User Manual

Portable data recorder
Table of Contents

Advertisement

Quick Links

OMB-CHARTSCAN-1400
Portable Data Recorder
OMB-483-0901
3.1
p/n
Rev
August 2002

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the OMB-CHARTSCAN 1400 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Omega Engineering OMB-CHARTSCAN 1400

  • Page 1 OMB-CHARTSCAN-1400 Portable Data Recorder OMB-483-0901 August 2002...
  • Page 2 OMEGAnet On-Line Service http://www.omega.com Servicing North America: USA: One Omega Drive, Box 4047 Stamford, CT 06907-0047 Tel: (203) 359-1660 e-mail: info@omega.com Canada: 976 Berger Laval (Quebec) H7L 5A1 Tel: (514) 856-6928 e-mail: canada@omega.com For immediate technical or application assistance: USA and Canada: Sales Service: 1-800-826-6342 / 1-800-TC-OMEGA Customer Service: 1-800-622-2378 / 1-800-622-BEST Engineering Service: 1-800-872-9436 / 1-800-USA-WHEN...
  • Page 3: How To Use This Manual

    How To Use This Manual Chapter 1: ChartScan     Unit Startup and ChartView Tutorial provides information to get your ChartScan system up and running. The chapter includes installation steps, basic concepts regarding the ChartView software program, and a ChartView tutorial to quickly familiarize you with the software. Chapter 2: General Information gives a general description of ChartScan and related hardware including ChartScan’s expansion module and available signal conditioning cards.
  • Page 4: Table Of Contents

    Table of Contents 1 ChartScan- Unit Startup & ChartView Tutorial Overview…… 1-1 Unit Startup……1-2 Inspect Your System……1-2 Install Software……1-2 Check and Install Hardware……1-3 Verify Voltage Setting……1-3 Verify DIP Switch Setting……1-3 Install Signal Conditioning Card(s)……1-3 Install Interface Communications Card (option)… 1-4 Connect Expansion Chassis (option)……1-4 Connect ChartScan to your computer……1-4 Apply power to ChartScan……...
  • Page 5 5 eZ-PostView and ViewXL 6 Calibration Introduction ……6-1 Calibration Setup ……6-1 Non-Volatile Storage of Calibration Constants ……6-1 Hardware Protected RAM ……6-2 ScanCal Software Application ……6-3 ScanCal’s Main Window ……6-3 Using ScanCal ……6-3 Interface Parameters System Inventory Calibration Calibration Without ScanCal ……6-5 Password ……6-5 Calibration Mode Indicator ……6-5 Command Active Indicators ……6-5...
  • Page 6 ChartScan User’s Manual...
  • Page 7: Overview

    ChartScan     Unit Startup and ChartView Tutorial Overview…… 1-1 Unit Startup……1-2 Inspect Your System……1-2 Install Software……1-2 Check and Install Hardware……1-3 Verify Voltage Setting……1-3 Verify DIP Switch Setting……1-3 Install Signal Conditioning Card(s)……1-3 Install Interface Communications Card (option)…… 1-4 Connect Expansion Chassis (option)……1-4 Power Fuse...
  • Page 8: Chartscan

    The basic Startup Steps are: Inspect Your System Install Software Check and Install Hardware Verify Correct Voltage Setting Verify Correct DIP Switch Setting Install Signal Conditioning Card(s) Install Interface Communications Card (option) Connect Expansion Chassis (option) Connect ChartScan to Your Computer Apply power to ChartScan Connect Channel Inputs Start ChartView, Configure System, and Collect Data...
  • Page 9: Install Signal Conditioning Card(S)

    3. Check and Install Hardware Depending on your order, your ChartScan unit may not require all the steps under this heading. If a step does not apply to your unit, simply go on to the next one. a) Verify Voltage Setting Based on your order, your ChartScan system was set at the voltage indicated on the sticker (located on the rear of the unit, near the power switch).
  • Page 10: Connect Expansion Chassis (Option)

    Use approved ESD precautions, including static-free work area and grounded wrist strap, when handling circuit boards and electronic components. Failure to do so could cause equipment damage due to electrostatic discharge. Only one CSN/Relay card can be used in a ChartScan system. Attempts to install the CSN/Relay card in a slot other than slot #1 of ChartScan’s main unit can cause equipment damage.
  • Page 11: Apply Power To Chartscan

    5. Apply Power to ChartScan ChartScan can be powered from a standard AC outlet. Use the following steps to connect power to your unit. Make sure ChartScan’s power switch is in the “0” (OFF) position. 2. Plug power cord CA-1 into ChartScan’s power connector, located on the rear panel. Plug the other end of the cord into an appropriate receptacle.
  • Page 12 ChartScan has eight digital input lines and thirty-two digital output lines available on the rear panel DB-50 connector. Do not exceed the 0.0 to 5.3 volts levels described above. Exceeding these levels may damage the ChartScan unit in a way not covered by the warranty. Each digital output line will drive five (5) standard TTL loads.
  • Page 13: Start Chartview, Configure System, And Collect Data

    7. Start ChartView, Configure System, and Collect Data Note: First time users should skip this step and return to it after reviewing ChartView, Basic Concepts and completing the ChartView Tutorial. Note: The configuration file, discussed in this section, will not be present during your first start of the program.
  • Page 14 = Mouse, = Arrow Keypads , Group Select Ctrl+G, Start Charts & Indicators Pause Charts Stop Charts Scroll Faster Ctrl+Z Scroll Slower Ctrl+X Display Configuration or, Pointer over chart and “right-click” Current group will be selected. Channel Configuration PostView post-acq or, Windows Pull- data viewer down menu...
  • Page 15: Acquisition Parameters

    Once ChartView has a configuration file, you can start the program quickly using the Windows Run dialog box. Before executing this command [by clicking on the OK box] specify a configuration file as a command line parameter. In the following example, the user has specified a configuration file which he had previously saved as Test1.cvw.
  • Page 16: Chartview, Basic Concepts

    ChartView, Basic Concepts An understanding of the following basic concepts will help you master ChartView more quickly, and should be understood before proceeding with the tutorial. Configuration Files ChartView makes use of one or more “user transparent” configuration files. Configuration files maintain information regarding various aspects of your setup, serving as an initialization file for subsequent ChartView startups.
  • Page 17: Three Ways Of Using Chartview

    Three Ways of Using ChartView You can use ChartView to: • chart and monitor specific channels with no acquisition of data to disk • acquire data with no charting or meter use • use charting and/or meters while acquiring data to disk Chart channels (and/or monitor with meters) with no acquisition of data to disk Prior to charting channels on ChartView’s Main Window, you need to configure a display in regard to groups, charts, and channels.
  • Page 18 1. Select Interface Device ◊ (1) From Windows, start ChartView by double-clicking on the ChartView icon. The ChartView Startup dialog box appears. ◊ (2) Choose the Select Device button. The Select Interface Dialog Box appears, as indicated in the following figure.
  • Page 19 Setup Type Group Setup Simple 1 group only Moderate* 1 group only Up to 64 groups Advanced* *Moderate and Advanced modes are only available with activation of ChartView Plus. Note: Once your chart setup is complete you can always go back and edit the setup.
  • Page 20 3. Configure Channels & Alarms Configure channels and alarms as follows. ◊ (14) On ChartView’s Main Window, click on Setup in the pull-down menu row. The Setup pull-down menu appears, allowing you to make more specific selections. ◊ (15) Click on the Channels & Alarms selection. The Channel and Alarm Setup dialog box appears, similar to that shown in the following figure.
  • Page 21: Acquisition Setup

    ◊ (19) Click “Okay” to exit the Acquisition dialog box. Note that we are using the Acquisition default settings, and the Data Destination default settings in this tutorial (as shown in the above figure). Note: The following table provides a brief description of various acquisition setup parameters. Parameter Event Configuration Trigger: Set a trigger scan in the Acquisition by using one of the following:...
  • Page 22 5. Review Configuration. Reviewing the configuration prior to data acquisition is optional; however, you should complete a review at this time (in the tutorial) to help with your familiarization of ChartView. In an actual application, a review such as this provides you with a chance to correct configuration errors. ◊...
  • Page 23 A Note In Closing. This completes the tutorial. You may continue running ChartView in the simulated instrument mode and try various options to get a better feel for the program. Remember, while in the simulated instrument mode there are no ChartScan hardware concerns. ChartScan User’s Manual ChartScan - Unit Startup and ChartView Tutorial 1-17...
  • Page 24 ChartScan User’s Manual...
  • Page 25: General Information

    General Information If equipment is used in any manner not specified in this manual, or if specification limits are exceeded, the function of the equipment, as well as the protection provided by it, may be impaired. General Description……2-1 Operational Aspects……2-2 Data Handling and Triggering……2-2 Software and Hardware……2-2 ChartScan Specifications……2-3...
  • Page 26: Chartscan Specifications

    In addition to the features of ChartScan described thus far, the unit includes: • Thirty-two TTL (Transistor-to-Transistor Logic) digital alarm outputs and 8 TTL-compatible digital inputs. • Two programmable scan rates: (1) a programmable scan rate for pre-trigger and post-trigger sampling, and (2) a programmable scan rate for accelerated sampling on-event detection.
  • Page 27: Chartscan Specifications

    16-Channel Signal Conditioning Cards (Optional) Low-voltage with removable terminal block input module Low-voltage with BNC input module Low-voltage with safety jack input module Isolated TC/voltage with plug type input module Isolated high-voltage with safety jack input module Cables CA-7-3, Shielded IEEE 488 cable, 6 ft. CA-47, Computer-to-ChartScan Cable PC/AT/XT serial port (9- &...
  • Page 28 General Installation Category: • CE: Category 2 for Line Voltage Input terminal. All other terminals are Category 1. Warm Up: • 1 hour to rated accuracy. Expansion Connector: • 40-conductor connector for connecting expansion chassis via ribbon cable. ChartScan’s expansion connector (PH401) is located on the analog backplane. Chassis Ground Connection: •...
  • Page 29: Data Storage & Format

    Triggers Installation Category: • CE: Category 1 Programmable Triggering: • Temperature or Voltage level (above or below), absolute time of day, alarm condition (on or off), IEEE GET, IEEE TALK, external TTL trigger (rising or falling), specified number of readings. Temperature-Level Trigger: •...
  • Page 30 Digital I/O Interface & Alarms Installation Category: • CE: Category 1 Number of Digital Inputs: • 8 bits, LS-TTL compatible. Number of Digital Outputs: • 32 bits, TTL level compatible. Can be programmed as alarms. Note: The 32 TTL outputs can be set or cleared via program control. Alarm Conditions: •...
  • Page 31 Calibration Calibration must be completed periodically to ensure equipment is accurate, and can be performed manually, or with the use of ScanCal. Chapter 6 contains instructions, including calibration equipment requirements, for the following: ChartScan main unit calibration for offset and gain Offset calibration for all card types Gain calibration for low volts cards Gain calibration for high volts cards...
  • Page 32 − Notes General Information ChartScan User’s Manual...
  • Page 33: Hardware Overview

    Hardware Overview ……3-1 Front Panel ……3-1 Rear Panel ……3-2 Power Aspects ……3-3 Changing the Voltage Setting ……3-3 Replacing the AC Power Supply Fuse ……3-4 Memory Configuration ……3-4 Expanded Memory Options ……3-4 Calibration Memory Write Enable/Disable ……3-6 RS-232/422 Interface Configuration ……3-6 Configuring RS-322/422 Parameters ……...
  • Page 34: Rear Panel

    Rear Panel ChartScan’s rear panel contains several items, including a set of LEDs for status indication. The LED indicators are described in the following table. Other rear panel items are listed in a separate table following the illustration. LED Indicators, Chassis ALARM ON when an alarm has occurred.
  • Page 35: Power Aspects

    Power Aspects Changing the Voltage Setting Based on your order, your ChartScan system was set at the voltage indicated by a sticker or tag (located on the rear of the unit, near the power switch). If you need to change the voltage selection, complete the following steps. Never disassemble ChartScan’s case while it is connected to the AC power line! Internal voltage potentials exist which could cause bodily injury or death! Prior to disassembly:...
  • Page 36: Replacing The Ac Power Supply Fuse

    Replacing the AC Power Supply Fuse Fuse: 1/2A, 250V, Slo Blo, 3AG for 105-125V power line, or 1/4A, 250V, Slo Blo, 3AG for 210-250V power line Fuse failure indicates a possible problem within the device circuitry. If a fuse blows, contact a qualified service representative.
  • Page 37 Never disassemble ChartScan’s case while it is connected to the AC power line! Internal voltage potentials exist which could cause bodily injury or death! Prior to disassembly: (1) turn off power (2) disconnect analog lines (3) disconnect AC power line (4) disconnect all additional lines Never disconnect the AC power line from ChartScan while analog connections to an external device exist! Common mode voltage potentials exceeding 60 VDC or 30 Vrms may...
  • Page 38: Calibration Memory Write Enable/Disable

    Calibration Memory Write Enable/Disable ChartScan’s constants for chassis calibration and the calibration password are stored by ChartScan in Non-Volatile RAM (NV-RAM). The password is a safety feature used to prevent unauthorized personnel from entering calibration mode and altering the calibration constants. As a safeguard, the calibration password and chassis calibration constants are hardware protected by use of a Calibration Enable/Disable switch (pushbutton, or micro-switch, as described in the following notices).
  • Page 39 Steps for RS-232/422 Configuration Standard Units, Only 1. Turn the ChartScan system’s power “OFF.” 2. Ensure the COMM SELECT micro-switch (on the rear-panel DIP switch) is in the “0” (down) position. 3. Adjust micro-switches 2 through 9 (for parameter preferences), according to the following table for standard units.
  • Page 40: Serial Port Pin Connectors

    Serial Port Pin Connectors An optional CA-47 cable (or equivalent) connects ChartScan to the computer. The ChartScan side of the cable has a male DB9 connector for use with the RS-232/422 serial port. The cable’s computer side has 2 connectors: one for DB9, and the other for DB25.
  • Page 41: Ethernet Interface Configuration

    Serial Port Pin Connector Signals for RS-232/422 Applications RxD- (Receive Data Negative) Input: This pin accepts serial data sent by an RS-232 or RS-422 device. The serial data received is expected to match the word length, baud rate, stop bits, and parity configuration of the particular port. The signal is low true.
  • Page 42: Specifications

    IEEE 488 Interface Configuration (Option) The IEEE 488 interface option is intended for digital communication with IEEE 488 compliant computer platforms, as well as IEEE 488 compliant platform-independent configurations. Data is transmitted parallel, as opposed to serial. The IEEE 488 option allows for up to 15 devices to be connected to one bus; with a total bus length of up to 20 meters.
  • Page 43: Ieee 488 Configuration (Option)

    IEEE 488 Configuration Never remove or install an interface card while ChartScan/1400 is connected to the AC power line! Internal voltage potentials exist which could cause bodily injury or death! Never disconnect the AC power line from ChartScan/1400 while its analog lines are connected to an external device! Common mode voltage potentials exceeding 60 VDC or 30 Vrms may exist which could cause bodily injury or death! Use approved ESD precautions, including static-free work area and grounded wrist strap,...
  • Page 44 IEEE 488 Configuration Settings Standard Units, Only 1. Ensure IEEE 488 Interface is installed. 2. Turn the ChartScan system’s power “OFF.” 3. Ensure the COMM SELECT micro-switch (on the rear-panel DIP switch) is in the “1” (up) position. This selects IEEE 488. 4.
  • Page 45: Digital I/O Lines

    Digital I/O Lines ChartScan has eight digital input lines and thirty-two digital output lines available on a rear panel DB-50 connector. These lines can be output and/or input using ChartScan commands. Note: The first 16 output lines are available for use with relays via the high current CSN/Relay card option. If used, the relay card must be installed in slot 1 (bottom slot) of the ChartScan main unit.
  • Page 46: External Ttl Bnc Connectors

    External TTL BNC Connectors ChartScan’s rear panel provides two external trigger BNC connectors. The BNC TTL Scan output is used for synchronizing equipment with ChartScan. ChartScan can be programmed to trigger on a rising or falling TTL level. Any TTL level signal (> 2.2V = Hi, < 0.8V = Lo) may be used as a trigger pulse. A trigger pulse may also be used to generate a Service Request.
  • Page 47: Csn14/Tc/P Thermocouple And Low Volts Card With Subminiature Plugs

    CSN14/TC/P Thermocouple and Low Volts Card with Subminiature Plugs The CSN14/TC/P card contains 16 differential input channels, each of which may be configured as any thermocouple type or as a milli-volt input. Temperature values may be returned in units of °C, °F, °K, °R, or mV. This signal conditioning card contains “subminiature plug type”...
  • Page 48 Digital Filtering: • Averages 32 samples at 50/60 Hz for line cycle noise rejection (VDC measurements) Voltage Range , Accuracy • ± 0.02% ±100 mV • ± 0.02% ±1 V • ± 0.02% ±5 V • ± 0.02% ±10 V Note 1: Accuracy is based on 18 to 28°C, 1 year;...
  • Page 49: Csn14/Lv/ (T, B, & S) Low Voltage Cards

    CSN14/LV/ (T, B, & S) Low Voltage Cards There are three versions of low voltage signal conditioning cards for use with ChartScan. Each card supports 16 differential input channels and is capable of measuring analog input signals on any of four programmable ranges: ±100 mV, ±1 volt, ±5 volt and ±10 volt.
  • Page 50: Csn14/Hv/S High Voltage Card With Safety Jack Connectors

    CSN14/HV/S High Voltage Card with Safety Jack Connectors The CSN14/HV/S card contains 16 differential input channels and is for use with “safety jack” type connectors. Each CSN14/HV/S card is capable of measuring analog input signals on any of the following three programmable ranges: ±2.5 volt, ±25 volt and ±250 volt.
  • Page 51: Csn/Relay Card

    CSN/Relay Card (for High-Current Digital-Output) The high-current digital-output CSN/Relay Card allows you to add relay functions to the first 16 digital outputs. The CSN/Relay card installs into ChartScan’s slot 1 (bottom card slot). Only one relay card can be used per ChartScan unit, and a relay card can not be installed in a ChartScan expansion chassis.
  • Page 52: Csn/Relay Card Specifications

    CSN/Relay Card Specifications Number of Channels: • 16 (2 groups of 8 channels) Relay Contacts (Manufacturer’s Ratings):* • 8 Amps, 125-250 VAC Resistive • 5 Amps, 30 VDC Resistive Card Contact Ratings: • 8 Amps maximum on group commons Contact-to-System Isolation: •...
  • Page 53 Cover Plate Mounting Block (1 of 4) Connecting the Expansion Chassis to ChartScan Insert one end of the included 40-conductor ribbon cable (CA-154) into ChartScan’s connector PH401. PH401 is located above the uppermost signal conditioning connector on the top edge of the analog backplane card. See the following figure, Connecting the Backplane Cards.
  • Page 54: Automatic Channel Assignment

    Automatic Channel Assignment Unless the CSN/Relay card is used, Channels 1 through 64 are automatically assigned to ChartScan, while extended channels 65 through 128 are assigned to the expansion chassis. Even if a card slot is left empty in the ChartScan or the expansion chassis, the channel assignments are as shown in the table, with slot 1 being at the bottom of the unit, and slot 4 being at the top.
  • Page 55 Expansion Chassis Specifications Service must be performed by qualified personnel. All terminals, including the AC line and analog inputs, must be disconnected prior to opening ChartScan main unit or expansion chassis casing. Internal voltage potentials exist which could cause bodily injury or death! The Expansion Chassis contains no fuses;...
  • Page 56 − Notes 3-24 ChartScan User’s Manual...
  • Page 57: Chartview Software Reference

    ChartView Software Reference ChartView, ChartView Plus, ChartViewNET, and ChartViewNET Plus Overview ……4-1 Groups, Charts, & Channels ……4-2 Three Ways of Using ChartView ……4-2 What ChartView and ChartView Plus Provide ……4-3 Main Window ……4-4 Channel Information Region ……4-6 Status Indicator Region ……4-7 Main Window Toolbar ……4-8 Group Select ……4-8 Start, Pause, and Stop Charts ……4-8...
  • Page 58: Groups, Charts, & Channels

    Groups, Charts, & Channels When starting the program with no configuration file present (see Chapter 1 if necessary), a feature called Chart Setup Wizard is automatically activated to assist you with your display setup. To make the best use of Chart Setup Wizard you need to understand the relationship of Groups, Charts, and Channels.
  • Page 59: What Chartview And Chartview Plus Provide

    Some of the data acquisition scenarios pertaining to ChartView are as follows: 1) Waiting for Trigger Sensor Buffer Acquisiton Device Data is received by acquisition device, but not stored. Selected channels can be viewed graphically in scrolling charts, as well as in one or more meters (analog, digital, or bar graph).
  • Page 60: Main Window

    Main Window While using this chapter, refer to the Main Window figure and its associated control option table as needed. Because of the graphic aspect of the window, you should be able to develop a good understanding of the program’s capabilities and associated operating techniques within a very short time.
  • Page 61 = Mouse, = Arrow Keypads , Group Select Ctrl+G, Start Charts and Indicators Pause Charts Stop Charts Scroll Faster Scroll Slower Display Configuration or, Pointer over chart and “right-click” Current group will be selected. Channel Configuration PostView post-acq or, Windows Pull- data viewer down menu Arm Acquisition...
  • Page 62: Channel Information Region

    Channel Information Region Channels can return values in units of °C, °F, °K, °R, mV, V, or user defined units (if the mX + b option is used). With exception of mX + b user defined-units, units depend on the configuration and type of signal conditioning card used.
  • Page 63: Status Indicator Region

    Units/div - The units in units/div (18) can be °C, °F, °K, °R, mV, or V. The division referenced is one vertical grid. In the example above for Channel 1, each vertical grid increment represents 10.58°C per division. Changing the units/division spinner controls ( max scale and min scale values (items 13 and 19).
  • Page 64: Main Window Toolbar

    Main Window Toolbar Each item in the toolbar, with exception of Group Select (1), is represented by an individual button icon. Toolbar-related functions can also be activated from pull-down menus (discussed later). Placing the cursor on the button and clicking the mouse button enables the tool, or opens a corresponding dialog box.
  • Page 65: Display Configuration

    Display Configuration The Display Configuration button accesses a Display Configuration Setup dialog box. This box will also be displayed if: a) Create Charts Manually is selected during use of the Wizard Chart Setup program, b) you select Setup from the Chart pull-down menu, c) you right-click on the chart region in ChartView’s Main Window.
  • Page 66 Display Configuration Setup Dialog Box with an Existing Configuration Note: When a chart contains overlapping channels [and the channels share values such that their traces reside on top of each other], then the channels listed lower in the display list (the most recently added channels) will obscure the channels higher in the list (those that were added first).
  • Page 67 ChartView and ChartView Plus data channels can operate in one of two modes: Units Full Scale or, Units/Div. The mode is selected by radio button. Units Full Scale. When Units Full Scale is selected, as depicted in the above figure, you can alter Y Max and Y Min.
  • Page 68: Manually Creating A Display

    Manually Creating a Display For ChartView Plus users, if you plan to have a chart setup that is not weighted evenly, i.e., different numbers of channels per chart and different numbers of charts per group, you may want to manually setup your chart display from scratch, i.e., without beginning from a pre-existing display configuration.
  • Page 69 (4a) Automatically add groups to the setup. Enter the number of groups and charts desired by using the cursor and typing in the value, or by using the pull-down arrows (τ) and making the appropriate selections; then click on the Create Groups button. (4b) Manually add groups to the setup.
  • Page 70 Choose channels for the selected chart. With ChartView Plus, you can select up to four overlapping channels per chart. With the basic ChartView program, you are limited to one channel per chart. There are four methods of adding channels. These are as follows: •...
  • Page 71: Channel Configuration

    Channel Configuration The “Channel Configuration” button brings up the Setup Window with one of three “tabbed” dialog boxes displayed: Acquisition Setup (page 4-33), Channel & Alarm Setup (page 4-33), or Data Destination (page 4-39). The information entered in the Acquisition Setup dialog box is used by the Arm Acquisition command to set up the acquisition of data to disk.
  • Page 72: Print Charts

    Print Charts The Print Charts button activates a screen print of ChartView’s main window. Main Window Pull-Down Menus The ChartView main window features several pull-down menus. As an alternative to the menus, you can enable several menu items by using Toolbar buttons, previously discussed. The common items (for the pull-down menus and toolbar) are described in more detail in the Toolbar section.
  • Page 73 File Menu Note When ChartView is started for the very first time there is no default channel configuration file. In this case a ChartView Startup dialog box appears, providing you with the following four choices: Retry, Select Device, Load File, and Exit Program. After choosing Select Device a Select Interface dialog box appears, allowing you to choose IEEE 488, RS-232/422, Network, or Simulated Instrument.
  • Page 74 Display config. Note: Start Stop Pause Next Group Ctrl+G Faster Ctrl+Z Slower Ctrl+X Zoom [ Restore ] Grid limit lines Ctrl+F1 Solid Ctrl+F2 Dots Ctrl+F3 Timestamp Absolute Ctrl+F4 Relative Ctrl+F5 View Toolbar Timestamps & Chartspeed Statusbar 4-18 ChartView Software Reference Allows you to: Open a previously saved display configuration file, save the current display configuration file, or save the current display configuration file in a different location (or under a different file name).
  • Page 75 Options Option Settings includes three separate dialog boxes, accessible by tabs, as indicated in the following screen captures. Charts Restricts Scroll Speed to Eliminate Aliasing It is possible for chart displays to exhibit aliasing when using ChartScan, NetScan, or MultiScan devices. The aliasing effect can be eliminated from the display by enabling the “Restrict scroll speed to actual scan rate”...
  • Page 76 Acquisition (continued) Automatic Keyboard Trigger on Auto Re-arm Acquire Arms the data acquisition device in preparation of receiving a trigger. Arm Acquisition (Ctrl + T) Disarms the data acquisition device and discontinues the acquisition of data. Disarm… (Ctrl + Y) Displays the condition of a data acquisition.
  • Page 77 Command This area contains two fields for entering command characters, one for row setting and one for column setting. Enter the characters (Excel parameters) to match the applicable version of Excel; for example: Characters Data Destination Assign the Data Destination. This area allows you to assign the data destination on the Excel spreadsheet.
  • Page 78 Upload Available Enables ChartView to access device memory for all scans currently available. This function only uploads scans that are currently available. Scans (Ctrl + U) (manual control) Upload Scans Enables ChartView to access device memory and upload scans until scanning is complete. Until Done Window Bar Graph Meters...
  • Page 79 Device … Interface Setup IEEE 488 The IEEE 488 Setup dialog box appears. Valid addresses are 0 to 30. DIP switch settings must agree with this setup. For ChartScan, an IEEE 488 interface card is required for use of IEEE 488 interface. NetScan devices can not make use of the IEEE 488 interface.
  • Page 80 Setup Network Brings up the Network Interface Settings dialog box. A valid registration number must be entered (1 below) to gain access to the ChartView’s Network Interface support feature. The second dialog box allows users of NetScan or Net232 to configure the ethernet interface. The program will generate data from a simulated instrument with no actual hardware concerns.
  • Page 81 From the Alarm configuration dialog box, you can define the information that will be saved in the log file. Options include the Time and Date when the state change occurred, the Alarm number, the Channel(s) that tripped the alarm along with the current reading, and the state of the alarm itself or all alarms, either 1 or 0. Additionally you can define the character that is used to separate the information in the file.
  • Page 82 Once an alarm log file exists, log enable can be used to activate the logging process; or to disable an Log Enable active log. A check-mark ( ) preceding Log Enable indicates that the log is active. No check-mark (Ctrl+A) present indicates the alarm log has not been enabled.
  • Page 83: Bar Graph, Analog, And Digital Meters

    Setup Channels & Alarms Ctrl+L Accesses the Setup Window for configuring channels and alarms. From the channels & alarms dialog box, you can select the Acquisition Setup and Data Destination dialog boxes. Acquisition Accesses the Acquisition Setup dialog box. From the Acquisition Setup box, you can select the Channels &...
  • Page 84: Bar Graph Meters

    Bar Graph Meters Selecting Bar Graph Meters from ChartView’s Window pull-down menu brings up the Bar Graph window. This window displays several channels in bar graph format. To activate the display, select the Start button from the toolbar. At least one meter must be assigned to an active (On) channel. You can select to view up to 32 meters at a given time.
  • Page 85: Analog Meters

    Analog Meters Selecting Analog Meters from ChartView’s Window pull-down menu brings up the Analog Meters window. This window displays several channels in a dial/gage format. To activate the display, select the Start button from the toolbar. At least one meter must be assigned to an active (On) channel. You can select to view up to 32 meters at a given time.
  • Page 86: Digital Meters

    Digital Meters Selecting Digital Meters from ChartView’s Window pull-down menu brings up the Digital Meters window to display several channels in numeric format. To activate the display, select the Start button from the toolbar. At least one meter must be assigned to an active (On) channel. You can select to view up to 32 meters at a given time.
  • Page 87: Meter Toolbars

    Meter Toolbars The toolbars for the three meter types are identical, with exception that the Digital Meters toolbar does not have a Reset Peak Hold button (item C in the following figure). Item Name Start Stop Reset Peak Hold Indicator Stay On Top (Push pin) Print...
  • Page 88: Meters Configuration Menu

    Meters Configuration Menu A meters configuration menu (lower left corner of figure) will appear when you place the mouse pointer over a meter and click the right-hand mouse button. The menu allows you to access various dialog boxes for changing parameters for an individual meter, or simultaneously for a group of meters. The steps for configuring a meter are detailed below.
  • Page 89: Setup Window

    Function Select Channel Set Scale Show Peak Hold Indicator Reset Peak Hold Indicator Show Trend Indicator Set Limits Show Limits Properties You can access a different dialog box from the one initially selected. For example, from the Set Scale dialog box you can select Limits to access the Set Limits/Show Limits display, as well as select “Misc.” to “Show Trend Indicator”...
  • Page 90 Channel and Alarm Setup, Button Descriptions 1 – Turn On All Channels (Alt + N) 2 – Turn Off All Channels Not Assigned to Charts (Alt + F) 3 – Turn On/Off Channel Readings (Alt + R) 4 – Print Entire Channel and Alarm Setup (Alt + P) The following table indicates message and pull-down menu aspects of the Channel and Alarm Setup Dialog Box.
  • Page 91: Channel Configuration Columns

    Channel Configuration Columns Channel (CH)  This column serves only as a channel number indicator. The channel number cannot be changed from this column.  The On column allows you to enable a channel for data collection. When a cell or block of cells in this column is selected, a selection box will appear that allows “On”...
  • Page 92: Alarm Configuration Columns

    Note: When using a channel as a reference channel, remember that lower numbered channels are calculated ahead of higher numbered channels, e.g., CH1 is calculated ahead of CH2. This makes a difference when subtracting a reference channel in regard to the time aspect of the reference value. If the channel is configured for Volts, the units automatically change to V;...
  • Page 93 The mode is selected from the lower left-hand portion of the dialog box. The following figure represents a screen capture with normal mode selected. The following figure depicts components of an acquisition. The Trigger and Stop Points represent the entries described under the Event Configuration selection in the table on the following page. In the “High-speed, single-channel”...
  • Page 94 Parameter Event Configuration Trigger: Set a trigger scan in the Acquisition by using one of the following: Keyboard - Use Console Trigger dialog box to start trigger scan. External TTL - Use an external signal to start the trigger scan. Channel Value - Use specified value of a given channel.
  • Page 95: Burst Mode, Operational Issues

    Burst Mode, Operational Issues Acquisition Setup Dialog Box, High-Speed, Single-Channel Mode The Burst Mode, also referred to as High-speed, single-channel mode, is selected with a radio-button located on the lower left of the Acquisition Setup Dialog Box. The following bulleted issues apply to Burst Mode operations. •...
  • Page 96: Measuring Ac Voltage, Or Ac Rms Voltage

    • When using Burst Mode, data saved to disk can still be viewed in PostView. However, the PostView chart setup will only allow you to select the single channel (previously selected in ChartView as the high-speed Burst Mode channel). Example: If Channel 4 is selected as the High-Speed Setup Channel (in ChartView’s Acquisition Setup), and data is acquired and saved to disk, then the only channel that can be selected for PostView’s chart display is Channel 4.
  • Page 97 Measuring AC RMS The following steps pertain to measuring AC RMS voltage. Determine the peak voltage of the input signal. Based on the value from step 1, select the appropriate VAC option. This is done in ChartView’s Channel and Alarm Setup window (see following figure). Choosing A Voltage Type 3.
  • Page 98: Data Destination Dialog Box

    Data Destination Dialog Box Data Destination The Data Destination portion of the box is used to assign a filename and folder location for data, select an Excel or binary format ( (to be included in the data) if desired. The dialog box can be accessed from the Channel and Alarm Setup and Acquisition Setup dialog boxes by selecting the Data Destination tab, or by selecting Data Destination from the Setup pull-down menu.
  • Page 99: Why Use Auto Re-Arm

    Why use Auto Re-arm? You can use Auto Re-arm as a convenient way to monitor and analyze specific types of trigger events. For example, if you set Channel 1 going above 30°C as a trigger, you can choose to repeat 100 (or more) acquisitions with this same trigger criteria (Channel 1 >...
  • Page 100: Chart Setup Wizard

    Chart Setup Wizard Reference Note: For very first time start-up of ChartView and a program tutorial (that includes a first time use of the Chart Setup Wizard) refer to Chapter 1. Introduction Chart Setup Wizard is a feature of ChartView, ChartView Plus and PostView. The feature allows you to set up your initial chart display configuration using an automated method, or manually create a new display configuration.
  • Page 101: Automatic Chart Setup With Wizard

    A Manual Chart Creation, Create Charts button allows you to bypass the Chart Setup Wizard and enter a manual mode. This option makes use of ChartView’s Display Configuration feature (reference page 4-9). Manual chart creation allows you to vary the number of assigned channels per chart, as well as vary the number of charts per group.
  • Page 102: Bypassing Automatic Chart Setup

    It is a simple task to create chart display configurations using the automatic method. The following steps apply to this feature of Chart Setup Wizard. Select Wizard from the Chart pull-down menu of ChartView’s main window. The New Display Setup dialog box appears. Click OK on the New Display Setup dialog box.
  • Page 103: Ez-Postview And Viewxl

    eZ-PostView ViewXL Introduction ChartScan systems can now make use of the post-acquisition data viewing program, eZ-PostView and a Microsoft Excel add-in known as ViewXL. eZ-PostView is a time-domain post-acquisition data viewing application that has been integrated with primary data acquisition software, including DaqView, Personal DaqView, ChartView, LogView, and WaveView. ViewXL is a Microsoft Excel Add-In that provides setup and data acquisition for personal computers running 32-bit versions of Microsoft Windows.
  • Page 104 eZ-PostView includes the following features: • File Input Format Support for: DaqView, WaveView, Personal DaqView, ChartView, Universal File Format UFF-58B. • Can show 8 Display Windows simultaneously • Can show 16 Channel Traces per Display Window • Includes Automatic Data Scaling •...
  • Page 105: Non-Volatile Storage Of Calibration Constants

    Calibration Introduction ……6-1 Calibration Setup ……6-1 Non-Volatile Storage of Calibration Constants ……6-2 Hardware Protected RAM ……6-2 ScanCal Software Application ……6-3 ScanCal’s Main Window ……6-3 Using ScanCal ……6-3 Interface Parameters System Inventory Calibration Calibration Without ScanCal ……6-5 Password ……6-5 Calibration Mode Indicator ……6-5 Command Active Indicators ……6-5 Use approved ESD precautions, including static-free work area and grounded wrist strap, when handling circuit boards and electronic components.
  • Page 106: Non-Volatile Storage Of Calibration Constants

    The digital voltmeter (or digital multimeter) used to verify calibration voltage accuracy must meet the following criteria: 1) Minimum Resolution: 6-1/2 digits 2) Minimum DC Accuracy: 0.005% full scale Failure to comply with this requirement can result in faulty equipment performance and necessitate additional services of an authorized metrology lab.
  • Page 107: Scancal Software Application

    Unless you are setting main unit calibration constants or changing the password, the calibration mode should be disabled. The calibration mode applies to main unit calibration, and not to the calibration of signal conditioning cards. ScanCal Software Application ScanCal’s Main Window Select the ScanCal option from the ChartView Program Group.
  • Page 108: Interface Parameters

    Interface Parameters If your data acquisition device interface is set up for Network (ethernet), you should change the device interface to RS-232 serial communications prior to performing calibration. Refer to your hardware setup chapter as needed. 1.a Select the DIP Switch toolbar icon to activate the Select & Verify Interface Setup window. This allows you to select and setup the communication interface used for your scanning system.
  • Page 109: Calibration Without Scancal

    Calibration Without ScanCal Password To perform calibration, the calibration mode must be enabled. The Enter Calibration Mode ( enables calibration, where unit. Your scanning unit is shipped with a default password of the Change Calibration Keyword ( mode is ended by executing the End Calibration Mode ( Attempts to execute calibration commands without entry into calibration mode will result in a calibration status error.
  • Page 110: Offset Calibration Of Main Unit

    Calibration of Main Unit Offset Calibration of Main Unit Required Equipment - Shorting bar, or 3 linked banana plugs (see following figure) - Calibration Card (installed in bottom slot, slot #1, of the main unit) Do not install or remove any cards from the main unit, or from its expansion chassis unless the unit is powered “OFF”...
  • Page 111 Ensure the main unit is powered “OFF,” and has no power sources connected to it. If a signal conditioning card is in slot #1 of the chassis, remove the card. Install Calibration Card into Slot #1 (bottom slot) of the main unit. Do not perform calibration until after the main unit and calibration equipment have been powered on for at least one hour.
  • Page 112: Gain Calibration Of Main Unit

    Gain Calibration of Main Unit Required Equipment* - Volts DC Calibrator - 22-2 Twisted pairs (to connect calibrator to calibration card) - Digital Voltmeter, or Digital Multimeter (used for verification of calibration voltages) - Calibration Card (installed in bottom slot, slot #1, of main unit) see required specifications on page 6-2 Offset calibration of main unit must be completed prior to calibrating the main unit for gain.
  • Page 113 Connect HI, LO, -S, and +S lines from the precision calibrator to the binding posts of the calibration card, as indicated in the figure above. Apply -4.4 VDC (minus 4.4 VDC) from the calibrator to the calibration card. Use a precision digital multimeter to verify voltage accuracy.
  • Page 114: Signal Conditioning Cards

    Calibration of Signal Conditioning Cards Offset Calibration of Cards Required Equipment - BNC Short for CSN14/LV/B cards, see note - Terminal Type Short for CSN14/LV/T cards, see note - Banana Plug Type Short for CSN14/LV/S cards, see note - Type U Subminiature Plug Short for CSN14/TC/P cards, see note Note: The four types of shorting connectors are illustrated later in this section.
  • Page 115 If the calibration password has not been changed, enter enter the K command and the current password. This enables the calibration mode. Type to verify calibration mode. Type . The Trigger LED will flash, indicating that offset calibration is in progress for Channel 1. Type U128 Response codes and meanings applicable to calibration are as follow:...
  • Page 116: Gain Calibration Of Low Volts Cards

    Gain Calibration of Low Volts Cards Required Equipment* - Volts DC Calibrator - 22-2 Twisted pairs (to connect calibrator to calibration card) - BNC Harness (for CSN14/LV/B cards), see note -Terminal Type Harness for CSN14/LV/T cards, see note - Banana Plug Type Harness CSN14/LV/S cards, see note -Type U Subminiature Plug Harness for CSN14/TC/P cards, see note - Digital Voltmeter, or Digital Multimeter see required specifications on page 6-2...
  • Page 117 Connect an applicable calibration harness to each card. Refer to figure below. ChartScan User’s Manual Calibration 6-13...
  • Page 118 Apply calibration voltage from the precision calibrator to the first channel of each card (see following table), and verify with a digital multimeter. Requirements for both devices are specified in Required Equipment. Volts DC Slot # 1 -50 mV G1,1X +50 mV G1,1X -100 mV...
  • Page 119: Gain Calibration Of High Volts Card

    Gain Calibration of High Volts Cards Required Equipment* - Volts DC Calibrator - 22-2 Twisted pairs (to connect calibrator to calibration card) - Banana Plug Type Harness for CSN14/HV/S see note - Digital Voltmeter or Digital Multimeter (used for verification of calibration voltages) see required specifications on page 6-2 Note: The harness for CSN14/HV/S is illustrated later in this section.
  • Page 120 Apply calibration voltage from the precision calibrator to the first channel of each CSN14/HV/S card (see following table), and verify with a digital multimeter. Requirements for both devices are specified in Required Equipment. Volts DC Slot # 1 -2.5 V G1,20X +2.5 V G1,20X...
  • Page 121: Cold Junction Calibration

    Cold Junction Calibration Required Equipment Equipment for CJC Calibration Cold (ice) cell for calibration with thermocouples at 0°C T/C wire and subminiature plug connectors (T-Type T/C wire is recommended) U-Type copper shorting plugs Thermocouples Equipment for Verification of Calibrated Temperature Option (a): Cold Cell Method Cold (ice) cell Volts DC Calibrator...
  • Page 122 The main unit (chassis) and T/C cards must be calibrated for offset and gain prior to calibrating the T/C cards for cold junction. Do not install or remove any cards from the main unit, or from its expansion chassis unless the unit is powered “OFF” and has no power sources connected to Do not perform calibration until after the main unit has been powered on for at least one hour, and the Cold Cell powered on for at least 2 hours.
  • Page 123 Type to verify calibration mode. Enter commands similar to those in the first two columns in the following table. This example is for a T/C card in slot #1, and a Type 3 (“T” type) thermocouple. The table on the preceding page provides additional channel numbers to use as they apply to your system.
  • Page 124 6-20 Calibration ChartScan User’s Manual...
  • Page 125 Appendices Appendix A     API Commands Appendix B     Configuration Aspects for Programmers Appendix C     Registers, Data Formats, & Queries Appendix D     ChartScan Program Examples Appendix E     Bus States, Bus Lines, and Data Transfer Aspects Appendix F ...
  • Page 126 A-ii ChartScan User’s Manual...
  • Page 127: Api Commands

    Appendix A API Commands Contents Command Syntax... A-2 Case Sensitivity... A-2 Spaces ... A-2 Multiple Parameters ... A-2 Command Strings ... A-2 Execute Command... A-2 Fixed Formats ... A-3 Conflict Errors ... A-3 Command Interpretation ... A-3 Immediate & Deferred Commands... A-3 Deferred Commands, Order of Execution ...
  • Page 128: Command Syntax

    Command Syntax Commands are identified by the following syntax formats: • A single letter ( • A single letter ( • An at-sign ( • An asterisk ( In addition, the commands are governed by the following syntax rules. Case Sensitivity Commands may be entered in upper or lower case.
  • Page 129: Fixed Formats

    Fixed Formats Any Query ( )command or Status ( can range up to 65,535 always returns five digits, so zero would be returned as following command descriptions, leading zeros are included. They are not, however, required when entering the command. Conflict Errors Some combinations of commands and parameters can be sent to the unit that are out of range for a particular configuration or inconsistent with other commands.
  • Page 130 The following is a list of all the immediate and deferred commands for ChartScan. Trigger On Command Flush Acquisition Buffer Clear Channel Configuration Restore Factory Settings Change Calibration Keyword Adjust Calibration Card Pots Power-On Reset Power-Up Settings Time Stamping Assign Alarm Output Alarm Stamping Configure Channels Select Cards...
  • Page 131: Deferred Commands, Order Of Execution

    Deferred Commands, Order of Execution The immediate commands take effect immediately when they are interpreted. Even so, they must be followed by an Execute ( example: K00001X Deferred commands are not executed until the interpreted. Upon interpretation of the as follows: Order Set User Terminator Set Query Terminator...
  • Page 132: Command Summary

    Command Summary Command Trigger On Command Flush Acquisition Buffer Clear Channel Configuration Restore Factory Settings Change Calibration Keyword Adjust Calibration Card Pots Power-On Reset Power-Up Settings Time Stamping Assign Alarm Output Alarm Stamping Configure Channels Select Card Syntax Trigger on receipt of an Flush any data currently in the acquisition buffer.
  • Page 133 Command Set Relay Make Time End Calibration Mode Error Status Query Set Data Format Set Burst Mode Frequency Calibrate Channel Gain Calibrate Channel Offset Set Scan Interval Digital Input Stamping Calibrate Cold Junction Offset Enter Calibration Mode ChartScan User’s Manual Syntax Specify how long to wait after closing a channel relay before D#make...
  • Page 134 Command Set Trigger Level Set SRQ Mask Set Measuring Mode Set Event Mask Set Digital Outputs Program Trigger Times Query Set Query Terminator Query Card Data Syntax Sets the level against which the testing of channel readings should Lchan, be performed where level, <...
  • Page 135 Command Read Buffered Data Read Last Readings Set Real Time Clocks Set Trigger Configuration User Status Set User Terminator Set Average Weight Execute Set Counts Select Blocks ChartScan User’s Manual Syntax Read scan data from the acquisition buffer where Rtype type of data request being made.
  • Page 136 API Commands Appendix A − Notes A-10 ChartScan User’s Manual...
  • Page 137: Command Reference

    Command Reference The following pages provide the command set for ChartScan. For each command, the command name, the descriptive name, and the command description are given. In turn, the command description includes the following format. Command Description Format Type This item refers to the part of the system that the command acts upon. The defined Types are as follows: Type Acquisition...
  • Page 138: Trigger On Command

    TYPE EXECUTION SYNTAX DESCRIPTION The Trigger On ( of the Set Trigger Configuration ( source and follows the same rules as other trigger sources as defined by the valid only when an acquisition is configured where either the start and/or stop event is defined as the Trigger On command.
  • Page 139 TYPE EXECUTION SYNTAX DESCRIPTION The Flush Acquisition Buffer ( of this command, all data currently in the acquisition buffer will be deleted and is unavailable to be read. This command should only be used when it is determined that the data in the acquisition buffer is no longer needed or may be corrupt.
  • Page 140 TYPE EXECUTION SYNTAX DESCRIPTION The Clear Channel Configuration ( configured. After this command has been performed, channel readings will be not be updated; therefore, no HLL or acquisition buffer updates will be performed until a new configuration is entered via the Configure Channels ( command.
  • Page 141: Restore Factory Settings

    TYPE EXECUTION SYNTAX DESCRIPTION The Restore Factory Defaults ( when it left the factory. Issuing this command will cause the unit to load the factory default configuration into the working configuration. The factory default configuration is defined in the Configuring Power-Up State section of Appendix C.
  • Page 142 TYPE EXECUTION SYNTAX DESCRIPTION Note: This command is only for advanced users who perform their own calibration. It is not necessary for normal, everyday operation. The Change Calibration Keyword ( defined password. The password is a safety feature to prevent unauthorized personnel from entering calibration mode and potentially altering calibration constants.
  • Page 143 TYPE EXECUTION SYNTAX DESCRIPTION Note: This command is only for advanced users who perform their own calibration. It is not necessary for normal, everyday operation. The Adjust Calibration Card Pots ( special calibration card to allow for their adjustment. Refer to Chapter 6 for specific details. A second, diagnostic use for this command is to program the channel sequencer to “SIT”...
  • Page 144: Power-On Reset

    TYPE EXECUTION SYNTAX DESCRIPTION The Power-On Reset ( data in data buffers and configuration are erased. Note: Because the communicate with the unit. A total of at least 5 seconds is required before normal operations can take place. The IEEE 488 bus commands Device Clear (DCL and SDC) do not have this effect. They clear only the command input buffer, the output queue, and any pending commands.
  • Page 145: Power-Up Settings

    TYPE EXECUTION SYNTAX DESCRIPTION With the Power-Up Settings ( configuration when it is powered on or when the Power-On Reset ( configuration will be exactly the same as the configuration it had when it was last powered down or a command issued.
  • Page 146: Time Stamping

    TYPE EXECUTION SYNTAX DESCRIPTION The Time Stamping ( by the unit to the controller: If absolute time stamping is enabled, the format is where = milliseconds. If relative time stamping is enabled, the format is where = milliseconds and In the relative mode, the time stamps are relative to the trigger scan which is time stamped +00:00:00.000,0000000 are positive (+).
  • Page 147 TYPE EXECUTION SYNTAX DESCRIPTION The Assign Alarm Output ( condition(s) to a particular digital output. This command allows internal alarm conditions to be sensed by external devices via the 32 TTL-level digital outputs located on the back panel of the unit. To use alarms, the channels in question must be part of the channel scan.
  • Page 148 TYPE EXECUTION SYNTAX DESCRIPTION The Alarm Stamping ( occurs: The alarm status consists of 32 bits: A31 through A00, each with a off. In Binary Low-High mode, 4 bytes will be appended as follows: Byte 1: A07 - A00 Byte 2: A15 - A08 Byte 3: A23 - A16 Byte 4: A31 - A24 In Binary High-Low mode, 4 bytes will be appended as follows:...
  • Page 149 TYPE EXECUTION SYNTAX DESCRIPTION The optional arguments respectively, for the Configure Channels ( configure alarms on the specified channel(s). The format for these optional arguments follow the rules for readings input defined under the Set Data Format ( The channel type Because of this fact, defining the channel type is critical to the proper configuration of the channel.
  • Page 150 Note: Specifying a reserved type will cause an error. Note: Because the Configure Channels ( configured until the Execute ( deal of processor time, as many Configure Channels ( command line. This will avoid unnecessary processing time when configuring many channels. Thermocouple Type N (14 gauge)
  • Page 151 EXAMPLE PRINT#1, “OUTPUT07; F0,0X” PRINT#1, “OUTPUT07;*C” PRINT#1,"OUTPUT07;C1,1,-100.0, 100.0, 0.5" PRINT#1,"OUTPUT07;C33-34,11" PRINT#1,"OUTPUT07;C65,2" PRINT#1,"OUTPUT07;X" PRINT#1,"OUTPUT07; U13X" PRINT#1,"ENTER07" INPUT A$ ChartScan User’s Manual ‘ Set Data Format to Engineering Units, degrees C ‘ Clear current channel configuration ‘ Configure channel for T/C type J with low setpoint of - 100.0 °C, high setpoint of 100.0 °C and hysteresis of 0.5 °C ‘...
  • Page 152: Select Card

    TYPE EXECUTION SYNTAX DESCRIPTION Using the Select Card ( cause subsequent calibration factors of the cards as part of the system, select a number from the range EXAMPLE PRINT#1, “OUTPUT07;C#0X” PRINT#1, “OUTPUT07;QC?X” PRINT#1, “ENTER07" INPUT #2, A$ PRINT#1, “OUTPUT07;C#5X” PRINT#1, “OUTPUT07;U12X” PRINT#1, “ENTER07"...
  • Page 153 TYPE EXECUTION SYNTAX DESCRIPTION The Set Relay Make Time ( reading valid channel data. The system powerup default is: If common mode voltages on adjacent channels are widely dissimilar, reading inaccuracies can result. This inaccuracy is due to inadequate settling time at the instrumentation amplifier when the unit is scanning between channels.
  • Page 154 TYPE EXECUTION SYNTAX DESCRIPTION Note: This command is only for advanced users who perform their own calibration. It is not necessary for normal, everyday operation. To use this command the unit must be in Calibration Mode. The End Calibration Mode ( used to take the unit out of Calibration Mode.
  • Page 155 TYPE EXECUTION SYNTAX DESCRIPTION When an error has occurred, the ERROR indicator light on the front panel of the unit turns on. Error Status Query ( ) is used to determine the present error condition. After execution of the Error Status Query command, the unit responds with one of the following error codes: : No error has occurred.
  • Page 156: F - Set Data Format

    TYPE EXECUTION SYNTAX DESCRIPTION The Set Data Format ( unit, and requires two arguments. The first argument is the reading format. format When the unit is inputting or outputting data, it first references the current reading format. If (Engineering Units), it will then reference the current settings of the engineering units and then perform the necessary conversion.
  • Page 157 Data Output Formats Data Type Temperature Volts Time/Date Absolute Relative Timebase Legend Note 1: mil is milliseconds for ASCII, but microseconds for binary (2-hexidecimal) output format. Data output formats differ slightly from data input formats in that binary formats may be used for Channel Data. Channel Data is the only output data which may use the binary format (if it is specified).
  • Page 158 EXAMPLES PRINT#1, “OUTPUT07:F0,0X” PRINT#1,“OUTPUT07;C1, 1, -100.0, 100.0, 1.0X” PRINT#1, “OUTPUT07; U4X” PRINT#1, “ENTERO7" LINE INPUT #2, A$ PRINT A$ PRINT #1, “OUTPUT07;F1,1X” PRINT#1,“OUTPUT07;C1, 1, -100.0, 100.0, 1.0X” PRINT #1, “OUTPUT07;U4X” PRINT #1, “ENTER07" LINE INPUT #2, A$ PRINT A$ A-32 ‘...
  • Page 159 TYPE EXECUTION SYNTAX DESCRIPTION The Set Burst Mode Frequency ( High-speed, single-channel mode (burst mode). See Measuring Modes section of Appendix C for more information. For AC measurements where the RMS value is to be returned via the responsibility to program a frequency which will yield a sufficient whole even number of samples per line cycle in order to compute the RMS accurately.
  • Page 160 TYPE EXECUTION SYNTAX DESCRIPTION Note: This command is only for advanced users who perform their own calibration. It is not necessary for normal, everyday operation. Active only in calibration mode, the Calibrate Channel Gain ( constants for a given slide-in card. The channel gain value is necessary in order for the internal firmware to accurately interpret readings coming from the input channels.
  • Page 161 TYPE EXECUTION SYNTAX DESCRIPTION Note: This command is only for advanced users who perform their own calibration. It is not necessary for normal, everyday operation. Active only in calibration mode, the Calibrate Channel Offset ( offset constants for a given slide-in card. The channel offset values are necessary in order for the internal firmware to accurately interpret readings coming from the input channels.
  • Page 162 TYPE EXECUTION SYNTAX DESCRIPTION The Set Scan Interval ( The first is the “normal” scan interval, used when the unit is collecting scans before the start trigger has occurred or after stop trigger has occurred. Scans in these two regions are called pre-trigger scans and post-stop scans, respectively.
  • Page 163 TYPE EXECUTION SYNTAX DESCRIPTION The Digital Input Stamping ( scan as it occurs in real time. The digital input state consists of 8 bits ( where “1” indicates digital input “on” and “0” indicates digital input “off.” In binary mode, 2 bytes will be appended as follows: Byte 2: 00h, In ASCII mode, 8 bytes will be appended as follows: Where = User Terminator, and...
  • Page 164: Calibrate Cold Junction Offset

    TYPE EXECUTION SYNTAX DESCRIPTION Note: This command is only for advanced users who perform their own calibration. It is not necessary for normal, everyday operation. Active only in calibration mode, the Calibrate Cold Junction Offset ( junction offsets for cold-junction compensation of the thermocouple signals. Each thermocouple input channel has associated with it one of these temperature sensors.
  • Page 165: Enter Calibration Mode

    TYPE EXECUTION SYNTAX DESCRIPTION Note: Calibration should only be performed by a qualified metrology lab. If necessary contact the factory for assistance. The Enter Calibration Mode ( unit may be calibrated using any of the defined calibration commands. In addition, all other commands are valid during Calibration Mode.
  • Page 166: Set Trigger Level

    TYPE EXECUTION SYNTAX DESCRIPTION The Set Trigger Level ( performed. The Set Trigger Configuration ( should be tested for going above the specified level or below the specified level. Note: This command is only valid for trigger start/stop events of The parameter level a trigger event.
  • Page 167: M Set Srq Mask

    TYPE EXECUTION SYNTAX DESCRIPTION The Set SRQ Mask ( bus controller of the existence of several conditions in the Service Request Enable (SRE) Register. These conditions are described in detail below. Multiple conditions can be enabled simultaneously. If multiple conditions are contained within the same command string, each Set SRQ Mask command should be proceeded by an Execute ( ) command.
  • Page 168: Set Measuring Mode

    TYPE EXECUTION SYNTAX DESCRIPTION The Set Measuring Mode ( ChartScan/1400 units: Normal Mode (for Line Cycle Integration and High-Speed Multi-Channel applications). Normal mode is the system default. In this mode each channel is averaged over a selected number of samples as specified with the Set Averaging Weight ( automatically enable line cycle noise rejection.
  • Page 169: N Set Event Mask

    TYPE EXECUTION SYNTAX DESCRIPTION The Set Event Mask ( turn, determine which Event Status Register (ESR) conditions are enabled to generate the Event Status Register Bit (ESB) in the Serial Poll Status (SPS) Register. Multiple ESR bits can be enabled simultaneously by issuing Set Event Mask ( Event Mask remains enabled until a Clear Event Mask ( Reset (...
  • Page 170: O Set Digital Output

    TYPE EXECUTION SYNTAX DESCRIPTION The Set Digital Outputs ( banks) on the unit to a certain setting. The Bank to Digital Output mapping is as follows: Each argument bankn argument is a decimal number, which, when converted to binary format is the desired settings for that bank of digital outputs.
  • Page 171: P Program Trigger Times

    TYPE EXECUTION SYNTAX DESCRIPTION The Program Trigger Times ( acquisition that is configured for start and/or stop on Absolute Time as configured by the Set Trigger Configuration ( ) command. The Program Trigger Times command is to be used in concert with the Set Trigger Configuration command when it is desired to begin and/or stop an acquisition on certain times and/or dates.
  • Page 172: Query

    TYPE EXECUTION SYNTAX DESCRIPTION Most commands have a corresponding Query ( command letter. Query commands place their responses into the output queue until the controller retrieves them. They respond with the present configuration or mode of a previously executed command. When appropriate, the response from a Query command is in the form of a command string which, if it were executed, would put the unit into the configuration it was in when the Query was executed.
  • Page 173: Q Set Query Terminator

    TYPE EXECUTION SYNTAX DESCRIPTION The Set Query Terminator ( : This argument specifies the response terminator for general purpose queries issued by the controller. resp These queries are queries that do not request High/Low/Last or Acquisition Buffer data. This terminator is used in all query responses unless the query refers to data in the High/Low/Last registers or the Acquisition Buffer.
  • Page 174 The following table summarizes terminator usage with all possible commands in ASCII mode (no terminators are used in binary mode), where X indicates that the terminator is asserted at the end of the response, O indicates that the terminator is asserted within the response to separate channel and scan readings, and a blank cell indicates that the terminator does not affect the command: Command R#chanX...
  • Page 175: Query Card Data

    TYPE EXECUTION SYNTAX DESCRIPTION Note: This command is only for advanced users who perform their own calibration. It is not necessary for normal, everyday operation. The information returned is as follows: • • • - TC/Volts card) (type 17 - High Volts card) Refer to the Select Card ( EXAMPLE PRINT#1, “OUTPUT07;...
  • Page 176 API Commands Appendix A A-50 ChartScan User’s Manual...
  • Page 177: Read Buffered Data

    TYPE EXECUTION SYNTAX DESCRIPTION The Read Buffered Data ( been collected as a result of an acquisition that has been previously configured. For more information regarding the configuration of acquisitions, refer to the Set Trigger Configuration ( Since the unit’s buffer is organized as a FIFO (first in, first out), the Read Buffer Data command will always read the oldest data available in the buffer first.
  • Page 178: Read Last Readings

    TYPE EXECUTION SYNTAX DESCRIPTION The Read Last Readings ( specifying of specific channels within the current channel configuration. This command is useful for querying specific channels without having unwanted channels returned. The response to this command takes the same form as the Query Last ( by the Set Data Format ( specified with the Set Query Terminator ( Note: If the specified channel, or a range of channels, is not currently defined in the scan group as configured by...
  • Page 179: S Set Real Time Clocks

    TYPE EXECUTION SYNTAX DESCRIPTION The Set Real Time Clock ( follows the same format as the standard time/date stamp input format as specified in the Data Format section of Appendix C. The Set Real Time Clock command is used to set the battery backed internal real-time clock of the unit. In order for the time/date stamped data to be accurate, the internal real-time clock must be set to an accurate time/date.
  • Page 180: T Set Trigger Configuration

    TYPE EXECUTION SYNTAX DESCRIPTION The Set Trigger Configuration ( configured. Upon execution of this command the unit enters the acquiring mode. This will be indicated on the front panel by the flashing of the TRIGGER light. If a pre-trigger has been configured (via the the sampling for pre-trigger data will begin at this time.
  • Page 181 (1) The first parameter, scans. This event is referred to as the Start Trigger. When the unit has recognized that a Start Trigger has been encountered, it will begin acquiring scans at that point. The first of these scans, the Start Trigger scan, will be time/date stamped for later reference.
  • Page 182: U User Status

    TYPE EXECUTION SYNTAX DESCRIPTION The User Status ( at any time without interfering with normal operation. Any error conditions, except Calibration Errors, are cleared after the status string is read by the controller. Calibration errors are cleared when the unit is calibrated. Status strings are returned when the unit is next addressed to Talk.
  • Page 183 : Query the current system settings. This command responds with the equivalent of the following: F?I?L?P?Q?S?T?Y? : Reads the current High/Low/Last data for all configured channels. Refer to the Data Output Format section of Appendix C for the format of the High/Low/Last response. : Reads and resets the High/Low/Last data.
  • Page 184 • Stop Scan Pointer: This field represents the location in the current read block that the stop event occurred. This pointer will always be relative to the trigger point with the trigger point always oriented at location greater than the value of •...
  • Page 185: F Set Data Format

    : This command computes and returns the root mean square (RMS) value of the last completed burst mode acquisition. : Queries the acquisition states and various system flags. The response ≤ form: EXAMPLES Refer to the EXAMPLES section for each of the following commands: Change Calibration Keyword *K - Configure Channels...
  • Page 186: Set User Terminator

    TYPE EXECUTION SYNTAX DESCRIPTION The Set User Terminator ( value (ASCII value) is in the range command to specify a user-defined terminator for any of the defined terminator types or as a reading separator for the Read Buffered Data ( EXAMPLE PRINT#1, “OUTPUT07;Q1,0,1,1,1X”...
  • Page 187: Set Average Weight

    TYPE EXECUTION SYNTAX DESCRIPTION Normal mode is used for line cycle integration for noise filtering, or for high-speed multiple channel use when noise is not a problem. The selection for Average Weight ( each thermocouple or DC volts channel, or how many samples over which the root mean square (RMS) is calculated for AC volts.
  • Page 188: Execute

    TYPE EXECUTION SYNTAX DESCRIPTION Most commands are interpreted and processed as they are received but are not executed until the Execute ( command is issued. Commands sent without an is received. While a command line is being interpreted, the front panel LEDs will not be updated. These LEDs will only be updated when the unit is in a ready state.
  • Page 189: Y Set Counts, Or Select Blocks

    TYPE Acquisition EXECUTION Deferred SYNTAX Ypre,post, Y0,count,0 DESCRIPTION Normal Mode When in Normal mode for data acquisition, the Set Counts ( post-trigger, and post-stop count to define the size of the acquisition. The pre-trigger count cannot exceed the memory size, but the post-trigger count can. If the post-trigger count exceeds the memory size, it is the responsibility of the IEEE 488 controller to deplete the FIFO buffer as the data is being collected, or a buffer overrun error will occur.
  • Page 190 Appendix B Configuration Aspects for Programmers Reference Notes: If you are not familiar with programming you will probably gain more understanding of the program- λ related portions of this appendix by first reviewing Appendix A, API Commands and Appendix D, ChartScan Program Examples.
  • Page 191: Memory Allocation

    Configuration Aspects for Programmers Memory Allocation Each ChartScan comes equipped with 256 KB memory. There are three options for additional memory: 1 Mbyte, 4 Mbytes, and 8 Mbytes. The memory modules are located in SIMM sockets JP201 and/or JP202 on the microprocessor board.
  • Page 192: Measuring Modes

    Appendix B Measuring Modes Overview You can select either of two scanning modes for ChartScan, 1) Normal mode, or 2) High-speed, single-channel mode (Burst Mode). Mode “Average weight” Setting Normal 16, 32, 64, 128, or 1, 2, 4, or 8 High-speed, not selectable single-channel...
  • Page 193: Normal Mode

    Configuration Aspects for Programmers Normal Mode ChartScan has the ability to reject noise resulting from AC line pick-up when an Average weight setting of 16 or more measurements per line cycle is used. This noise rejection factor is important, as it allows for higher accuracy.
  • Page 194: High-Speed, Single-Channel Mode (Burst Mode

    Appendix B High-Speed, Single-Channel Mode (Burst Mode) The High-speed, single-channel mode, also known as burst mode, is used for post-acquisition waveform analysis of AC and DC voltages. In this mode, ChartScan can sample from 38.5 Hz to 20.0 kHz, and store the data in memory.
  • Page 195: Configuration Requirements

    Configuration Aspects for Programmers Configuration Requirements ChartScan does not scan channels on its initial power-up. Even though most user-set configuration states have associated defaults, you must configure a few items before scanning begins. For ChartScan to begin scanning, the controlling computer must perform two operations: (1) Configure each channel, and (2) select the channels that are to be included in the scan.
  • Page 196: Channel Configuration

    Appendix B PRINT#1,"OUTPUT07; C1-4,1X" ‘ Configure master channels 1-4 with Type JTC PRINT#1,"OUTPUT07;I00:01:00.0,00:00:01.0X" ‘ Configure normal timebase to 1 minute, acquisition timebase to 1 second PRINT#1,"OUTPUT07;Y100,1100,0X" ‘ Set pre-trigger scan count to 100 and post-trigger to 1100 scans PRINT#1,"OUTPUT07;T1,8,0,0X" ‘ Configure start event to trigger on command and stop event to stop post- trigger count.(TRIGGER LED should pulse) PRINT#1,"OUTPUT07;@X"...
  • Page 197: Csn14/Tc/P  Configuring Thermocouple Channels

    Configuration Aspects for Programmers CSN14/TC/P     Configuring Thermocouple Channels Begin configuring input channels by first specifying the channel type. When the CSN14/TC/P signal conditioning module is used, 16 differential thermocouple inputs are provided. In configuring thermocouple (T/C) channels, all that is required is to assign each channel to a particular T/C type. Support for B, E, J, K, R, S, T and N (14 and 28 gauge) thermocouple types are standard.
  • Page 198: Csn14/Hv/S  Configuring High Volts Channels

    Appendix B CSN14/HV/S     Configuring High Volts Channels When the CSN14/HV/S signal conditioning module is used, ChartScan measures high voltages providing a programmable range per channel. To configure the channels on a CSN14/HV/S, use the Configure Channel ( command to assign a range to each channel on the signal conditioning module.
  • Page 199: Acquisition Configuration

    Configuration Aspects for Programmers command is used to set these two scan intervals. For example, the following command: I00:00:10.0,00:00:00.1 would set the scan interval to once every 10 seconds and set the post-trigger scan interval to once every 0.1 seconds. As mentioned earlier, the scan interval can be set to run as fast as the current configuration will allow. This is referred to as fast mode.
  • Page 200: Pre-Trigger State

    Appendix B Pre-Trigger State The Pre-Trigger state is defined as the period after ChartScan has been configured to collect an acquisition (via the Trigger Configuration state, the TRIGGER LED will flash. As in any other acquisition state, the alarms and their associated outputs will be updated at the fastest rate possible under the current channel configuration.
  • Page 201 Configuration Aspects for Programmers To enable this functionality you must perform the following steps: Set the first parameter of the Counts (Y) command to -1. If more than one transition cycle is desired, enable the Auto-Rearm flag of the Trigger Configuration command. If this is done, each transition cycle will be stored in its own Trigger Block within the buffer.
  • Page 202: Post-Trigger State

    Appendix B Post-Trigger State The Post-Trigger state is the period between the occurrence of the trigger event and the occurrence of the stop event. While the unit is in this state the TRIGGER LED will be on and the alarms and their associated outputs will be updated at the post-trigger scan rate.
  • Page 203 Configuration Aspects for Programmers In order for an acquisition to take place, the unit must have a trigger event and can be assigned a Stop Event. This allows different stimuli to begin and end an acquisition. Note: If the trigger start event is level or alarm, at least one pre-trigger scan must be programmed to initiate scanning in order for ChartScan to recognize the event.
  • Page 204: Time Stamping (*T

    Appendix B Time Stamping (*T) As mentioned in the previous sections, the contents of each scan contains one reading for each defined channel. Optionally, time stamping of each scan can be enabled with the stamping, enables relative time stamping, while description for further details.
  • Page 205: Digital Input Stamping (I

    Configuration Aspects for Programmers With Alarm Stamping: PRINT#1, “OUTPUT07;A#1X” PRINT#1, “OUTPUT07;R1X” PRINT#1, “ENTER07” INPUT A$ ...+0234.20-0019.40+0001.40+0023.60 005 128 032 066 Digital Input Stamping (I#) Digital Input Stamping ( ) allows you to see whether a digital input was “active” or “inactive” at the time of the scan.
  • Page 206 Appendix B With Digital Input Stamping: PRINT#1, “OUTPUT07;I#1X” PRINT#1, “OUTPUT07;R1X” PRINT#1, “ENTER07” INPUT A$ ...+0234.20-0019.40+0001.40+0023.60 036 000 The last six digits are the digital input stamping; however, the last three digits are not used, and will always appear as 000. The following explains how to interpret the stamping codes. Also see Digital Input ( ) command in Appendix A.
  • Page 207: Acquisition Buffer, A Description

    Configuration Aspects for Programmers Acquisition Buffer, A Description Once scans are read from the buffer by the controlling computer, they are erased from ChartScan’s buffer. The acquisition buffer is a FIFO (First-In First-Out) buffer. In other words, the oldest data to be written into the buffer is the first data to be read from the buffer when a read operation is performed.
  • Page 208 Appendix B This response indicates that the first available scan is -0000076, which is a pre-trigger scan. This scan can be retrieved as follows: PRINT#1,”OUTPUT 07;R1X” PRINT#1,”ENTER 07” INPUT A$ +1234.50-0234.20+0984.00+0323.30 PRINT#1,”OUTPUT 07; U6X” PRINT#1,”ENTER 07” INPUT A$ 000001,001233,-0000075,12:34:54.200,03/23/97,00000767,12:54:12.900,03/24/97,00001156,01 Notice that the current read pointer has now advanced to pre-trigger location -000075 and that the total scan count has been decremented to 001233.
  • Page 209: Multiple Trigger Blocks

    Configuration Aspects for Programmers Multiple Trigger Blocks Through the Auto-Rearm capability of ChartScan, it is possible to capture more than one trigger block in the unit’s Acquisition Buffer. Each trigger block would contain one and only one trigger point. These trigger blocks are stacked end-to-end in the buffer; as the last reading of the first trigger block is read by the controller, the next scan to be read will be from the second trigger block.
  • Page 210: Acquisition Buffer Interrogation

    Appendix B Acquisition Buffer Interrogation Note: In the following sections “current trigger block” always refers to the trigger block that is currently being read. The current status of the acquisition buffer may be interrogated at any time by issuing the Buffer Status String (U6) command.
  • Page 211 Configuration Aspects for Programmers 7 - End Scan Pointer This field represents the location in the current trigger block that the end scan occurred. This pointer will always be relative to the trigger point. Since the end scan must always occur after the trigger event this pointer will always be greater than 0.
  • Page 212 Appendix B The following figures and table illustrate a case in which an acquisition has been triggered, the stop event and end scan have occurred, and the buffer contains several trigger blocks. In this example, the trigger for the current trigger block has occurred and the Current Read Pointer is located at the first available pre-trigger scan -00000100.
  • Page 213: Reading The Acquisition Buffer

    Configuration Aspects for Programmers Reading the Acquisition Buffer The three previous sections briefly discussed how the acquisition buffer may be accessed and read. In this section the methods by which the acquisition buffer is read will be discussed in more detail. As mentioned earlier, the Acquisition Buffer is organized as a FIFO (First In, First Out).
  • Page 214 Appendix B command will read the oldest available trigger block in the Acquisition Buffer. For instance, continuing with the previous example: PRINT#1,"OUTPUT07; U6X" PRINT#1,"ENTER07" INPUT A$ PRINT A$ 0000006,0020215,-00000099,12:51:43.100,03/24/97,00000100,01:53:01.300,03/24/97,00000250,01 The above response indicates that there are 6 trigger blocks currently defined in the Acquisition Buffer and there are 20215 total scans in the buffer.
  • Page 215: Configuring Alarms

    Configuration Aspects for Programmers Configuring Alarms ChartScan can produce an internal event when the value of a channel is outside of user-defined limits. These “alarm events” can be used as trigger or stop events, or as a stimulus for TTL-level signals on ChartScan’s rear panel.
  • Page 216: Setpoint Hysteresis

    Appendix B As mentioned before, more than one channel can be assigned to any given output bit. For example, if the following statement were appended to the above example, then either channel 2 or channel 3 will set digital output #2. PRINT#1,“OUTPUT07:A3,2X”...
  • Page 217: Digital I/O Operation

    Configuration Aspects for Programmers Digital I/O Operation As shown in the DB50 pinout in the Installation and Configuration section, ChartScan has digital I/O pins for eight inputs and thirty-two outputs (see note). The digital outputs can be controlled either automatically via the alarm settings or with programming using the Set Digital Outputs (O) command.
  • Page 218 Appendix C Registers, Data Formats, & Queries Reference Note: If you are not familiar with programming you will probably gain more understanding of the program-related portions of this appendix by first reviewing Appendix A, API Commands and Appendix D, ChartScan Program Examples. Contents Using the High/Low/Last (HLL) Registers--------------------------------------------------------------------------- C-2 What is Contained in the HLL Registers--------------------------------------------------------------------------------------- C-2...
  • Page 219: Using The High/Low/Last (Hll) Registers

    Registers, Data Formats, & Queries Using High/Low/Last (HLL) Registers The High/Low/Last (HLL) registers are an alternative method of getting channel data from the ChartScan unit. The HLL registers are updated during an acquisition at the current programmed scan rate. At any time, the HLL registers can be queried for channel values without affecting the buffered data.
  • Page 220 Appendix C You can use the Query Terminator (Q) command to specify a response terminator between each channel of the HLL response. Use the Format (F) command to specify the output format of the HLL Registers. The following examples show how to use these commands to configure and query the HLL Registers. Example 1: Example 1 shows how to configure and query all the HLL registers and how the HLL terminator can be used to control the flow of the HLL response output.
  • Page 221 Registers, Data Formats, & Queries Example 3: Example shows how to read only the Last readings. PRINT#1,"OUTPUT07 F0,0 Q1,1,0,0, 0X" ‘ Set format to ASCII degrees C with PRINT#1,"OUTPUT07 C1-4,1X" PRINT#1,"OUTPUT07; U13X" PRINT#1,"ENTER07" INPUT PRINT +0950.30 PRINT#1,"ENTER07" INPUT A$ PRINT A$ +0250.60 PRINT#1,"ENTER07"...
  • Page 222: Data Format (F

    Appendix C Example 6: Example 6 shows how to retrieve the Last readings for a subset of the configured channels. PRINT#1,"OUTPUT07 F0,0 Q1,1,0,0,0X" PRINT#1,"OUTPUT07 C1-4,1X" PRINT#1,"OUTPUT07; R#2-3X" PRINT#1,"ENTER07" INPUT A$ PRINT A$ +0250.60 PRINT#1,"ENTER07" INPUT A$ PRINT A$ -0049.50 Data Format (F) Readings from ChartScan are output in the format configured by the user.
  • Page 223: Data Output Formats

    Registers, Data Formats, & Queries Examples: PRINT#1,"OUTPUT07; F0,0X" PRINT#1,"OUTPUT07;F1,1X" PRINT#1,"OUTPUT07;F3,3X" Data Output Formats Data Output formats differ slightly from data input formats in that binary formats may be used for Channel Data. Channel Data is the only output data which may use the binary format (if it is specified). Channel Data is defined as data originating from the High/Low/Last (HLL) Registers or the Acquisition Buffer.
  • Page 224 Appendix C Centigrade: -3276.7 < C < +3276.7 Fahrenheit : F = (9/5)C + 32 Rankine: R = (9/5)C + 491.69 Kelvin : K = C + 273.16 For channels configured as thermocouples, all ASCII readings will be returned in the format which corresponds with the engineering unit selected.
  • Page 225: Scan Interval

    Registers, Data Formats, & Queries Scan Interval Scan Interval formats have the following ASCII format: hh:mm:ss.t An example: = Scan interval of 1 hour, 2 minutes and 3.5 seconds 01:02:03.5 Binary Data Format Only High/Low/Last (HLL) register and acquisition output data, may be in binary format. Binary formatted data can be output in either highbyte/lowbyte or lowbyte/highbyte format.
  • Page 226: Configuring Power-Up State

    Appendix C Configuring Power-Up State ChartScan has an internally stored factory default configuration that can be recalled at any time. You can program the ChartScan to power-up in a “user-defined” state, or if desired, can configure the unit to power-up with the default configuration.
  • Page 227: Queries

    Registers, Data Formats, & Queries Queries ChartScan provides many ways to query the unit for specific information. Most commands have a corresponding query command which responds with the configuration or mode of a previously executed command. In addition, the operation) to return information about various ChartScan conditions. Query (?) Commands Most commands have a corresponding query command formed by appending a question mark ( command letter.
  • Page 228: Status, Event Reporting, And Mask Registers

    Appendix C Causes ChartScan to return a fixed-length status message string. The status message shows the current options in use for each command. Causes ChartScan to return a decimal number from 000 to 255. This number is the decimal equivalent of the binary information on the digital input lines (on the rear panel, card edge digital I/O connector).
  • Page 229: Theory Of Operation

    Registers, Data Formats, & Queries Status and Event Reporting Registers Register Access Read/Clear Calibration Status Read/Clear Error Source Read/Clear Event Status Read Status Byte Mask Registers Register Access Read/Write/ Event Status Clear Enable Read/Write/ Clear Service Request Enable Note: The mmm defines the contents of the register to be written. Theory of Operation The following figure shows the general operation and relationship between the status reporting and mask registers.
  • Page 230 Appendix C Registers, Data Formats, & Queries ChartScan User’s Manual C-13...
  • Page 231: Calibration Status Register

    Registers, Data Formats, & Queries Calibration Status Register (U2 Command) The calibration status register indicates which calibration errors, if any have occurred. The individual errors are described in the U2 command. Any calibration error will be mapped into the Calibration Status which maps to the Calibration Error bit in the Error Source Register.
  • Page 232: Status Byte Register

    Appendix C Status Byte Register The acquisition device sets the Message Available bit (MAV) in the Status Byte Register to determine if data can be read by the controller. This is the only status reporting register which requires RS-232 interface users to use a different read command than IEEE 488 interface users.
  • Page 233: Service Request Enable Register

    Registers, Data Formats, & Queries Bit Location Description Set, Clear and Descriptive Information Alarm Set when the scanning device has sensed a valid alarm condition. The alarm is DI01 cleared when the alarm condition no longer exists. DI02 Trigger Set when ChartScan has detected the trigger condition and will be cleared when the acquisition is complete or the trigger has been reconfigured.
  • Page 234: Using Status Reporting Registers

    Appendix C The ESB in the Serial Poll Status Register is also cleared by these operations. The Command Error, Execution Error and Device Dependent Error are also cleared with an Error Query (E?) command. Bit Location Description Set, Clear and Descriptive Information Alarm Set when the acquisition system has sensed a valid alarm condition.
  • Page 235: Trigger Latency

    Registers, Data Formats, & Queries Trigger Latency Each trigger source has an associated latency. This is the time between the actual trigger and its recognition by the acquisition device. The following latency times are only representative of the time between when the trigger is detected and when the trigger has been processed.
  • Page 236: Buffer Overrun With One Trigger Block

    Appendix C IEEE 488 PRINT#1, “SPOLL 07" INPUT #2, S% IF (S% and 128 = 128) THEN PRINT “Buffer Overrun Occurred” ENDIF IEEE 488 and RS-232 PRINT#1, “OUTPUT07; U1X” PRINT#1, “ENTER07" INPUT #2, S% IF (S% and 128 = 128) THEN PRINT “Buffer Overrun Occurred”...
  • Page 237 Registers, Data Formats, & Queries Appendix C − Notes C-20 ChartScan User’s Manual...
  • Page 238 Appendix D ChartScan Program Examples Reference Note: You may find Appendix A useful while reading through these examples. Appendix A contains descriptions and examples of the Application Program Interface (API) Commands. Contents Overview ------------------------------------------------------------------------------------------------------------------------D-1 Reading HLL Status using HLL16.BAS --------------------------------------------------------------------------------D-2 Reading HLL Data from T/C and Volts Cards using HLL32.BAS------------------------------------------------D-2 Acquiring Pre-&...
  • Page 239: Reading Hll Status Using Hll16.Bas

    ChartScan Program Examples Reading HLL Status using HLL16.BAS The following program is HLL16.BAS in the EXAMPLES directory. It will configure 16 channels, collect the HLL (high/low/last) data, and post it on the screen. Although not necessary, it is good practice to reset the ChartScan at the beginning of your application by sending it the “*R”...
  • Page 240 Appendix D Until another key is pressed to exit the loop, the U4 command is issued and the high/low/last data is collected. The OUTPUT command sends U4 to the device, the ENTER command requests the data, then the QuickBASIC’s LINE INPUT gets the data from the IEEE 488 driver and places it in the variable U$. The FOR loop extracts the data for the individual channels from the string U$ and places them on the screen.
  • Page 241 ChartScan Program Examples command sets up the trigger parameters for the acquisition. In this example, the start event is an ‘ character sent by the controller, and the stop event is also an ‘ (off), so that the ChartScan will not re-arm itself for another acquisition after this acquisition is complete. The synchronization flag is also off, so the ChartScan will not re-synchronize itself to the trigger point when the start event begins.
  • Page 242: Acquiring Pre-& Post-Trigger Data At The Same Rate Using Fast_Acq.bas

    Appendix D Acquiring Pre- & Post-Trigger Data at the Same Rate using FAST_ACQ.BAS The following program, FAST_ACQ.BAS, in the EXAMPLES directory will set up the ChartScan for fast acquisition then bring the values into the controller after the acquisition is complete. From a logic standpoint, the difference between this and SLOW_ACQ.BAS is that this program reads blocks of data instead of one scan at a time.
  • Page 243: Operating Alarms Using Alarm2.Bas

    ChartScan Program Examples Using the event status register command “ includes the stop event. WHILE (U% AND 1) <> 1 PRINT #1, “OUTPUT 07;U0X” PRINT #1, “ENTER 07" INPUT #2, U% WEND PRINT “The Acquisition is now complete” During or after the acquisition has been completed, the internal buffer can be queried for the amount of data available for transfer.
  • Page 244 Appendix D After the C command is issued, the ChartScan is now completely armed for alarming. In our example, levels above 18 or below 1 will cause a system alarm. If the intent of the application was to use alarm levels to trigger an acquisition, only the following line would be required to arm the alarms to satisfy the trigger and/or stop events.
  • Page 245: Using The Ieee 488 Srq With Alarms Using Alar2Srq.bas

    ChartScan Program Examples Using the IEEE 488 SRQ with Alarms using ALAR2SRQ.BAS The following program, ALAR2SRQ.BAS, in the EXAMPLES directory will set up the alarm system of the ChartScan and then use the IEEE 488 Service Request signal to asynchronously service the event. Although not necessary, it is good practice to reset the ChartScan at the beginning of your application by sending it the “*R”...
  • Page 246: Collecting Data In Binary Format Using Bin_Acq.bas

    Appendix D The O? query command returns the following string representing all 4 ports digital output status. Oxxx, xxx, xxx, xxx AlarmHandler: LOCATE 5, 1 PRINT “An Alarm condition has been detected..” PRINT #1, “SPOLL 07" INPUT #2, S% PRINT #1, “OUTPUT 07;O?X” PRINT #1, “ENTER 07"...
  • Page 247 ChartScan Program Examples PRINT “The ChartScan is currently collecting pre-trigger PRINT “The ChartScan has not been triggered..” PRINT “Hit a key to start a trigger event ..”: WHILE INKEY$ = “”: WEND PRINT #1, “output07;@X” WHILE (S% AND 2) <> 2 PRINT #1, “SPOLL 07"...
  • Page 248 Appendix D Collecting Binary-Formatted HLL Data using BIN_HLL.BAS The following program, BIN_HLL.BAS, in the EXAMPLES directory will set up the ChartScan to collect High/Low/Last channel readings in a binary format rather than the default ASCII format. This is inherently faster than ASCII format, but the data must be deciphered after it is collected to yield temperature values. This program configures the channels, uploads HLL data in High speed binary mode, decodes this data and displays it on the screen.
  • Page 249 ChartScan Program Examples WHILE INKEY$ = "" PRINT #1, "OUTPUT 07;U4X" PRINT #1, "ENTER 07 #"; CHANNELS% * 20; " BUFFER "; S%; ":"; O%; " DMA" PRINT "High, Low and Last readings of all 32 channels :" 'Decode received data and print on screen in ASCII FOR i = 1 TO BYTES STEP 20 HIGH$ = STR$(CVI(MID$(READS, i, 2))) HOURh$ = STR$(ASC(MID$(READS, i + 2, 1)))
  • Page 250: Using Auto-Rearm To Capture Multiple Trigger Blocks Using Blk_Acq.bas

    Appendix D Using Auto-Rearm to Capture Multiple Trigger Blocks using BLK_ACQ.BAS The following program, BLK_ACQ.BAS, in the EXAMPLES directory will set up the ChartScan for auto- rearm, which rearms the unit for another trigger event as soon as the present acquisition has been completed.
  • Page 251 ChartScan Program Examples Using the U6 query, the controller gets the trigger block string, which, among other things, supplies the block complete flag, indicating the state of the present trigger block. The block is marked complete when the last post-stop scan is recorded into the buffer. PRINT “Waiting for completion of Block ”;...
  • Page 252 Appendix D 'find the pointer to DataBuffer$ for DMA transfer buffseg% = VARSEG(DataBuffer$) DX% = VARPTR(DataBuffer$) buffoff% = FNPEEKW(DX% + 2) 'Program the ChartScan to power on with Factory default PRINT #1, "CLEAR 07" PRINT #1, "OUTPUT 07;*S1X" 'Reset ChartScan and make sure it is ready CLS : PRINT "The ChartScan is resetting.."...
  • Page 253 ChartScan Program Examples 'Query the ChartScan for the # of scans available in the Buffer PRINT "An SRQ has been detected.." PRINT #1, "SPOLL07" INPUT #2, sp% PRINT "spoll response before :"; sp% PRINT #1, "OUTPUT 07;U0X" PRINT #1, "ENTER 07" INPUT #2, EVENT% PRINT "EVent Status before :";...
  • Page 254: Configure For High-Speed, Single-Channel Burst Mode Using Burst.bas

    Appendix D Configure for High-Speed, Single-Channel Burst Mode using BURST.BAS configures ChartScan for the High-Speed, Single-Channel (Burst) measuring mode, sets up an BURST.BAS acquisition, waits for its completion and uploads the data in ASCII, as well as posts it on the screen. This program also stops in the event of a buffer overrun.
  • Page 255 ChartScan Program Examples 'Query the ChartScan for the # of 256 sample scans available in the Buffer PRINT #1, "OUTPUT 07;U6X" PRINT #1, "ENTER 07" LINE INPUT #2, U$ UA$ = MID$(U$, 9, 7) UA% = VAL(UA$) PRINT "The ChartScan collected "; UA%; " scans of data" 'Program terminators for LF EOI and a space between channels PRINT #1, "OUTPUT 07;V32X Q7,0,7,7,1X"...
  • Page 256 Appendix E Bus States, Bus Lines, and Data Transfer Aspects Bus State Bus Line Bus Management Lines Interface Clear Remote Enable IEEE 488 Interface: Bus Management Lines Attention (&H04) End-Or-Identify (&H80) Service Request (&H40) IEEE 488 Interface: Handshake Lines Data Valid (&H08) Not Data Accepted (&H10) NDAC Not Ready For Data (&H20)
  • Page 257 − Notes ChartScan User’s Manual...
  • Page 258 Appendix F ASCII Code Summary Decimal Values 00 to 63 – ACG, UCG & LAG 00 $01 08 $09 16 $11 24 $19 32 $21 40 $29 48 $31 56 $39 ChartScan User’s Manual, 11-97 Box Items Hexadecimal Value Bus Message Addressed Command Group ( 01 $02 02 $03...
  • Page 259 Decimal Values 64 to 127 – TAG & SCG 64 $41 72 $49 80 $51 88 $59 96 $61 ‘ 104 $69 112 $71 120 $79 Box Items Hexadecimal Value Bus Message Talk Address Group ( 65 $42 66 $43 67 $44 73 $4A 74 $4B...
  • Page 260 ASCII Code Details Decimal Values 00 to 31 – ACG & UCG Characteristics Value Value ($ or &H) Addressed Command Group ( Universal Command Group ( Notes: • ASCII control codes are sometimes used to “formalize” a communications session between communication devices.
  • Page 261 Decimal Values 00 to 31 – ACG & UCG Descriptions Name Addressed Command Group ( Null ( Start of Header ( Start of Text ( End of Text ( End of Transmission ( Inquiry ( Acknowledgement ( Bell ( Backspace ( Horizontal Tab ( Line Feed ( Vertical Tab (...
  • Page 262 Decimal Values 32 to 63 – LAG Character Listen Address Group (LAG) <space> Listen Address Group (LAG) ChartScan User’s Manual ASCII Character Set (Decimal 32 to 63) Name Bus Message Space Bus address 00 Exclamation Point Bus address 01 Quotation Mark Bus address 02 “...
  • Page 263 Decimal Values 64 to 95 – TAG Character Talk Address Group (TAG) Talk Address Group (TAG) ASCII Character Set (Decimal 64 to 95) Name Bus Message At Sign Bus address 00 Capital A Bus address 01 Capital B Bus address 02 Capital C Bus address 03 Capital D...
  • Page 264 Decimal Values 96 to 127 – SCG Character Secondary Command Group (SCG) Secondary Command Group (SCG) ChartScan User’s Manual ASCII Character Set (96 to 127) Name Bus Message Grave Command 00 ’ Lowercase A Command 01 Lowercase B Command 02 Lowercase C Command 03 Lowercase D...
  • Page 265 ASCII Code Summary Appendix F − Notes ChartScan User’s Manual...
  • Page 266 Appendix G ChartScan Error Messages At initial power-up, ChartScan performs automatic self-tests to ensure it is fully functional. Rear-panel LEDs indicate errors, if they occur. Possible error conditions and their corresponding indicator light patterns are shown in the following table. Any pattern not shown indicates an internal error that is not field-serviceable; in this case, contact the factory.
  • Page 267 ChartScan Error Messages the Set Scan Interval (I) command is issued during an acquisition (tstart 0). After execution of the Error Status Query, most error conditions are cleared. Error conditions may also be cleared by issuing a Clear Event Status (U0) command to the unit.
  • Page 268 Appendix H Abbreviations (bullet symbol) “and” (e.g. *SC CA (asterisk symbol) “unasserted” (e.g. Not Controller Active mode Not System Controller mode Analog-to-Digital Addressed Command Group Acknowledgement (ASCII Control Code) Analog-to-Digital Converter Application Program Interface American Standard Code for Info. Interchange ASCII Attention line Bell (ASCII Control Code)
  • Page 269 Abbreviations Appendix H − Notes ChartScan User’s Manual...
  • Page 270 Index Abbreviations, Appendix H AC Voltage, Measuring of, 4-40 AC RMS Voltage, Measuring of, 4-40, 4-41 Alarms, 4-24, 4-33, 4-34, B-26 API Commands, see Appendix A ASCII Code Summary, see Appendix F Auto Re-arm, 4-42, 4-43 Burst Mode, 4-37, 4-39 Bus Lines, see Appendix E Bus States, see Appendix E Calibration...
  • Page 271 ChartScan User’s Manual...
  • Page 272 WARRANTY/DISCLAIMER OMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for a period of 13 months 13 months from date of purchase. 13 months 13 months period to the normal one (1) year product warranty one (1) year product warranty one (1) year product warranty to cover handling and shipping time.
  • Page 273: Data Acquisition

    TEMPERATURE Thermocouple, RTD & Thermistor Probes, Connectors, Panels & Assemblies Wire: Thermocouple, RTD & Thermistor Calibrators & Ice Point References Recorders, Controllers & Process Monitors Infrared Pyrometers PRESSURE, STRAIN AND FORCE Transducers & Strain Gauges Load Cells & Pressure Gauges Displacement Transducers Instrumentation &...

This manual is also suitable for:

Omb-chartscan-1400

Table of Contents