Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - bknoth2

Pages: [1] 2 3 4
Thanks Simon and qwerty,

I figured there was a simple answer.

- Bruce

I tried installing V14 on two machines with V13.5 on them and V14 overwrote V13.5 both time. It seems like others have installed both on the same machine. Is it possible? Did I miss an option during installation? (Win 10 platform)


General Board / Re: From UML to SysML for Systems Architecture
« on: May 03, 2018, 10:01:59 am »
If the system is software-only, then UML probably has everything you need. If there is a significant hardware aspect to it as well, then SysML constructs can be helpful as well. For example, specifying and designing the software for a medical device can be done well with UML. If you also want to model the hardware, then SysmML BDD's and IBD's add value beyond UML for modeling the hardware aspects of the system.

General Board / EAUML Information?
« on: April 28, 2018, 01:49:41 am »
I'm using EAREQ which seems to be part of EAUML. I can't find any documentation on EAUML or EAREQ. I'd like to understand it better. Is there any information anywhere?


You are probably right, but that won't work for me. I just want to turn it off, backup, and turn it on and that's only because EA won't let me backup through a script when auditing is on. I'll go to plan B, whatever that is.

Thanks again for your help. I learned a few things.


I looked into it a bit.

The record for auditing reads: reveng=0;xmiimport=0;xmiexport=0;auditLevel=131072;auditOptions=4;dbtimestamp=0;enabled=0;

Enabling and disabling auditing toggles the enabled (at the end of the string) field to 1 and then 0. Sadly, disabling auditing by changing that 1 to a 0 doesn't provide a work-around for my original problem (details here:,39455.msg243549.html#msg243549

The gist of it is that ProjectTransfer fails if auditing is enabled (the fifth line below) but works if disabled.  Transferring the project manually through the UI works with auditing on, though.

   dim repository
   dim projectInterface
   set repository = GetObject(, "EA.App").Repository
   set projectInterface = repository.GetProjectInterface()
   projectInterface.ProjectTransfer eapString, TargetFilePath, LogFilePath

Maybe I'll play around a bit more, but that's it for now.

Thanks again for your help

Any thoughts on how to do that in a script? I see (based on what I think is your book) that there's an undocumented Execute() function for executing SQL. I can try that, but I'd appreciate suggestions.

Needless to say, I'll work with a copy of my model!

Thanks for your help.

I'd like to disable and enable auditing through a script (as a workaround for an EA bug that prevents transferring a project through a script when auditing is enabled). Is there an interface for enabling and disabling auditing? I found the ClearAuditLogs() method in the repository class, but I can't find anything about turning auditing on and off.


It appears that enabling auditing causes the failure. I had enabled auditing around the same time the problem started (which I then forgot about).

If I disable auditing, the problem goes away. When I enable it, the problem comes back. I don't have to clear the logs, just enable and disable auditing. I'm suspecting a bug.

General Board / Re: ProjectTransfer stopped working - aaargh
« on: March 24, 2018, 02:20:05 am »
No good idea to run production with a beta. Use a backup and/or contact Sparx to see if they can help.

I only put the Beta on the same machine. I didn't open the production model with it. That turns out not be the cause, though. See my next comment.

General Board / Re: ProjectTransfer stopped working - aaargh
« on: March 24, 2018, 02:02:15 am »
Have you tried running a Project Integrity Check?
Yes, I did. I cleaned the repository and it didn't make a difference.

Thanks for the suggestion.

I have a script that backs up my PostGres-hosted EA repo. It has been completely reliable until it started reporting through a message box:
    "An error has occurred: Encountered an improper argument. Press OK to continue the table upgrade..." which I have to cancel out of.

The log file reports:
    (after messages about removing data)...  Copying project information for: t_xref   ERROR: *** t_xref - record no: 1

The problem may have started after I installed and then removed the Version 14 Beta. I did not open the Postgres-hosted model with the Beta, I installed the Beta, opened an unrelated .EAP file, and then uninstalled the Beta and reinstalled EA version 13.5 (build 1352). I've tried uninstalling and reinstalling EA and I even ran EA.exe /unregister and then /register.

I can do a manual backup just fine (create an empty project and transfer the DBMS model to the empty .EAP file using Configure/Transfer/Project Transer

Relevant lines of my script are:
   dim repository
   dim projectInterface
   set repository = GetObject(, "EA.App").Repository

   set projectInterface = repository.GetProjectInterface()

   projectInterface.ProjectTransfer eapString, TargetFilePath, LogFilePath

Any ideas?


I have an interaction occurrence that references a diagram in a another package. I'd like to insert that diagram in an auto-generated document along with the interaction occurrence.  Is there a way to do that? (I've tried using embedded elements, child elements, etc to no avail).

FYI: Here's a link to the interaction occurrence definition:

Any seasoned STM_C++ users out there?

We have an extensive, three-level state machine and we've generated the code for it using the STM_C++ template. I'm surprised about the generated code in some ways. Loosely speaking, the state machine is implemented in one large loop and every time it goes around the loop it checks for transition conditions. When it enters a state it calls the onEntry() behavior as expected, then exits that and calls the Do() behavior. Once it exits the Do() behavior it goes around the loop but won't enter the Do() behavior again. That means that the the code for the Do() behavior has to sit in a tight loop if it is doing something that takes time, which then means the rest of the state machine can't execute (and check triggers, for example).

We've been working with the templates a lot to try to get the behavior we want (keep calling Do() until a state transition happens), but we're not fully successful yet.

I'd like to know what experiences others have had or if there are recommendations.


General Board / Re: Do template selectors support SysML blocks?
« on: March 09, 2018, 12:31:32 pm »
Never mind. Class:block: seems to work.

Pages: [1] 2 3 4