Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Anyone do anything interesting with a Canvas
Topic Summary: Canvas discussion
Created On: 15-Feb-2007 12:59
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 15-Feb-2007 12:59
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

Just a quick question to see if anyone ever did anything useful with the canvas functions.

I have finally got around to playing with this, nothing really spectacular so far, but I'm aiming at creating something to do the following:

>get baseline names from a module
>get name of any change requests applied to that baseline
>display a graphic to show the life of the module

A bit like the graphic display you see in some code merge tools.

Eg

Baseline 1.0             ___ Baseline 2.0
     Change_001        |           Change_011
     Change_002        |           Change_012
     Change_003        |
           |___________|

Not looking for code tips, just curious to see who has played with the canvas functions.

Anyhow, here is my toy code so far. This will run from the standard dxl editor.

Rgds
Andrew

-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
 15-Feb-2007 15:07
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Andrew,
nice picture, but you should fill it dynamically from Modules information

I dealed with canvases a long time ago and created a calendar function to pick up a date ...
which now is available as Date DBE

If you like, you may have a look here
to see what I'm writing about ....

Greetings
Reik

P.S.: Wouldn't this message better be placed in DXL Thread?

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 16-Feb-2007 07:34
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

Thanks Reik, thats a great example. 

Yeah, so far my toy is just drawing a picture, my next task is to withdraw live info, then make the individual boxes mouse responsive, so I can click to 'drill down' through the info.

Will post the progress here.

I should mention that I dont use the default DOORS change system, so my app will be dedicated to my own change system, really just a module full of objects, each object just contains the name of the change doc, and acts as an anchor for links from each changed object in the requirements modules.

That change system works by forcing a user to select a change document from a drop down selector,(just a front end for the change module objects), before it allows a user to edit the requirements objects. Then a trigger based system links each modified requirement object to the anchor point.

We used to do this manually, but the scope for mistakes was too open. Would be nice if DOORS provided a few more trigger points, I find them so useful.

Rgds
Andrew.


-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
 16-Feb-2007 21:19
User is offline View Users Profile Print this message


Brant Stoner

Posts: 30
Joined: 2-Aug-2004

I just recently started messing around with canvases. The script I created takes the name of an object attribute and charts in a bargraph the percentages of requirements that have that attribute. The attribute has to be an enumerated type. It's still in its "preliminary" stages but works pretty well so I've attached it here.

Basically, I wanted a script that showed in a chart-like display how many requirements had been marked "accepted", "implemented", "verified", etc. This seems to work pretty well (in DOORS 7.1, at least....). The script also generates some CSV formatted output in case you want to just copy it into Excel or something.
Report this to a Moderator Report this to a Moderator
 18-Feb-2007 16:53
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

BTW, did you know that there is a similar function supplied with DOORS. The code for this is
unencrypted in lib\dxl\standard\fns\doorsst.dxl.

The problem with this DOORS Statistics function that it does not show exact values for the
counts for each attribute value and it is not possible to do a CSV export.

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
Report this to a Moderator Report this to a Moderator
 19-Feb-2007 08:10
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Andrew,

another interesting usage of canvases is in LDXL.

You may create something like the changebars in main columns by using the canvas functions.
This independent from the diaplayed Text.

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 19-Feb-2007 21:27
User is offline View Users Profile Print this message


Brant Stoner

Posts: 30
Joined: 2-Aug-2004

I thought there must be something like that already....it seemed like such an obvious thing for DOORS to do that I thought it would be "built-in" with the other report and graph wizards. When I didn't see it there I figured I might as well increase my DXL knowledge and tackle it myself. I actually started with just the text reports, then thought I could better "wow" my customers with a bar chart . I'll take a look at the script you referenced and see how "they" did it.
Report this to a Moderator Report this to a Moderator
 11-Jul-2007 08:41
User is offline View Users Profile Print this message


Chris Collingwood Hancock

Posts: 24
Joined: 8-Sep-2006

Hi Andrew, As your 'Canvas' discussion started and ended in February, you probably won't get round to reading this - but in case you do... The project I am working on at present involves the development of a GUI front-end to DOORS for Engineers to produce engneering documents. As part of this, similar to what you experimented with, I have used the 'Canvas' functions for the following: - a system layout showing all Equipment items on a databus - incorporating as a DBE onto a GUI to provide user warnings (i.e. data validation with a caution sign) Nothing too exciting, just thought I'd make you aware someone out there is using it!!! Chris Collingwood-Hancock AgustaWestland Helicopters (UK)
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.