nc... Freescale Semiconductor, I

Size: px
Start display at page:

Download "nc... Freescale Semiconductor, I"

Transcription

1 Application Note 12/2002 PC Master Software: Creation of Advanced Control Pages By Milan Brejl S 3 L Applications Engineering Freescale Czech Systems Laboratories Roznov pod Radhostem, Czech Republic Objectives Prerequisites This application note describes the advanced techniques for creating PC master software Control Pages. For example, it can be represented by the design of a framed Control Page composed of two frames, with an HTMLbased frame and Microsoft Excel running embedded in the second frame. This enables you to control and adjust the target board application parameters and to visualize and analyze the board application processes. An adaptive signal-prediction algorithm running on the target board is used as a comprehensive example. This application note assumes basic knowledge of: PC Master Creation of HTML pages Basic HTML scripting with VB Script Creation of Microsoft Excel applications Introduction PC master software is a PC Windows -based application providing various support for embedded applications. It is a tool that can be used for debugging, monitoring, and controlling the target application and also for demonstrating the target board application functionality. Microsoft and Windows are registered trademarks of Microsoft Corporation in the U.S. and/or other countries. Motorola, Inc., 2002

2 nc. Control Page Functionality The embedded application runs on a target board (se Figure 1) which is connected to the PC via an RS232 interface. The PC runs the PC master software application that communicates with the target board application. The PC master software can read and write the target board application variables, record variable value courses, and provides other functions useful for monitoring, controlling, or debugging the target board application. For more information about this tool, refer to the PC Master Software User Manual portion of the MSW3SDK000AA: Embedded Software Development Kit for 56800/56800E and to the application note PC Master Software Usage (Freescale document order number AN2395/D). Both of these documents are available on the World Wide Web at: The Control Page is one of several pages which can be displayed in the Detail view pane of the PC master software main application window. It is intended to enable control of the target board application and may also contain parts dedicated to monitoring or analysis of the processes running on the target board. The page is based on HTML which is widely used on the Internet so the design can be made with the help of the web-authoring tools which are commercially available or even free on the Internet. Target Board RS 232 PC PC master Master software Figure 1. PC Master Software and Target Board Application PC master software uses Microsoft Internet Explorer to display the HTML pages, which enables the user to use a wide range of web technologies supported by it. Internet Explorer allows the following technologies to be used from the PC master software environment: HTML Dynamic HTML (DHTML) Java Script or VBScript ActiveX Java and Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States and other countries. 2 PC Master Software: Creation of Advanced Control Pages

3 nc. Control Page Functionality PC master software application implements an ActiveX object, which is used to enable access to and control of the target board application. The functions exposed by the ActiveX object can be called from a script inserted in the HTML code or from other Windows applications that are capable of working with ActiveX objects. In this document it will be demonstrated how to access the PC master software functions from both VB Script and Microsoft Excel running embedded in PC master software. The PC master software ActiveX control provides the following functions: ReadVariable reads a value from a PC master software-defined variable WriteVariable writes a value to a PC master software-defined variable SendCommand sends a PC master software-defined command SendCommandDlg opens a command dialog and sends a PC master software-defined command PC master software version 1.1 adds the following functions: ReadMemory, ReadMemoryHex reads a block of memory from a specified location GetCurrentRecorderData retrieves data currently displayed in the recorder chart GetCurrentRecorderSerie retrieves one data series from the currentlydisplayed recorder chart StartCurrentRecorder starts the currently-displayed recorder StopCurrentRecorder stops the currently-displayed recorder GetCurrentRecorderState retrieves the current recorder status code and status text of the currently-displayed recorder PC master software version 1.1 also implements one call back event: OnRecorderDone, called when the currently-selected recorder finishes downloading new recorder data See the PC Master Software User Manual for a detailed description of each function. PC Master Software: Creation of Advanced Control Pages 3

4 nc. Example: Step-by-Step Guide The rest of this document gives a step-by-step example of the creation of a complex PC master software Control Page. The following text describes: The target board application Application variables that are used in the interface between PC master software and the board application The control and monitor techniques used on the Control Page The actual design of the Control Page Figure 2. PC Master Software with Control Page Consisting of an HTML Frame and an Excel Frame 4 PC Master Software: Creation of Advanced Control Pages

5 nc. Example: Step-by-Step Guide Target Board Application Description The target board application block diagram is shown in Figure 3. Figure 3. Board Application Block Diagram The source signal is generated by the application as the sum of two sine waves with adjustable amplitudes and frequencies (phase increments per sample). The signal is delayed by an adjustable number of samples (D) and this delayed signal is connected to the input x(n) of the LMS (least mean square) adaptive processor. The original version of the source signal is connected to the processor desired response d(n). The aim of the adaptive processor is to minimize the error signal e(n) that is the difference between the output signal y(n) produced by a FIR (finite input response) system from the input x(n) and desired response d(n). As the result, the adaptive processor builds a model of the incoming signal such that it can predict D samples of source signal. The order (N) and the adaptation step-size (mi) of the adaptive FIR processor is also adjustable in the application. All the target board application parameters can be adjusted using the watch window in the PC master software application. The signals generated in the target board application can be monitored in the oscilloscope and recorder charts. Figure 4 shows the PC master software recorder chart displaying the following application signals: Processor input signal x(n) Processor desired response d(n) Processor output signal y(n) The more the processor is adapted, the closer the output signal is to the desired response. The PC master software oscilloscope in Figure 5 shows the evolution of the processor FIR coefficients w(n) during the adaptation together with the error signal e(n). Appendix A contains the C-language source code of the target board application main routine. PC Master Software: Creation of Advanced Control Pages 5

6 nc. Figure 4. PC Master Software Recorder with Signals x(n), y(n) and d(n) and Some Application Parameters in PC Master Software Watch Control Page Proposal Our goal is to create a Control Page composed of an HTML frame and an Excel frame. The Control Page will: 1. Provide an interface to monitor and adjust all application parameters, making a more user-friendly environment than the PC master software watch A graphical Control Panel will be created in HTML and will be enhanced by scripts to provide control functionality. 6 PC Master Software: Creation of Advanced Control Pages

7 nc. Example: Step-by-Step Guide Figure 5. Oscilloscope Displaying the Time Course of FIR Coefficients w(n), signal e(n), and Some of the Application Parameters in PC Master Software Watch 1. Analyze the signal model and get a Spectral Function calculated from FIR coefficients w(n) The calculation and visualization of the Spectral Function will be done in Microsoft Excel. It will be described how to use Microsoft Excel embedded in the Control Page and how to access the w(n) coefficients in Excel Visual Basic script. PC Master Software: Creation of Advanced Control Pages 7

8 nc. 2. Calculate the statistics of the signals captured by the PC master software recorder Microsoft Excel functions like MIN, MAX, AVERAGE, STDEV, VAR, and CORREL will be used for this task. It will be described how to load the PC master software recorder signal into Microsoft Excel cells for further processing. Control Panel Creation The Control Panel should be designed to allow the adjustment of all application parameters (see Figure 6). Figure 6. HTML Control Panel 8 PC Master Software: Creation of Advanced Control Pages

