Save Report to File VI 問題

各位大神們,新手小弟我有兩個問題(程式vi在下面):
1.程式中加入 Save Report to File VI 這個物件就無法執行,網路爬文說是microsoft 軟體問題,但不知如何解決,請問有大大能為其解決嗎?

2.小弟執行下列程式後(如圖所示)會出現excel檔案,也有顯示設定的數值,但儲存後關閉再重開,數字會擠在第1行,請問有大大能為其解決嗎?
image

image

image

save問題.vi (9.6 KB)

labview版本是2019,64位元,麻煩大神們幫忙了!

你儲存沒給 檔名路徑
所以你開啟的 是 你的 樣本檔案 所以才沒有tab分隔符號


save 問題.vi (18.3 KB)

我再研究,感謝斗笠大大,有問題再請教您!!

斗笠大神,請問一下,我開啟您傳的vi檔,在Save Report to File VI 這個物件出錯,錯誤訊息是:One or more of the set of VIs which this dynamic dispatch subVI or property item may call are broken. Each LabVIEW class may own a VI with the same name as a VI owned by the parent of the class or older ancestor. The dynamic dispatch subVI or property item will call one of these VIs, chosen when the subVI or property item actually executes. If any of the VIs are broken, then this subVI or property item also is broken.

請問您知道解決方案嗎?

我下載你的 save問題.vi 好像也有這個問題.
應該是我的 Report Generation toolkit 跟你的版本不一樣.

你用自己的原程式碼的 VI 重新配置看看.

請問您用什麼版本?因為我自己的也有問題用不了

Report Generation toolkit 是對應 Labview 的版本
你執行 NI MAX
把 Software Labview 全部展開來 擷圖 貼上來 我看一下.

我看你之前的貼圖
你裝了好幾個版本的 Labview 我建議你 Labview 2021 安裝一個版本就好.
因為會有類似32 & 64 版本衝突的問題
不然~ 就是系統動態連結檔會找錯位置.
image


我的license是2019的,那有32bit 和 64bit 是因為之前有需要使用32bit的物件才裝的,但不知如何移除所以就放著,麻煩大神幫我看一下!!

抱歉 搞錯人了~

# Report Generation Toolkit and Microsoft Office and LabVIEW Compatibility

不過你也跟我說的狀態一樣~
image

你的 Office 是啥版本?
我覺得是 問題好像是出在 Microsoft Office 版本都是 32 位的。

# Report Generation Toolkit and Microsoft Office and LabVIEW Compatibility

Note: The table above shows compatibility for 32-bit version of the Report Generation Toolkit with LabVIEW and Microsoft Office products. Although compatibility for 32-bit and 64-bit are largely the same for this toolkit, some differences exist. Check the readme for your version under System Requirements >> 64-bit Version for specifics on OS and Microsoft Office Compatibility.

All Microsoft Office versions tested are 32-bit unless otherwise noted.

*Office 365 version tested:
Microsoft 365 MSO Version 2109 Build 16.0.14430.20292, 64-bit

64位元的

那你 Report Generation toolkit 是裝在哪?
Labview 2019 f2 還是 Labview 2019 f2 (64bit)

好問題,我也不知道,是要看哪裡?

我在上面的回覆中有貼圖阿~

你把 Software
Labview 2019 f2 跟 Labview 2019 f2 (64bit)
全部展開來擷圖 貼上來 我看一下.


從 NI官網 來看
我覺得應該是 Report Generation Toolkit 只支援 32 bit 的 Office 版本
因為 NI 只有 測試過 64-bit 的 Office 365

只能放大招了~
請撥打電話 886-2-2377-2222 諮詢吧

好…好的,感謝大神指導,辛苦您了!!