Home
TPC-2006 User Manual - National Instruments
Contents
1. National Instruments Corporation D 1 TPC 2006 User Manual Appendix D Pin Assignments RS485 Pin Assignment Pin Number Description Pin1 DATA Pin2 No Connection Pin3 No Connection Pin4 DATA Pin 5 GND Pin 6 No Connection Pin 7 No Connection Pin 8 No Connection Pin 9 No Connection COM Port Setting The TPC 2006 includes three COM ports RS232 COM1 and 2 and 4 wire RS232 COM3 RS485 COM3 share the same DB9 connector which you can set through the software TPC 2006 User Manual D 2 Technical Support and Professional Services Visit the following sections of the National Instruments Web site at ni com for technical support and professional services Support Online technical support resources at ni com support include the following Self Help Resources For answers and solutions visit the award winning National Instruments Web site for software drivers and updates a searchable KnowledgeBase product manuals step by step troubleshooting wizards thousands of example programs tutorials application notes instrument drivers and so on Free Technical Support All registered users receive free Basic Service which includes access to hundreds of Application Engineers worldwide in the NI Discussion Forums at ni com forums National Instruments Application Engineers make sure every question receives an
2. Important Information Warranty The TPC 2006 is warranted against defects in materials and workmanship for a period of one year from the date of shipment as evidenced by receipts or other documentation National Instruments will at its option repair or replace equipment that proves to be defective during the warranty period This warranty includes parts and labor The media on which you receive National Instruments software are warranted not to fail to execute programming instructions due to defects in materials and workmanship for a period of 90 days from date of shipment as evidenced by receipts or other documentation National Instruments will at its option repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period National Instruments does not warrant that the operation of the software shall be uninterrupted or error free A Return Material Authorization RMA number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this document is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist National Instruments
3. all products must be sent to a WEEE recycling center For more information about WEEE recycling centers and National Instruments WEEE initiatives visit ni com environment weee htm Dx ATS mS SE CHE RoHS S FHA National instruments KA E e TA EP Ah rb D GEI gt RoHS XT National Instruments F E RoHS AAEM WERE ni com environment rohs china For information about China RoHS compliance go to ni com environment rohs china Mercury Disposal and Recycling LCD lamp s in this monitor contain mercury Dispose or recycle according to local state or federal laws Consult the Electronic Industries Alliance at www eiae org for more information For specific information on lamp disposal consult www lamprecycle org Cleaning If you need to clean the unit use a soft nonmetallic brush Make sure that the unit is completely dry and free from contaminants before returning it to service TPC 2006 User Manual A 6 ni com Watchdog Timer Programming Windows CE includes a watchdog timer for the TPC 2006 You can access the timer through the WIN32 API The TPC 2006 includes a WDT driver WDTI for enabling disabling the watchdog timer You must open this driver before using the resources and then use the DeviceIOControl function to enable disable the watchdog timer This appendix describes DeviceIOControl and it parameters It also includes a programming example DevicelOCont
4. answer For information about other technical support options in your area visit ni com services or contact your local office at ni com contact Training and Certification Visit ni com training for self paced training eLearning virtual classrooms interactive CDs and Certification program information You also can register for instructor led hands on courses at locations around the world System Integration If you have time constraints limited in house technical resources or other project challenges National Instruments Alliance Partner members can help To learn more call your local NI office or visit ni com alliance If you searched ni com and could not find the answers you need contact your local office or NI corporate headquarters Phone numbers for our worldwide offices are listed at the front of this manual You also can visit the Worldwide Offices section of ni com niglobal to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events National Instruments Corporation E 1 TPC 2006 User Manual Index A ActiveSync 4 3 setup 4 6 B beep settings 3 2 Bright exe 4 4 Buzzer exe 4 4 C CE compliance specifications A 5 cleaning 1 2 A 6 COM port setting D 2 communication environment setup host 4 7 TPC 2006 4 6 configuration 3 1 Contrast exe 4 5 control codes using B 2 conventions used in the manua
5. between the TPC 2006 and host computer By default ActiveSync executes automatically when you use it to establish a connection to a target device Registry Editor Use Registry Editor to view edit enter delete or save registry data Registry Saver Use Registry Saver to save the system registry In a command line environment you can execute Registry Saver using regsave exe regsave exe s for the silence mode National Instruments Corporation 4 3 TPC 2006 User Manual Chapter 4 Windows CE NET Other Utilities TPC 2006 User Manual Remote Display Application Remote Display Application displays a Windows CE device screen on a remote desktop It works with the Windows CE Remote Display Host application Because the connection is over the network the host machine and TPC 2006 network functions must work properly You must execute Remote Display Host cerhost exe on a remote host desktop Also you must run Remote Display Application on the TPC 2006 In the CE Remote Display window click Connect and enter the hostname or IP address After successfully establishing the connection you can see the TPC 2006 display and control it from the host machine TPC CE Notepad TPC CE Notepad is a text editor TPC Configurator TPC Configurator is an integrated utility for configuring the basic TPC 2006 settings For more information refer to TPC Configuration TPC Version Information TPC Version Information shows
6. information For example you could click My Documents to see documents on the TPC 2006 Networking via the USB Client Port In addition to connecting via a null modem cable as described in the previous section you can also connect via the client USB port To do this you must install ActiveSync on the host computer Then use a USB cable to connect the client and host USB ports Be sure the TPC 2006 PC connection setting is USB Socket Default the default setting Then follow the steps above to connect the TPC 2006 and host automatically National Instruments Corporation 4 7 TPC 2006 User Manual Specifications This appendix lists the TPC 2006 system specifications Physical We lBht 0 8 kg Cutout dimensions 188 x 141 mm suggested National Instruments Corporation A 1 TPC 2006 User Manual Appendix A Specifications Dimensions 44 148 5 83 187 84 CPU ect instant Samsung S3C2410A 26 266 MHz BIOS iie notte peteret Samsung NAND flash memory VGA iR UE RERUMS Samsung S3C2410A 26 Integrated TPC 2006 User Manual A 2 ni com Appendix A Specifications DRAM tete nent Built in 64 MB SDRAM Storage memory Buil
7. the bezel 4 Insert the screws included in the accessory pack into the clamps To fasten the TPC 2006 to the panel tighten the screws so they push against the mounting panel Note The mounting panel thickness should be less than 6 mm 0 236 in TPC 2006 User Manual 2 4 ni com System Configuration This chapter explains how to configure the TPC 2006 Display Settings Use the display settings to control the backlight brightness and screen saver which automatically turns off the screen when the TPC 2006 is not in use for a designated time period Follow these steps to set the display properties 1 Select Start Settings Control Panel Display to access the Display Properties window To set the time to elapse before the backlight turns off select the Backlight tab click the Automatically turn off backlight while on external power checkbox and select the time from the drop down menu To set the LCD brightness click the Advanced button to access the Advanced Backlight Options window Move the slider or click or to adjust the LCD brightness and contrast Click OK Touchscreen Calibration Follow these steps to calibrate the touchscreen 1 National Instruments Corporation Select Start Settings Control Panel Stylus to access the Stylus Properties window There are two tabs in the Stylus Properties window Double Tap and Calibration Use Double Tap to record the time period between
8. 1 pin assignments D 1 RS232 D 1 RS485 D 2 power connector figure 2 3 power receptor figure 2 3 TPC 2006 User Manual I 2 power specifications A 4 programming examples NI resources E 1 R Reboot exe 4 5 Registry Editor 4 3 Registry Saver 4 3 RegSave exe 4 5 Remote Display Application 4 4 S safety information 2 1 specifications A 5 Screen exe 4 5 setup 2 2 soft keyboard 4 1 software NI resources E 1 specifications A 1 CE compliance A 5 cleaning 1 2 A 6 dimensions 2 electromagnetic compatibility A 5 environmental A 4 environmental management A 6 fuse A 4 LCD A 3 mercury disposal and recycling A 6 physical A 1 power A 4 safety A 5 system kernel A 2 touchscreen A 4 Waste Electrical and Electronic Equipment compliance A 6 storage 1 2 support technical E 1 system configuration 3 1 system kernel specifications A 2 ni com system setup 2 2 T technical support E 1 touchscreen calibration 2 3 3 1 specifications A 4 TPC CE Notepad 4 4 TPC Configurator 4 1 4 4 General tab 4 2 Misc tab 4 2 Network tab 4 2 watchdog 4 2 TPC utilities 4 1 Bright exe 4 4 Buzzer exe 4 4 Contrast exe 4 5 Iesample exe 4 5 Reboot exe 4 5 RegSave exe 4 5 Screen exe 4 5 soft keyboard 4 1 tools 4 3 ActiveSync 4 3 Registry Editor 4 3 Registry Saver 4 3 Remote Display Application 4 4 TPC CE Notepad 4 4 TPC Configurator 4 4 TPC Version Information
9. 2 CISPR 22 Emissions Class e C Tick ICES and FCC Part 15 Emissions Class 5 Note For EMC compliance operate this device according to product documentation CE Compliance This product meets the essential requirements of applicable European Directives as amended for CE marking as follows e 2006 95 EC Low Voltage Directive safety e 2004 108 EEC Electromagnetic Compatibility Directive EMC National Instruments Corporation 5 TPC 2006 User Manual Appendix A Specifications 5 Note Refer to the Declaration of Conformity DoC for this product for any additional regulatory compliance information To obtain the DoC for this product visit ni com certification search by model number or product line and click the appropriate link in the Certification column Environmental Management National Instruments is committed to designing and manufacturing products in an environmentally responsible manner NI recognizes that eliminating certain hazardous substances from our products is beneficial not only to the environment but also to NI customers For additional environmental information refer to the NI and the Environment Web page at ni com environment This page contains the environmental regulations and directives with which NI complies as well as any other environmental information not included in this document Waste Electrical and Electronic Equipment WEEE EU Customers At the end of their life cycle
10. 4 4 TPC Configurator 4 1 TPC Version Information 4 4 TPC 2006 beep settings 3 2 CE compliance specifications A 5 cleaning specifications 1 2 A 6 COM port setting D 2 dimensions 2 display settings 3 1 National Instruments Corporation 1 3 Index electromagnetic compatibility specifications A 5 environmental management specifications A 6 environmental specifications A 4 fuse replacement C 1 specifications A 4 I O ports 1 1 introduction 1 1 LCD specifications A 3 mercury disposal and recycling specifications A 6 networking via Ethernet 4 5 via serial port 4 6 ActiveSync setup 4 6 host communication environment setup 4 7 TPC 2006 communication environment setup 4 6 via USB client port 4 7 panel mounting 2 4 physical specifications A 1 pin assignments D 1 RS232 D 1 RS485 D 2 power connector figure 2 3 power receptor figure 2 3 power specifications A 4 safety information 2 1 specifications A 5 specifications A 1 storage 1 2 system configuration 3 1 system kernel specifications A 2 system setup 2 2 touchscreen calibration 2 3 3 1 specifications A 4 TPC 2006 User Manual Index Waste Electrical and Electronic W Equipment specifications A 6 watchdog timer programming B 1 DevicelOControl B 1 Windows CE NET 4 1 ActiveSync 4 3 Bright exe 4 4 Buzzer exe 4 4 Waste Electrical and Electronic Equipment compliance specifications A 6 watchdog 4 2 watchdog ti
11. C Version Information 4 4 National Instruments Corporation Vii TPC 2006 User Manual Contents THe Utilities eire PRETEREA Nr ie EP Yel Re Urea 4 4 Bright exe B vel s uh eaedem 4 4 Buzzer exe frequency duration 4 4 Conttast exe 2 under cs 4 5 R gsSave exe s e ee ton Feet EEE det aaah 4 5 REDOOLER Ci sro RH AST 4 5 4 5 Iesample exe n f ip address folder 4 5 Network im M EC L 4 5 Networking Via Ethernet ua he hill tene 4 5 Networking Via the Serial Port 4 6 ActiveSync Setup ect ete A na eben 4 6 Networking via the USB Client Port 4 7 Appendix A Specifications Appendix B Watchdog Timer Programming Appendix C Fuse Replacement Appendix D Pin Assignments Appendix E Technical Support and Professional Services Index TPC 2006 User Manual Viii ni com General Information This chapter includes general information about the TPC 2006 Human Machine Interface HMI Introduction The TPC 2006 touch panel computer a state of the art RISC based HMI includes these key features 1 0 Ports Fanless Because the system uses a low power processor it does not need fans which often are unreliable and cause dust to circulate inside the equipment Bright display The CSTN LCD features a 5 7 in display that meets industrial demands for clea
12. ISABLE Disables the application watchdog timer e lpInBuffer unused e ninBufferSize unused lpOutBuffer unused nOutBufferSize unused IOCTL STROBE Triggers the watchdog If your application uses IOCTL WDT ENABLE to enable the watchdog first and then sends REBOOT to the WDT driver your application must trigger the watchdog once during the watchdog timer period If your application has not triggered at the specified period the device reboots automatically e lpInBuffer unused nInBufferSize unused lpOutBuffer unused nOutBufferSize unused 0 GETTIMEOUT Gets the watchdog time setting lpInBuffer unused e ninBufferSize unused e lpOutBuffer The DWORD points to your watchdog time setting The watchdog time settings are Setting Time 0 2s 1 default 5 s default 2 10s 3 15s 4 30s National Instruments Corporation 3 TPC 2006 User Manual Appendix B Watchdog Timer Programming Setting Time 5 456 6 60 s nOutBufferSize unused IOCTL WDT SETTIMEOUT Sets the watchdog time setting e DWORD points to your watchdog time setting The watchdog time settings are Setting Time 0 2s 1 default 5 s default 2 10s 3 15s 4 30s 5 45 s 6 60 s nInBufferSize unused e lpOutBuffer unused n
13. OutBufferSize unused 0 REBOOT If you want your application to trigger the watchdog use IOCTL WDT REBOOT to notify the watchdog driver timer WDT Otherwise the WDT triggers itself automatically e lpInBuffer unused e nInBufferSize unused lpOutBuffer unused e nOutBufferSize unused TPC 2006 User Manual B 4 ni com Appendix B Watchdog Timer Programming Programming Example define WDT CODE ID CTL CODE FILE DEVICE UNKNOWN ID METHOD BUFFERED FILE ANY ACCESS define IOCTL WDT ENABLE WDT CODE 0x900 define IOCTL WDT DISABLE WDT CODE 0x901 define IOCTL WDT STROBE WDT CODE 0x902 define IOCTL GET TIMEOUT CODE 0x903 define IOCTL WDT SET TIMEOUT WDT CODE 0x904 define IOCTL WDT REBOOT WDT CODE 0x905 for compatibility reasons you can define IOCTL as below define IOCTL WDT ENABLE 0x1001 define IOCTL WDT DISABLE 0x1002 define IOCTL WDT STROBE 0x1003 define IOCTL WDT GETTIMEOUT 0x1004 define IOCTL WDT SETTIMEOUT 0x1005 define IOCTL WDT REBOOT 0x1006 HANDLE m_hWDT NULL TCHAR szClassName 60 assign the WDT driver name wsprintf szClassName TEXT WDT1 Open the WDT driver m hWDT CreateFile szClassName GENERIC READ GENERIC WRITE 0 NULL OPEN EXISTING FILE ATTRIBUTE NORMAL NULL if m hWDT INVALID HANDLE VALUE DebugMsg CString WDT driver fail return j DWORD dwTemp DWORD nIndex 2 Set the Watchdog Timer as 10
14. Patents For patents covering National Instruments products refer to the appropriate location Help Patents in your software the patents txt file on your CD or ni com patents WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS 1 NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 IN ANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY ADVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION INSTALLATION ERRORS SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNANTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS INCLUDING THE RISK OF BODILY INJURY AND DEATH SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELEC
15. TPC 2006 User Manual July 2007 NATIONAL 3720508 0 ANiNsrRUMENTS Worldwide Technical Support and Product Information ni com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 Worldwide Offices Australia 1800 300 800 Austria 43 662 457990 0 Belgium 32 0 2 757 0020 Brazil 55 11 3262 3599 Canada 800 433 3488 China 86 21 5050 9800 Czech Republic 420 224 235 774 Denmark 45 45 76 26 00 Finland 358 0 9 725 72511 France 01 57 66 24 24 Germany 49 89 7413130 India 91 80 41190000 Israel 972 3 6393737 Italy 39 02 413091 Japan 81 3 5472 2970 Korea 82 02 3451 3400 Lebanon 961 0 1 33 28 28 Malaysia 1800 887710 Mexico 01 800 010 0793 Netherlands 31 0 348 433 466 New Zealand 0800 553 322 Norway 47 0 66 90 76 60 Poland 48 22 3390150 Portugal 351 210 311 210 Russia 7 495 783 6851 Singapore 1800 226 5886 Slovenia 386 3 425 42 00 South Africa 27 0 11 805 8197 Spain 34 91 640 0085 Sweden 46 0 8 587 895 00 Switzerland 41 56 2005151 Taiwan 886 02 2377 2222 Thailand 662 278 6777 Turkey 90 212 279 3031 United Kingdom 44 0 1635 523545 For further support information refer to the Technical Support and Professional Services appendix To comment on National Instruments documentation refer to the National Instruments Web site at ni com info and enter the info code feedback 2006 2007 National Instruments Corporation All rights reserved
16. TPC 2006 User Manual To configure COMI on the TPC 2006 select Start Settings Control Panel Double click the PC Connection icon Click Change to select the COM port In the Change Connection window enter 11 Click Enter the return arrow symbol on the soft keyboard to confirm the change The PC Connection Properties window should display Seriall in the Connect using field 4 6 ni com Chapter 4 Windows CE NET Setting Up the Host Communication Environment Follow these steps to set up the host communication environment 1 2 Double click the ActiveSync icon on the host computer In the Microsoft ActiveSync window select File Connection Settings In the Connection Settings window select Allow serial cable or infrared connection to the COM port Allow network Ethernet and Remote Access Service RAS server connection with this desktop computer and Show status icon in Taskbar Click Get Connected The Get Connected window appears Do not click Next at this time On the TPC 2006 select Start Run Enter windows repllog exe and click OK In the Get Connected window on the host computer click Next When the TPC and the host PC are connected the Connected to My Connection window appears The New Partnership window appears on the host computer Select No and click Next Click Explore in the Microsoft ActiveSync window The Mobile Device appears displaying the TPC 2006 file resources and
17. TRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE TO AVOID DAMAGE INJURY OR DEATH THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES INCLUDING BUT NOT LIMITED TO BACK UP OR SHUT DOWN MECHANISMS BECAUSE EACH END USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESIGN PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION Compliance Compliance with FCC Canada Radio Frequency Interference Regulations Determining FCC Class The Federal Communications Commission FCC has rules to protect wireless communications from interference The FCC places digital electronics into two classes These classes are known as Class A for use in industrial commercial locations only or Class B for use in residential or commercial locations National Instruments NI products are FCC Class A products Depending on where it is operated this Class A product could be subject to restrictions in the FCC rules In Canada the Departme
18. d TPC 2006 User Manual If you need to clean the unit use a soft nonmetallic brush Make sure that the unit is completely dry and free from contaminants before returning it to service 1 2 System Setup This chapter includes setup information for the TPC 2006 Important Safety Information Before setting up the TPC 2006 read these safety instructions carefully Disconnect this equipment from any AC outlet before cleaning Use a damp cloth Do not use liquid or spray detergents for cleaning For plug in equipment the power outlet socket must be located near the equipment and must be easily accessible Keep this equipment away from excessive humidity Place this equipment on a reliable surface during installation Dropping it or letting it fall may cause damage The openings on the enclosure are for air convection Protect the equipment from overheating Do not cover the openings Make sure the power source voltage is correct before connecting the equipment to the power outlet Position the power cord so that it cannot be stepped on Do not place anything over the power cord cautions and warnings on the equipment should be noted If the equipment is not used for a long time disconnect it from the power source to avoid damage by transient overvoltage Never pour any liquid into an opening This may cause fire or electrical shock Never open the equipment For safety reasons only qualified
19. e Startup Programs to set the startup programs without editing The programs listed under Startup Programs are automatically executed after the system has successfully booted Click Add to add a file to the startup Click Delete to remove a file from the startup 4 2 ni com Chapter 4 Windows CE NET 5 Note Do not try to insert a nonexecutable file into the startup program Use Reboot to reboot the TPC 2006 There are two additional ways to reboot the system clicking the machine icon in the status bar and executing the reboot exe command through a command line program e Use the Registry options to save and view registry information Click Save to save the registry to a solid state disk Click View to view edit create or delete registry information You also can back up or restore the registry setting by clicking Backup or Restore Note You cannot back up and restore over different image versions e Use Web Server Root to enter the web server root path The root path takes effect only after rebooting the machine Use Ftp Server Root to enter the FTP server root path The root path takes effect only after rebooting the machine Tools Select Start Programs Utilities to access the following tools Note For best results when accessing these tools click the arrow to the right of the Utilities menu to avoid accidentally selecting a submenu item ActiveSync ActiveSync synchronizes data and monitors the connection
20. e capacity of the disk and memory Network The Network page displays information about the active network adapter Click Renew to release the current IP and retrieve a new IP Click Ping to ping a specified IP address to test the connection Click Advanced for more detailed IP information including the default gateway DHCP server primary WINS server and DNS server addresses Watchdog Using the watchdog function the device automatically resets if a program does not respond in time This prevents system crashes and hangs from stopping your critical applications as the watchdog automatically restarts the machine when required Use the Watchdog tab to set the response time which is the period that the watchdog waits for a response The response time is in effect only when you select a time span and enable the watchdog When you enable the watchdog and click the Test button the no resetting signal is sent to the watchdog hardware periodically The watchdog assumes the machine is deadlocked and reboots it after the watchdog response time If the machine reboots as expected after the watchdog response time the watchdog is working properly Misc The Misc tab includes the following functions Caution Do not enter the CompactFlash folder name in the CF Disk Name text box directly Renaming the CompactFlash folder to a name not on the list causes irreversible problems with application program settings TPC 2006 User Manual e Us
21. he Page Setup item and select Options from the last dialog box This icon denotes a note which alerts you to important information This icon denotes a caution which advises you of precautions to take to avoid injury data loss or a system crash When this symbol is marked on a product refer to the Safety section of Appendix A Specifications for information about precautions to take When symbol is marked on a product it denotes a warning advising you to take precautions to avoid electrical shock When symbol is marked on a product it denotes a component that may be hot Touching this component may result in bodily injury Bold text denotes items that you must select or click in the software such as menu items and dialog box options Bold text also denotes parameter names Italic text denotes variables emphasis a cross reference or an introduction to a key concept Italic text also denotes text that is a placeholder for a word or value that you must supply Text in this font denotes text or characters that you should enter from the keyboard sections of code programming examples and syntax examples This font is also used for the proper names of disk drives paths directories programs subprograms subroutines device names functions operations variables filenames and extensions Bold text in this font denotes the messages and responses that the computer automatically prints to the screen This font also emphasizes
22. in industrial automation and operator interface terminals because downtime is minimized Also the small storage space required allows installation on a reliable solid state disk Note The TPC 2006 includes the English version of Windows CE by default Contact National Instruments for local language support Note The TPC 2006 supports Remote Desktop Connection in Windows CE but the maximum resolution supported is only 320 x 240 TPC Utilities Windows CE NET on the TPC 2006 includes several useful utilities Soft Keyboard The TPC 2006 is designed for small operator interfaces Because it is inconvenient to attach a keyboard to such a small device Windows CE NET on the TPC 2006 includes a soft keyboard On boot a small keyboard icon appears in the status bar Tap this icon with the stylus to activate or hide the soft keyboard TPC Configuration The TPC 2006 includes an integrated utility to configure the basic device settings To access the utility click the TPC Configurator icon on the desktop Navigate the configuration by tapping the four page tabs General Network Watchdog and Misc National Instruments Corporation 4 1 TPC 2006 User Manual Chapter 4 Windows CE NET General The General page displays basic system information There are two main parts System and Disk amp Memory System shows the OS image version and CPU type Disk amp Memory includes total capacity usage and currently availabl
23. ize in bytes of the buffer pointed to by 1pInBuf fer lpOutBuffer out Long pointer to a buffer that receives the operation s output data This parameter can be NULL if the dwroControlCode parameter specifies an operation that does not produce output data nOutBufferSize in Size in bytes of the buffer pointed to by 1pout Buf fer lpBytesReturned out Long pointer to a variable that receives the size in bytes of the data stored into the buffer pointed to by 1pOutBuffer The lpBytesReturned parameter cannot be NULL Even when an operation produces no output data and 1pOutBuffer can be NULL DeviceloControl makes use of the variable pointed to by lpBytesReturned After such an operation the variable value has no meaning lpOverlapped in Ignored set to NULL e Return Values Nonzero indicates success Zero indicates failure To get extended error information call GetLastError How to Use the Control Codes There are six control codes for the WDT driver operation codes IOCTL WDT ENABLE TPC 2006 User Manual Enables the application watchdog timer By default if the watchdog timer is enabled the WDT driver automatically triggers itself after the specified period and your application does not need to trigger the watchdog timer lpInBuffer unused nInBufferSize unused B 2 ni com Appendix B Watchdog Timer Programming lpOutBuffer unused nOutBufferSize unused IOCTL WDT D
24. l v D DevicelOControl B 1 control codes IOCTL WDT DISABLE B 3 IOCTL WDT ENABLE B 2 IOCTL GETTIMEOUT B 3 IOCTL WDT REBOOT B 4 IOCTL WDT SETTIMEOUT B 4 IOCTL WDT STROBE B 3 using B 2 parameters B 1 diagnostic tools NI resources E 1 dimensions 2 National Instruments Corporation display settings 3 1 documentation conventions used in the manual v NI resources E 1 drivers NI resources E 1 E electromagnetic compatibility specifications A 5 environmental management A 6 environmental specifications A 4 examples NI resources E 1 F fuse replacement C 1 specifications A 4 G General tab 4 2 H help technical support E 1 I O ports 1 1 Iesample exe 4 5 instrument drivers NI resources E 1 introduction 1 1 WDT DISABLE B 3 IOCTL WDT ENABLE B 2 IOCTL GETTIMEOUT B 3 IOCTL WDT REBOOT B 4 TPC 2006 User Manual Index IOCTL WDT SETTIMEOUT B 4 IOCTL WDT STROBE B 3 K KnowledgeBase E 1 L LCD specifications A 3 mercury disposal and recycling specifications A 6 Misc tab 4 2 National Instruments support and services E 1 Network tab 4 2 networking 4 5 via Ethernet 4 5 via serial port 4 6 ActiveSync setup 4 6 host communication environment setup 4 7 TPC 2006 communication environment setup 4 6 via USB client port 4 7 NI support and services E 1 P panel mounting 2 4 physical specifications A
25. lines of code that are different from the other examples Contents Chapter 1 General Information Heo esto 1 1 rnit he EP RE eas ERE ERES 1 1 Misc fies lee saves Len tn near es entree tes a een 1 2 Cleaning ine eee RE haves GUI dea Pod SO nn 1 2 Chapter 2 System Setup Important Safety Information 2 1 DP E 2 2 Touchsereen Calibration tette re er 2 3 Panel Mounting teris etre ero Pe ERE RE PIS 2 4 Chapter 3 System Configuration Display Setn Sai horie aenep nr Ue eedem nem 3 1 Touchsereen Calibrati ni n immenses 3 1 Beep Settings de ect ett e tei n e E E ee a e ugs 3 2 Chapter 4 Windows CE NET TPC Utilities irte e etie On Ep t prt ens 4 1 Soft Keyboard 4h eod neon er heo ed pe qoe 4 1 EPG Configuration ste nn pt IRE HER TREE RN RE De 4 1 General aset RR an ne ithe SR o e es IR ER shui 4 2 N tWwork i aei ete ete RO Pe 4 2 WatchdOo8 tee de tee PED OR ERE 4 2 oo 4 2 TO0l 4 pec to e n EN e E a P RB ER de 4 3 ACUVeSyDC aie Gp Rio Minnie 4 3 Registry Editoria nrc reg mieu 4 3 Registty Sayet c icc ense e HET 4 3 Remote Display Application ss 4 4 TPG CE Notepad soi cac tete ipte 4 4 TPC Configuratot e nete 4 4 TP
26. mer programming B 1 DevicelOControl B 1 programming example B 5 Web resources E 1 Aa Windows NET 4 1 1 4 5 networking 4 5 TPC utilities 4 1 Reboot exe 4 5 Registry Editor 4 3 Registry Saver 4 3 RegSave exe 4 5 Remote Display Application 4 4 Screen exe 4 5 soft keyboard 4 1 tools 4 3 TPC CE Notepad 4 4 TPC Configurator 4 1 4 4 General tab 4 2 Misc tab 4 2 Network tab 4 2 watchdog 4 2 TPC utilities 4 1 TPC Version Information 4 4 training and certification NI resources E 1 troubleshooting NI resources E 1 TPC 2006 User Manual 1 4 ni com
27. nd if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user is required to correct the interference at their own expense Canadian Department of Communications This Class A digital apparatus meets all requirements of the Canadian Interference Causing Equipment Regulations Cet appareil num rique de la classe A respecte toutes les exigences du R glement sur le mat riel brouilleur du Canada Compliance with EU Directives Users in the European Union EU should refer to the Declaration of Conformity DoC for information pertaining to the CE marking Refer to the Declaration of Conformity DoC for this product for any additional regulatory compliance information To obtain the DoC for this product visit ni com certification search by model number or product line and click the appropriate link in the Certification column marking Declaration of Conformity contains important supplementary information and instructions for the user or installer Conventions 5 AN A N bold italic monospace monospace bold The following conventions are used in this manual The symbol leads you through nested menu items and dialog box options to a final action The sequence File Page Setup Options directs you to pull down the File menu select t
28. ne 3 pin power connector One HMI Resource CD If any items are missing or damaged contact National Instruments TPC 2006 User Manual 2 2 ni com Chapter 2 System Setup Connect the power connector to 24 VDC power lines Be sure to connect the positive negative and ground lines as shown in Figure 2 1 The power lines can be from either a power adapter or in house power source Figure 2 1 Power Connector Connect the power connector to the power receptor on the TPC 2006 The power receptor pin assignment is shown in Figure 2 2 GND 4 Figure 2 2 Power Receptor and Pin Assignment Power on the system Touchscreen Calibration The TPC 2006 touchscreen should be correctly calibrated and ready to use when you power on the system However if the calibration is not correct or you want to choose custom calibration options refer to the Touchscreen Calibration section of Chapter 3 System Configuration National Instruments Corporation 2 3 TPC 2006 User Manual Chapter 2 System Setup Panel Mounting Follow these steps to mount the TPC 2006 in a panel 1 Be sure the adhesive waterproof gasket on the front bezel is in position 2 Install the TPC 2006 into the panel opening Refer to Appendix A Specifications for cutout dimensions 3 Hookthe clamps included in the accessory pack to the holes around the four sides of
29. ng the window Power Input voltage reete 24 VDC the fuse becomes an open circuit if input level exceeds 33 VDC Maximum current sese 2A Fuse rupp F5A 250 V Np nmn 5x 20mm Note When replacing the fuse use only a fuse of the same type and rating Note The fuse is set to break if the input voltage exceeds 33 VDC Operating temperature to 50 C Storage temperature 20 to 70 C 4 ni com Appendix A Specifications Hunudity 10 to 9596 at 40 relative humidity noncondensing Viabtation usn e EID 10 to 18 Hz at 1 5 mm peak to peak displacement 18 to 500 Hz at 1 G acceleration Maximum altitude ss 2 000 m Pollution Degree 2 Indoor use only Safety This product is designed to meet the requirements of the following standards of safety for information technology equipment e TEC 60950 1 EN 60950 1 e UL 60950 1 CSA 60950 1 Note For UL and other safety certifications refer to the product label or visit ni com certification search by model number or product line and click the appropriate link in the Certification column Electromagnetic Compatibility This product is designed to meet the requirements of the following standards of EMC for electrical equipment for measurement control and laboratory use e EN 55024 CISPR 24 EMC requirements e EN 5502
30. nt of Communications DOC of Industry Canada regulates wireless interference in much the same way Digital electronics emit weak signals during normal operation that can affect radio television or other wireless products Class A products display a simple warning statement of one paragraph in length regarding interference and undesired operation The FCC rules have restrictions regarding the locations where FCC Class A products can be operated Consult the FCC Web site at www for more information FCC DOC Warnings This equipment generates and uses radio frequency energy and if not installed and used in strict accordance with the instructions in this manual and the CE marking Declaration of Conformity may cause interference to radio and television reception Classification requirements are the same for the Federal Communications Commission FCC and the Canadian Department of Communications DOC Changes or modifications not expressly approved by NI could void the user s authority to operate the equipment under the FCC Rules Class A Federal Communications Commission This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy a
31. on of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be reproduced or transmitted in any form electronic or mechanical including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation National Instruments respects the intellectual property of others and we ask our users to do the same NI software is protected by copyright and other intellectual property laws Where NI software may be used to reproduce software or other materials belonging to others you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction Trademarks National Instruments NI ni com and LabVIEW are trademarks of National Instruments Corporation Refer to the Terms of Use section on ni com legal for more information about National Instruments trademarks Other product and company names mentioned herein are trademarks or trade names of their respective companies Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency partnership or joint venture relationship with National Instruments
32. r interfaces Powerful Communication Capability The TPC 2006 is a powerful I O interface for easy communication with other devices The I O interface includes RS232 and RS485 serial Ethernet and USB ports Windows CE Support An optional Windows CE operating system specifically for the TPC 2006 is available for Windows CE application program builders JVM Support The TPC 2006 is powered by JVM which is compatible with PersonalJava 1 2 The TPC 2006 includes the following ports National Instruments Corporation Three serial ports two RS232 COMI 2 and one configurable as RS485 COMA or RS232 COM3 One RJ 45 Ethernet port Two USB ports compliant with USB 1 1 one USB Host Type A and one USB Client Type B One CompactFlash 2 0 type I II slot 1 1 TPC 2006 User Manual Chapter 1 General Information Storage Figure 1 1 shows the I O port arrangement 2 LAN 3 USB 1 RS232 COM4 RS485 4 USB 5 COM RS232 6 RS232 Figure 1 1 1 0 Ports Arrangement Cleaning The TPC 2006 includes two storage methods an onboard 64 MB NAND flash and a CompactFlash card The system boot sequence is e fno CompactFlash card is installed the system automatically boots from the onboard NAND flash e Ifa CompactFlash card is installed the system boots from the CompactFlash car
33. reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition The reader should consult National Instruments if errors are suspected In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it EXCEPT AS SPECIFIED HEREIN NATIONAL INSTRUMENTS MAKES NO WARRANTIES EXPRESS OR IMPLIED AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein does not cover damages defects malfunctions or service failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modificati
34. rol Parameters DeviceIOControl sends a control code directly to a specified device driver causing the corresponding device to perform the specified operation The function and its parameters are BOOL DeviceloControl HANDLE hDevice DWORD dwloControlCode LPVOID lpInBuffer DWORD nInBufferSize LPVOID lpOutBuffer DWORD nOutBufferSize LPDWORD lpBytesReturned LPOVERLAPPED lpOverlapped DevicelOControl includes the following parameters e hDevice in Handle to the device that performs the operation Call the CreateFile function to obtain a device handle dwloControlCode in Specifies the operation control code This value identifies the specific operation to be performed and the type of device on which the operation is to be performed No specific values are defined for the dwIoControlCode parameter However if you write a custom device driver you can define XXXX control codes per the CTL CODE macro You then can advertise these control codes and an application can use these control codes with DeviceloControl to perform driver specific functions National Instruments Corporation B 1 TPC 2006 User Manual Appendix B Watchdog Timer Programming lpInBuffer in Long pointer to a buffer that contains the data required to perform the operation This parameter can be NULL if the GwIoControlCode parameter specifies an operation that does not require input data niInBufferSize in S
35. seconds Number 2 means 10 seconds DeviceloControl m_hWDT IOCTL WDT SET TIMEOUT amp nIndex sizeof nIndex NULL 0 amp dwTemp NULL Enable the Watchdog timer DeviceloControl m hWDT IOCTL WDT ENABLE NULL 0 NULL 0 amp dwTemp NULL While 1 do your job here Sleep 8000 DeviceloControl m hWDT IOCTL WDT STROBE NULL 0 NULL 0 amp dwTemp NULL j DeviceloControl m hWDT IOCTL WDT DISABLE NULL NULL 0 amp dwTemp NULL CloseHandle m hWDT db db db National Instruments Corporation B 5 TPC 2006 User Manual Fuse Replacement Caution Do not replace the fuse unless it is damaged Do not replace the fuse with a differently rated fuse For more information see the fuse specifications in Appendix A Specifications Follow these steps to replace the fuse 1 2 3 4 5 National Instruments Corporation Remove the power cable Remove the fuse cover Replace the damaged fuse with a new one Place the fuse cover back into position Replace the power cable C 1 TPC 2006 User Manual Pin Assignments RS232 Pin Assignment 4 5 Bex 0000 Pin Number Description Pin 1 DCD Pin 2 Rx Pin 3 Tx Pin 4 DTR Pin 5 GND Pin 6 DSR Pin 7 RTS Pin 8 CTS Pin 9 RI
36. service personnel should open the equipment National Instruments Corporation 2 1 TPC 2006 User Manual Chapter 2 System Setup If one of the following situations arises have service personnel check the equipment e The power cord or plug is damaged e Liquid has penetrated into the equipment e equipment has been exposed to moisture e equipment does not work well or you cannot get it to work according to the user manual The equipment has been dropped and damaged e equipment has obvious signs of breakage Do not leave this equipment in an environment where the storage temperature may go below 20 C 4 F or above 60 C 140 F Doing so could damage the equipment The equipment should be in a controlled environment A Caution There is a danger of explosion if the battery is incorrectly replaced Replace the battery only with the same or equivalent type recommended by the manufacturer Discard used batteries according to the manufacturer s instructions The sound pressure level at the operator s position according to IEC 704 1 1982 is no more than 70 dB A A Caution The protection this equipment provides may be impaired if it is used in a manner not described in this manual Setup Follow these steps to set up the TPC 2006 1 Unpack TPC 2006 Be sure your kit includes the following items The TPC 2006 HMI Eight panel mounting clamps Eight panel mounting screws O
37. t in Samsung 64 MB NAND flash Pth rnet ine ette DM9000E 10 100Base T Ethernet controller IEEE 802 3u protocol compatible Watchdog timer Samsung S3C2410A watchdog timer 2 5 10 15 30 40 s timeout period option CompactFlash CompactFlash type I II LCD Display type Color STN LCD Size diagonal 5 7 in Maximum resolution sses 320 x 240 QVGA Maximum colors eene 256 Pixel pitch W x 0 12 x 0 36 Viewing angle nee 110 Luminance cd m2 201 Contrast ratio 35 Operating temperature 0 to 50 ambient Controls ise mines Contrast adjustable Backlight 1 LGCD MTBE 2 ne 100 000 h Backlight MTBF 40 000 h National Instruments Corporation 3 TPC 2006 User Manual Appendix A 5 5 GB Specifications Environment TPC 2006 User Manual Touchscreen Touch type Resistive Base glass construction Tempered glass Resolution Continuous Light transmission sess 75 typical Controller cerit RED SPI AD7846 Power rating 5 VDC Software driver 2 22 Windows CE embedded Durabihty u eerte 100 million touches Note No pointer cursor appears when using the touchscreen The cursor appears only when closing or minimizi
38. the OS version information The following utilities are command line executed programs without graphical user interfaces To execute these utilities type the command names and parameters as shown below Bright exe Level Sets the display brightness level The parameters are 1 to 10 Buzzer exe frequency duration Plays a beep Use parameters to set the frequency in Hertz and duration in milliseconds If you do not use parameters the default frequency is 350 Hz and default duration is 30 ms 4 4 ni com Chapter 4 Windows CE NET Contrast exe Level Sets the display contrast The parameters are 1 to 10 RegSave exe s Saves the registry settings If you use RegSave exe s no message box is displayed whether you are successful or fail Reboot exe Saves the registry settings and reboots the TPC 2006 Screen exe on off Turns the display on off Use Screen exe on to turn on and Screen exe off to turn off the display lesample exe n f ip address folder name Launches Internet Explorer Use Iesample exe n to close the scroll bar Use Iesamples exe fto activate the full screen The parameters can be blank Networking Networking Via Ethernet Follow these steps to configure the TPC 2006 Ethernet port Note sure you are connected to a LAN before booting the system iyi Note The data transfer buffer size per package via Ethernet is about 20 000 1 Select Start Settings Net
39. two taps when double tapping in Windows CE Use Calibration to calibrate the touchscreen Click the Calibration tab and click Recalibrate to calibrate the touchscreen cross appears on the screen in the following locations center upper left lower left lower right and upper right Use the stylus to tap the center of the cross until it moves to next location 3 1 TPC 2006 User Manual Chapter 3 System Configuration Beep Settings In Windows CE NET you can set the TPC 2006 to beep when you touch the touchscreen Follow these steps to enable or disable this function 1 Select Start Settings Control Panel Volume amp Sounds to access the Volume and Sounds Properties window 2 Usethe controls in the Volume tab to set the volume and enable or disable the beep for various events and inputs Follow these steps to change the beep sound frequency 1 Select Start Settings Control Panel Buzzer Settings to access the Buzzer Frequency Settings window 2 Inthe Buzzer Frequency Settings window select the desired frequency TPC 2006 User Manual 3 2 ni com Windows CE NET The TPC 2006 is designed for Windows CE Windows CE is a compact operating system that occupies less storage space and uses fewer system resources than other operating systems Its modular nature allows you to choose functions useful for a specific application This reduces required system resources and boot time This feature is important
40. work and Dial up Connections 2 A window displaying all available connections appears Double click the icon for the connection you want to configure 3 Select the IP Address tab and select Obtain an IP address via DHCP 4 Select the Name Servers tab and enter the server addresses Select Start Run Enter regsave to save the registry settings to a storage card National Instruments Corporation 4 5 TPC 2006 User Manual Chapter 4 Windows CE NET Networking Via the Serial Port This section explains how to set up the connection between the TPC 2006 and a host PC via ActiveSync ActiveSync Setup Follow these steps to set up ActiveSync 1 2 3 4 Insert the TPC series support CD into the host PC CD ROM Install the TPC software development kit for eVC Install ActiveSync Connect the host computer and TPC with a null modem cable included in the kit Make sure the connection is solid on both RS232 serial ports Set up the TPC 2006 and host communication environments as described below Setting Up the TPC 2006 Communication Environment Note Before completing this section change to the small system font size Go to Start Programs Utilities System Font Setting Click Small System Font Size Click OK A confirmation appears saying This will change the system font size and reboot Are you sure Click YES Follow these steps to set up the TPC 2006 communication environment 1 ups
Download Pdf Manuals
Related Search
Related Contents
MINIDOS Notice d`utilisatioN Mode d`emploi Poêle en fonte eFlow E3 Nitro Owner`s Manual Emerson Foundation 42U - 19" Air Conditioned Rack Enclosure System - NGX Technologies Manual de Instruções para a Criação de Ficheiros CSR Samsung GU5.3 MR16 7.7W User`s Manual - Videocon Mobiles Nilfisk-ALTO 30/BATT/PC/XC User's Manual Copyright © All rights reserved.
Failed to retrieve file