9 nc. Example: Step-by-Step Guide To start the creation of the Control Page, first prepare the HTML source of the three control tables, as displayed in Figure 6. The HTML "TABLE" tag with color attributes can be used to achieve the 3D look. The edit boxes can be implemented with the "INPUT" tag. The source code of the first board named Signal Generation might look like this: <table bgcolor="#00aacc" border="8" bordercolordark="#006688" bordercolorlight="#00ddff" cellpadding="4" cellspacing="0" width="100%"> <td align="center" valign="middle"> <font size="4"><b>signal Generation</b></font> <td> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <td colspan="2" align="center"> <b>harmonic I</b> <td>amplitude: <td> <input type="text" name="a1" size="7"> <td nowrap>phase inc.: <td nowrap> <input type="text" name="d_omg1" size="7"> rad/pi </table> <td> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <td colspan="2" align="center"> <b>harmonic II</b> <td>amplitude: <td> <input type="text" name="a2" size="7"> PC Master Software: Creation of Advanced Control Pages 9

10 nc. <td nowrap>phase inc.: <td nowrap> <input type="text" name="d_omg2" size="7"> rad/pi </table> </table> Scripting The input boxes from the first table display the following parameters: Amplitude of Harmonic I input box named "A1" Phase increment of Harmonic I input box named "d_omg1" Amplitude of Harmonic II input box named "A2" Phase increment of Harmonic II input box named "d_omg2" The input boxes are named the same as the corresponding PC master software variables. This establishes an assignment between the input box and the PC master software variable that will be used when writing a new value from the input box into the board application. The other two tables can be designed using the first table as an example. The parameters displayed in these tables are (see Figure 6): Prediction delay input box named "D" FIR processor order input box named "N" LMS processor step-size input box named "mi" Refer to Appendix B for the full HTML source code of these two boards. To enable the HTML page to communicate with PC master software functions, insert the PC master software ActiveX control at the beginning of the HTML body section. The control is identified by the unique global Class ID number (see the example below). Since the object itself does not provide a graphical interface, it is possible to set the object dimensions (height and width) to zero to make it invisible. <object name="pcm" width="0" height="0" classid="clsid:48a185f1-ffdb-11d3-80e3-00c04f176153"></object> The HTML page created above is enhanced by scripting which is implemented by using the following HTML code. VBScript was selected for this example. 10 PC Master Software: Creation of Advanced Control Pages

11 nc. Example: Step-by-Step Guide When the page is loaded the values of all input boxes are filled by the appropriate parameter values from the target board application. Create the ReadSettings sub-routine to perform this task and let the sub-routine be called after the Control Panel is loaded. Add a call to this procedure at the end of the HTML body section. <script language="vbscript"> ReadSettings </script> The sub-routine body is like this: <script language="vbscript"> Sub ReadSettings() Dim succ,v,tv,retmsg Use the ReadVariable function of the PC master software ActiveX object in order to fill the first input box (Harmonics I amplitude in the example). succ = pcm.readvariable("a1",v,tv,retmsg) This function gets as the first parameter the name of the PC master software variable. The next two variables passed to the call are filled the variable value (v) and the value in text format (tv) according to the setting in PC master software. The last parameter (retmsg) is filled by an error message in case there is an error. The function call returns true (and v and tv are filled) if the function was performed successfully. It is false if it fails for any reason (and retmsg is filled). If succ then A1.Value = tv else A1.Value = retmsg Repeat this part for all application parameters to fill all control panel input boxes: d_omg1, A2, d_omg2, D, N, mi (see Appendix B). End Sub </script> PC Master Software: Creation of Advanced Control Pages 11

12 nc. To enable the manual adjustment of the parameters displayed in the input boxes, equip each input box with two event procedures. The event calls a subroutine and the sub-routine calls the target board via PC master software activex object. <input type="text" name="a1" size="7" onchange="writevalue" onkeydown="writevalueonenter"> The onchange event is automatically invoked by the Internet Explorer when the cursor leaves the edit box. This event is handled the same way in all input boxes by the WriteValue sub-routine. Here, the SrcElement property of the Event object is used to determine which edit box to handle. Use the WriteVariable function of the PC master software ActiveX object to write the adjusted value. Sub WriteValue Dim succ,retmsg succ = pcm.writevariable(window.event.srcelement.name, Window.Event.SrcElement.Value,retMsg) This function gets the name of the PC master software variable as the first parameter. The name of the input box is the same as the name of the variable. The next parameter is the new value to be written. As in the other PC master software ActiveX functions, the return value can be used to get the success of the call. If succ then txterror.innertext = "" else txterror.innertext = retmsg End Sub 12 PC Master Software: Creation of Advanced Control Pages

13 nc. Example: Step-by-Step Guide As the user might expect, the new value should be written to the board application when he or she presses Enter. That is why the onkeydown event is also handled in all input boxes. The handling sub-routine WriteValueOnEnter tests the pressed key and if it is the Enter key the value is written with the help of the WriteValue sub-routine. Framed Control Page Sub WriteValueOnEnter If chr(window.event.keycode) = VBCR Then WriteValue End Sub Appendix B contains the complete source code of the Control Panel. The Control Page consists of two frames (see Figure 7). The left one is the previously created Control Panel (file control_panel.html) and the right one is composed by the Microsoft Excel file (LMS.xls) which is described in the following text. The HTML file that creates the placement of both frames is the actual main Control Page source and looks like this: <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso "> <meta name="generator" content="adobe GoLive 4"> <title>control Page</title> </head> <frameset cols="320,*" framespacing="0" border="4" frameborder="yes" bordercolor="#dddddd"> <frame src="control_panel.html" name="html"> <frame src="lms.xls" name="excel"> </frameset> </html> Internet Explorer automatically runs the Microsoft Excel application embedded in the frame to display the contents of the.xls file. PC Master Software: Creation of Advanced Control Pages 13

14 nc. Microsoft Excel Data Analysis Figure 7. PC Master Software with Control Page and Spectral Function Sheet Displayed in the Excel Frame Microsoft Excel workbook embedded in the second frame of the Control Page will have three worksheets: The first one will be used to display the frequency function (see Figure 7) of the signal model calculated from the FIR coefficients w(n). The number of w(n) coefficients is equal to the order N which is one of the application parameters. The second sheet will display the recorded signals x(n), y(n) and d(n) and some statistics calculated from the signals (see Figure 2). The third sheet serves as the data interface to the PC master software. 14 PC Master Software: Creation of Advanced Control Pages

15 nc. Example: Step-by-Step Guide It is out of the scope of this document to describe the creation of the first two Excel worksheets. Refer to the Excel User Manual for the implementation details. The data are imported into the third worksheet (see Figure 8) using Excel Visual Basic script. Microsoft Excel is also capable of running ActiveX-aware scripts. That is why the connection from Excel to PC master software can be accomplished through the same PC master software functions as listed in Control Page Functionality. Column A of the third worksheet holds the N FIR coefficients w(n). Here can be from 1 to 128 coefficients so the sheet range assigned to w(n) coefficients is "A2:A129". The columns "E:H" hold the time index and the signals y(n), d(n) and x(n) (see Figure 8). The following description explains how to fill these cells and columns with the PC master software data. Figure 8. The Third ("Data") Worksheet in the Microsoft Excel Application PC Master Software: Creation of Advanced Control Pages 15

16 nc. PC Master Software ActiveX control in Visual Basic The PC master software data can be accessed in Microsoft Excel using a Visual Basic code that calls the PC master software ActiveX control functions. Similar to the HTML based Control Panel, the PC master software ActiveX object must be created first: Public pcm As McbPcm Set pcm = CreateObject("MCB.PCM") The ActiveX functions can now be called. For example, to load an array of w(n) coefficients use the ReadMemory function of the ActiveX object. Dim succ As Boolean succ = pcm.readmemory("w",16,data,msg) The address of the memory block to be read is the first parameter of the ReadMemory function. This can be either an absolute numeric address or a symbol name valid in the current PC master software project. The second parameter is the size of the memory block to be read in bytes. The memory data are returned to the variable that is the third parameter. The last parameter is the variable for an error message in case of an error. Usually, it is necessary to transform the data bytes into another data representation. For example, into an array of 16-bit fractional values get the pairs of MSB (most significant) and LSB (least significant) bytes from the read memory block and put these bytes together into a fractional value: If succ Then For s = 0 To 7 MSB = data(2 * s + 1) LSB = data(2 * s) If MSB >= 128 Then fracvalue = (256 * MSB + LSB ) / Else fracvalue = (256 * MSB + LSB) / Next s Else MsgBox (msg) 16 PC Master Software: Creation of Advanced Control Pages

