background image

Preparing Installation C#

 

42 

CHAPTER 9 

Preparing Installation of C# 

   

 

9.1 

Install Visual C++ 2013 Redistributable 

Install Visual C++ 2013 Redistributable. 

 

 

 

 

Note

 

 

 

 

Please download the Microsoft visual C++ 2013 redistributable listed below.  

 

https://www.microsoft.com/en-US/download/details.aspx?id=40784

 

 

 

Содержание IRU152-EVK-DC

Страница 1: ...Introduction 1 IRU152 EVK DC Robust Din rail Fanless Embedded System Evaluation Kit User s Manual ...

Страница 2: ...ness or usefulness of any information in this document Axiomtek does not make any commitment to update the information in this manual Axiomtek reserves the right to change or revise this document and or product at any time without notice No part of this document may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or...

Страница 3: ...t to the power outlet 4 Turn OFF the system power before cleaning Clean the system using a cloth only Do not spray any liquid cleaner directly onto the screen 5 Do not leave this equipment in an uncontrolled environment where the storage temperature is below 45 or above 85 It may damage the equipment 6 Do not open the system s back cover If opening the cover for maintenance is a must only a traine...

Страница 4: ...rt or component for the computer please read and understand the details below fully When you need to clean the device please rub it with a piece of dry cloth 1 Be cautious of the tiny removable components when you use a vacuum cleaner to absorb the dirt on the floor 2 Turn the system off before you start to clean up the component or computer 3 Never drop the components inside the computer or get c...

Страница 5: ... of cloth Water or rubbing alcohol You may moisten a piece of cloth a bit with some water or rubbing alcohol and rub it on the computer Unknown solvents may be harmful to the plastics parts Vacuum cleaner Vacuuming the dust dirt hair cigarette particles and other particles out of a computer can be one of the best methods of cleaning a computer Over time these items can restrict the airflow in a co...

Страница 6: ...mark of Axiomtek Co Ltd IBM PC AT PS 2 VGA are trademarks of International Business Machines Corporation Intel and Pentium are registered trademarks of Intel Corporation MS DOS Microsoft C and QuickBASIC are trademarks of Microsoft Corporation VIA is a trademark of VIA Technologies Inc SST is a trademark of Silicon Storage Technology Inc UMC is a trademark of United Microelectronics Corporation Ot...

Страница 7: ...ion 22 CHAPTER 5 Preparing installation of LabVIEW 23 5 3 Download and Installation 25 CHAPTER 6 Using the Graphic User Interface of LabVIEW 28 6 1 Analog input function 28 6 2 Digital Input function 28 6 3 Digital Output function 30 CHAPTER 7 Preparing Installation of C C 34 7 1 Install Visual C 2013 Redistributable 34 7 2 Download and Unzip 35 CHAPTER 8 Using the Console Program of C C 36 8 1 An...

Страница 8: ...Introduction 8 CHAPTER 10 Using the Console Program of C 46 10 1 Analog Input Function 46 10 2 Digital Input Function 48 10 3 Digital Output Function 50 ...

Страница 9: ...Its vertical din rail form factor makes it easy to install the system in a small cabinet Thanks to the RISC based architecture the IRU152 will not generate a lot of heat while being operated The ready to run IRU152 is specially designed for industrial machines automatic parking lots traffic cabinets and more Features Fanless design Wide operating temperature of 40 C 70 C Low power RISC based modul...

Страница 10: ...Introduction 10 Storage Supports one 8GB eMMC onboard for boot disk Supports one micro SD Card easy to access for store only 1 power path with terminal block and 9 48VDC Din rail mounting ...

Страница 11: ...Introduction 11 1 2 I O Outlets The following figures help you locate the I O outlets on the front top and bottom of the IRU152 Front View Top View Bottom View ...

Страница 12: ... x 1 Screws x 8 Din rail Kit x1 Power terminal block x 1 DIO AI terminal block x 1 Note Please download the latest BSP or the latest Web_AP for IRU152 from Axiomtek s website as listed below if you have the demand http www axiomtek com tw Default aspx MenuId Products FunctionId ProductView ItemId 24279 upcat 134 Please contact an Axiomtek distributor if any of the above mentioned items is damaged ...

Страница 13: ...APTER 3 Setting Up The EVK STEP1 Open the outer box to confirm that the accessories are complete STEP2 Please take out the microphone measurement sensor STEP3 Please plug in the terminal block connector and USB into the IRU152 ...

