Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Henryp on November 13, 2014, 10:37:27 AM

Title: sharing violation locks up second computer
Post by: Henryp on November 13, 2014, 10:37:27 AM
If I open a DMD project on one computer and then try to open a second copy on another I get a sharing violation which seems reasonable. However the second computer locks up. It will not allow me to open any other DMD projects, connect to the PLC or will it let me close the DMD software. I have to do a Windows task manager end program.
Title: Re: sharing violation locks up second computer
Post by: franji1 on November 13, 2014, 11:08:18 AM
I created a FogBugz case for it.  We'll look into it.  Sorry about that.
Title: Re: sharing violation locks up second computer
Post by: Mike Nash on November 15, 2014, 04:09:23 PM
Bummer! I just got home from a Do-more start-up and almost tried the two computers thing from a remote Terminator/Drive cabinet. Glad I didn't now.

Rockwell allows this - which is cool - but also costs a pretty penny (and a lot of hair at times. ;) )

The start-up went great BTW.
Title: Re: sharing violation locks up second computer
Post by: franji1 on November 16, 2014, 12:21:43 PM
Bummer! I just got home from a Do-more start-up and almost tried the two computers thing from a remote Terminator/Drive cabinet. Glad I didn't now.

Rockwell allows this - which is cool - but also costs a pretty penny (and a lot of hair at times. ;) )

The start-up went great BTW.
I assume it opens the 2nd one read-only (so, you could do a Save-As and merge your edits at a later time)?
Title: Re: sharing violation locks up second computer
Post by: Mike Nash on November 16, 2014, 12:46:06 PM
I assume it opens the 2nd one read-only (so, you could do a Save-As and merge your edits at a later time)?

Actually no. It does some sort of sharing thing. Online edits have to be "started" for a given rung, so that rung is locked for others while this occurs. It is more tedious to edit online, but very hard to do anything unintentional and very easy to undo those edits after testing but before "compiling" so-to-speak.

I don't know all the details as I have only been in that situation a few times. But I can easily monitor anything from one computer while others make changes from another. You get a pop-up informing you changes have been made by others.

I'm not requesting anything different at this point, though even read only would be useful. Having data view edits and forcing could be really handy though!
Title: Re: sharing violation locks up second computer
Post by: BobO on November 16, 2014, 09:51:25 PM
You can easily connect from two different PCs at the same time. Just don't try to open the same project file at the same time. Do-more will even warn you if the other session changed the program.
Title: Re: sharing violation locks up second computer
Post by: Controls Guy on November 16, 2014, 11:42:50 PM
I assume it opens the 2nd one read-only (so, you could do a Save-As and merge your edits at a later time)?

I've only been in a position to use it a time or two (multiple guys online and editing a program is not the norm on most projects I work on, certainly), but the execution is very slick.

You can have several guys online at once, editing and committing changes.  Obviously you don't want to be working on the same section of the program at the same time, but you probably wouldn't have multiple people working on it simultaneously in the first place if there weren't enough discrete tasks to keep them busy.
Title: Re: sharing violation locks up second computer
Post by: Mike Nash on November 17, 2014, 06:27:52 PM
You can easily connect from two different PCs at the same time. Just don't try to open the same project file at the same time. Do-more will even warn you if the other session changed the program.

I don't quite understand what you mean by opening the same project file at the same time.
Title: Re: sharing violation locks up second computer
Post by: Controls Guy on November 17, 2014, 06:55:18 PM
I think he's saying you can go online from multiple PC's, but only one can have a given disk file in use at a time.  The other sessions must be working from another copy of the disk file or must be started as online projects.  I think.
Title: Re: sharing violation locks up second computer
Post by: BobO on November 18, 2014, 09:42:03 AM
I think he's saying you can go online from multiple PC's, but only one can have a given disk file in use at a time.  The other sessions must be working from another copy of the disk file or must be started as online projects.  I think.

Precisely.
Title: Re: sharing violation locks up second computer
Post by: Mike Nash on November 18, 2014, 06:31:08 PM
Well I'll try this soon.

When will it work with the simulator? ;D



Have I mentioned lately that I love the simulator?
Title: Re: sharing violation locks up second computer
Post by: BobO on November 18, 2014, 08:05:10 PM
Have I mentioned lately that I love the simulator?

I'm glad you do. I wrote it originally to test the control engine before we had hardware. It was such a useful tool we decided it MUST be included with the product. Incidentally, it really isn't a simulator per se...it runs the same engine code as hardware, just with no physical I/O.