17 nc. Example: Step-by-Step Guide Use the function GetCurrentRecorderData to load the PC master software recorder series. The function returns the matrix (2-dimensional array) of the recorder data in the first parameter variable (data), the array of series names in the second (sernames), time base (if defined) in the third (tbase) and the error message is the last parameter variable (msg). succ = pcm.getcurrentrecorderdata(data,sernames,tbase,msg) To get the bounds of the recorder data matrix use the UBound function. Back to the Example If succ Then sercnt = UBound(data, 1) valcnt = UBound(data, 2) Else MsgBox (msg) To put a data into the Excel sheet, first create a SheetData variable. Then use the ClearContents function of the sheet range object to clear the specified range contents. Assign the cells Value property to place the data value into the specified cell. Dim sht As SheetData Set sht = Worksheets("Data") sht.range("a1:b8").clearcontents sht.cells(1,2).value = somevalue Use these examples in our workbook now. Open the Visual Basic Editor in Microsoft Excel. Open the code editor of the ThisWorkbook object. Create a new module Module1 and open it as well. Create a global declaration of the PC master software ActiveX object variable pcm and ScheduleTime in Module1. Public pcm As McbPcm Public ScheduleTime As Variant PC Master Software: Creation of Advanced Control Pages 17

18 nc. Create an event-procedure in ThisWorkbook that will be activated when the Excel file is opened: Private Sub Workbook_Open() End Sub Set pcm = CreateObject("MCB.PCM") ScheduleTime = Now + TimeValue("00:00:05") Application.OnTime ScheduleTime, "RecordAndAnalyze" This sub-routine assigns the PC master software ActiveX object to the pcm variable and schedules the sub-routine RecordAndAnalyze to run 5 seconds later. Create the sub-routine RecordAndAnalyze in Module1. The purpose of this routine is to get the FIR coefficient values w(n) for the spectral function calculation and to get the recorder signals x(n), y(n) and d(n) for their statistics. The data will be saved to the specified positions on the third sheet named "Data". Then, the Excel cell functions will use this data to automatically calculate the Spectral Function and the signal statistics. Create the declarations and assign a sheet variable with the third sheet named "Data" in the sub-routine RecordAndAnalyze. Sub RecordAndAnalyze() Dim succ As Boolean Dim sht As SheetData Set sht = Worksheets("Data") To get the w(n) FIR coefficients the PC master software ActiveX control function ReadMemory will be used because the w(n) coefficients are stored in an array in the board application memory. It is necessary to know the length of this array which corresponds to the processor order N. succ = pcm.readvariable("n", N, tv, msg) If succ Then 18 PC Master Software: Creation of Advanced Control Pages

19 nc. Example: Step-by-Step Guide When the N variable is read successfully, 2*N bytes of the w(n) array can be read into variable data. succ = pcm.readmemory("w", 2 * N, data, msg) If succ Then When the data are read successfully, first clear the contents of column A rows 2 to 129 on the sheet "Data". sht.range("a2:a129").clearcontents Check the bounds of the read data sercnt = UBound(data) and transform the data from the 8-bit memory dump into the 16-bits signed fractional values and write them to the cleared cells in order. For s = 0 To (sercnt \ 2) MSB = data(2 * s + 1) LSB = data(2 * s) If MSB >= 128 Then sht.cells(s + 2, 1).Value =... (256 * MSB + LSB ) / Else sht.cells(s + 2, 1).Value =... (256 * MSB + LSB) / Next s Else MsgBox (msg) Else MsgBox (msg) PC Master Software: Creation of Advanced Control Pages 19

20 nc. The previous part of the sub-routine gets the data for the spectral function calculation. The next part loads the recorder signals for the signal statistics. The PC master software ActiveX component function GetCurrentRecorderData will be used in its variant for the VisualBasic GetCurrentRecorderData_t that is faster because it uses a typed array instead of variant array (see the PC Master Software User Manual). succ = pcm.getcurrentrecorderdata_t(data,sernames,tbase,msg) When the data are read successfully, clear the contents of columns E to H (column E for the time axis and the next three columns for signals) on the sheet "Data". If succ Then sht.range("e:h").clearcontents Check the bounds of the read data. sercnt = UBound(data, 1) valcnt = UBound(data, 2) Check if the read time base is specified If tbase > 0 Then sht.cells(1, 5).Value = "time [sec]" Else sht.cells(1, 5).Value = "index" tbase = 1 and fill the X-axis column. For i = 0 To valcnt sht.cells(i + 2, 5).Value = i * tbase Next i 20 PC Master Software: Creation of Advanced Control Pages

21 nc. Example: Step-by-Step Guide Then fill the signal data to the 6 th (F) and the next columns. For s = 0 To sercnt sht.cells(1, s + 6).Value = sernames(s) For i = 0 To valcnt sht.cells(i + 2, s + 6).Value = data(s, i) Next i Next s Else MsgBox (msg) Let the sub-routine RecordAndAnalyze be repeated after the next 5 seconds with newer data and so on until the Excel file is closed. Add the code End Sub ScheduleTime = Now + TimeValue("00:00:05") Application.OnTime ScheduleTime, "RecordAndAnalyze" to the end of the sub-routine RecordAndAnalyze and create a sub-routine on the file-close event that will cancel the last schedule. Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.OnTime EarliestTime:=ScheduleTime,... Procedure:="RecordAndAnalyze",... Schedule:=False End Sub Appendix C contains the complete source code of the Microsoft Excel Visual Basic script. PC Master Software: Creation of Advanced Control Pages 21

22 nc. Using the PC Master Software OnRecorderDone Event In the previous example the sub-routine RecordAndAnalyze is called periodically each 5 seconds. Another way to hand e PC master software recorder data is to use the OnRecorderDone event. This event is called each time the currently-selected recorder finishes downloading of the new data. To assign a handler to this event in Visual Basic, declare the PC master software ActiveX object with the WithEvents keyword. Extension Conclusion Public WithEvents pcm As McbPcm and then create the event-handler routine: Private Sub pcm_onrecorderdone() /* any code */ End Sub Methods similar to creating Control Pages can be used also for other HTML pages within the PC master software: Detail View pages Algorithm Block Description pages The aim of this Application Note is to describe and to demonstrate how to create advanced PC master software Control Pages, which are intended to monitor and to control embedded applications. Therefore, the complete methodology with all required information is provided. The description is illustrated by real examples, with code samples. A full real-life example is also provided. The example page is divided into two frames. The usage of PC master software functions from an HTML page is shown in one frame and the usage of PC master software functions from Microsoft Excel is shown in the second frame. 22 PC Master Software: Creation of Advanced Control Pages