Страница 14: ...Setting Up the EVK 14 STEP4 Plug in the power STEP5 Turn the switch to the Console mode and connect the console cable STEP6 Setup is complete and the system is ready to use ...

Страница 15: ...Setting Up the EVK 15 ...

Страница 16: ...nput range 9 48V 2 DC Terminal Block Pin DC Signal Name 1 Power 2 Power 3 DI 4 DI_G d The console Connect your computer to the IRU152 using a serial cable and change the switch to the Console mode as shown below You can connect the IRU152 to a personal computer PC using one of the following connection types Serial RS 232 console SSH over Ethernet ...

Страница 17: ...ctVi ew ItemId 24304 upcat 134 C IRU152 4 2 Serial Console The serial console is a convenient interface for connecting the IRU152 to a PC First of all it is very important to make sure that your desktop connects to the IRU152 with a serial cable Please set the system as follows Baudrate 115200 bps Parity None Data bits 8 Stop bits 1 Flow Control None Use PuTTY to set up and link to the IRU152 Foll...

Страница 18: ...EVK Network Configuration 18 2 Configure the serial port correctly see the image below Click Open and power on the IRU152 3 The data of the default Bootloader booting system from eMMC appears ...

Страница 19: ...EVK Network Configuration 19 4 If connection is established successfully you should see the following image ...

Страница 20: ... root without a password 4 3 SSH over Ethernet Follow the steps below to connect the IRU152 to a PC over Ethernet under the Windows and Linux environments respectively Before starting SSH you have to check your LAN1 IP address if you don t already know it ...

Страница 21: ...For Windows users 1 Use PuTTY to set up and link Open PuTTY and choose SSH as the connection type Then set the IP address to 10 1 50 117 and click Open 2 If connection is established successfully you should see the following image ...

Страница 22: ... terminal and enter an ssh command ssh l root 10 1 50 117 2 The following data appears after the connection is established successfully 4 4 Run Demo Application After logging in to the IRU152 enter the demo application directory cd etc ax_irutool demoAP_152 Run the DemoServerSocket application DemoServerSocket 1 ...

Страница 23: ...istributable from the link below https www microsoft com en US download details aspx id 40784 5 2 Install LabVIEW run Time Engine 2016 32 bit If the sample code binary files need to be executed and LabVIEW 2016 is not installed the LabVIEW Run Time Engine 2016 32 bit must be installed Download LabVIEW Run Time Engine 2016 32 bit from the NI website http www ni com download labview run time engine ...

Страница 24: ...Preparing installation LABVIEW 24 Execute the installer ...

Страница 25: ...xiomtek s website Note Please download the IRU152 LABVIEW SDK from Axiomtek s website listed below 5 On the download page the IRUSerial _LABVEW_SDK_Installer can be downloaded http www axiomtek com Default aspx MenuId Products FunctionId ProductVi ew ItemId 24304 upcat 134 C IRU152 5 3 1 Execute the installer ...

Страница 26: ...Preparing installation LABVIEW 26 5 3 2 Installation is complete ...

Страница 27: ...Preparing installation LABVIEW 27 ...

Страница 28: ...s Binary IRUSeries_AI_Read_Sample IRUSer ies_AI_Read_Sample exe 6 1 2 Please input these parameters IP Address channel rangeIndex sample rate trigger mode trigger source trigger condition and trigger level 6 1 3 Press Running 6 1 4 The data graphics will be shown in waveform The FFT graphic will be shown in frequency domain In the case below sample rate is 1 kHz and the source signal is 10hz 6 2 D...

Страница 29: ...ng Step 3 The status of all channels will be shown on the Read Port Status If the status is high the LED color is green If the status is low the LED color is gray The left side is DI channel 0 The Read Port Status will be shown once after pressing Running For line settings Step 1 Set IP Address Port Line Filter Trigger Condition Step 2 Press Running Step 3 The status of a channel will be shown on ...

Страница 30: ...RUSeries_DO_ReadWrite_Sample exe 6 3 2 The IRU152 has one port and two lines The port or line status can be read from the digital output of the IRU152 The port or line status can also be written to the digital output of the IRU152 For write port settings Step 1 Set IP Address select the function write port and specify the port Step 2 Click LED status on the Write Status The output status High is g...

Страница 31: ...tatus settings will be ignored Step 3 Press running For example Setting channel 0 is high For read port setting Step 1 Set IP Address select the function read port and specify the port Step 2 Press running Step 3 The read status will be shown for channels status The high is green and the low is gray The channel number is from left to right mapping to 0 to 7 For read line setting Step 1 Set IP Addr...

