![]() |
![]() |
||
![]() |
| ||
![]() |
| Taiko R2 |
| Legal Information |
| Overview |
| Our Language Philosophy |
| System Components |
| Objects |
| Events |
| Getting Started |
| Preparing Your Hardware |
| Starting a New Project |
| Writing Code |
| Building, Uploading and Running |
| Compiling a Final Binary |
| Programming with TIDE |
| Managing Projects |
| The Structure of a Project |
| Creating, Opening and Saving Projects |
| Templates |
| Adding, Removing and Saving Files |
| Platform Source Libraries |
| Locking and Unlocking Files |
| Resource Files |
| Built-in Hex Editor |
| Built-in Image Editor |
| Coding Your Project |
| Project Browser |
| Code Auto-completion |
| Code Hinting |
| Tooltips |
| Supported HTML Tags |
| Goto Definition |
| Making, Uploading and Running an Executable Binary |
| Conditional Inclusion of Files |
| Two Modes of Target Execution |
| Debugging Your Project |
| Target States |
| Exceptions |
| Program Pointer |
| Breakpoints |
| The Call Stack and Stack Pointer |
| Stepping |
| The Watch |
| Scopes in Watch |
| Code Profiling |
| Debug Printing |
| Project Settings |
| Programming Fundamentals |
| Program Structure |
| Code Basics |
| Naming Conventions |
| Introduction to Variables, Constants and Scopes |
| Variables And Their Types |
| Type Conversion |
| Type conversion in expressions |
| Compile-time Calculations |
| Arrays |
| Structures |
| Enumeration Types |
| Understanding the Scope of Variables |
| Declaring Variables |
| Constants |
| Introduction to Procedures |
| Passing Arguments to Procedures |
| Memory Allocation for Procedures |
| Introduction to Control Structures |
| Decision Structures |
| Loop Structures |
| Doevents |
| Using Preprocessor |
| Scope of Preprocessor Directives |
| Working with HTML |
| Embedding Code Within an HTML File |
| Understanding Platforms |
| Objects, Events and Platform Functions |
| Language Reference |
| Statements |
| Const Statement |
| Declare Statement |
| Dim Statement |
| Doevents Statement |
| Do... Loop Statement |
| Enum Statement |
| Exit Statement |
| For... Next Statement |
| Function Statement |
| Goto Statement |
| If.... Then... Else Statement |
| Include Statement |
| Select-Case Statement |
| Sub Statement |
| Type Statement |
| While-Wend Statement |
| Keywords |
| As |
| Boolean |
| ByRef |
| Byte |
| ByVal |
| Char |
| Else |
| End |
| False |
| For |
| Integer |
| Next |
| Public |
| Short |
| Step |
| String |
| Then |
| Type |
| To |
| True |
| Word |
| Operators |
| Error Messages |
| C1001 |
| C1002 |
| C1003 |
| C1004 |
| C1005 |
| C1006 |
| C1007 |
| C1008 |
| C1009 |
| C1010 |
| C1011 |
| C1012 |
| C1013 |
| C1014 |
| C1015 |
| C1016 |
| C1017 |
| C1018 |
| C1019 |
| C1020 |
| C1021 |
| C1022 |
| C1023 |
| C1024 |
| L1001 |
| L1002 |
| L1003 |
| L1004 |
| L1005 |
| L1006 |
| L1007 |
| L1008 |
| L1009 |
| Objects, Properties, Methods, Events |
| Development Environment |
| Installation Requirements |
| User Interface |
| Main Window |
| Operation Modes |
| Menu Bar |
| File Menu |
| Edit Menu |
| View Menu |
| Project Menu |
| Debug Menu |
| Image Menu |
| Window Menu |
| Help Menu |
| Toolbars |
| Project Toolbar |
| Debug Toolbar |
| Image Editor Toolbar |
| Tool Properties Toolbar |
| Selection Tool Properties |
| Paint Tool Properties |
| Eraser Tool Properties |
| Text Tool Properties |
| Line Tool Properties |
| Rectangle Tool Properties |
| Ellipse Tool Properties |
| Zoom Tool Properties |
| Status Bar |
| Dialogs |
| Project Settings |
| New Project |
| Add File to Project |
| Graphic File Properties Dialog |
| Panes |
| Call Stack |
| Output |
| Project |
| Browser |
| Files |
| Watch |
| Colors |
| Language Element Icons |
| Glossary of Terms |
| Compilation Unit |
| Compiler |
| Construct |
| Cross-Debugging |
| Identifier |
| Keyword |
| Label |
| Linker |
| P-Code |
| Syscall |
| Target |
| Virtual Machine |
| Platforms |
| Platform Specifications |
| EM202 Platform |
| Memory Space |
| Supported Variabled Types |
| Supported Functions (Syscalls) |
| Supported Objects |
| Platform-dependent Constants |
| Enum pl_redir |
| Enum pl_io_num |
| Platform-dependent Programming Information |
| EM1000 and EM1000W Platforms |
| Memory Space |
| Supported Objects |
| Platform-dependent Constants |
| Enum pl_redir |
| Enum pl_io_num |
| Enum pl_int_num |
| Enum pl_sock_interfaces |
| Platform-dependent Programming Information |
| EM1202 and EM1202W Platforms |
| Memory Space |
| Supported Objects |
| Platform-dependent Constants |
| Enum pl_redir |
| Enum pl_io_num |
| Enum pl_int_num |
| Enum pl_sock_interfaces |
| Platform-dependent Programming Information |
| EM1206 and EM1206W Platforms |
| Memory Space |
| Supported Objects |
| Platform-dependent Constants |
| Enum pl_redir |
| Enum pl_io_num |
| Enum pl_int_num |
| Enum pl_sock_interfaces |
| Platform-dependent Programming Information |
| DS1202 Platform |
| Memory Space |
| Supported Objects |
| Platform-dependent Constants |
| Enum pl_redir |
| Enum pl_io_num |
| Enum pl_int_num |
| Enum pl_sock_interfaces |
| Platform-dependent Programming Information |
| DS1206 Platform |
| Memory Space |
| Supported Objects |
| Platform-dependent Constants |
| Enum pl_redir |
| Enum pl_io_num |
| Enum pl_int_num |
| Enum pl_sock_interfaces |
| Platform-dependent Programming Information |
| Common Information |
| Supported Variable Types (T1000-based Devices) |
| Supported Functions (T1000-based Devices) |
| LED Signals |
| Debug Communications |
| Project Settings Dialog |
| Device Explorer |
| Function Reference |
| Asc Function |
| Bin Function |
| Cfloat Function |
| Chr Function |
| Date Function |
| Daycount Function |
| Ddstr Function |
| Ddval Function |
| Ftostr Function |
| Hex Function |
| Hours Function |
| .Insert Function |
| Instr Function |
| Lbin Function |
| Left Function |
| Len Function |
| Lhex Function |
| Lstr Function |
| Lstri Function |
| Lval Function |
| Md5 Function |
| Mid Function |
| Mincount Function |
| Minutes Function |
| Month Function |
| Random Function |
| Right Function |
| Sha1 Function |
| Str Function |
| Strgen Function |
| Stri Function |
| Strsum Function |
| Strtof Function |
| Val Function |
| Vali Function |
| Weekday Function |
| Year Function |
| Object Reference |
| Sys Object |
| Overview |
| On_sys_init Event |
| Buffer Management |
| System Timer |
| PLL Management |
| Serial Number |
| Miscellaneous |
| Properties, Methods, Events |
| .Buffalloc Method |
| .Currentpll R/O Property (Selected Platforms Only) |
| .Debugprint Method |
| .Freebuffpages R/O Property |
| .Halt Method |
| .Newpll Method (Selected Platforms Only) |
| On_sys_init Event |
| On_sys_timer Event |
| .Onsystimerperiod Property (Selected Platforms Only) |
| .Reboot Method |
| .Runmode R/O Property |
| Serialnum R/O Property |
| Setserialnum Method |
| .Resettype R/O Property |
| .Timercount R/O Property |
| .Totalbuffpages R/O Property |
| .Version R/O Property |
| Ser Object |
| What's new in V1.1 |
| Overview |
| Anatomy of a Serial Port |
| Three Modes of the Serial Port |
| UART Mode |
| Wiegand Mode |
| Clock/Data Mode |
| Port Selection |
| Serial Settings |
| Sending and Receiving Data (TX and RX buffers) |
| Allocating Memory for Buffers |
| Using Buffers |
| Buffer Memory Status |
| Receiving Data |
| Sending Data |
| Handling Buffer Overruns |
| Redirecting Buffers |
| Sinking Data |
| Properties, Methods, Events |
| .Autoclose Property |
| .Baudrate Property |
| .Bits Property |
| .Ctsmap property (Selected Platforms Only) |
| .Dircontrol Property |
| .Div9600 R/O Property |
| .Enabled Property |
| .Escchar Property |
| .Esctype Property |
| .Flowcontrol Property |
| .Getdata Method |
| .Interchardelay Property |
| .Interface Property |
| .Mode Property |
| .Newtxlen R/O Property |
| .Notifysent Method |
| .Num Property |
| .Numofports R/O Property |
| On_ser_data_arrival Event |
| On_ser_data_sent Event |
| On_ser_esc Event |
| On_ser_overrun Event |
| .Parity Property |
| .Redir Method |
| .Rtsmap Property (Selected Platforms Only) |
| .Rxbuffrq Method |
| .Rxbuffsize R/O Property |
| .Rxclear Method |
| .Rxlen R/O Property |
| .Send Method |
| .Setdata Method |
| .Sinkdata Property |
| .Txbuffrq Method |
| .Txbuffsize R/O Property |
| .Txclear Method |
| .Txfree R/O Property |
| .Txlen R/O Property |
| Net Object |
| Overview |
| Main Parameters |
| Checking Ethernet Status |
| Properties, Methods, Events |
| .Mac R/O Property |
| .Ip Property |
| .Netmask Property |
| .Gatewayip Property |
| .Failure R/O Property |
| .Linkstate R/O Property |
| On_net_link_change Event |
| On_net_overrun Event |
| Button Object |
| On_button_pressed Event |
| On_button_released Event |
| .Pressed R/O Property |
| .Time R/O Property |
| Sock Object |
| Overview |
| Anatomy of a Socket |
| Socket Selection |
| Handling Network Connections |
| TCP connection basics |
| UDP "connection" basics |
| Accepting Incoming Connections |
| Accepting UDP broadcasts |
| Understanding TCP Reconnects |
| Understanding UDP Reconnects and Port Switchover |
| Incoming Connections on Multiple Sockets |
| Establishing Outgoing Connections |
| Sending UDP broadcasts |
| Closing Connections |
| Checking Connection Status |
| More On the Socket's Asynchronous Nature |
| Sending and Receiving data |
| Allocating Memory for Buffers |
| Using Buffers in TCP Mode |
| Using Buffers in UDP Mode |
| TX and RX Buffer Memory Status |
| Receiving Data in TCP Mode |
| Receiving Data in UDP Mode |
| Sending TCP and UDP Data |
| "Split Packet" Mode of TCP Data Processing |
| Handling Buffer Overruns |
| Redirecting Buffers |
| Sinking Data |
| Working With Inband Commands |
| Inband Message Format |
| Inband-related Buffers (CMD, RPL, and TX2) |
| Processing Inband Commands |
| Sending Inband Replies |
| Using HTTP |
| HTTP-related Buffers |
| Setting the Socket for HTTP |
| Socket Behavior in the HTTP Mode |
| Including BASIC Code in HTTP Files |
| Generating Dynamic HTML Pages |
| URL Substitution |
| Working with HTTP Variables |
| Simple Case (Small Amout of Variable Data) |
| Complex Case (Large Amount of Variable Data) |
| Details on Variable Data |
| Properties, Methods, and Events |
| .Acceptbcast Property |
| .Allowedinterfaces Property |
| .Bcast R/O Property |
| .Close Method |
| .Cmdbuffrq Method |
| .Cmdlen R/O Property |
| .Connect Method |
| .Connectiontout Property |
| .Currentinterface R/O Property |
| .Discard Method |
| .Endchar Property |
| .Escchar Property |
| .Event R/O Property (Obsolete) |
| .Eventsimple R/O Property (Obsolete) |
| .Getdata Method |
| .Gethttprqstring Method |
| .Getinband Method |
| .Httpmode Property |
| .Httpnoclose Property |
| .Httpportlist Property |
| .Httprqstring R/O Property |
| .Inbandcommands Property |
| .Inconenabledmaster Property |
| .Inconmode Property |
| .Localport R/O Property |
| .Localportlist Property |
| .Newtxlen R/O Property |
| .Nextpacket Method |
| .Notifysent Method |
| .Num Property |
| .Numofsock R/O Property |
| .Outport Property |
| On_sock_data_arrival Event |
| On_sock_data_sent Event |
| On_sock_event Event |
| On_sock_inband Event |
| On_sock_overrun Event |
| On_sock_postdata |
| On_sock_tcp_packet_arrival Event |
| .Protocol Property |
| .Reconmode Property |
| .Redir Method |
| .Remoteip R/O Property |
| .Remotemac R/O Property |
| .Remoteport R/O Property |
| .Reset Method |
| .Rplbuffrq Method |
| .Rplfree R/O Property |
| .Rpllen R/O Property |
| .Rxbuffrq Method |
| .Rxbuffsize R/O Property |
| .Rxclear Method |
| .Rxpacketlen R/O Property |
| .Rxlen R/O Property |
| .Send Method |
| .Setdata Method |
| .Setsendinband Method |
| Sinkdata Property |
| .Splittcppackets Property |
| .State R/O Property |
| .Statesimple R/O Property |
| .Targetbcast Property |
| .Targetinterface Property |
| .Targetip Property |
| .Targetport Property |
| .Toutcounter R/O property |
| .Tx2buffrq Method |
| .Tx2len R/O Property |
| .Txbuffrq Method |
| .Txbuffsize R/O Property |
| .Txclear Method |
| .Txfree R/O Property |
| .Txlen R/O Property |
| .Urlsubstitutes |
| .Varbuffrq Method |
| IO Object |
| Overview |
| Line/Port Manipulation With Pre-selection |
| Line/Port Manipulation Without Pre-selection |
| Controlling Output Buffers |
| Working With Interrupts |
| Properties, Events, Methods |
| .Enabled Property (Selected Platforms Only) |
| .Intenabled Property |
| .Intnum Property |
| .Invert Method |
| .Lineget Method |
| .Lineset Method |
| .Num Property |
| On_io_int Event |
| .Portenabled Property (Selected Platforms Only) |
| .Portget Method |
| .Portnum Property |
| .Portset Method |
| .Portstate property |
| .State Property |
| Romfile Object |
| .Find Method |
| .Getdata Method |
| .Offset R/O Property |
| .Open Method |
| .Pointer Property |
| .Size R/O Property |
| Stor Object |
| .Base Property |
| .Getdata Method (previously .Get) |
| .Setdata Method (previously .Set) |
| .Size R/O Property |
| Pat Object |
| .Channel Property |
| .Greenmap Property |
| On_pat Event |
| .Play Method |
| .Redmap Property |
| Beep Object |
| .Divider Property |
| On_beep Event |
| .Play Method |
| RTC Object |
| .Getdata Method (Previously .Get) |
| .Running R/O Property |
| .Setdata Method (Previously .Set) |
| LCD Object |
| Overview |
| Understanging Controller Properties |
| Preparing the Display for Operation |
| Working With Pixels and Colors |
| Lines, Rectangles, and Fills |
| Working With Text |
| Raster Font File Format |
| Displaying Images |
| Improving Graphical Performance |
| Supported Controllers/Panels |
| Samsung S6B0108 (Winstar WG12864F) |
| Solomon SSD1329 (Ritdisplay RGS13128096) |
| Himax HX8309 (Ampire AM176220) |
| Properties and Methods |
| .Backcolor Property |
| .Bitsperpixel R/O Property |
| .Bluebits R/O Property |
| .Bmp Method |
| .Enabled Property |
| .Error R/O Property |
| .Fill Method |
| .Filledrectangle Method |
| .Fontheight R/O Property |
| .Fontpixelpacking R/O Property |
| .Forecolor Property |
| .Getprintwidth Method |
| .Greenbits R/O Property |
| .Height Property |
| .Horline Method |
| .Inverted Property |
| .Iomapping Property |
| .Line Method |
| .Linewidth Property |
| .Lock Method |
| .Lockcount R/O Property |
| .Paneltype R/O Property |
| .Pixelpacking R/O Property |
| .Print Method |
| .Printaligned Method |
| .Rectangle Method |
| .Redbits R/O Property |
| .Rotated Property |
| .Setfont Method |
| .Setpixel Method |
| .Textalignment Property |
| .Texthorizontalspacing Property |
| .Textorientation Property |
| .Textverticalspacing Property |
| .Unlock Method |
| .Verline Method |
| .Width Property |
| Fd Object |
| Overview |
| Sharing Flash Between Your Application and Data |
| Fd. Object's Status Codes |
| File-based Access |
| Formatting the Flash Disk |
| Disk Area Allocation Details |
| Mounting the Flash Disk |
| File Names and Attributes |
| Checking Disk Vitals |
| Creating, Deleting, and Renaming Files |
| Reading and Writing File Attributes |
| Walking Through File Directory |
| Opening Files |
| Writing To and Reading From Files |
| Removing Data From Files |
| Searching Files |
| Closing Files |
| Direct Sector Access |
| Using Checksums |
| Upgrading the Firmware/Application |
| File-based and Direct Sector Access Coexistence |
| Prolonging Flash Memory Life |
| Ensuring Disk Data Integrity |
| Properties and Methods |
| .Availableflashspace R/O Property |
| .Buffernum Property |
| .Capacity R/O Property |
| .Checksum Method |
| .Close Method |
| .Copyfirmware Method |
| .Cutfromtop Method |
| .Create Method |
| .Delete Method |
| .Filenum Property |
| .Fileopened R/O Property |
| .Filesize R/O Property |
| .Find Method |
| .Flush Method |
| .Format Method |
| .Getattributes Method |
| .Getbuffer Method |
| .Getdata Method |
| .Getfreespace Method |
| .Getnextdirmember Method |
| .Getnumfiles Method |
| .Getsector Method |
| .Laststatus R/O Property |
| .Maxopenedfiles R/O Property |
| .Maxstoredfiles R/O Property |
| .Mount Method |
| .Numservicesectors R/O Property |
| .Open Method |
| .Pointer R/O Property |
| .Ready R/O Property |
| .Rename Method |
| .Resetdirpointer Method |
| .Sector R/O Property |
| .Setattributes Method |
| .Setbuffer Method |
| .Setdata Method |
| .Setfilesize Method |
| .Setpointer Method |
| .Setsector Method |
| .Totalsize R/O Property |
| Kp Object |
| Possible Keypad Configurations |
| Key States and Transitions |
| Preparing the Keypad for Operation |
| Servicing Keypad Events |
| Properties, Methods, Events |
| .Autodisablecodes Property |
| .Enabled Property |
| .Longpressdelay Property |
| .Longreleasedelay Property |
| On_kp Event |
| On_kp_overflow Event |
| .Pressdelay Property |
| .Releasedelay Property |
| .Repeatdelay Property |
| .Returnlinesmapping Property |
| .Scanlinesmapping Property |
| Wln Object |
| Migrating From the WA1000 |
| Overview |
| Wi-Fi Parlance Primer |
| Wln Tasks |
| Wln State Transitions |
| Brining Up Wi-Fi Interface |
| Allocating Buffer Memory |
| Applying Reset |
| Configuring Interface Lines |
| Setting MAC Address (Optional) |
| Selecting Domain |
| Booting Up the Hardware |
| Setting IP, Gateway, and Netmask (Optional) |
| Setting TX Power (Optional) |
| Scanning for Wi-Fi Networks |
| Setting WEP Mode and Key |
| Associating With Selected Network |
| Creating Own Ad-hoc Network |
| Communicating via Wln Interface |
| Disassociating From the Network |
| Terminating Own Ad-hoc Network |
| Rebooting |
| Detecting Disassociation or Offline State |
| Properties, Methods, Events |
| .Associate Method |
| .Associationstate R/O Property |
| .Boot Method |
| .Bssmode Property |
| .Buffrq Method |
| .Buffsize R/O Property |
| .Clkmap Property |
| .Csmap Property |
| .Defaultibsschannel Property |
| .Dimap Property |
| .Disassociate Method |
| .Domain Property |
| .Domap Property |
| .Enabled R/O Property |
| .Gatewayip Property |
| .Ip Property |
| .Mac Property |
| .Netmask Property |
| .Networkstart Method |
| .Networkstop Method |
| On_wln_event Event |
| On_wln_task_complete Event |
| .Rssi R/O Property |
| .Scan Method |
| .Scanresultbssid R/O Property |
| .Scanresultbssmode R/O Property |
| .Scanresultchannel R/O Property |
| .Scanresultrssi R/O Property |
| .Scanresultssid R/O Property |
| .Settxpower Method |
| .Setwep Method |
| .Ssid Property |
| .Task R/O Property |
| .Wepkey1 Property |
| .Wepkey2 Property |
| .Wepkey3 Property |
| .Wepkey4 Property |
| .Wepmode Property |
| Update History (for this Manual) |
©2000-2009 Tibbo Technology Inc.