23 nc. Appendix A Appendix A /***************************************************************************** * * nc. * (c) Copyright 2001 * ALL RIGHTS RESERVED. * ****************************************************************************** * * File Name: lsm_demo.c * * Description: FIR adaptive processor running the signal prediction algorithm * * Modules Included: * *****************************************************************************/ #include "types.h" #include "arch.h" #include "periph.h" #include "appconfig.h" #include "gpio.h" #include "itcn.h" #include "sci.h" #include "pcmaster.h" #define MAX_ORDER 128 /* FIR adaptive processor */ Frac16 w[max_order]; /* FIR filter coeficients */ Frac16 x[max_order]; /* input signal buffer */ Frac16 y; /* filter response */ Frac16 d[max_order]; /* desired response buff. */ Frac16 e; /* response error */ Frac16 mi; /* step-size of adaptation */ UWord16 N; /* filter order */ /* Prediction params */ UWord16 D; /* prediction delay */ /* Signal generation */ Frac16 A1; /* sine 1 amplitude */ Frac16 A2; /* sine 2 amplitude */ Frac16 omg1; /* sine 1 actual phase <-1,1) */ Frac16 omg2; /* sine 2 actual phase <-1,1) */ Frac16 d_omg1; /* sine 1 phase inc <-1,1) */ Frac16 d_omg2; /* sine 2 phase inc <-1,1) */ void main (void) { UWord32 j; UWord16 i; PC Master Software: Creation of Advanced Control Pages 23

24 nc. /* PC master software initialization */ pcmasterinit(); /* ITCN initialization */ ioctl(itcn, ITCN_INIT_GPRS, NULL); /* set GPR and IPR according to the */ ioctl(itcn, ITCN_INIT_IPR, NULL); /* definition in appconfig.h */ /* SCI initialization */ ioctl(sci_0, SCI_INIT, NULL); archenableint(); /* enable all maskable interrupts */ /* initialization */ N = 16; mi = fixed2int(0.001); D = 10; A1 = fixed2int(0.5); A2 = fixed2int(0.4); d_omg1 = fixed2int(0.06); d_omg2 = fixed2int(0.09); while(1) { /* recorder routine call -> simulate periodical call of pcmasterrecorder routine e.g. in timer interrupt */ pcmasterrecorder(); /* delay */ for (j=0 ; j<10000 ; j++ ); /* signal generation */ /* */ /* shift of input buffers x and d */ for (i=n-1 ; i > 0 ; i--) { x[i] = x[i-1]; } for (i=max_order-1 ; i > 0 ; i--) { d[i] = d[i-1]; } /* new input sample */ x[0] = d[d]; /* new desired response sample */ omg1 = omg1 + d_omg1; omg2 = omg2 + d_omg2; d[0] = mult(a1,fcnsinpix(omg1)) + mult(a2,fcnsinpix(omg2)); 24 PC Master Software: Creation of Advanced Control Pages

25 nc. Appendix A /* LMS adaptive algorithm */ /* */ /* FIR filter processing */ y = 0; for (i=0 ; i<n ; i++ ) { y += mult(w[i],x[i]); } /* result error */ e = d[0] - y; } } /* filter coefficients update */ for (i=0 ; i<n ; i++ ) { w[i] = w[i] + 2* mult( mult(mi,e),x[i]); } PC Master Software: Creation of Advanced Control Pages 25

26 nc. Appendix B <!****************************************************************************> <! > <! nc. > <! (c) Copyright 2001 > <! ALL RIGHTS RESERVED. > <! > <!****************************************************************************> <! > <! File Name: control_panel.xls > <! > <! Description: control tables to adjust application parameters > <! > <! Modules Included: > <! > <!****************************************************************************> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso "> <meta name="generator" content="adobe GoLive 4"> <title>control Page</title> <link rel="stylesheet" href="lms.css" type="text/css"> </head> <body> <script language="vbscript"> Sub ReadSettings() Dim succ,v,tv,retmsg succ = pcm.readvariable("a1",v,tv,retmsg) If succ then A1.Value = tv else A1.Value = retmsg succ = pcm.readvariable("d_omg1",v,tv,retmsg) If succ then d_omg1.value = tv else d_omg1.value = retmsg succ = pcm.readvariable("a2",v,tv,retmsg) If succ then A2.Value = tv else A2.Value = retmsg 26 PC Master Software: Creation of Advanced Control Pages

27 nc. Appendix B succ = pcm.readvariable("d_omg2",v,tv,retmsg) If succ then d_omg2.value = tv else d_omg2.value = retmsg succ = pcm.readvariable("d",v,tv,retmsg) If succ then D.Value = tv else D.Value = retmsg succ = pcm.readvariable("n",v,tv,retmsg) If succ then N.Value = tv else N.Value = retmsg succ = pcm.readvariable("mi",v,tv,retmsg) If succ then mi.value = tv else mi.value = retmsg End Sub Sub WriteValue Dim succ,retmsg succ = pcm.writevariable(window.event.srcelement.name,window.event.srcelement.value,... retmsg) If succ then txterror.innertext = "" else txterror.innertext = retmsg End Sub Sub WriteValueOnEnter If chr(window.event.keycode) = VBCR Then WriteValue End Sub PC Master Software: Creation of Advanced Control Pages 27

28 nc. </script> <object classid=clsid:48a185f1-ffdb-11d3-80e3-00c04f heigh id=mcb_pc_master_services1 name=pcm width=1></object> <table border="0" cellpadding="5" cellspacing="0"> <td valign="top"> <table bgcolor="#00aacc" border="8" bordercolordark="#006688" bordercolorlight="#00ddff" cellpadding="4" cellspacing="0" width="100%"> <td align="center" valign="middle"> <font size="4"><b>signal Generation</b></font> <td> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <td colspan="2" align="center"><b>harmonic I</b> <td>amplitude: <td><input type="text" name="a1" size="7" onchange="writevalue" onkeydown="writevalueonenter"> <td nowrap>phase inc.: <td nowrap><input type="text" name="d_omg1" size="7" onchange="writevalue" onkeydown="writevalueonenter"> rad/pi </table> <td> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <td colspan="2" align="center"><b>harmonic II</b> <td>amplitude: <td><input type="text" name="a2" size="7" onchange="writevalue" onkeydown="writevalueonenter"> <td nowrap>phase inc.: <td nowrap> <input type="text" name="d_omg2" size="7" onchange="writevalue" onkeydown="writevalueonenter"> rad/pi </table> </table> <td> <table bgcolor="#00aacc" border="8" bordercolordark="#006688" bordercolorlight="#00ddff" cellpadding="4" cellspacing="0" width="100%"> 28 PC Master Software: Creation of Advanced Control Pages

29 nc. Appendix B <td align="center" valign="middle"> <font size="4"><b>processing</b></font> <td> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <td>prediction delay: <td nowrap><input type="text" name="d" size="7" onchange="writevalue" onkeydown="writevalueonenter"> samples </table> </table> <td> <table bgcolor="#00aacc" border="8" bordercolordark="#006688" bordercolorlight="#00ddff" cellpadding="4" cellspacing="0" width="100%"> <td align="center" valign="middle" nowrap> <font size="4"><b>lms Adaptive Algorithm</b></font> <td> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <td nowrap>fir processor order: <td><input type="text" name="n" size="7" onchange="writevalue" onkeydown="writevalueonenter"> <td nowrap>step-size: <td nowrap><input type="text" name="mi" size="7" onchange="writevalue" onkeydown="writevalueonenter"> </table> </table> </table> <center> <font color="red" id=txterror></font> </center> <script language="vbscript"> ReadSettings </script> </body></html> PC Master Software: Creation of Advanced Control Pages 29

