TABLE OF CONTENTS
iii
Chapter 5 Setting up the Instrument Parser
Basic Steps to Creating a Parser ............................................... 43
Accessing the Parser Setup ................................................... 44
Defining a Destination for Incoming Data ....................... 45
Defining a Parser Name .................................................. 46
Setting up the Parser ............................................................. 46
Specifying the Parser ...................................................... 47
Removing Carriage Return or Line Feed from Data ....... 47
Defining Macros .............................................................. 47
Discarding Data using Identifiers ................................... 47
Designing a Parser ................................................................. 49
Parser Types ................................................................... 49
Tips to follow when trying to designing a suitable Parser 49
Parser Syntax .................................................................. 50
Choosing a Suitable Parser Type .......................................... 52
Using the Numbers Parser Type ..................................... 52
Using the Position Parser Type ...................................... 53
Using the Scales Parser Type ........................................ 54
Using the Delimiter Parser Type ..................................... 56
Using Macros ............................................................................... 58
Defining a Macro .................................................................... 58
Including Keyboard Characters in the Macro .................. 60
Including Special Functions in the Macro ...................... 61
Using the Additional Options Available .................................... 38
Viewing the User Prompts ...................................................... 38
Importing a File ....................................................................... 38
Viewing the Data Destination ................................................. 39
AutoScrolling the Spreadsheet ............................................... 40
AutoStarting your Instrument ................................................. 40
AutoLoading a Spreadsheet ................................................... 41
AutoOpening the Commands ................................................. 41
Using the Spreadsheet Menu Options ................................... 42
Using Standard Windows® Options ....................................... 42
Closing all Open Instruments ................................................. 42
Closing the Instrument ............................................................... 42