LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

More "Refnum not valid in this context" issues

I read through the recent related thread here and I'm getting the same error with a different use case.  (LV8.6)

 

RefnumNotInContext.png

 

In Ben's case it appears he was typecasting the queue refnum.  I'm not doing anything with the queue refnum yet I'm seeing the out of context error and frequent crashes.  I can start Labview, open and run this vi before doing anything else and it still shows up as invalid.  I even went so far as to replace the queue data type with a Labview Object--no dice.  Invalid.

 

Any ideas?

Message 1 of 4
(2,689 Views)

Hi Daklu,

 

Can you post the code for this?

 

Also what OS are you using (32bit or 64)?

 

FLash

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,665 Views)

Daklu wrote:

I read through the recent related thread here and I'm getting the same error with a different use case.  (LV8.6)

 

...

 

Any ideas?


No GOOD ideas.

 

Have you tried an "always copy" node in the wire after the branch where the type splits from the data being queue?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(2,654 Views)

I'll have to trim a bunch of stuff out before I can post it.  I might be able to get to that Monday or Tuesday.  That screenshot was taken from Windows 7, 32-bit.  I'm using a very similar framework for an application on XP and it doesn't appear to have that problem.

0 Kudos
Message 4 of 4
(2,626 Views)