30 nc. Appendix C í***************************************************************************** í nc. í (c) Copyright 2001 í ALL RIGHTS RESERVED. í***************************************************************************** í File Name: lms.xls í Description: capture of application data to third worksheet í Modules Included: ThisWorkbook, Module1 í***************************************************************************** '******************* '* ThisWorkbook: * '******************* Private Sub Workbook_Open() End Sub Set pcm = CreateObject("MCB.PCM") ScheduleTime = Now + TimeValue("00:00:05") Application.OnTime ScheduleTime, "RecordAndAnalyze" Private Sub Workbook_BeforeClose(Cancel As Boolean) End Sub Application.OnTime EarliestTime:=ScheduleTime, Procedure:="RecordAndAnalyze",... Schedule:=False '****************** '* Module1: * '****************** Public pcm As McbPcm Public ScheduleTime As Variant Sub RecordAndAnalyze() Dim succ As Boolean Dim sht As SheetData Set sht = Worksheets("Data") ' Spectral Function succ = pcm.readvariable("n", N, tv, msg) If succ Then succ = pcm.readmemory("w", 2 * N, data, msg) If succ Then ' clear data sht.range("a2:a129").clearcontents 30 PC Master Software: Creation of Advanced Control Pages

31 nc. Appendix C ' returned array bounds sercnt = UBound(data) ' fill data For s = 0 To (sercnt \ 2) MSB = data(2 * s + 1) LSB = data(2 * s) If MSB >= 128 Then sht.cells(s + 2, 1).Value = (256 * MSB + LSB ) / Else sht.cells(s + 2, 1).Value = (256 * MSB + LSB) / Next s Else ' something failed MsgBox (msg) Else ' something failed MsgBox (msg) ' Signals & Statistics succ = pcm.getcurrentrecorderdata_t(data, sernames, tbase, msg) If succ Then ' clear columns sht.range("e:h").clearcontents ' returned array bounds sercnt = UBound(data, 1) valcnt = UBound(data, 2) ' timebase valid? If tbase > 0 Then sht.cells(1, 5).Value = "time [sec]" Else sht.cells(1, 5).Value = "index" tbase = 1 ' fill X-axis column For i = 0 To valcnt sht.cells(i + 2, 5).Value = i * tbase Next i ' fill data For s = 0 To sercnt sht.cells(1, s + 6).Value = sernames(s) For i = 0 To valcnt sht.cells(i + 2, s + 6).Value = data(s, i) Next i Next s End Sub ScheduleTime = Now + TimeValue("00:00:05") Application.OnTime ScheduleTime, "RecordAndAnalyze" PC Master Software: Creation of Advanced Control Pages 31

32 nc. Rev. 0 12/2002

Application Note. Introduction AN2395/D 12/2002. PC Master Software Usage

Application Note. Introduction AN2395/D 12/2002. PC Master Software Usage Application Note 12/2002 PC Master Software Usage By Milan Brejl and Pavel Kania S 3 L Applications Engineerings MCSL Roznov pod Radhostem Introduction The PC master software is a PC Windows -based application

More information

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. DOM Scripting, Web Design with JavaScript

More information

Script Handbook for Interactive Scientific Website Building

Script Handbook for Interactive Scientific Website Building Script Handbook for Interactive Scientific Website Building Version: 173205 Released: March 25, 2014 Chung-Lin Shan Contents 1 Basic Structures 1 11 Preparation 2 12 form 4 13 switch for the further step

More information

Data Transfer Tips and Techniques

Data Transfer Tips and Techniques Agenda Key: Session Number: System i Access for Windows: Data Transfer Tips and Techniques 8 Copyright IBM Corporation, 2008. All Rights Reserved. This publication may refer to products that are not currently

More information

LMS is a simple but powerful algorithm and can be implemented to take advantage of the Lattice FPGA architecture.

LMS is a simple but powerful algorithm and can be implemented to take advantage of the Lattice FPGA architecture. February 2012 Introduction Reference Design RD1031 Adaptive algorithms have become a mainstay in DSP. They are used in wide ranging applications including wireless channel estimation, radar guidance systems,

More information

JavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. [email protected] www.javapassion.com

JavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com JavaScript Basics & HTML DOM Sang Shin Java Technology Architect Sun Microsystems, Inc. [email protected] www.javapassion.com 2 Disclaimer & Acknowledgments Even though Sang Shin is a full-time employee

More information

Creating Datalogging Applications in Microsoft Excel

Creating Datalogging Applications in Microsoft Excel Creating Datalogging Applications in Microsoft Excel Application Note 1557 Table of contents Introduction 2 Steps for creating a scanning program 2 Using Excel for datalogging 4 Running the application

More information

Yandex.Widgets Quick start

Yandex.Widgets Quick start 17.09.2013 .. Version 2 Document build date: 17.09.2013. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2013 Yandex LLC. All rights reserved.

More information

Government Girls Polytechnic, Bilaspur

Government Girls Polytechnic, Bilaspur Government Girls Polytechnic, Bilaspur Name of the Lab: Internet & Web Technology Lab Title of the Practical : Dynamic Web Page Design Lab Class: CSE 6 th Semester Teachers Assessment:20 End Semester Examination:50

More information

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2)

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2) Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2) [This is the second of a series of white papers on implementing applications with special requirements for data

More information

Module 2 - Multiplication Table - Part 1-1

Module 2 - Multiplication Table - Part 1-1 Module 2 - Multiplication Table - Part 1 TOPICS COVERED: 1) VBA and VBA Editor (0:00) 2) Arrays (1:15) 3) Creating a Multiplication Table (2:34) 4) TimesTable Subroutine (3:08) 5) Improving Efficiency

More information

CS412 Interactive Lab Creating a Simple Web Form

CS412 Interactive Lab Creating a Simple Web Form CS412 Interactive Lab Creating a Simple Web Form Introduction In this laboratory, we will create a simple web form using HTML. You have seen several examples of HTML pages and forms as you have worked

More information

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification Application Note 3/2003 PC Master Software Communication Protocol Specification By Pavel Kania and Michal Hanak S 3 L Applications Engineerings MCSL Roznov pod Radhostem Introduction The purpose of this

More information

Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator

Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator Written by: Chris Jaun ([email protected]) Sudha Piddaparti ([email protected]) Objective In this

More information

Dynamic Web-Enabled Data Collection

Dynamic Web-Enabled Data Collection Dynamic Web-Enabled Data Collection S. David Riba, Introduction Web-based Data Collection Forms Error Trapping Server Side Validation Client Side Validation Dynamic generation of web pages with Scripting

More information

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix Jennifer Clegg, SAS Institute Inc., Cary, NC Eric Hill, SAS Institute Inc., Cary, NC ABSTRACT Release 2.1 of SAS

More information

JavaScript: Arrays. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Arrays. 2008 Pearson Education, Inc. All rights reserved. 1 10 JavaScript: Arrays 2 With sobs and tears he sorted out Those of the largest size... Lewis Carroll Attempt the end, and never stand to doubt; Nothing s so hard, but search will find it out. Robert

More information

Slide.Show Quick Start Guide

Slide.Show Quick Start Guide Slide.Show Quick Start Guide Vertigo Software December 2007 Contents Introduction... 1 Your first slideshow with Slide.Show... 1 Step 1: Embed the control... 2 Step 2: Configure the control... 3 Step 3:

More information

HTML Tables. IT 3203 Introduction to Web Development

HTML Tables. IT 3203 Introduction to Web Development IT 3203 Introduction to Web Development Tables and Forms September 3 HTML Tables Tables are your friend: Data in rows and columns Positioning of information (But you should use style sheets for this) Slicing

More information

Microsoft Excel 2010 Part 3: Advanced Excel

Microsoft Excel 2010 Part 3: Advanced Excel CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Excel 2010 Part 3: Advanced Excel Winter 2015, Version 1.0 Table of Contents Introduction...2 Sorting Data...2 Sorting

More information

