Home

tool description - Edelwise Basic Variables

image

Contents

1. Edelwise beWISE TOOLS User MANUAL Rev B Edelwise Inc Page 1 Title User Manual for beWISE TOOLS Type of documentation Manual Date of creation 02 07 2007 Distribution or reproduction of this document or exploitation or broadcasting of the content is forbidden unless expressly authorized Damages will be claimed for violations All rights are reserved especially in the case of patents and registered designs Proprietary data company confidential All rights reserved Confie a titre de secret d entreprise Tous droits reserves Comunicado como segredo empresarial Reservados todos os direitos Confiado como secreto industrial Nos reservamos todos los derechos This technical description replaces all previous versions Document history 2 7 2007 First version 2 10 2007 edelweiss B Second version _ LE beWISE Tools user manual Rev B Edelwise Inc Page 2 1 TABLE OF CONTENTS TABLE OPCONTENTS een een ne den sene seen annees ec 3 2 TOOLS FOR BEWISE BASIC sue snecedanwcunddeusnnddonmmendsmmmeonnds 4 21 D EL 1 2 Lo Le 0 PR ee ER Re MERE ST ES 3 TOOLS FOR BEWISE ADVANCED 0 ccceccccccesseeeeeseeeesseeeenseeeeseecesseseeneesonseesonseesonsees 5 Sel EASY CS aR ee MAS EIS E E T E A E E E E E E E A 4 TOOLS FOR BEWISE PROFESSIONAL cccccceseeeeseeseeseeseeseesenseeeeneesenseesenseeseneees 8 Ai gt 1 Bho 0 0 21 greneeeenernen ener Beer meee srnest AN 4 1 1 Easy
2. 996249914 49 7222976 42 50372250 42 30372230 42 037220 60 6 46500 1 60 640000 1 26 5033975 26 50337 975 18 4540329 18 4540329 4212457505 9212457505 hd 97562400 ba 9562400 of P0625 of 506256 o 5 401 4bb4 0 57 4014664 E 3 563952446 4544075775 45 4405775 9760412257 2232400131 22 32400131 22 324001 31 02 001 7460 02 001 2607 55 05632019 55 05632019 50 3139577 3 50 3139577 3 35 0256575 35 0256575 49 43769073 Ag 4569073 11 9207 2670 11 92072670 of 22 161065 or 22 161065 MyDoublevarablel MyDoubleVarnablel NoltRetreshes 5145 5145 5146 5146 5147 5147 5146 5146 We see a trigger variable Logging method in column C In our case here this is always set to timer meaning it was triggering with timer events Exactly every 500 milliseconds 0 5 seconds a record was written In row 2 we started the logging while watching two beWISE variables MyDoubleVariable0 and MyDoubleVariable1 EasyLogger has written a header line to let us know which variables we were watching At row 16 we decided to watch the beWISE variable NOOfRefreshes also from now on Thats why we have here again a header line beWISE Tools user manual Rev B Edelwise Inc Page 12 E xample B Tri 5 1 Date Time stamp 2007 02 10 12 47 46 3 2007 02 10 12 47 46 4 2007 02 10 12 47 46 5 2007 02 10 12 47 Ar Bb 2007 02 10 12 47 47 f 2007 02 10 12 47 47 o 2007 02 10 124747 9 200
3. Inc Page 14 4 2 DECLARELIVE The first part of the DeclareLive looks like the EasyLogger tool But there is one important difference While you can decide with EasyLogger if the refresh of all beWISE variables specified is done by timer or by change event and all are displayed together synchronal DeclareLive actually follows a totally other concept Each beWISE variable you have specified in DeclareLive has its own triggers Which means the display is updated for each beWISE variable individually whenever the beWISE variable changes Here a standard view of DeclareLive i beWISE PROFESSIONAL V4 0 DeclareLive beWise variable name bewWlSE yarable manager Yersion 1 0 0 5 Copyright 2007 Edelwise Inc beWISE Tools user manual Rev B MIE value set values Type INTEGER Set value O EE Refresh rate Go Edelwise Description M axinum Minin Resolution Yariables 14 5120 Edelwise Inc Page 15 With DeclareLive you can do the following actions e Watch beWISE variables value changing but triggered individually e Set values for all beWISE variables specified at one time e Define anew beWISE variable e Delete an existing beWISE variable e Update an existing beWISE variable attributes including the actual value 4 2 1 DECLARELIVE WATCHING AND CHANGING VALUES OF BEWISE VARIABLES Now we want to watch four
4. beWISE variables and set all their values at the same time beWise variable name type set values value MyDoubleVariable0 DOUBLE 1000 258530879020691 MyDoublevariable1 v DOUBLE 38 0 78 322998046875 MyDoubleVariable2 v DOUBLE 570 50793285398973 NoDfFiefreshes INTEGER 1000 7 a ee ee ee i E By pressing the set values button all these variables will get a new value set The sequence of updating the variables is from top to bottom You will see immediately the values on the right being changed This very nice feature to test and debug interfaces of applications You could actually put the input and the output variables into this screen if you have more as 10 you are just use more beWISE beWISE Tools user manual Rev B Edelwise Inc Page 16 tools at the same time change the input variables to a specific value and look what s the application s output Author s advice Make sure the beWISE variable which triggers the application sits at the end of your list So you can be sure all the other parameters are set before the trigger fires the application does something Usually it s a program to program task to task communication what you are testing here If you have a program which gets a punch of variables as input parameters from an other program make sure you set all the parameters first and then fire the GO event I
5. different beWISE variables and EasyView will watch them for you I beWISE PROFESSIONAL V4 0 EasyView K ao beWise variable name type value MpD ouble arable DOUBLE 76 7153091430664 MyDoubleVariablet DOUBLE 62 9979362487793 NotfRefreshes INTEGER 13110 INTEGER OU ersion 1 0 0 5 Copyright 2007 Edelwise Inc Yariables 17 5120 GoEdelwise To choose a beWISE variable just click on one of the combo boxes It will show you existing beWISE variables Choose one and you will see the type and value of this variable As long as this beWISE VARIABLE exists on your computer it will be refreshed and will show you the actual value In case you delete a variable the last known value will remain and will not be changed any more The refresh rate is fixed to 10 times a second In the tool strip status line EasyView indicates you the number of available variables in your computer beWISE Tools user manual Rev B Edelwise Inc Page 5 3 2 EASYLIST beWISE EasyList is a simple viewer of beWISE variables In opposite to EasyView EasyList makes it even easier for you to You do not even choose which beWISE variable you want to see This is the standard view when you open EasyList The FILTER is empty which means show me all existing variable beWISE PROFESSION
6. 7 02 10 12 47 47 10 2007 02 10 12 47 47 11 2007 02 10 12 47 47 12 2007 02 10 12 47 47 13 2007 02 10 12 47 47 14 2007 02 10 12 47 48 15 2007 02 10 12 47 45 16 2007 02 10 12 47 46 VF 2007 02 10 12 47 45 18 2007 02 10 12 47 45 19 2007 02 10 12 47 45 20 2007 02 10 12 47 40 21 2007 02 10 12 47 40 22 2007 02 10 12 47 40 23 2007 02 10 12 47 49 24 2007 02 10 12 47 49 29 2007 02 10 12 47 49 26 2007 02 10 12 47 49 2 2007 02 10 12 44 49 20 200 02 10 12 47 49 29 2007 02 10 12 47 49 30 2007 02 10 12 44 49 31 2007 02 10 12 47 49 32 2007 02 10 12 47 50 33 2007 02 10 12 47 50 34 2007 02 10 12 47 50 35 2007 02 10 12 47 50 36 2007 02 10 12 47 50 B ered by change event C Milliseconds Logging Method o0 Molthetreshes nd 960 be 187 201 406 s00 b25 10 ods 437 p4 156 201 35 s00 ae 03 olz gar 31 156 250 359 Abo abe bor ol 906 31 125 250 359 Min So let s see what we got here 5639 Sd ob nba obas sb 5645 Sadb sb aat in 5649 5650 5651 5654A 5653 obo 555 5656 5657 5650 5653 SA0 5661 5662 S663 aaaf 5665 S666 5667 5669 5669 safai 5671 5672 E 36 53039169 b3 65953064 24 91009654 05 641937 26 20 0100947 0 43 7 1401705 4510201454 31249246902 2 4000395 90 1360637 1 o0 05353546 39 4201055 90 707 42r 90 4 Fob su 15 11256123 b2 4174432 63 55237 190 13 0590466 3142235209 29 23954201 90 2515692 44 02933004 13 3497
7. 764 95 40398407 36 47 661096 90 156707 76 3 9657 77159 92 99005999 90 15902019 40 56247475 13 90207569 OU 6427501 61 497 40303 35 9004655 E 20 33246603 97 50218201 fo 63727 1b o4 110430 2 b4 00041352 SU 45590854 19 8256607 1 F2 2196 7535 50 4305330 56 6670543 42 22005515 F4 4440654 0 557 21203 1 060031 13 BO 14 7464 03 62991553 0 399339199 O 65050 45 O0 0645 he 09994264 0 4030304 gr 10565156 0 0201 4465 45 70143127 37 1600069 24 55363274 a 24994659 39 002150 3 40 06402471 F5 66090 71 46 54675674 0 203540 42 69765472 ho 42999 260 F MyCoublearable0 MyDoubleVariablel NMoCtRetfreshes 5639 ob ob nba 5643 Shi SA45 ob4b Soba alatta Spay S65 5651 5652 a oho n655 5656 5657 n650 Sod SABO 5661 5h62 Sb Shi 5K65 nbh 5667 So 5K59 nhri 56r ob 2 We see a timestamp in column A and column B and a trigger variable Logging Method in column C In row 2 we started the logging while watching three beWISE variables MyDoubleVariable0 MyDoubleVariable1 and NOOfRefreshes column D P beWISE Tools user manual Rev B Edelwise Inc Page 13 But this time triggered on change of the Trigger Variable NoOfRefreshes This beWISE variable NoOfRefreshes changed quite fast about 10 times a second And for every change of this variable we got an entry into the log file beWISE Tools user manual Rev B Edelwise
8. AL V4 0 EasyList FILTER beWISE variable name Anplnteger Any String MuDoubleariablet MuDoubleY arable MyDoubleanable MyDouble ariable3 My Double arable MyDoubleyanableS MyQDoubleVanableb MyDoubleV arable MyDouble ariabled MyDouble arabled MyNews arable MyVariabeT oDelete NoOfRefreshes TrggerMyProgram aa Interval 0 5 sec value 4711 This variable never changes od 008209228861 56 28 196616 66357 od 9451065063477 46 108341 21 7041 23 24008041 3816 39 2159118652344 bf 6149522509 7 7 96 1066670173020 20 3092915395996 bb 4313201904297 0 0 10063 2007 02 10 11 25 38 344 0 Apply Filter type INTEGER STRING DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE INTEGER INTEGER INTEGER STRING INTEGER ersion 1 0 0 6 Copyright 2007 Edelwise Inc beWISE Tools user manual Rev B Edelwise Inc Variables 17 5120 Go Edelwise Page 6 EasyList Filter In the filter you can enter a trailing part of the beWISE variable names and from there on you will see only these beWISE variables which meet the filter specified Example We entered Any as filter and pressed the Apply Filter button From here on we see only those variables wh
9. GGER LOG FILE CONTENTS Now let s see a couple of examples of a log file Example A Triggered by timer 1 Date Time Stamp 2 2007 02 10 12 41 03 3 2007 02 10 12 41 03 4 2007 02 10 12 41 04 5 2007 02 10 12 41 04 6 2007 02 10 12 41 05 oz 2007 02 10 12 41 05 8 2007 02 10 12 41 06 9 2007 02 10 12 41 06 10 2007 02 10 12 41 07 14 2007 02 10 12 41 07 12 2007 02 10 12 41 08 13 2007 02 10 12 41 08 14 2007 02 10 12 41 09 15 2007 02 10 12 41 09 16 2007 02 10 12 41 09 17 2007 02 10 12 41 10 18 2007 02 10 12 41 10 19 2007 02 10 12 41 11 20 2007 02 10 12 41 11 21 2007 02 10 12 41 12 22 2007 02 10 12 41 12 23 2007 02 10 12 41 13 24 2007 02 10 12 41 13 What we got here We see a timestamp Date Time Stamp Milliseconds in column A and column B C Milliseconds Logging Method AC A 03 Interval i 500 msec 203 Interval 500 msec 03 Interval 6 500 msec 203 Interval 500 msec O40 Interval i 500 msec 203 Interval 6 500 msec 03 Interval 500 msec 203 Interval iG 500 msec 03 Interval 500 msec 203 Interval ia 500 msec 03 Interval 500 msec 203 Interval iG 500 msec 03 Interval 6 500 msec gar 203 Interval g 500 msec 03 Interval 500 msec 203 Interval t 500 msec 03 Interval 500 msec 203 Interval iG 500 msec 03 Interval 6 500 msec 203 Interval 6 500 msec 03 Interval 6 500 msec MyDoublevarablel MyDOoublewarablel 94 29002159 0 996249914 0
10. Logger beWISE Variables to watch 9 4 1 2 EasyLogger Number of beWISE variables in your system 9 Alco EaSyLogger Trigger MEIN OG eee E E 10 4 1 4 EasyLogger Logging into the log file ce ecceeceseeeeeeeeeeeeeeseeeeseeeeneeeenees 11 4 1 5 EasyLogger Log file contents 12 4 2 IDCCIAlCLIVG testers seveseeateveseweccnesseenevescvecevensuswewsnenancie EE AEE 4 2 1 Declarelive Watching and changing values of beWISE variables 16 4 2 2 DeclareLive beWISE variable manager 18 beWISE Tools user manual Rev B Edelwise Inc Page 3 2 TOOLS FOR BEWISE BASIC 2 1 DASHBOARD The dashboard is a little board which shows you which product version you are registered to and gives you the possibility to start all be WISE example programs and beWISE tools which come with your product version Further you can call beWISE help register beWISE and unload it FH beWISE Dashboard Product Version beWIiSE PROFESSIONAL V4 0 Start Example Programs Start TOOLS STSTEM Functions Counting j Easyview bewISEHELP Listening EasyLogger Register bewlSE Messaging DeclareLive UNLOAD bewiSE EasyPipe Model anager Tools Help ersion 1 1 0 0 Copyright 2007 Edelwise Inc Go Edelwise beWISE Tools user manual Rev B Edelwise Inc Page 4 3 TOOLS FOR BEWISE ADVANCED 3 1 EASYVIEW beWISE EasyView is a simple viewer of beWISE variables You can specify up to 10
11. ich name starts with the Any FILTER Ary HeWISE variable name value type l Anplnteger 471 INTEGER Any String This variable never changes STRING Backside This seems quite a faster method as EasyView But it has its backside as well e You have to declare your variables which we encourage anyways in logical groups you might want to see in EasyList in a glance beWISE Tools user manual Rev B Edelwise Inc Page 7 4 TOOLS FOR BEWISE PROFESSIONAL 4 1 EASYLOGGER The first part of the EasyLogger is based on the EasyView tool You can specify up to 10 different beWISE variables and EasyLogger will watch them for you like you are used to from EasyView But the EasyLogger goes some steps further 1 EasyLogger lets you decide on how the refresh should be done e by timer event which you can choose by a slider time frames between 0 5 10 seconds e by change event of a beWISE variable of your choice 2 EasyLogger lets you log all variables into a csv file Here a standard view of the tool beWISE PROFESSIONAL V4 0 EasyLogger beWise variables to log type value Logger contral Lootile Logging Method TIME based EVENT based Logging INTERYAL On CHANGE of 0 5 sec MAM ersion 1 0 0 5 Copyright 2007 Edelwise Inc Variables 17 5120 X Go Edelw
12. ise beWISE Tools user manual Rev B Edelwise Inc Page 8 4 1 1 EASYLOGGER BEWISE VARIABLES TO WATCH In the upper part of the EasyLogger tool you can choose beWISE variables you want to watch by just clicking on one of the combo boxes When the combo box opens it will show you all existing beWISE variables at this moment Choose one and you will see the type and value of this variable As long as this beWISE VARIABLE exists on your computer it will be refreshed and will show you the actual value In case you delete a variable in any other of your applications the last known value will remain and will not be changed any more beWise variables to log type value E yO oubley arable DOUBLE 70 8740997314453 rr Doublet arable DOUBLE 24 9063262939453 w MyDoublevariable2 w DOUBLE 881941757202148 w oO tRetreshes INTEGER 4842 STRING 200 0270 11 25 38 344 TriggerMyProgram 4 1 2 EASYLOGGER NUMBER OF BEWISE VARIABLES IN YOUR SYSTEM In the tool strip status line EasyLogger indicates the number of available maximum number of variables on your system ersion 1 0 0 5 Copyright 2007 Edelwise Inc Yariables 17 5120 st Go Edelwise beWISE Tools user manual Rev B Edelwise Inc Page 9 4 1 3 EASYLOGGER TRIGGER METHOD One of the advantages of EasyLogger is that you are able to choose by yourself on when the variables d
13. isplayed will be refreshed and written into the log file see below The trigger method can be Triggered by timer Choose with the slider a time interval between 0 5 seconds 10 seconds e g every 6 5 seconds the refresh and the logging will be done Trigger method Triggered by timer Triggered by change event Trigger frequence iis i Trigger YARIABLE 6 5 sec RE i Na Triggered by change event Choose your beWISE variable which will act as refresh trigger when it changes You also see the variable s type and the value underneath Every change of this variable triggers will refresh the display and writes a log record into the log file If the variable does not change then there is no refresh of all variables defined above neither will be anything written into the log file Trigger method Triggered by timer Triggered by change event Trigger frequence Trigger VARIABLE o SEES F 0 5 sec INTEGER 2222 Trigger indicator Just as a visual indicator of triggers time or event triggers are fired you will see a little edelweiss in the tool strip status line ersion 1 0 0 5 Copyright 2007 Edelwise Inc Yariables 17 5120 st Go Edelwise beWISE Tools user manual Rev B Edelwise Inc Page 10 4 1 4 EASYLOGGER LOGGING INTO THE LOG FILE The second big advantage of EasyLogger to the tools before is the possibility to write into a log file Logger control Logger log file You got two con
14. n a lot of cases usually use a trigger beWISE variable by creating a beWISE string and put a timestamp date time milliseconds into it to fire the event Advantage of this timestamp It s always unique so it will always fire the event and don t have to care about a unique counter or something else like this Just like this example beWise variable name type set values value MyDoubleVariable0 v DOUBLE jong 953127288818359 MyDoubleVariablel DOUBLE 80 488194351196289 MyDoubleVariable DOUBLE 570 872678375244141 NollfRetreshes l INTEGER 1000 LT erMyProgram STRING 2007 02 10 11 25 38 344 Of course here you are just testing and it doesn t really matter what you enter as long it s changing to fire a trigger But when you make a task to task communication where the trigger has to be created automatically in the sender task it helps beWISE Tools user manual Rev B Edelwise Inc Page 17 4 2 2 DECLARELIVE BEWISE VARIABLE MANAGER 4 2 2 1 DECLARELIVE DEFINING NEW BEWISE VARIABLE Now we want to define a new beWISE variable bewlSE variable manager p a M lew arable Type INT GER iL Jet value Description MM axirnurm oO Refresh rate D Minimum 0 l Resolution i Enter the name of a new beWISE variable max length 128 characters en
15. sh rate Minimum D Resolution E 4 2 2 3 DECLARELIVE UPDATE A BEWISE VARIABLE Just choose the variable for all existing beWISE variable change all the information you want to except the type which can not be changed with update and press the Update info button In order to change the type you have to delete the variable and create a new one from the type you want Be aware and that s why made it here more complicated for changing the type that in all you programs using this variable you have to change the type of receiving variables as well be WISE variable manager M pM ew arable Ml Type NTEGER Set value 100 Description N ew we give MyNewb ariable also some description Maximum io o ooo Refresh rate Aoo Minimum 250 Resolution Qn beWISE Tools user manual Rev B Edelwise Inc Page 19
16. ter all information and then press the Create button Tube INTEGER DOUBLE STRING yP default lt lt the last type used gt gt Se You can enter a set value default lt lt 0 gt gt for Integer and Double lt lt gt gt for String You can enter a description of this variable max 256 characters You can enter a maximum value for Integer and Double beWISE variables Type Maximum of this variable is according to the type you specified Be aware that this is only an information attribute of this beWISE variable You can enter a minimum value for Integer and Double beWISE variables Type Minimum of this variable is according to the type you specified Be aware that this is only an information attribute of this beWISE variable Papen tale You can enter a refresh rate value for beWISE variables Type Is integer Be aware that this is only an information attribute of this beWISE variable a D You can enter a resolution value for beWISE variables Type is integer Be aware that this is only an information attribute of this beWISE variable Only specification you have to make about a new variable is the type beWISE Tools user manual Rev B Edelwise Inc Page 18 4 2 2 2 DECLARELIVE DELETE A BEWISE VARIABLE Just choose the variable for all existing be WISE variable and press the delete button bewlSE varabl manager M WWariabeTobelete Type EGER Set value Description 0 oO Maximum Refre
17. trol groups here Logger log file control With lopen you can open a log file in a directory of your choice You can create a new log file or you can open an existing one The contents of an existing one will be appended by the new logs The file format is a csv file Which is a comma separated sequential file but has the advantage that MS Excel can open it immediately as well So testing or documentation of any tests done is much more convenient for you With close you can have to close an open log file before you want to start with a new one Logger control With start you start writing into the log file With stop you stop writing into the log file You can start stop logging as many times as you want as long a log file is open You can close a log file only when you stopped logging Remarks The logger does not influence the refresh of the variables you watch So you can stop logging watch the variables for a while and later on you start logging again You can change the beWISE variables to be watched during logging is active A header line with the name of all variables will be written into the log files every time you change the watcher s contents You can change from time to event triggered watching during logging is active A header line is written as well into the log file Also the event trigger variable s name will be written into the log file beWISE Tools user manual Rev B Edelwise Inc Page 11 4 1 5 EASYLO

Download Pdf Manuals

image

Related Search

Related Contents

Conseil Mondial des Clowns Conseil Mondial des Clowns  Sika Multiseal    König KN-MIC25 microphone  Question écrite n°441 de Fatoumata SIDIBE  AudioTX STL-IP    Whirlpool ET14JM User's Manual  Samsung P2770FH User Manual  Sweex Wireless Mouse Voyager Black USB  

Copyright © All rights reserved.
Failed to retrieve file