09-19-2022 09:25 AM
Hi,
I am having such a problem why the excellv.class libraries do not work properly when there are power cuts.
What is the solution?
ETC.
Error code 1 occured at Open/Create/Replace file in NI_Word.lvclass:Save report to file 28600007
Solved! Go to Solution.
09-19-2022 04:18 PM
@iErd wrote:
I am having such a problem why the excellv.class libraries do not work properly when there are power cuts.
What is the solution?
ETC.
Error code 1 occured at Open/Create/Replace file in NI_Word.lvclass:Save report to file 28600007
If you really want help, you'll have to provide more (and clearer!) information. Points of confusion:
In addition to attaching code, and explaining more clearly what you are trying to do, and whether you are working with Excel or Word or both (in the same program?), it would also be helpful to know what Software you are using (if LabVIEW, what version and what bit-ness), what OS you are using, and what version of Office you are running.
Bob Schor
09-20-2022 02:38 AM
Hi Bob,
I keep a data record in .html format in the code I wrote. for this, I added NV_excellv.class and NV_wordlv.class to both the project file and properties and created a folder where the invoked location is all subvi and the main.vi of the project. It's calling from here. Under normal conditions, there is no problem, but even if the UPS is activated in case of power failure, I get the following error code.
I am attaching the code of the section I recorded.
Other information you want is as follows: microsoft office 365
excel version 2208
operating system windows 10 64bit
labview 2020 64 bit
Waiting for your return.
09-20-2022 06:17 AM
Take a look at you html file name.
A file name with <18> is not valid. You need to make sure that your code is generating a correct file name.
I can't see where the <18> is coming from, as your wires are not strait and very hard to follow.
09-20-2022 07:08 AM
Hİ,
I tried it has nothing to do with the value taken from the strings. Only happening during power outage.
09-20-2022 07:26 AM
It is still a file name issue!
From the error message, make sure that path and filename i valid.
Is your string correct ?
Is your "Products" Ring control filled out correctly ?
What makes your "Products" Ring control have data ?
Other vice log all relevant data when you get the error.
09-20-2022 07:56 AM
I know what you said. The program is already running, but as I mentioned above, my main problem is different, please share if you have a different comment.
09-21-2022 03:28 AM
<%d> is returned as a standin for non-existing elements.
The picture you show does not line up with the file name shown in the error message. You will have to supply more information about your system to get more help.
09-21-2022 06:22 AM
Hi,
I beg you to take a look at this. same error <%d> does not exist.
09-22-2022 01:47 AM - edited 09-22-2022 01:47 AM
There is still '<' and '>' in the file path, which is not a valid character on windows.
You can use the 'Is Name Multiplatform.vi' in the 'File I/O' -> 'Advanced File Functions'.
After that you will get a different Error Message, that may help you/us to narrow down your mentioned problem.