Lantronix 900-691-R manual Monitor Data Mining 1

Page 63

11: Monitor

Note: Some devices might use a variable number of lines to display status depending on the device state. If so, slicing first by lines will not consistently point to the desired data. Instead, consider a different strategy:

Rule 1 can use Mode = Delimiters, but set the Delimiter 1 Binary String = caption.

Its field 2 contains all of the response following the caption.

Use Rule 2 or more to further slice 1.2 (Rule 1 field 2) in order to separate the value from anything following the caption and from the rest of the response.

Data Mining

You have already sliced the raw data multiple ways

Figure 11-12 Monitor Data Mining (1 of 2)

using the Filter Steps. Now you will select the data to

 

be mined.

 

STEP 1 - STRATEGY

You can have multiple Poll messages, and different Filter Steps will generally apply to each, but some Filter Steps may be shared. Here is where you put it all together. The neat thing is that all the slicing of the raw data is virtual, so all of your Filter Rules overlay raw data from each response, but you need only care about some of them on a particular Poll message.

STEP 2 - SETUP

Use Monitor Explorer or directly configure settings in Monitor Data Configuration. Each Selector picks out a distinct data item you wish to subsequently present. The Selector Name will be presented as the caption for your data. Selector Response is a Message number; it selects the response from that Message. Selector Reference is a Rule number, dot, and a field number; it selects the desired data field.

Bottom line, you have placed a stake in the ground

Figure 11-13 Monitor Data Mining (2 of 2)

naming a result, identifying which poll response it

 

comes from, and which field to pick up.

 

STEP 3 - TEST

Testing is rapid and simplified using Monitor Explorer. You can see the selected field contents right in your browser window.

Sample Configuration

We'll name our result "Up time". It goes in Monitor Data Configuration under "Name".

We only used one Poll message, so "Response" is just "1".

Our desired data is from Rule 2, field 2. So "Reference" is "2.2".

xPico® Wi-Fi® Embedded Device Server User Guide

63