Client-side Web Engineering From HTML to AJAX

Client-side Web Engineering From HTML to AJAX Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions

More information

Figure 1. An embedded chart on a worksheet.

Figure 1. An embedded chart on a worksheet. 8. Excel Charts and Analysis ToolPak Charts, also known as graphs, have been an integral part of spreadsheets since the early days of Lotus 1-2-3. Charting features have improved significantly over the

More information

STATGRAPHICS Online. Statistical Analysis and Data Visualization System. Revised 6/21/2012. Copyright 2012 by StatPoint Technologies, Inc.

STATGRAPHICS Online. Statistical Analysis and Data Visualization System. Revised 6/21/2012. Copyright 2012 by StatPoint Technologies, Inc. STATGRAPHICS Online Statistical Analysis and Data Visualization System Revised 6/21/2012 Copyright 2012 by StatPoint Technologies, Inc. All rights reserved. Table of Contents Introduction... 1 Chapter

More information

RIT Installation Instructions

RIT Installation Instructions RIT User Guide Build 1.00 RIT Installation Instructions Table of Contents Introduction... 2 Introduction to Excel VBA (Developer)... 3 API Commands for RIT... 11 RIT API Initialization... 12 Algorithmic

More information

Web Server Lite. Web Server Software User s Manual

Web Server Lite. Web Server Software User s Manual Web Server Software User s Manual Web Server Lite This software is only loaded to 7188E modules acted as Server. This solution was general in our products. The Serial devices installed on the 7188E could

More information

1. a procedure that you perform frequently. 2. Create a command. 3. Create a new. 4. Create custom for Excel.

1. a procedure that you perform frequently. 2. Create a command. 3. Create a new. 4. Create custom for Excel. Topics 1 Visual Basic Application Macro Language What You Can Do with VBA macro Types of VBA macro Recording VBA macros Example: MyName () If-Then statement Example: CheckCell () For-Next Loops Example:

More information

Hands-On Lab. Client Workflow. Lab version: 1.0.0 Last updated: 2/23/2011

Hands-On Lab. Client Workflow. Lab version: 1.0.0 Last updated: 2/23/2011 Hands-On Lab Client Workflow Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: DEFINING A PROCESS IN VISIO 2010... 4 Task 1 Define the Timesheet Approval process... 4 Task 2

More information

Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11

Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11 Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11 TASK 4: ADD TOTAL LABEL AND FORMULA FOR FREQUENCY... 12 TASK 5: MODIFICATIONS TO THE HISTOGRAM...

More information

Web Development and Core Java Lab Manual V th Semester

Web Development and Core Java Lab Manual V th Semester Web Development and Core Java Lab Manual V th Semester DEPT. OF COMPUTER SCIENCE AND ENGINEERING Prepared By: Kuldeep Yadav Assistant Professor, Department of Computer Science and Engineering, RPS College

More information

Polynomial Neural Network Discovery Client User Guide

Polynomial Neural Network Discovery Client User Guide Polynomial Neural Network Discovery Client User Guide Version 1.3 Table of contents Table of contents...2 1. Introduction...3 1.1 Overview...3 1.2 PNN algorithm principles...3 1.3 Additional criteria...3

More information

Apple Applications > Safari 2008-10-15

Apple Applications > Safari 2008-10-15 Safari User Guide for Web Developers Apple Applications > Safari 2008-10-15 Apple Inc. 2008 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,

More information

Web Dashboard User Guide

Web Dashboard User Guide Web Dashboard User Guide Version 10.2 The software supplied with this document is the property of RadView Software and is furnished under a licensing agreement. Neither the software nor this document may

More information

Lab 3: Introduction to Data Acquisition Cards

Lab 3: Introduction to Data Acquisition Cards Lab 3: Introduction to Data Acquisition Cards INTRODUCTION: In this lab, you will be building a VI to display the input measured on a channel. However, within your own VI you will use LabVIEW supplied

More information

Short notes on webpage programming languages

Short notes on webpage programming languages Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of

More information

Information Server Documentation SIMATIC. Information Server V8.0 Update 1 Information Server Documentation. Introduction 1. Web application basics 2

Information Server Documentation SIMATIC. Information Server V8.0 Update 1 Information Server Documentation. Introduction 1. Web application basics 2 Introduction 1 Web application basics 2 SIMATIC Information Server V8.0 Update 1 System Manual Office add-ins basics 3 Time specifications 4 Report templates 5 Working with the Web application 6 Working

More information

Korosi Monitoring System (KMS) Software Manual

Korosi Monitoring System (KMS) Software Manual PT. KOROSI SPECINDO Corrosion Monitoring System Eng. Doc. No.: KS-MNL-KMS Korosi Monitoring System (KMS) Software Manual Revision Date Prepared Approved Description 0 23/05/2008 ES JH Issued for approval

More information

Using FreeMASTER. to debug, tune, control and sell embedded applications. Michal Hanak. O c t - 2 0 2 0 1 4. External Use

Using FreeMASTER. to debug, tune, control and sell embedded applications. Michal Hanak. O c t - 2 0 2 0 1 4. External Use Using FreeMASTER to debug, tune, control and sell embedded applications. Michal Hanak O c t - 2 0 2 0 1 4 TM External Use What is FreeMASTER? FreeMASTER as a Real-time Monitor FreeMASTER as a Control GUI

More information

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11 MS Excel Handout: Level 2 elearning Department 2016 Page 1 of 11 Contents Excel Environment:... 3 To create a new blank workbook:...3 To insert text:...4 Cell addresses:...4 To save the workbook:... 5

More information

PLAYER DEVELOPER GUIDE

PLAYER DEVELOPER GUIDE PLAYER DEVELOPER GUIDE CONTENTS CREATING AND BRANDING A PLAYER IN BACKLOT 5 Player Platform and Browser Support 5 How Player Works 6 Setting up Players Using the Backlot API 6 Creating a Player Using the

More information

WESTMORELAND COUNTY PUBLIC SCHOOLS 2011 2012 Integrated Instructional Pacing Guide and Checklist Computer Math

WESTMORELAND COUNTY PUBLIC SCHOOLS 2011 2012 Integrated Instructional Pacing Guide and Checklist Computer Math Textbook Correlation WESTMORELAND COUNTY PUBLIC SCHOOLS 2011 2012 Integrated Instructional Pacing Guide and Checklist Computer Math Following Directions Unit FIRST QUARTER AND SECOND QUARTER Logic Unit

More information

PULSE Automation programming in Visual Basic. From BK training lectures arranged by Jiří Tůma & Radovan Zadražil

PULSE Automation programming in Visual Basic. From BK training lectures arranged by Jiří Tůma & Radovan Zadražil PULSE Automation programming in Visual Basic From BK training lectures arranged by Jiří Tůma & Radovan Zadražil OLE Automation, general principles Bruno S. Larsen PULSE Software Development Agenda Overview

More information

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010.

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010. Hands-On Lab Building a Data-Driven Master/Detail Business Form using Visual Studio 2010 Lab version: 1.0.0 Last updated: 12/10/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING THE APPLICATION S

More information

PERFORMING REGRESSION ANALYSIS USING MICROSOFT EXCEL

PERFORMING REGRESSION ANALYSIS USING MICROSOFT EXCEL PERFORMING REGRESSION ANALYSIS USING MICROSOFT EXCEL John O. Mason, Ph.D., CPA Professor of Accountancy Culverhouse School of Accountancy The University of Alabama Abstract: This paper introduces you to

More information

PCM Encoding and Decoding:

PCM Encoding and Decoding: PCM Encoding and Decoding: Aim: Introduction to PCM encoding and decoding. Introduction: PCM Encoding: The input to the PCM ENCODER module is an analog message. This must be constrained to a defined bandwidth

