05-16-2008 12:11 AM
05-17-2008 01:19 PM
05-19-2008 05:04 PM
05-19-2008 09:01 PM
Firstly, scratch point #5 in my previous message.
More importantly, I've discovered something repeatable that is likely part of the same issue. However, this procedure produces error 1179 in Datasocket Open, whereas the previous error I mentioned manages to open the SV successfully and then later produces 1179 during Datasocket Write.
It seems to have something to do with Variable Manager (which I often use to monitor the processes during my program), and an interplay with the "Single Writer" option in SV properties. I've included a zipped project folder for demonstration.
1. Open Variable Manager.
2.
05-19-2008 09:01 PM - edited 05-19-2008 09:06 PM
Sorry, my spacebar landed on the "submit post" button
2. Deploy Var_Lib.lvlib. Notice only a single shared variable using the "Single Writer" option.
3. Open and run "Using_Datasocket.vi". Notice no problems.
4. Refresh the Variable Manager and add "output1_SV" to the watch list
5. Run the VI again. Error 1179.
This problem does not occur if the variable is not part of the watch list, does not occur if the Variable Manager remains closed, and does not occur if "Single Writer" remains off. However, once it occurs for the process, the only way to get rid of it is to shut down the SV engine and restart it. Simply restarting the process doesn't seem to work.
--Dave
05-19-2008 09:19 PM
OK, another clarification:
Restarting the SV engine is NOT the only way. I just realized that to get rid of the error one may remove the variable from the watch list OR shut down the Variable Manager.
This may explain my difficulties. I would check various variables in the watch list at different times, some of them may have had the "Single Writer" option in use.
--Dave
05-22-2008 11:20 PM
05-23-2008 10:00 AM
05-30-2008 04:20 PM