Image 63
Contents Embedded Device Server User Guide Disclaimer WarrantyIntellectual Property ContactsTable of Contents Services Settings Interface SettingsTunnel Settings Configurable Pin ManagerMonitor Maintenance and Diagnostics SettingsAdvanced Settings Branding the xPico Wi-Fi Unit105 Updating FirmwareAppendix B WebAPI 100 Appendix C Technical Support 103Appendix E Binary to Hexadecimal Conversions 112 List of Figures XPico Wi-Fi Product LabelList of Tables XPico Wi-Fi Embedded Device Server User Guide Chapter Description Using This GuidePurpose and Audience Summary of ChaptersDocument Description Additional DocumentationIntroduction Key FeaturesProtocol Support Troubleshooting CapabilitiesConfiguration Methods Addresses and Port NumbersProduct Information Label XPico Wi-Fi Product Label Accessing Web Manager Configuration Using Web ManagerStatus StatusWeb Manager Components Navigating Web ManagerHelp Area Web Manager Description See Web Manager PagesNetwork Interface Settings Network SettingsNetwork 1 Interface ap0 Configuration To Configure Network 1 Interface SettingsTo View Network 1 Interface Status Network 1 ap0 Link SettingsNetwork 1 ap0 Link Settings Network 1 ap0 Link Description SettingsUptime To Configure Network 1 Link SettingsTo View Network 1 Link Status ModeNetwork 2 wlan0 Interface Configuration To Configure Network 2 Interface SettingsNetwork Interface Description Settings To View Network 2 Link Status Network 2 wlan0 Link StatusWlan Profiles To View Network 2 Interface StatusCreating, Deleting or Enabling Wlan Profiles To Configure Wlan ProfilesTo Configure Wlan Profile Settings Wlan Profile Basic Settings DescriptionWlan Profile Description Security Settings Wlan Profile Security SettingsWlan Quick Connect To Configure Wlan Quick ConnectWlan Profile Advanced Settings Wlan Profile Advanced Settings DescriptionNetwork Name link Wlan Quick Connect Description SettingsWlan Quick Connect Scan network SsidLine Settings Description Interface SettingsLine Settings Line Configuration SettingsXoff Char To Configure Line SettingsGap Timer To View Line StatusSerial Perpheral Interface SPI Settings To Configure SPI SettingsSPI Configuration Settings To View SPI Status Tunnel Line Settings Tunnel SettingsLine Settings To View Tunnel Serial SettingsPacking Mode Tunnel Packing Mode SettingsTunnel Packing Mode Description Settings Tunnel Accept Mode Description Settings To Configure Tunnel Packing Mode SettingsAccept Mode Tunnel Accept Mode SettingsTo Configure Tunnel Accept Mode Settings Connect Mode Tunnel Connect Mode SettingsTunnel Connect Description Mode Settings Tunnel Disconnect Description Mode Settings To Configure Tunnel Connect Mode SettingsDisconnect Mode Tunnel Disconnect Mode SettingsStatistics Modem Emulation SettingsTo Configure Tunnel Disconnect Mode Settings Modem Emulation SettingsTunnel Settings Modem Emulation Commands and DescriptionsCommand Description ATZ CP Status Configurable Pin ManagerConfigurable Pin Status Current Configurable PinsActive in Role RolesTo Configure CPM Settings Role ConfigurationCPM Role Current Description Configuration Http Settings Services SettingsHttp Settings To Configure Http Settings and Access ControlTo View Http Status File Display Maintenance and Diagnostics SettingsFile System Settings File System StatisticsTo Transfer or Modify File System Files Device SettingsDevice Management Settings File ManipulationAdmin User To Configure Admin User on the DeviceAdmin User Settings To View Buffer Pool Status Diagnostics SettingsTo View Hardware Status To View IP Socket StatusAdvanced Settings To Import or Export XML ConfigurationXML Import and XML Export Performance Settings Performance SettingsModem Emulation Settings Description To Configure Performance Monitor Monitor SettingsMonitor Explorer Settings Explorer Settings DescriptionDisplay Rule NumberInitialization Description Settings ConfigurationMonitor Initialization Settings Monitor Control SettingsDelay Monitor Poll SettingsMonitor Filter Settings Poll Settings DescriptionSelector Number To Configure MonitorMonitor Data Settings Data Settings DescriptionInitialization Example Data Capture on a Serial DeviceMonitor Polling 1 Polling10 Monitor Filtering 1 Filtering12 Monitor Data Mining 1 Data MiningPresenting Data Capture on SPI Path Format Branding the xPico Wi-Fi UnitWeb Manager Customization Changing the PresentationOther Overridable Files Obtaining Firmware Loading New Firmware through Web Manager Updating FirmwareUpdating Firmware Convention Description Appendix a Command ReferenceConventions XML Architecture and Device ControlConfiguration Using Serial Port Serial Command ModeBoot to CLI Key Combination Description Using Keyboard Shortcuts and CLINavigating the CLI Hierarchy Table A-1 Keyboard ShortcutsConfiguration Using XML Appendix a Command ReferenceUnderstanding the CLI Level Hierarchy Figure A-3 DTD for XCRs XML Configuration Record Document Type DefinitionElement Attributes Quick Tour of XML SyntaxDeclaration Element Start and End TagsFigure A-5 XML Example Record, Group, Item, and Value TagsXML for xPicoWi-Fi Embedded Device Server Configgroup Access PointConfiggroup CPM Configitem Inactivity Timeout Configgroup Http ServerConfigitem State Configitem PortConfiggroup Interface Configitem Access ControlConfigitem Dhcp Client Configgroup Line Configitem Parity Configitem NameConfigitem Protocol Configitem Baud RateConfiggroup Performance Configitem Time Powered Up Configgroup SPIConfigitem Maximum Time Powered Down Configitem Wkup Pin Power UpConfiggroup Users Configitem Basic Configgroup Wlan ProfileConfigitem Instance Configitem PasswordConfiggroup XML Import Control Configgroup Modem Emulation Configgroup Monitor Initialization Configgroup Monitor Control Value TimeoutValue Length Configitem Delay Configgroup Monitor PollConfigitem Rule Configgroup Monitor FilterConfigitem Local Port Configgroup Monitor DataConfiggroup Tunnel Accept Configitem SelectorConfigitem Block Line Configitem Start CharacterConfigitem Flush Start Character Configitem Flush LineConfigitem DTR Configgroup Tunnel LineConfigitem Block Network Configitem Prompt for PasswordConfiggroup Tunnel Connect Configitem HostValue Address Value Protocol Configitem ConnectionsConfigitem Reconnect Time Value PortConfigitem Modem Control Configgroup Tunnel DisconnectConfigitem Stop Character Configitem Flush Stop CharacterConfigitem Send Character Configgroup Tunnel PackingConfigitem Trailing Character Export Configuration Group Appendix B WebAPIExport Status Group Appendix B WebAPI Take Status ActionCurl example configuration as part of command Import Configuration GroupJapan Asia / Pacific Apac Appendix C Technical SupportNorth America Europe, Middle East, Africa EmeaLatin America & Caribbean Online Table D-2 Country Transmitter IDs Country SpecificationAppendix D Compliance Table D-1 Country CertificationsTable D-4 Europe EU Declaration of Conformity Table D-3 SafetyRadiation Exposure Statement Federal Communication Commission Interference StatementDéclaration dexposition aux radiations Industry Canada StatementEnd Product Labeling Manual Information To the End UserPlaque signalétique du produit final Type Gain Brand Manuel dinformation à lutilisateur finalAntenna Requirement Table D-5 Approved Antennas ListRoHS Notice Manufacturers ContactScientific Calculator Appendix E Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Conversion TableAppendix E Binary to Hexadecimal Conversions