LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

funny stuff with excel file references

I used 'create a subvi' on a portion of a diagram that is to save some data
using the excel toolkit. The subvi had a file reference input and output.
But now when I run it the reference seems to get corrupted (or at least not
work right). I tried deleting the input and output reference and got new
copies from one of the supplied excel toolkit vis but it still wont work
right. I can get it to work by not using the output reference and just
wiring the following vis to the input reference. But I wonder how it is
getting corrupted. Even if the reference is not used at all in the subvi
but is just wired from input to output it still messes it up. Anyone know
why this is happening?
0 Kudos
Message 1 of 4
(2,630 Views)
Hi Adam,

You seem to find alot of interesting issues.

If you have spare time, maybe you should sign up for the BETA test program.

Please post an example, I'd love to see this one.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,630 Views)
It turned out that I had the reference going through a for loop and
(guess what?) I had an unpopulated array that was indexing into it.
So the loop didnt go even once and the reference did not make it
through.
0 Kudos
Message 3 of 4
(2,630 Views)
And yet another riddle solved.

Thank you for the update.

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