Changes between Version 6 and Version 7 of LabassertUserGuide
- Timestamp:
- 05/06/09 11:01:06 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LabassertUserGuide
v6 v7 201 201 END Tutorial_Types; 202 202 }}} 203 3. Create a '''Function''' named “Calculator” (Edit → New Function) :[ BR][[Image(htdocs:UserGuide/img5.png)]]203 3. Create a '''Function''' named “Calculator” (Edit → New Function) :[[BR]][[BR]][[Image(htdocs:UserGuide/img5.png)]] 204 204 205 205 4. Click on the “Interfaces” tab. 206 4. Create 4 '''Interfaces''' named “Add”, “Sub”, “Mul” and “Div” with same attributes (Edit → New Interface) :[[ Image(htdocs:UserGuide/img6.png)]]206 4. Create 4 '''Interfaces''' named “Add”, “Sub”, “Mul” and “Div” with same attributes (Edit → New Interface) :[[BR]][[BR]][[Image(htdocs:UserGuide/img6.png)]] 207 207 208 208 6. For each interfaces, create 3 parameters [[BR]] (Select the interface and click on Edit → New Parameter) : … … 210 210 * o1 : direction “in”, type “Float” and protocol “NATIVE”. 211 211 * o2 : direction “in”, type “Float” and protocol “NATIVE”. 212 * r : direction “out”, type “Float” and protocol “NATIVE”.[[ Image(htdocs:UserGuide/img7.png)]]212 * r : direction “out”, type “Float” and protocol “NATIVE”.[[BR]][[BR]][[Image(htdocs:UserGuide/img7.png)]] 213 213 214 214 Note : the newly created parameters shall appear on the right table application. 215 215 216 216 7. Click on the “Functions” tab. 217 7. Select the “Calculator” '''Function''' and add the interfaces (Edit → Add Interface) :[[ Image(htdocs:UserGuide/img8.png)]]218 219 9. Finally, save the current library (File → Save Library) :[[ Image(htdocs:UserGuide/img9.png)]]217 7. Select the “Calculator” '''Function''' and add the interfaces (Edit → Add Interface) :[[BR]][[BR]][[Image(htdocs:UserGuide/img8.png)]] 218 219 9. Finally, save the current library (File → Save Library) :[[BR]][[BR]][[Image(htdocs:UserGuide/img9.png)]] 220 220 221 221 Note : in the save as dialog box, a default name is proposed for the file : the previously given library name with the “.lfv” extension (Calc.lfv in our example). … … 224 224 1. Launch the Interface View Editor. 225 225 1. Load the previous '''Functional View''' (File → Load Functional View) : “Calc.lfv” file. 226 1. Create a '''Container''' named “Time” (Edit → New Container or right mouse button contextual menu New Container entry) :[[ Image(htdocs:UserGuide/img10.png)]]227 228 4. Create a '''Function''' named “Convert” into the “Time” '''Container''' (Edit → New Function or right mouse button contextual menu New Function entry) :[[ Image(htdocs:UserGuide/img11.png)]]226 1. Create a '''Container''' named “Time” (Edit → New Container or right mouse button contextual menu New Container entry) :[[BR]][[BR]][[Image(htdocs:UserGuide/img10.png)]] 227 228 4. Create a '''Function''' named “Convert” into the “Time” '''Container''' (Edit → New Function or right mouse button contextual menu New Function entry) :[[BR]][[BR]][[Image(htdocs:UserGuide/img11.png)]] 229 229 230 230 5. Create 3 '''Provided Interfaces''' on the “Convert” '''Function''' (Edit → New PI or right mouse button contextual menu New PI entry) :