Omega Engineering OMB-NETSCAN 1500 User Manual

Ethernet/internet-based data logging & control instrument
Table of Contents

Advertisement

Quick Links

OMB-NETSCAN
Ethernet/Internet-Based
Data Logging & Control Instrument
User's Guide
OMB-1035-0901
1.0
p/n
Rev

Advertisement

Table of Contents
loading

Summary of Contents for Omega Engineering OMB-NETSCAN 1500

  • Page 1 OMB-NETSCAN Ethernet/Internet-Based Data Logging & Control Instrument User’s Guide OMB-1035-0901...
  • Page 2: United Kingdom

    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: Configuring and Starting NetScan provides information to get your NetScan system up and running on the ethernet. Includes software installation instructions. Chapter 2: ChartViewNET Quick Start and Tutorial includes basic concepts regarding the ChartViewNET software program, and a ChartView tutorial to quickly familiarize you with the application.
  • Page 4: Table Of Contents

    Table of Contents 1 Configuring and Starting NetScan Overview……1-1 Inspect Your System ……1-1 Install Software ……1-2 Check and Install Hardware …… 1-2 Verify Voltage Setting ……1-2 Verify DIP Switch Setting ……1-2 Install Signal Conditioning Card(s) …..1-2 Connect Expansion Chassis (option)…..1-3 Setup for Ethernet Operation……...
  • Page 5 6 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-4 Interface Parameters System Inventory Calibration Calibration Without ScanCal ……6-5 Password ……6-5 Calibration Mode Indicator ……6-5 Command Active Indicators ……6-5 Manual Calibration of Main Unit ……6-6 Offset Calibration of Main Unit ……6-6...
  • Page 6 NetScan User’s Manual...
  • Page 7: Configuring And Starting Netscan

    Configuring and Starting NetScan Overview…… 1-1 Inspect Your System…… 1-1 Check and Install Hardware…… 1-2 Verify Voltage Setting…… 1-2 Verify DIP Switch Settings…… 1-2 Install Signal Conditioning Card(s)…… 1-2 Connect Expansion Chassis (option)…… 1-3 Setup for Ethernet Operation…… 1-4 Complete Hardware Setup for Ethernet Operation……...
  • Page 8: Check And Install Hardware

    Check and Install Hardware Depending on your order, your NetScan 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. Verify Voltage Setting Based on your order, your NetScan system was set at the voltage indicated on the sticker (located on the rear of the unit, near the power switch).
  • Page 9: Install Signal Conditioning Card(S)

    Install Signal Conditioning Card(s) Signal conditioning cards are pre-installed per customer order. However, if you need to install a signal conditioning card, or CSN/Relay card, perform the following steps. Repeat the steps for additional cards, and for placing cards into the optional CSN/Exp expansion chassis, if applicable. Ensure NetScan is powered down and not connected to any power source prior to installing or removing a card.
  • Page 10: Setup For Ethernet Operation

    Setup for Ethernet Operation Complete Hardware Setup for Ethernet Operation If you want to operate your NetScan unit independent of (not-connected to) the ethernet, refer to Chapter 7 for serial operation. If you ordered a expansion chassis (CSN/Exp), please refer to Chapter 7 for installation instructions.
  • Page 11 If you observe a configuration error, perform an error status query (see E? in Appendix A). If you observe any other type of error condition, make note of the error and contact your service representative. Error Condition General Hardware Failure ROM Invalid for U22, COMM2 ROM Checksum Error for U21 Comm1...
  • Page 12 If you ordered ChartView Plus, you must enter the registration ID number as it appears on your ChartView Plus Registration Sheet. Otherwise, press Next and continue to follow the screen prompts. Screen Prompt for Entering the ChartView Plus ID Using the NetScan Configuration Utility NetScan must be configured before you can use it in the ethernet mode.
  • Page 13 You will receive a “>>Communications Error<<” if the NetScan Configuration Utility fails to communicate with NetScan. Likely causes are: 1) Wrong COMM Port selected in the utility (step1). 2) Serial cable connected to wrong connector on NetScan, PC, or both. If you received the error message, check system cable connections, correct the problem, then return to Step 2 and perform the requested actions.
  • Page 14: Netscan And Tcp/Ip Addressing

    NetScan and TCP/IP Addressing Protocol The NetScan uses TCP/IP (Transport Control Protocol/Internet Protocol) for communications over the ethernet. You can access NetScan devices from virtually anywhere in the world since the World Wide Web uses this same protocol. TCP/IP addressing consists of three parameters: the IP address, the Sub-net Mask, and the Gateway Address.
  • Page 15: Configuration

    Configuration There are four basic network scenarios that pertain to NetScan ethernet operation. Note that proper TCP/IP configuration is extremely important, and you must obtain TCP/IP addressing parameters before configuring the protocol. The rules for configuration differ for each scenario as follows: 1) Point-to-Point Setup Point-to-Point Setup In the Point-to-Point scenario, NetScan is connected directly to a PC using a crossover cable.
  • Page 16: Private Lan Setup With Multiple Networks

    3) Private LAN Setup with Multiple Networks In multiple-network scenarios, two or more networks connect to a common gateway via ethernet hubs. In regard to multiple networks, a qualified network administrator should assign all TCP/IP parameters. 4) LAN Setup with Internet Access In internet access scenarios, a network adminstrator usually assigns TCP/IP parameters.
  • Page 17 The following figure and table identify pin locations for outputs, inputs, and grounds associated with the DB50 connector. Outputs 1 through 32 are typically used for alarms 1 through 32, respectively. Outputs 1 through 16 can be used with the relay card option. Chapter 7 contains additional information. Output Signal NetScan User’s Manual...
  • Page 18 − Notes 1-12 Configuring and Starting NetScan NetScan User’s Manual...
  • Page 19: Chartviewnet Quickstart And Tutorial

    ChartViewNET Quick Start and Tutorial Overview ……2-1 ChartViewNET, Basic Concepts ……2-1 Configuration Files ……2-1 Understanding Groups, Charts, & Channels ……2-2 Three Ways of Using ChartViewNET ……2-3 ChartViewNET Quick Start ……2-3 ChartViewNET Tutorial ……2-6 Overview This chapter provides the steps to connect, power up, and run NetScan using the TCP/IP protocol. Although there are many ways to configure NetScan, this Startup is intended for a simple setup.
  • Page 20: Groups, Charts, & Channels

    ChartView uses Chartvw.cvw configuration information including: • Device Interface Mode • Hardware Configuration • Channel Settings: • Acquisition Configuration • Data Storage Settings The configuration file ensures that when you restart ChartView, it will be in the same state upon your last exit.
  • Page 21: Three Ways Of Using Chartviewnet

    Three Ways of Using ChartViewNet You can use ChartViewNET 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 1) 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 22 Ú = 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 23 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 24: Chartviewnet Tutorial

    • ChartView Analog Meters • ChartView Digital Meters • ChartView Bar Graph Meters The meter-type data displays, along with the charts, can be on your computer screen at the same time. They can be re-sized and repositioned as desired. Analog, Digital, and Bar Graph meters are detailed in Chapter 4.
  • Page 25 2. Configure Chart Setup ◊ (4) On the Select Interface box, shown in step 1, click “OK.” A Chart Setup Wizard window appears (see following figure). ChartView Plus has Chart Setup Wizard options including Moderate and Advanced Automatic Note: Chart Creation, as well as the ability to create multiple groups. ChartView Plus features can be unlocked by use of an authorized registration ID number as an unlock code.
  • Page 26 Note: Once your chart setup is complete you can always go back and edit the setup. For the purpose of our tutorial, complete the following steps. Note that these steps are catered to ChartView Plus . Comments regarding standard ChartView are presented in brackets [ ].
  • Page 27 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 28 4. Configure Acquisition. ◊ (18) Click on the Acquisition Setup tab (see previous figure). An Acquisition Configuration dialog box appears. The box can be in either of two modes – (1) Normal , or (2) High-speed, single channel. Note that you can also access the Acquisition Configuration dialog box from the Setup pull-down menu or the Channel Configuration button (item 8, below).
  • Page 29 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 30 6. [Optional]. Save Configuration File. Although the updated want to manually initiate a save. This will help you save time if an error occurs that may corrupt your configuration. You may create a new configuration file by using an existing one and making the necessary changes.
  • Page 31: General Information And Specifications

    General Information and Specifications 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…… 3-1 Operational Aspects……...
  • Page 32: Operational Aspects

    Although NetScan can acquire temperature readings at a rate of 147 channels/sec, you may also program the unit to acquire data at specified time intervals using the program separate pre-and post-trigger sample rates. As an example, NetScan can be programmed to sample data once per hour and then sample once per second when channel 2 reaches 70°C.
  • Page 33: Software And Hardware

    Software and Hardware Software ChartViewNET PostView ScanCal CIMScan ScanServer 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...
  • Page 34 Min channel configuration Max channel configuration 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. NetScan’s expansion connector (PH401) is located on the analog backplane board.
  • Page 35 Scan Interval: • Absolute time between scans ( max = 99:59:59.9. Note: Specifying a value of 00:00:00.0 results in no delay between channel scans. Triggers Installation Category: • CE: Category 1. Programmable Triggering: • Temperature or Voltage level (above or below), absolute time of day, alarm condition (on or off), external TTL trigger (rising or falling), specified number of readings.
  • Page 36 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 37 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: NetScan 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 38 − Notes General Information and Specifications NetScan User’s Manual...
  • Page 39: 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 40: Groups, Charts, & Channels

    Groups, Charts, & Channels When starting the program with no configuration file present (see Chapter 2 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 41: What Chartview And Chartview Plus Provide

    Some of the data acquisition scenarios pertaining to ChartView are as follows: 1) Waiting for Trigger S e n sor B u ffe r Acquisiton Device Data is received by acqu isition device, but not stored. Selected cha nnels can be view ed graph ically in scrolling cha rts, as well as in one or m ore m e te rs (analo g, digital, or bar graph).
  • Page 42: 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 43 Ú = 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 44: 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 45: 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 46: 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 47: 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 48 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 49 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 50 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 51 (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 52 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 53: 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 54: 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 55 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 56 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 57 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 58 Acquisition (continued) Automatic Keyboard Trigger on Auto Re-arm Acquire Arm Acquisition Arms the data acquisition device in preparation of receiving a trigger. (Ctrl + T) Disarm… Disarms the data acquisition device and discontinues the acquisition of data. (Ctrl + Y) Acquisition Status...
  • Page 59 This area contains two fields for entering command characters, one for row setting and one for column Command 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 60 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) Enables ChartView to access device memory and upload scans until scanning is complete. Upload Scans Until Done Window...
  • Page 61 ¾ ¾ 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 62 Network brings up the Network Interface Settings dialog box. A valid registration number must be entered Network screen 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 63 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 64 Log Enable Once an alarm log file exists, log enable can be used to activate the logging process; or to disable an 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 65: Bar Graph, Analog, & Digital Meters

    Setup Accesses the Setup Window for configuring channels and alarms. From the Channels & Alarms Ctrl+L channels & alarms dialog box, you can select the Acquisition Setup and Data Destination dialog boxes. Accesses the Acquisition Setup dialog box. From the Acquisition Setup box, Acquisition you can select the Channels &...
  • Page 66: 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 67: 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 68: 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 69: 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 70: 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 71: 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 72 Channel and Alarm Setup Dialog Box Message and Pull-Down List Aspects Column Reading Type Label Units High Hyst Alarm# A “3” indicates the associated item has a pull-down list from which a selection can be made. The preceding table indicates message and pull-down menu aspects of the Channel and Alarm Setup Dialog Box.
  • Page 73 Channel Configuration Columns  This column serves only as a channel number indicator. The channel number cannot be Channel (CH) 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 74: Acquisition Setup Dialog Box

    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 75 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 76 Acquisition Setup Dialog Box, High-Speed, Single-Channel Mode 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 77: 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 78: Why Use Auto Re-Arm

    Auto Re-arm allows you to choose one of the following three options: • capture one trigger block (default, Auto Re-arm disabled) • capture multiple trigger blocks in one file • capture multiple trigger blocks in indexed files Why use Auto Re-arm? You can use Auto Re-arm as a convenient way to monitor and analyze specific types of trigger events.
  • Page 79: 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 2. 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 80: 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 81: 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 82 − Notes 4-44 ChartView Software Reference NetScan User’s Manual...
  • Page 83 PostView Introduction ……5-2 Starting PostView ……5-3 Toolbar ……5-4 Channel Information Region ……5-5 Menu Items ……5-6 Understanding Groups, Charts, and Channels ……5-7 Chart Setup Wizard ……5-7 Introduction ……5-7 Automatic Display Creation ……5-8 Display Configuration ……5-9 Editing a Display ……5-10 Manually Creating a Display ……5-12 PostView Timebase ……5-15 Data File Accessibility PostView post-data-acquisition software supports several programs, including: ChartView, DaqView,...
  • Page 84: Postview

    Introduction PostView is an independent program that allows you to view waveforms recorded by various data acquisition programs. As the data file is being created, a descriptor file used by PostView is also created. Ú = Mouse, = Arrow Keypads , Group Select Open Print...
  • Page 85: Starting Postview

    Starting PostView The main ways of starting PostView are: 1) Open PostView directly from the Windows Explorer, Desktop Icon, or Start Run browse feature (on desktop). 2) From the acquisition program’s main window, click on the toolbar’s PostView button, or select PostView from the pull-down menu.
  • Page 86: Toolbar

    Note: Chart Setup Wizard can be started from the File pull-down menu. Chart Setup Wizard’s use in PostView is discussed on page -7. Toolbar The following table explains PostView toolbar items, while the next page begins a description of PostView Menu items.
  • Page 87: Channel Information Region

    Channel Information Region By clicking on the up or down arrows ( channel (of a maximum of 4 overlapping channels) that were assigned to that chart. You could then observe the chart-related information for that specific channel. You can also select a new channel for the information region by placing the cursor in (or tabbing over to) the “Center”...
  • Page 88: Menu Items

    Menu Items File Open Print Setup Wizard Exit Go To Percentage (Ctrl+P) Scan Number (Ctrl+S) Time (Ctrl+m) Trigger Point (Ctrl+T) Note: In PostView Version 3.0 – If there is a Pre-trigger, then Pre-trigger and Post-trigger times (in seconds) are displayed in the Go To menu’s dialog box. Options Zoom Graph Out Zoom Graph In...
  • Page 89: Understanding Groups, Charts, And Channels

    Understanding Groups, Charts, and Channels As indicated in the figure on page -3, when no display configuration file is found, PostView opens the Chart Setup Wizard to assist you in creating a display file. To make the best use of Chart Setup Wizard you need to understand the relationship of Groups, Charts, and Channels.
  • Page 90: Automatic Display Creation

    A Manual Chart Creation, Create Charts button allows you to bypass the Chart Setup Wizard and enter a manual editing mode. This option makes use of PostView’s Display Configuration feature (discussed in the following Display Configuration section). 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 91: Display Configuration

    It is a simple task to create a chart display configuration using the automatic method. The following steps apply to this feature of Chart Setup Wizard. Note: If PostView locates a display configuration file, Chart Setup Wizard will not be activated unless you choose to manually activate the Wizard from the File pull-down menu.
  • Page 92: Editing A Display

    Editing a Display Display Configuration Setup Dialog Box with an Existing Configuration To explain editing a configuration, we make use of an example in which assumes you want to edit Chart 1. In the following figure, Chart 1 was highlighted by clicking on it with the mouse cursor. The Display Configuration Setup box then changed, allowing you to see specific channel types (such as volts only) or to “Show all Types,”...
  • Page 93 Another variation of the Display Configuration Setup box appears when you highlight a channel. In the following figure, Channel 1 (of Chart 1, Group 1) was selected, resulting in a new screen image. From this screen you can edit the channel setup. Adjusting Channel Setup for Channel 1 PostView channels can be set for either of two modes: Units Full Scale or, Units/Div.
  • Page 94: Manually Creating A Display

    Manually Creating a Display Note: This method of creating a display can only be accessed from the Chart Setup Wizard. It cannot be accessed if PostView is using an existing display configuration file. Unlike editing a display, as just described, this method involves creating a display from scratch. If you plan to have a chart setup which is not weighted evenly, i.e., different numbers of channels per chart and different numbers of charts per group, you may want to manually create your chart display in this manner.
  • Page 95 Adding a Chart to Group 1 Change the number of charts per group if desired. Change the group name if desired. Click on a group to see the chart(s) assigned to the group. In the above example there is one group with one chart.
  • Page 96 Note: You can remove channels by highlighting a channel(s) in the Select Channels box, and then clicking on the Remove button. In the previous figure, CH7 (in the select box) is highlighted. Clicking the Remove button would delete that channel from Chart1. Note: When a chart contains overlapping channels which share values (such that their traces reside on top of each other), the more recent channel will obscure the earlier channel.
  • Page 97: Postview Timebase

    PostView Timebase PostView automatically detects and displays the data file timebase along the X-axis at the bottom of the PostView window. The timebase can be displayed as relative time or as absolute time in the format: 00:00:00.0 (hour/minute/second/tenth). The timebase format of absolute or relative can be selected in PostView’s Option pull-down menu, or by using Ctrl+A or Ctrl+R respectively.
  • Page 98 It is possible for the data acquisition program to create files containing multiple timebases, pre-trigger, post- trigger, and post-stop data. PostView accommodates all these features, as shown in the previous example (taken from a ChartScan/1400 unit with the ChartView data acquisition program). •...
  • Page 99: Calibration

    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-4 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 100: 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 101: 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 102: Using Scancal

    Using ScanCal To use ScanCal, simply follow the four steps listed under the word Instructions in ScanCal’s Main Window. The steps are repeated below, along with the proper tool icon and equivalent pull-down menu option. Instructions for setting up calibration equipment are contained in specific sections of this chapter, for example, the section Offset Calibration of Main Unit details how to use a calibration card and either of two shorting methods.
  • Page 103: System Inventory

    System Inventory Select the Inventory icon from the toolbar to generate a list of items that make up your scanning system. Select the items you wish to calibrate. Calibration Select the Calibration icon from the toolbar to initiate the automatic calibration process. The ScanCal program will prompt you through the calibration.
  • Page 104: 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 105 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 106: 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 107 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 108: 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 109 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 110: 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 111 Connect an applicable calibration harness to each card. Refer to figure below. NetScan User’s Manual Calibration 6-13...
  • Page 112 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 113: 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 114 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 115: 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 116 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 117 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 118 6-20 Calibration NetScan User’s Manual...
  • Page 119: Overview

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

    Rear Panel NetScan’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 121: Power Aspects

    Ethernet Interface, section of Rear Panel LED Indicators Activity - ON when data is being sent or received through the internet. Link - ON when the NetScan unit has a solid connection to the internet. Ethernet - ON when the ethernet interface is enabled and functioning properly. Ethernet Connector Accepts a 10Base-T type ethernet cable for connecting to a PC ethernet connector, or to an ethernet hub.
  • Page 122: Replacing The Ac Power Supply Fuse

    As indicated in the figure, press down on the switch to change the setting from 115VAC to 230VAC. To change the setting from 230 to 115VAC, you must press up on the switch. Replace NetScan’s cover plate and secure with screws. Add a new sticker, or tag, stating the newly selected voltage.
  • Page 123 NetScan provides three options for expanding the standard 256 KB of memory to 1 MB (CSN/MEM1), 4 MB (CSN/MEM4), or 8 MB (CSN/MEM8). To install a memory option into the unit, it is necessary to perform the following steps: Never disassemble NetScan’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 terminals, (3) disconnect AC power line, then disconnect any other cables.
  • Page 124: Calibration Memory Write Enable/Disable

    Calibration Memory Write Enable/Disable NetScan’s constants for chassis calibration and the calibration password are stored by NetScan 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.
  • Page 125: Configuring Rs-322/422 Parameters

    Configuring RS-232/422 Parameters The RS-232/422 interface is only to be used for serial communications. Cable length should not exceed 50 feet (15 meters). Note: The DIP switch is read only when power is applied to NetScan, and for that reason must be set before applying power.
  • Page 126: Serial Port Pin Connectors

    Configuration Settings on Rear Panel DIP Switch Micro- switch # COMM SELECT HANDSHAKE (H/S) PARITY 6,7,8 SERIAL BAUD RATE RS-232 RS-422 Note 1: At 9600 and 19200 baud rates, Handshake should be set for “Hardware Handshake only,” 10. Note 2: ChartView software will not run when Handshake is set for “Software Handshake only,”...
  • Page 127 NetScan to PC Connection DB9 Male Pin & Signal RxD- TxD- RTS- CTS- NetScan Connection DB9 Male Pin & Signal RxD+ RxD- TxD- TxD+ RTS+ RTS- CTS- CTS+ 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.
  • Page 128: Digital I/O Lines

    Digital I/O Lines NetScan 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 NetScan 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 NetScan main unit.
  • Page 129: External Ttl Bnc Connectors

    External TTL BNC Connectors NetScan’s rear panel provides two external trigger BNC connectors. The BNC TTL Scan output is used for synchronizing equipment with NetScan. NetScan 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 130: 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 131 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 132: 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 NetScan. 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 133: 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 134: Csn/Relay Card (For High-Current Digital-Output)

    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 NetScan’s slot 1 (bottom card slot). Only one relay card can be used per NetScan unit, and a relay card can not be installed in a NetScan expansion chassis.
  • Page 135: 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 136 C over Plate M ounting B lock (1 of 4) C onnecting the Expansion C hassis to N etS can Insert one end of the included 40-conductor ribbon cable (CA-154) into NetScan’s connector PH401. PH401 is located above the uppermost signal conditioning connector on the top edge of the analog back plane board. See the following figure, Connecting the Backplane Cards.
  • Page 137: Automatic Channel Assignment

    Automatic Channel Assignment Unless the CSN/Relay card is used, Channels 1 through 64 are automatically assigned to NetScan, while extended channels 65 through 128 are assigned to the expansion chassis. Even if a card slot is left empty in the NetScan 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 138 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 NetScan main unit or expansion chassis casing. Internal voltage potentials exist which could cause bodily injury or death! The Expansion Chassis contains no fuses;...
  • Page 139 Appendices Appendix A  API Commands Appendix B  Ethernet API Appendix C  Configuration Aspects for Programmers Appendix D  Registers, Data Formats, & Queries Appendix E  NetScan Program Examples Appendix F  ASCII Code Summary Appendix G  NetScan Error Messages Appendix H ...
  • Page 140 A-ii NetScan User’s Manual...
  • Page 141 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 142: Command Syntax

    API Command Reference 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 143: Fixed Formats

    Appendix A Fixed Formats Any Query ( )command or Status ( up to 65,535 always returns five digits, so zero would be returned as 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 144 API Command Reference The following is a list of all the immediate and deferred commands for NetScan. 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...
  • Page 145: Deferred Commands, Order Of Execution

    Appendix A 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...
  • Page 146: Command Summary

    API Command Reference 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 147 Appendix A 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 NetScan User’s Manual Syntax D#make Specify how long to wait after closing a channel relay before...
  • Page 148 API Command Reference Command Set Trigger Level Set Measuring Mode Set Event Mask Set Digital Outputs Program Trigger Times Query Set Query Terminator Query Card Data Read Buffered Data Syntax Lchan, Sets the level against which the testing of channel readings should level, be performed where hyst...
  • Page 149 Appendix A Command Read Last Readings Set Real Time Clocks Set Trigger Configuration User Status Set User Terminator Set Average Weight Execute Set Counts Select Blocks NetScan User’s Manual Syntax R#chans Queries the last readings from the HLL Registers for specified channels.
  • Page 150: Command Reference

    API Command Reference Command Reference The following pages provide the command set for NetScan. 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.
  • Page 151 Appendix A 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 152 API Command Reference 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 153 Appendix A 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 154 API Command Reference 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.
  • Page 155 Appendix A 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 156 API Command Reference 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 157 Appendix A 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...
  • Page 158 API Command Reference 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 159 Appendix A Note: Specifying a reserved type will cause an error. Note: Since the Configure Channels ( configured until the Execute ( good deal of processor time, it is recommended that as many Configure Channels ( be placed on one command line as possible. This will avoid unnecessary processing time overhead when configuring many channels.
  • Page 160 API Command Reference EXAMPLE PRINT#1, “F0,0X” PRINT#1, “*CX” PRINT#1,"C1,1,-100.0, 100.0, 0.5" PRINT#1,"C33-34,11" PRINT#1,"C65,2" PRINT#1,"X" PRINT#1,"U13X" LINE INPUT#1,A$ PRINT A$ 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, “C#0X”...
  • Page 161 Appendix A 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 162 API Command Reference 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 163 Appendix A TYPE EXECUTION SYNTAX DESCRIPTION The Set Data Format ( unit, and requires two arguments. The first argument format is the reading 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 164 API Command Reference 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 165 Appendix A EXAMPLES PRINT#1, “F0,0X” PRINT#1,“C1, 1, -100.0, 100.0, 1.0X” PRINT#1, “U4X” LINE INPUT #1, A$ PRINT A$ PRINT #1, “F1,1X” PRINT#1,“C1, 1, -100.0, 100.0, 1.0X” PRINT #1, “U4X” LINE INPUT #1, A$ PRINT A$ TYPE EXECUTION SYNTAX DESCRIPTION The Set Burst Mode Frequency ( High-speed, single-channel mode (burst mode).
  • Page 166 API Command Reference 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 167 Appendix A 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 168 API Command Reference 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 169 Appendix A 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 170 API Command Reference 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 171 Appendix A 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 172 API Command Reference 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 173 Appendix A TYPE EXECUTION SYNTAX DESCRIPTION The Set Measuring Mode ( NetScan 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 174 API Command Reference 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 Status Byte (STB) Register. Multiple ESR bits can be enabled simultaneously by issuing Set Event Mask ( ) commands separately or by combining them in one command string.
  • Page 175 Appendix A 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 176 API Command Reference 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 177 Appendix A 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 178 API Command Reference TYPE EXECUTION SYNTAX DESCRIPTION The Set Query Terminator ( resp : This argument specifies the response terminator for general purpose queries issued by the controller. 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 179 Appendix A 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 180 API Command Reference 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: Card Number Serial Number Card ID (type 16 - TC/Volts card) (type 17 - High Volts card) Refer to the Select Card ( EXAMPLE...
  • Page 181 Appendix A 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 182 API Command Reference 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 (...
  • Page 183 Appendix A 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 184 API Command Reference start defines the event that is to take place in order for the unit to begin acquiring 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.
  • Page 185 Appendix A 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 186 API Command Reference : 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 D for the format of the High/Low/Last response. : Reads and resets the High/Low/Last data.
  • Page 187 Appendix A • 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 188 API Command Reference : 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: *K - Change Calibration Keyword Configure Channels...
  • Page 189 Appendix A 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, “Q1,0,1,1,1X”...
  • Page 190 API Command Reference 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 191 Appendix A TYPE Acquisition EXECUTION Deferred Ypre,post, SYNTAX 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.
  • Page 192 API Command Reference Appendix A − Notes A-52 NetScan User’s Manual...
  • Page 193 Appendix B Ethernet API Reference Overview NetScan software provides an ethernet API that allows users to write programs. Support consists of two files, NPCI_WIN.DLL for 16-bit windows developers, and NPCI_W3V.DLL for 32-bit windows developers. The only system requirement is that the Windows TCP/IP protocol be loaded and configured. With a mechanism called session handles, the API can simultaneously handle multiple NetScan units.
  • Page 194 nIOLock Function: int nIOLock (long session, short iotype, short channel, short lock); Parameters: Long session Short iotype Short port Short lock Returns: 0 if successful, error code if not. Description: This function is used to lock the serial port of the NetScan adapter so that another session can’t have access to it.
  • Page 195 nSerialReceive Function: int nSERIALReceive (long session, short port, unsigned short flush, long timeout, short terminator, short length, char FAR *data, short FAR *xlength, unsigned short FAR *status); Parameters: Long session Short port Unsigned short flush long timeout Short terminator Short length Char FAR * data...
  • Page 196 nSerialSend Function: int nSERIALSend (long session, short port, unsigned short flush, long timeout, short terminator, short length, char FAR *data, short FAR *xlength, unsigned short FAR *status); Parameters: Long Short Unsigned short long Short Short Char FAR * Short FAR * Unsigned short FAR * Parameter Values: Port...
  • Page 197 Appendix C Configuration Aspects for Programmers 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. Reference Note: Hardware configuration is discussed in Chapter 7. Contents Memory Allocation ------------------------------------------------------------------------------------------------------- C-2 Measuring Modes --------------------------------------------------------------------------------------------------------- C-3...
  • Page 198: Memory Allocation

    Configuration Aspects for Programmers Memory Allocation Each NetScan 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 199: Measuring Modes

    Appendix C Measuring Modes Overview You can select either of two scanning modes for NetScan, 1) Normal mode or 2) High-speed, single channel mode. Mode “Average weight” Setting Normal 16, 32, 64, 128, or 1, 2, 4, or 8 High-speed, not selectable single-channel In the Normal mode, NetScan samples channel data at 1.92 kHz, or once every 520.83 µs.
  • Page 200: Normal Mode

    Configuration Aspects for Programmers Normal Mode NetScan 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 201: High-Speed, Single-Channel Mode

    Appendix C High-Speed, Single-Channel 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, NetScan can sample from 38.5 Hz to 20.0 kHz, and store the data in memory.
  • Page 202: Configuration Requirements

    Configuration Aspects for Programmers The remainder of this appendix and the next, pertaining to acquisition setup, refer to normal mode acquisitions only. Configuration Requirements NetScan 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.
  • Page 203: Channel Configuration

    Appendix C 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. PRINT#1,"C1-4,1X" ‘ Configure master channels 1-4 with Type JTC PRINT#1,"I00:01:00.0,00:00:01.0X"...
  • Page 204: 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 205: Csn14/Hv/S Configuring High Volts Channels

    Appendix C CSN14/HV/S Configuring High Volts Channels When the CSN14/HV/S signal conditioning module is used, NetScan 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. Channels not included in the channel scan do not have to be configured.
  • Page 206: 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 207: Pre-Trigger State

    Appendix C Pre-Trigger State The Pre-Trigger state is defined as the period after NetScan has been configured to collect an acquisition (via the Trigger Configuration command), and before the actual Trigger event occurs. While the unit is in this state, the TRIGGER LED will flash.
  • Page 208 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 209: Post-Trigger State

    Appendix C 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 210 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 the NetScan to recognize the event.
  • Page 211: Time Stamping (*T

    Appendix C 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 212: Digital Input Stamping (I

    Configuration Aspects for Programmers With Alarm Stamping: PRINT#1, “A#1X” PRINT#1, “R1X” LINE INPUT#1, A$ PRINT 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 213 Appendix C With Digital Input Stamping: PRINT#1, “I#1X” PRINT#1, “R1X” LINE INPUT#1, A$ PRINT 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 ( NetScan User’s Manual ‘...
  • Page 214: 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 NetScan’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 215 Appendix C 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,”R1X” LINE INPUT#1,A$ PRINT A$ +1234.50-0234.20+0984.00+0323.30 PRINT#1,”U6X” LINE INPUT#1,A$ PRINT 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 216: Multiple Trigger Blocks

    Configuration Aspects for Programmers Multiple Trigger Blocks Through the Auto-Rearm capability of the NetScan, 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;...
  • Page 217: Acquisition Buffer Interrogation

    Appendix C 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 218 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 219 Appendix C 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 220: 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 221 Appendix C command will read the oldest available trigger block in the Acquisition Buffer. For instance, continuing with the previous example: PRINT#1,"U6X" LINE INPUT #1,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 222: Configuring Alarms

    Configuration Aspects for Programmers Configuring Alarms NetScan 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 the NetScan back panel.
  • Page 223: Setpoint Hysteresis

    Appendix C As mentioned above 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,“A3,2X”...
  • Page 224: Digital I/O Operation

    Configuration Aspects for Programmers Digital I/O Operation As shown in the DB50 pinout in the Installation and Configuration section, the NetScan 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 225 Appendix D 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. Contents Using the High/Low/Last (HLL) Registers--------------------------------------------------------------------------- D-2 What is Contained in the HLL Registers ---------------------------------------------------------------------------------------D-2 Accessing the HLL Registers ----------------------------------------------------------------------------------------------------D-2 Data Format (F) ----------------------------------------------------------------------------------------------------------- D-5...
  • Page 226: 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 NetScan. The HLL registers are updated during an acquisition and at the current programmed scan rate. At any time, the HLL registers can be queried for channel values without affecting the buffered data.
  • Page 227 Appendix D 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 228 Registers, Data Formats, & Queries Example 3: Example shows how to read only the Last readings. PRINT#1,"F0,0 Q1,1,0,0, 0X" PRINT#1,"C1-4,1X" PRINT#1,"U13X" INPUT #1, A$ PRINT A$ +0950.30 INPUT #1, A$ PRINT A$ +0250.60 INPUT #1, A$ PRINT A$ -0050.80 INPUT #1, A$ PRINT A$ +0010.90 Notice that since a HLL response terminator was specified that each channel’s Last reading had to be ENTERed...
  • Page 229: Data Format (F

    Appendix D Example 6: Example 6 shows how to retrieve Last readings for a subset of the configured channels. PRINT#1,"F0,0 Q1,1,0,0,0X" PRINT#1,”C1-4,1X" PRINT#1,"R#2-3X" INPUT#1, A$ PRINT A$ +0250.60 INPUT#1, A$ PRINT A$ -0049.50 Data Format (F) Readings from the NetScan are output in the format configured by the user. The Data Format (F) command determines the engineering unit and whether an ASCII format, binary format or a raw data count is to be used.
  • Page 230: Engineering Units Data Format

    Registers, Data Formats, & Queries 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 231 Appendix D Volts The default NetScan system units and resolution are dependent on the low or high volts range: Low Range Resolution ±100 mV 3.12 µV/bit ±1 V 31.21 µV/bit ±5 V 156.06 µV/bit ±10 V 312.12 µV/bit The default binary format returns 2 bytes of 2’s complement binary data with the user selecting low/high byte or high/low byte.
  • Page 232: Binary Data Format

    Registers, Data Formats, & Queries 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. Time/Date Stamp If binary format is selected, the High/Low/Last register values will also include time/date stamps. When outputting the High/Low/Last registers for either highbyte/lowbyte or lowbyte/highbyte, the time/date stamp will have the following format: hmstMDY...
  • Page 233: Configuring Power-Up State

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

    Registers, Data Formats, & Queries Queries The NetScan 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 the various NetScan conditions.
  • Page 235: Status, Event Reporting, And Mask Registers

    Appendix D Returns information in the Event Status Register. Returns information in the Status Register. Returns information in the Calibration Status Register. Returns system settings similar to invoking a combination of the following query commands: F?I?L?P?Q?S?T?Y? Returns high/low/last register data in the current data format for each channel defined by the (C) command, such as the high reading, the high time stamp, the low reading, the low time stamp, and the last reading.
  • Page 236: 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/ Clear Event Status 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 237 Appendix D Registers, Data Formats, & Queries NetScan User’s Manual D-13...
  • Page 238: 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 239: Status Byte Register

    Appendix D 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. The status byte register contains the following active bits: Bit Location Value DIO1 (LSBit) DIO2...
  • Page 240: Using Status Reporting Registers

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

    Appendix D 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 242: Buffer Overrun With One Trigger Block

    Registers, Data Formats, & Queries Buffer Overrun With One Trigger Block When only one trigger block is in the buffer, a buffer overrun will erase the entire pre-trigger. If the controller was reading pre-trigger data from the buffer, the next scan read will be the trigger point. If no pre-trigger was configured or the pre-trigger has already been read, a buffer overrun will only erase the oldest scan in the buffer.
  • Page 243 Appendix E NetScan Program Examples Note As this manual goes to press, program examples do not exist. However, program examples should be available on the release disk in the EXAMPLES subdirectory (of the CHARTVIEW directory). NetScan User’s Manual...
  • Page 244 NetScan Program Examples Appendix E NetScan User’s Manual...
  • Page 245 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 NetScan User’s Manual Box Items Hexadecimal Value 01 $02 02 $03 03 $04 09 $0A...
  • Page 246 ASCII Code Summary 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 65 $42 66 $43 67 $44 73 $4A 74 $4B 75 $4C 81 $52...
  • Page 247 ASCII Code Summary ASCII Code Details Decimal Values 00 to 31 – ACG & UCG Descriptions Name Null ( Start of Header ( Start of Text ( End of Text ( End of Transmission ( Inquiry ( Acknowledgement ( Bell ( Backspace ( Horizontal Tab ( Line Feed (...
  • Page 248 ASCII Code Summary Appendix F − Notes NetScan User’s Manual...
  • Page 249 Appendix G NetScan Error Messages At initial power-up NetScan performs automatic self-tests to ensure it is fully functional. The 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 is an internal error that is not field-serviceable; in this case, contact the factory.
  • Page 250 NetScan Error Messages Appendix G − Notes NetScan User’s Manual...
  • Page 251 Appendix H Abbreviations (bullet symbol) “and” (e.g. Analog-to-Digital Acknowledgement (ASCII Control Code) Analog-to-Digital Converter Application Program Interface ASCII American Standard Code for Info. Interchange Bell (ASCII Control Code) Backspace (ASCII Control Code) Cancel (ASCII Control Code) Cold Junction Compensation Carriage Return (ASCII Control Code) Clear To Send line Device Control 1 (ASCII Control Code) Device Control 2 (ASCII Control Code)
  • Page 252 Abbreviations Appendix H − Notes NetScan User’s Manual...
  • Page 253 Index Abbreviations, Appendix H Alarms, 4-24, 4-33, 4-38, C-26, D-16 API Commands, see Appendix A ASCII Code Summary, see Appendix F Auto Re-arm, 4-39, 4-40 Calibration Calibration Mode Indicator, 6-5 Command Active Indicators, 6-5 Main Unit, 6-6 thru 6-8 Password, 6-5 ScanCal, 6-3 Setup, 6-2 Signal Conditioning Cards, 6-10 thru 6-18...
  • Page 254 NetScan User’s Manual...
  • Page 255 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 to cover handling and shipping time.
  • Page 256 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-netscan

Table of Contents