More information

Website Planning Checklist

Website Planning Checklist Website Planning Checklist The following checklist will help clarify your needs and goals when creating a website you ll be surprised at how many decisions must be made before any production begins! Even

More information

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan DATA 301 Introduction to Data Analytics Microsoft Excel VBA Dr. Ramon Lawrence University of British Columbia Okanagan [email protected] DATA 301: Data Analytics (2) Why Microsoft Excel Visual Basic

More information

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on

More information

Developing applications under CODE COMPOSER STUDIO

Developing applications under CODE COMPOSER STUDIO Developing applications under CODE COMPOSER STUDIO 1. General Overview Code Composer Studio (CCS ) is a very efficient instrument for the fast development of applications that are written for the DSP families

More information

Reports and Documents Generator for SharePoint ver.: 2.2

Reports and Documents Generator for SharePoint ver.: 2.2 Reports and Documents Generator for SharePoint ver.: 2.2 User Guide Version 2.2 Contents 1. Overview... 3 2. Licensing... 4 3. Installation instructions... 4 3.1. Requirements... 4 3.2. Installation...

More information

EE289 Lab Fall 2009. LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink

EE289 Lab Fall 2009. LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink EE289 Lab Fall 2009 LAB 4. Ambient Noise Reduction 1 Introduction Noise canceling devices reduce unwanted ambient noise (acoustic noise) by means of active noise control. Among these devices are noise-canceling

More information

Cleo Communications. CUEScript Training

Cleo Communications. CUEScript Training Cleo Communications CUEScript Training Introduction RMCS Architecture Why CUEScript, What is it? How and Where Scripts in RMCS XML Primer XPath Pi Primer Introduction (cont.) Getting Started Scripting

More information

Freescale Semiconductor, I

Freescale Semiconductor, I nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development

More information

Financial Data Access with SQL, Excel & VBA

Financial Data Access with SQL, Excel & VBA Computational Finance and Risk Management Financial Data Access with SQL, Excel & VBA Guy Yollin Instructor, Applied Mathematics University of Washington Guy Yollin (Copyright 2012) Data Access with SQL,

More information

WebSphere Business Monitor

WebSphere Business Monitor WebSphere Business Monitor Monitor models 2010 IBM Corporation This presentation should provide an overview of monitor models in WebSphere Business Monitor. WBPM_Monitor_MonitorModels.ppt Page 1 of 25

More information

STIM202 Evaluation Kit

STIM202 Evaluation Kit Table of contents: 1 FEATURES... 2 2 GENERAL DESCRIPTIONS AND SYSTEM CONTENTS... 2 3 SYSTEM REQUIREMENTS... 2 4 GETTING STARTED... 3 4.1 INSTALLATION OF NI-SERIAL CABLE ASSEMBLY DRIVER... 3 4.2 INSTALLATION

More information

Automating @RISK with VBA

Automating @RISK with VBA Automating @RISK with VBA The purpose of this document is to introduce the @RISK Excel Developer Kit (XDK) and explain how you can use VBA to automate @RISK. 1 The term automate simply means that you write

More information

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications Introduction Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications 1 Computer Software Architecture Application macros and scripting - AML,

More information

VIRTUAL LABORATORY: MULTI-STYLE CODE EDITOR

VIRTUAL LABORATORY: MULTI-STYLE CODE EDITOR VIRTUAL LABORATORY: MULTI-STYLE CODE EDITOR Andrey V.Lyamin, State University of IT, Mechanics and Optics St. Petersburg, Russia Oleg E.Vashenkov, State University of IT, Mechanics and Optics, St.Petersburg,

More information

DataPA OpenAnalytics End User Training

DataPA OpenAnalytics End User Training DataPA OpenAnalytics End User Training DataPA End User Training Lesson 1 Course Overview DataPA Chapter 1 Course Overview Introduction This course covers the skills required to use DataPA OpenAnalytics

More information

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science updated 03/08/2012 Unit 1: JKarel 8 weeks http://www.fcps.edu/is/pos/documents/hs/compsci.htm

More information

Appendix H: Control System Computational Aids

Appendix H: Control System Computational Aids E1BAPP08 11/02/2010 11:56:59 Page 1 Appendix H: Control System Computational Aids H.1 Step Response of a System Represented in State Space In this section we will discuss how to obtain the step response

More information

Accurate Measurement of the Mains Electricity Frequency

Accurate Measurement of the Mains Electricity Frequency Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC [email protected] Abstract The frequency of the mains electricity supply

More information

Introduction to Web Design Curriculum Sample

Introduction to Web Design Curriculum Sample Introduction to Web Design Curriculum Sample Thank you for evaluating our curriculum pack for your school! We have assembled what we believe to be the finest collection of materials anywhere to teach basic

More information

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules IBM Operational Decision Manager Version 8 Release 5 Getting Started with Business Rules Note Before using this information and the product it supports, read the information in Notices on page 43. This

More information

MAPINFO GRID ENGINE. MapBasic scripts. MIGRID.DLL functions. using. Jacques Paris

MAPINFO GRID ENGINE. MapBasic scripts. MIGRID.DLL functions. using. Jacques Paris MAPINFO GRID ENGINE MapBasic scripts using MIGRID.DLL functions Jacques Paris September 2001 This document contains 4 MapBasic code listings showing how to use calls to the MiGrid library. These examples

More information

Visualization with Excel Tools and Microsoft Azure

Visualization with Excel Tools and Microsoft Azure Visualization with Excel Tools and Microsoft Azure Introduction Power Query and Power Map are add-ins that are available as free downloads from Microsoft to enhance the data access and data visualization

More information

Structural Health Monitoring Tools (SHMTools)

Structural Health Monitoring Tools (SHMTools) Structural Health Monitoring Tools (SHMTools) Getting Started LANL/UCSD Engineering Institute LA-CC-14-046 c Copyright 2014, Los Alamos National Security, LLC All rights reserved. May 30, 2014 Contents

More information

Program to solve first and second degree equations

Program to solve first and second degree equations Fundamentals of Computer Science 010-011 Laboratory 4 Conditional structures () Objectives: Design the flowchart of programs with conditional sentences Implement VB programs with conditional sentences

More information

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW LabVIEW Day 1 Basics Vern Lindberg LabVIEW first shipped in 1986, with very basic objects in place. As it has grown (currently to Version 10.0) higher level objects such as Express VIs have entered, additional

More information

MASTERTAG DEVELOPER GUIDE

MASTERTAG DEVELOPER GUIDE MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...

More information

How To Use A High Definition Oscilloscope

How To Use A High Definition Oscilloscope PRELIMINARY High Definition Oscilloscopes HDO4000 and HDO6000 Key Features 12-bit ADC resolution, up to 15-bit with enhanced resolution 200 MHz, 350 MHz, 500 MHz, 1 GHz bandwidths Long Memory up to 250

More information

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief Guide Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief Author: Ashur Kanoon August 2012 For further information, questions and comments please contact [email protected]

More information

Chapter 12 Programming Concepts and Languages

Chapter 12 Programming Concepts and Languages Chapter 12 Programming Concepts and Languages Chapter 12 Programming Concepts and Languages Paradigm Publishing, Inc. 12-1 Presentation Overview Programming Concepts Problem-Solving Techniques The Evolution

More information

Chapter 9 Creating Reports in Excel

Chapter 9 Creating Reports in Excel Chapter 9 Creating Reports in Excel One of the most powerful features of Standard & Poor s Research Insight is its ability to communicate with Microsoft Excel through Active-X Technology. Excel requests

