03-13-2002 09:49 AM
03-13-2002 11:49 AM
03-14-2002 05:37 PM
03-15-2002 09:39 AM
03-15-2002 10:15 AM
08-15-2022 07:40 AM
After playing with activx I found the way for all options to work
Not working without sequence
With sequence all working well, any other activx
08-15-2022 08:23 AM
The reason your code doesn't work "without sequence" is you are not using the Error Line. You would greatly improve your LabVIEW code (and help others to understand it) if you always make your wires go left-to-right (and never bring an "output" wire back underneath a function and make it "appear" to come out of the left side as you do in Excel Get ActiveX). You want to do the Excel Save Report after you close the Columns reference -- wiring Error Out from Columns Reference to Error In of Save Report (and wiring the Error line through the preceding functions, as well) would fix this!
Bob Schor
08-15-2022 08:39 AM
Nothing to add. You right.
But still, activex is working with autofit.
Thanks for the point.
08-15-2022 10:01 PM
Alexela,
As a "beginner" with LabVIEW, I used Sequence structures until my mentor taught me that Error Lines do a lot more than help report Errors. In the next phase of my "LabVIEW Life", I had a very negative opinion of the Sequence structure, and almost never used it (except when using some of the Time functions).
Until a few years ago when I was introduced to the "magic" of FPGA programming, where the Sequence structure took on a necessary "sequencing" function. So it's all knowing "when and where" the Sequence is appropriate ...
Bob Schor