08-13-2019 03:24 AM
I have parallel model with 4 test sockets.
All 4 test sockets contains step where .ini file is read/write.
All 4 test sockets are using the same .ini file.
If any two or more test sockets want to read/write into same .ini file at the same time program crashes since for test socket .ini file is not available.
How can I solve this?
Solved! Go to Solution.
08-13-2019 08:27 AM
Lock the step that is writing the .ini file.
Click on the step and in the step Properties click the Synchronization section. Check the Use Lock to Allow Only One Thread at a Time to Execute the Step box. You can give it a name of anything you like or just leave it blank and it will use the step ID (which is what you want in this case).
Hope this helps,