Download NorthTek
Transcript
The content of this document is proprietary. No part of this document shall be reproduced nor shall any use or disclosure of the information contained herein be made without written authorization from Sparton Electronics. 1 2 Introduction .......................................................................................................................................... 4 1.1 What is NorthTek? ........................................................................................................................ 4 1.2 How is NorthTek Used?................................................................................................................. 4 1.3 Organization and Purpose of this Manual .................................................................................... 4 1.4 Preparations for using NorthTek................................................................................................... 5 1.5 References .................................................................................................................................... 5 1.6 Document Conventions ................................................................................................................ 5 NorthTek Programming Language ........................................................................................................ 6 2.1 Environment.................................................................................................................................. 6 2.2 NPL Basics ..................................................................................................................................... 6 2.3 Standard NPL Words ..................................................................................................................... 9 2.4 ANSI Forth Differences .................................................................................................................. 9 3 NorthTek Application Environment .................................................................................................... 11 4 NorthTek Database and Compute Engine Interface ........................................................................... 12 4.1 Internal Database Identifier Operations ..................................................................................... 12 4.2 General Database Operations. .................................................................................................... 13 4.3 Streaming Sensor Data Operations............................................................................................. 13 5 NorthTek Programming Examples ...................................................................................................... 15 A NPL Command Categories .................................................................................................................. 33 A.1 NPL Arithmetic and Logical ......................................................................................................... 33 A.2 NPL Parameter Stack Manipulation ............................................................................................ 36 A.3 NPL Input/Output........................................................................................................................ 37 A.4 NPL Variables, Constants ............................................................................................................ 38 A.5 NPL Database .............................................................................................................................. 39 A.6 NPL Logic ..................................................................................................................................... 40 130-7546-001, Rev A 3