LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1967362020

Hi everyone,
 
Someone could help me with this error:
 
Error -1967362020 occurred at an unidentified location
Possible reason(s):
IAK_SHARED:  (Hex 0x8ABC701C) The provided refnum is invalid.
 
I have a subVI which get an element from a shared variable. This subVI is used in two VIs (P1.vi and P2.vi). There is no problem when both are running at the same time, but when P1 or P2 is stopped the other one gets this error. I attached an image of what I said.
 
However, when I change this shared variable from Network published to Single process, everything works well.
 
I would appreciatte any help.
 
Regards,
 
JC
 
 
 
 
0 Kudos
Message 1 of 3
(3,462 Views)
Without setting it up and trying, it almost sounds like a deployment issue.  Network shared variables are deployed while single process are not.
 
I believe by default, a project has the shared variable deployment set to autodeploy.  When the first app using them starts running, they are deployed and should remain deployed until the last vi using them is stopped.
 
I would suggest trying turning auto-deploy off, manually deploy the variables (as network shared), and run the applications.  As I understand them, the shared variables should remain available until you undeploy(?) them or exit Labview.
 
 
Happy wiring!
0 Kudos
Message 2 of 3
(3,455 Views)
 
Thanks for reply, I did what you said but it didn't work; however, I made the subVI re-entrant and P1 and P2 worked without problem. It sounds as the problem was solved, but I don't understand how it was resolved and I 'd be glad if someone could explain me.
 
Thanks so much again.
0 Kudos
Message 3 of 3
(3,448 Views)