Wednesday, December 03, 2008     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: axlForm/axlMeter display during process
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
willbi
Posts: 63
Online: User is Offline
11/12/2007 3:44 AM  
Hello All.

I have a form with fixed texts and texts that are updated during the process.
During the process, only updated texts are displayed, fixed ones are only displayed at the en of the process.
Is there a way to fix this problem?

Thanks.
Dave Elder
Moderator
Posts: 150
Online: User is Offline
11/12/2007 11:27 AM  
Hi,

If I understand your problem correctly, you are probably setting your field values after you run the axlFormDisplay command. Try setting the values begore running axlFormDisplay.

Cheers, Dave

Dave Elder
Tait Electronics
willbi
Posts: 63
Online: User is Offline
11/13/2007 1:00 AM  
Hello Dave.

Yes. I define the form by writting a file and display it. Then the routine check each compdef and display informations about them on the form with axlFormSetInfo.
willbi
Posts: 63
Online: User is Offline
11/13/2007 1:42 AM  

I tried to add a progress bar to this form:
The form is written on the disk.
It is loaded with:
fabForm=axlFormCreate( (gensym) "./fabForm.form" '(e outer) 'fabForm_Action t)

Then it is displayed.

I defined a "bar" PROGRESS field:
fprintf(fabForm "FIELD bar\n")
fprintf(fabForm "FLOC 5 19\n")
fprintf(fabForm "PROGRESS 50 4\n")
fprintf(fabForm "ENDFIELD\n"
I define a list:
barList=list(1 length(l_comps) 0)
axlFormSetField(fabForm "bar" barList )
then I update it with for each compdef:
barList=list(1 length(l_compdefs) cdnum)
axlFormSetField(fabForm "bar" barList )
Then the progress bar works inside the form. But with always the display problem. Updated texts and the bar are displayed.

I tried with an axlMeter.
I can't succeed to put the axlMeter inside the form, but if it runs outside the form, the form is totally and fully displayed (all texts, text borders...)
I saw that axlMeter can update a progress in a form if this progress is named "bar". But the axlMeterCreate("", "", nil, "fabForm") creates a new form and update only the bar.I got two forms, one with updated texts and another one with the bar!!...
If the axlMeter is opened outside then I get everything but 2 progress bars.
And if I create the Meter and Destroy it, the form is well displayed but some texts are truncated....
Dave Elder
Moderator
Posts: 150
Online: User is Offline
11/13/2007 5:34 PM  
Hi, Your form must be completely defined before you "create" it. So you can't add extra fields afterwards. The axlMeter inside a form does work. You should update the fields THEN display the form as the LAST thing your code does. Send me your full code if this doesn't help. Cheers, Dave

Dave Elder
Tait Electronics
willbi
Posts: 63
Online: User is Offline
11/14/2007 2:25 AM  
Sorry Dave but surely I did not explain well, but i do not want to add fields at all.

I define the form. It is written on the disk as a .form file, with all needed fields (even the progress bar).
I create the form and display it.
Then afterwards, I only update text with axlFormSetField.
I do not want to add fields, just update those already defined..

I display the form.
I extract the job number.
I update the job number field.
then I extract components informations and update existing fields with each components property values.

But during the process, fixed fields are not visible, all components fields are displayed and updated and when the routine finishes, the whole form is displayed. it was the same issue before I add the progress bar.

on the attached picture:
red ellipse: texts defined before the display
green ellipse: texts updated during the process
blue ellipse:text displayed at the end of the process

Attachment: formdisplay.pdf

willbi
Posts: 63
Online: User is Offline
11/14/2007 2:26 AM  
update: I only change field contents with axlFormSetInfo, not axlFormSetField...
Dave Elder
Moderator
Posts: 150
Online: User is Offline
11/14/2007 11:34 AM  
Again... You should update the fields THEN display the form as the LAST thing your code does. Don't run axlFormDisplay until all the values have been set. Cheers, Dave

Dave Elder
Tait Electronics
Posting to forums is available to community members only.
Login or Register

Forums > Silicon-package-board > Shared code - SKILL > axlForm/axlMeter display during process


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.