Страница 32: ...Using the Graphic User Interface LABVIEW 32 The high is green and the low is gray The channel number is from left to right mapping to 0 to 7 ...

Страница 33: ...Using the Graphic User Interface LABVIEW 33 This page is intentionally left blank ...

Страница 34: ...paring Installation of C C 7 1 Install Visual C 2013 Redistributable Install Visual C 2013 Redistributable Note Please download the Microsoft visual C 2013 redistributable listed below https www microsoft com en US download details aspx id 40784 ...

Страница 35: ...d the IRU152 Network SDK for Windows from Axiomtek s website listed below On the download page select the IRU Series Network SDK for Windows to download http www axiomtek com Default aspx MenuId Products FunctionId ProductVi ew ItemId 24304 upcat 134 C IRU152 7 2 2 Execute the file and select the path to unzip the file 7 2 3 Unzipping is completed ...

Страница 36: ... 1 Select the Module Type and input the IP address Step 2 Select the Start AI Polling Step 3 Select the Channel Step 4 Select the Input range Step 5 Input the Divisor to set up the sample rate Step 6 Select the Trigger Mode Step 7 Choose to read the raw data or not If the data are used for logging to a file select No Step 8 If Record data is set to No the first four data will be shown on the scree...

Страница 37: ...Using the Console Program C C 37 ...

Страница 38: ...k_v1 0 0 3 C_C Bin x86 DemoDI 8 2 2 Running the binary file When the program is executed follow the menu and select the item For example to read the DI current status follow the steps below Step 1 Select the Module Type and input the IP address Step 2 Select the Get current DI Status Step 3 Select the Read DI port status Step 4 The entire port status will be shown as one byte 0x03 means line 0 and...

Страница 39: ...Using the Console Program C C 39 ...

Страница 40: ..._v1 0 0 3 C_C Bin x86 DemoDO 8 3 2 Running the binary file When the program is executed follow the menu and select the item For example if the DO current status is wanted to be read following the steps Step 1 Select the Module Type and input the IP address Step 2 Select the Read DO Status Step 3 Select the Read DO port status Step 4 The entire port status will be shown as one byte 0x0 means line 0...

Страница 41: ...Using the Console Program C C 41 ...

Страница 42: ...paring Installation of C 9 1 Install Visual C 2013 Redistributable Install Visual C 2013 Redistributable Note Please download the Microsoft visual C 2013 redistributable listed below https www microsoft com en US download details aspx id 40784 ...

Страница 43: ...ing Installation C 43 9 2 Install NetFramework 4 5 x Install NetFramework 4 5 2 Note Please download the Microsoft NetFramework 4 5 2 listed below https www microsoft com en US download details aspx id 42642 ...

Страница 44: ...ad the IRU152 Network SDK for Windows from Axiomtek s website listed below On the download page select IRU Series Network SDK for Windows to download http www axiomtek com Default aspx MenuId Products FunctionId ProductVi ew ItemId 24304 upcat 134 C IRU152 9 3 2 Execute the file and select the path to unzip the file 9 3 3 Unzipping is completed ...

Страница 45: ...Preparing Installation C 45 This page is intentionally left blank ...

Страница 46: ...p 1 Select the Module Type and input the IP address Step 2 Select the Start AI Polling Step 3 Select the Channel Step 4 Select the Input range Step 5 Input the Divisor to set up the sample rate Step 6 Select the Trigger Mode Step 7 Choose to read the raw data or not If the data are used for logging to a file select No Step 8 If Record data is set to No the first four data will be shown on the scre...

Страница 47: ...Using the Console Program C 47 ...

Страница 48: ...k_v1 0 0 3 C Bin x86 DemoDI 10 2 2 Running the binary file When the program is executed follow the menu and select the item For example to read the DI current status following the steps Step 1 Select the Module Type and input the IP address Step 2 Select the Get current DI Status Step 3 Select the Read DI port status Step 4 The entire port status will be shown as one byte 0x03 means the line 1 and...

Страница 49: ...Using the Console Program C 49 ...

Страница 50: ...etwork_v1 0 0 3 C Bin x86 DemoDO 10 3 2 Running the binary file When the program is executed follow the menu and select the item For example to read the DO current status following the steps Step 1 Select the Module Type and input the IP address Step 2 Select the Read DO Status Step 3 Select the Read DO port status Step 4 The entire port status will be shown as one byte 0x0 means the line 1 and li...

Страница 51: ...Using the Console Program C 51 ...

Отзывы: