Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69090

Actor Framework .NET Reference Corruption

$
0
0

The subject is the best I can describe it. I have an actor framework application where I am storing the refnum to a .NET assembly in the actor private data. Creating the reference and using Invoke Node for a method that only reads data doesn't seem to have an issue. However, periodically when I use Invoke Node for a method that writes data, the refnum becomes invalid. That is to say that it can run fine sometimes, and not others. It is like something corrupts the .NET refnum somewhere along the line. I started checking the refnum when I first read it, and it reports it is not a valid refnum, then the invoke fails.

 

I have my development VI which is just a linear string of Invoke Node that has been running for a week or two without issue, but I'm not storing the refnum anywhere in that case.

 

These are the errors I'm getting...any ideas on how to debug this? 

 

Error 1 occurred at Invoke Node (followed by the call chain)

 

Possible reason(s):

LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.


Viewing all articles
Browse latest Browse all 69090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>