More information

SafeGuard PrivateCrypto 2.40 help

SafeGuard PrivateCrypto 2.40 help SafeGuard PrivateCrypto 2.40 help Document date: September 2009 Contents 1 Introduction... 2 2 Installation... 4 3 SafeGuard PrivateCrypto User Application... 5 4 SafeGuard PrivateCrypto Explorer extensions...

More information

Excel 2003 Tutorial I

Excel 2003 Tutorial I This tutorial was adapted from a tutorial by see its complete version at http://www.fgcu.edu/support/office2000/excel/index.html Excel 2003 Tutorial I Spreadsheet Basics Screen Layout Title bar Menu bar

More information

CS1112 Spring 2014 Project 4. Objectives. 3 Pixelation for Identity Protection. due Thursday, 3/27, at 11pm

CS1112 Spring 2014 Project 4. Objectives. 3 Pixelation for Identity Protection. due Thursday, 3/27, at 11pm CS1112 Spring 2014 Project 4 due Thursday, 3/27, at 11pm You must work either on your own or with one partner. If you work with a partner you must first register as a group in CMS and then submit your

More information

Excel & Visual Basic for Applications (VBA)

Excel & Visual Basic for Applications (VBA) Excel & Visual Basic for Applications (VBA) The VBA Programming Environment Recording Macros Working with the Visual Basic Editor (VBE) 1 Why get involved with this programming business? If you can't program,

More information

How to Properly Compose E-Mail HTML Code : 1

How to Properly Compose E-Mail HTML Code : 1 How to Properly Compose E-Mail HTML Code : 1 For any successful business, creating and sending great looking e-mail is essential to project a professional image. With the proliferation of numerous e-mail

More information

WHITEPAPER. Skinning Guide. Let s chat. 800.9.Velaro www.velaro.com [email protected]. 2012 by Velaro

WHITEPAPER. Skinning Guide. Let s chat. 800.9.Velaro www.velaro.com info@velaro.com. 2012 by Velaro WHITEPAPER Skinning Guide Let s chat. 2012 by Velaro 800.9.Velaro www.velaro.com [email protected] INTRODUCTION Throughout the course of a chat conversation, there are a number of different web pages that

More information

Fortigate SSL VPN 4 With PINsafe Installation Notes

Fortigate SSL VPN 4 With PINsafe Installation Notes Fortigate SSL VPN 4 With PINsafe Installation Notes Table of Contents Fortigate SSL VPN 4 With PINsafe Installation Notes... 1 1. Introduction... 2 2. Overview... 2 2.1. Prerequisites... 2 2.2. Baseline...

More information

Differences in Use between Calc and Excel

Differences in Use between Calc and Excel Differences in Use between Calc and Excel Title: Differences in Use between Calc and Excel: Version: 1.0 First edition: October 2004 Contents Overview... 3 Copyright and trademark information... 3 Feedback...3

More information

Using MS Excel to Analyze Data: A Tutorial

Using MS Excel to Analyze Data: A Tutorial Using MS Excel to Analyze Data: A Tutorial Various data analysis tools are available and some of them are free. Because using data to improve assessment and instruction primarily involves descriptive and

More information

NICK COLLIER - REPAST DEVELOPMENT TEAM

NICK COLLIER - REPAST DEVELOPMENT TEAM DATA COLLECTION FOR REPAST SIMPHONY JAVA AND RELOGO NICK COLLIER - REPAST DEVELOPMENT TEAM 0. Before We Get Started This document is an introduction to the data collection system introduced in Repast Simphony

More information

Chapter 1 Programming Languages for Web Applications

Chapter 1 Programming Languages for Web Applications Chapter 1 Programming Languages for Web Applications Introduction Web-related programming tasks include HTML page authoring, CGI programming, generating and parsing HTML/XHTML and XML (extensible Markup

More information

Instruction manual. testo easyheat Configuration and Analysis software

Instruction manual. testo easyheat Configuration and Analysis software Instruction manual testo easyheat Configuration and Analysis software en 2 General Information General Information This documentation includes important information about the features and application of

More information

Programing the Microprocessor in C Microprocessor System Design and Interfacing ECE 362

Programing the Microprocessor in C Microprocessor System Design and Interfacing ECE 362 PURDUE UNIVERSITY Programing the Microprocessor in C Microprocessor System Design and Interfacing ECE 362 Course Staff 1/31/2012 1 Introduction This tutorial is made to help the student use C language

More information

Software User Guide UG-461

Software User Guide UG-461 Software User Guide UG-461 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ezlinx icoupler Isolated Interface Development Environment

More information

Administrator s Guide

Administrator s Guide SEO Toolkit 1.3.0 for Sitecore CMS 6.5 Administrator s Guide Rev: 2011-06-07 SEO Toolkit 1.3.0 for Sitecore CMS 6.5 Administrator s Guide How to use the Search Engine Optimization Toolkit to optimize your

More information

Microsoft Excel 2007 Level 2

Microsoft Excel 2007 Level 2 Information Technology Services Kennesaw State University Microsoft Excel 2007 Level 2 Copyright 2008 KSU Dept. of Information Technology Services This document may be downloaded, printed or copied for

More information

Data exploration with Microsoft Excel: analysing more than one variable

Data exploration with Microsoft Excel: analysing more than one variable Data exploration with Microsoft Excel: analysing more than one variable Contents 1 Introduction... 1 2 Comparing different groups or different variables... 2 3 Exploring the association between categorical

More information

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...

More information

The Filtered-x LMS Algorithm

The Filtered-x LMS Algorithm The Filtered-x LMS Algorithm L. Håkansson Department of Telecommunications and Signal Processing, University of Karlskrona/Ronneby 372 25 Ronneby Sweden Adaptive filters are normally defined for problems

More information

Web Development CSE2WD Final Examination June 2012. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Web Development CSE2WD Final Examination June 2012. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards? Question 1. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards? (b) Briefly identify the primary purpose of the flowing inside the body section of an HTML document: (i) HTML

More information

SCADE System 17.0. Technical Data Sheet. System Requirements Analysis. Technical Data Sheet SCADE System 17.0 1

SCADE System 17.0. Technical Data Sheet. System Requirements Analysis. Technical Data Sheet SCADE System 17.0 1 SCADE System 17.0 SCADE System is the product line of the ANSYS Embedded software family of products and solutions that empowers users with a systems design environment for use on systems with high dependability

More information

HTML Forms and CONTROLS

HTML Forms and CONTROLS HTML Forms and CONTROLS Web forms also called Fill-out Forms, let a user return information to a web server for some action. The processing of incoming data is handled by a script or program written in

More information

Excel 2010: Create your first spreadsheet

Excel 2010: Create your first spreadsheet Excel 2010: Create your first spreadsheet Goals: After completing this course you will be able to: Create a new spreadsheet. Add, subtract, multiply, and divide in a spreadsheet. Enter and format column

More information

JavaFX Session Agenda

JavaFX Session Agenda JavaFX Session Agenda 1 Introduction RIA, JavaFX and why JavaFX 2 JavaFX Architecture and Framework 3 Getting Started with JavaFX 4 Examples for Layout, Control, FXML etc Current day users expect web user

More information

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices. MySQL for Excel Abstract This is the MySQL for Excel Reference Manual. It documents MySQL for Excel 1.3 through 1.3.6. Much of the documentation also applies to the previous 1.2 series. For notes detailing

More information

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 CMPS03 Magnetic Compass. Voltage : 5v only required Current : 20mA Typ. Resolution : 0.1 Degree Accuracy : 3-4 degrees approx. after calibration Output

More information