LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 97 When Using ActiveX

I am trying to write data to Excel 2016. When I try to submit it to the excel file I get "Error 97: Occurred at Unknown System.Vi" Possible reason(s): LabVIEW: A Null or previously deleted refnum was passed in as an input.

0 Kudos
Message 1 of 3
(3,019 Views)

You've told us what the Error is, but haven't shown us the code that produced the Error.  Either you code is wrong, your LabVIEW installation (which we also know nothing about, but if you attached your VI, we could at least tell what Version you are using), or there's something wrong with your Excel installation (there is a new "feature" in Excel 2016 that can trigger errors, already mentioned in the Forums, along with Solutions).

 

For us to help you, you need to provide more information.  Or you can search the Forums ...

 

Bob Schor

0 Kudos
Message 2 of 3
(2,954 Views)

I agree it is something with my code. I created a new VI this morning and redid the code a little bit and now it is working so I guess it is all fine now. Thank you for your reply though!

0 Kudos
Message 3 of 3
(2,952 Views)