News:

  • June 28, 2026, 05:03:43 PM

Login with username, password and session length

Author Topic: sharing violation locks up second computer  (Read 17075 times)

Henryp

  • Hero Member
  • *****
  • Posts: 161
sharing violation locks up second computer
« 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.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: sharing violation locks up second computer
« Reply #1 on: November 13, 2014, 11:08:18 AM »
I created a FogBugz case for it.  We'll look into it.  Sorry about that.

Mike Nash

  • Hero Member
  • *****
  • Posts: 652
Re: sharing violation locks up second computer
« Reply #2 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.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: sharing violation locks up second computer
« Reply #3 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)?

Mike Nash

  • Hero Member
  • *****
  • Posts: 652
Re: sharing violation locks up second computer
« Reply #4 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!

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: sharing violation locks up second computer
« Reply #5 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.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: sharing violation locks up second computer
« Reply #6 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.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

Mike Nash

  • Hero Member
  • *****
  • Posts: 652
Re: sharing violation locks up second computer
« Reply #7 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.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3612
  • Darth Ladder
Re: sharing violation locks up second computer
« Reply #8 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.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: sharing violation locks up second computer
« Reply #9 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.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Mike Nash

  • Hero Member
  • *****
  • Posts: 652
Re: sharing violation locks up second computer
« Reply #10 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?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: sharing violation locks up second computer
« Reply #11 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.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO