LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

invalid refnum. object id does not exist

I've found that when a channel is created without signal data, then the 'ID to refnum.vi' cannot find that channel and gives the following error:
Error -2569
LabVIEW:  LabVIEW cannot convert the object ID into a valid refnum. An object with this ID does not exist in the data storage file.

However, the 'Read Data.vi' and 'Get Properties.vi' and everything else works fine. Interestingly, if a channel is made with signal data, then the channel is overwritten without signal data, then 'ID to refnum.vi' works fine, even though the ID remains persistent in both cases.

I've included a simplified example of code that produces this error. 'Refnum to ID.vi' produces a valid ID but 'ID to refnum.vi' can't find it in the file.

Am I assuming something wrong here?

thanks,
Louis

0 Kudos
Message 1 of 1
(2,157 Views)