NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Synchronization using specific socket after first synchronized section

Hi all,

 

I'm using Batch Synch however a slight variation on the traditional use is that I want to force the thread used in the first synchronized section (set to one thread only) to then be the thread that executes the remaining synchronized sections so I'm currently thinking of a hybrid Batch synch + Rendezvous approach. See attached seq.

 

Batch.png

 

However there's a lot of sections to be wrapped like this AND the termination / error handling of this gets complicated really quickly if we're to avoid deadlocks. Feels like a hack honestly.

 

Anybody got another pattern they would care to suggest?

 

Cheers

Chris

Don't forget to give Kudo's for a good answer !

LabVIEW Champion
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 1 of 4
(956 Views)

Why not enclose all the steps with just one batch sync, this way all steps run in the same socket.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(933 Views)

My example was just to simplify the situation. Sadly there are steps that require all sockets to execute along with some that are one batch only. There are many many steps and several sub sequences,

Don't forget to give Kudo's for a good answer !

LabVIEW Champion
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 3 of 4
(929 Views)

This exactly sounds like the way TSM (TestStand Semiconductor Module) works (on top of Batch model)

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(904 Views)