| MATLAB Central > MATLAB Newsreader > Synchronizing two or more xPCs? |
|
|
|
Subject: Synchronizing two or more xPCs? From: Thomas Marullo Date: 12 Feb, 2010 05:01:59 Message: 1 of 6 |
|
Is it possible to synchronize the start of two or more xPCs loaded with models? Both of my xPC systems have a shared memory device (Scramnet). Therefore, they can share memory space and exchange data pretty much instantaneously. I need to have both xPCs start at the exact same time. Is it possible to have them block on a boolean in the shared memory, basically waiting to "go" and once that boolean is set to true externally, they should all start at the same time. I just don't know how to get them to align perfectly. |
|
Subject: Synchronizing two or more xPCs? From: Thomas Marullo Date: 1 Mar, 2010 20:19:23 Message: 2 of 6 |
|
Any thoughts on this? |
|
Subject: Synchronizing two or more xPCs? From: Gordon Weast Date: 1 Mar, 2010 21:07:42 Message: 3 of 6 |
|
Thomas, |
|
Subject: Synchronizing two or more xPCs? From: Thomas Marullo Date: 2 Mar, 2010 03:10:23 Message: 4 of 6 |
|
Thanks, Gordon. Some good info here. The timing on this doesn't have to be to the microsecond. I envision running one xPC with a base sample rate of 1kHz running a control model. The second one, or slave model, will run at 0.1kHz and feed data across the shared memory. And the process won't last longer than a few minutes, realistically. Therefore, microsecond drifts are acceptable. |
|
Subject: Synchronizing two or more xPCs? From: Thomas Marullo Date: 10 Mar, 2010 16:03:05 Message: 5 of 6 |
|
Gordon, |
|
Subject: Synchronizing two or more xPCs? From: Gordon Weast Date: 10 Mar, 2010 19:26:27 Message: 6 of 6 |
|
Thomas, |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| xpc | Thomas Marullo | 12 Feb, 2010 00:04:30 |
| scramnet | Thomas Marullo | 12 Feb, 2010 00:04:30 |
| synchronization | Thomas Marullo | 12 Feb, 2010 00:04:30 |
Contact us at files@mathworks.com
