PC9000 SDK Table of Contents
ii
2.3 Datalogger File/Directory Functions...................................................2-16
2.3.1 BootFromLinkStart( ) - Start the Cold Boot Datalogger
Transaction..............................................................................2-16
2.3.2 BootFromLinkMore( ) - Continue with Cold Boot from Link
Transaction..............................................................................2-17
2.3.3 GetDirectory( ) - Get a Directory of Files (programs) that are
in Datalogger...........................................................................2-18
2.3.4 DownloadStart( ) - Initiate Downloading and Other File
Management Options...............................................................2-20
2.3.5 DownloadWait( ) - Monitor Status of Download Operation in
Progress...................................................................................2-29
2.3.6 UploadFile( ) - Upload Program or Data File from the
Datalogger with One Command..............................................2-30
2.3.7 UploadStart( ) - Start File Upload from the Datalogger Using
a Progress Loop.......................................................................2-31
2.3.8 UploadWait( ) - Monitor Status of Upload Operation in
Progress...................................................................................2-34
2.3.9 UploadStop( ) - Terminate Upload Operation in Progress.........2-34
2.4 Datalogger Table Management Functions...........................................2-35
2.4.1 GetTableName( ) - Retrieves the Names and Sizes of All
Available Datalogger Tables ...................................................2-35
2.4.2 GetTableName2( ) - Retrieves the Names, Sizes and Times of
All Datalogger Tables..............................................................2-36
2.4.3 GetFieldName( ) - Retrieves Field Names and Basic
Associated Information............................................................2-38
2.4.4 GetFieldName2( ) - Retrieves Field Names and Extended
Associated Information............................................................2-41
2.4.5 TableCtrl( ) - Clear Logged Records in a Table, or Insert File
Marks in File-based Table.......................................................2-43
2.5 Data Retrieval Functions.....................................................................2-44
2.5.1 GetVariable( ) - Get the Current Value of a Floating Point
Variable ...................................................................................2-44
2.5.2 SetVariable( ) - Set the Current Value of a Floating Point
Variable ...................................................................................2-46
2.5.3 GetCurrentValue( ) - Get the Most Recent Value of a Field,
in ASCII Format......................................................................2-48
2.5.4 GetStatusValue( ) – Optimized Status Table Retrieval, in
ASCII Format..........................................................................2-50
2.5.5 GetRecentRecords( ) - Get All Data from Most Recent
Records of the Specified Table; GetRecentRecordsTS( ) -
Get Recent Records with Timestamps.....................................2-52
2.5.6 GetRecordsSinceLast( ) - Get Data from Specified Table
Starting at Specified Record and GetRecordsSinceLastTS( )
- Get Specified Record Data with Timestamps........................2-55
2.5.7 GetRecentValues( ) - Get Most Recent Values of the
Specified Table and Field; GetRecentValuesTS( ) - Get
Recent Values with Timestamps..............................................2-60
2.5.8 GetValuesSinceLast( ) - Get Individual Field Values
Beginning at a Specified Record; GetValuesSinceLastTS( )
- Get Field Values with Timestamps .......................................2-64
2.5.9 GetPartialFieldValues( ) - Get Part of an Array from the
Specified Table and Field........................................................2-68
2.5.10 GetPartialFieldArray( ) - Get Part of an Array from the
Specified Table and Field........................................................2-71
2.5.11 LogTable( ) - Log Table Contents to a PC Disk File...............2-72