Excel Insert Cells.vi に発生したエラー

LabVIEW2011にて、Excelレポートを出力するVIを作成しました。しかし、EXEファイルにビルドする際に、
「以下のファイルを作成中に発生したエラー:
C:\PROGRAM FILES\NATIONAL INSTRUMENTS\LabVIEW 2011\vi.lib\addons\_office\excel.llb\Excel Insert Cells.vi」
というエラーが発生してビルドに失敗します。調べたところ、表題にある「Excel Insert Cells.vi」というVIファイルが破損しているようでした。
同様のエラーを検索したところ、該当VIのブロックダイアグラムを修正することでエラーは回避できるとのことでした。
しかし、このVIに関しては編集が不可能になっているようで、自力での解決はここで手詰まりとなってしまいました。
このエラーの解決方法をご存知の方、ご回答のほどよろしくお願いします。
解決済!
解決策の投稿を見る。

自己解決することができました。
メニューバーの「操作」から「編集モードに変更」で編集ロックが外れるようです。
ブロックダイアグラムを修正して、無事ビルドすることができました。
ありがとうございました。

Similar Messages

  • Why Excel insert cell block, hasn't input for data input?

    Hi
    I found a block for insert new row in excel, but there is no input for data input. how should I insert data by this block to excel file? can you help me?
    that block name: Excel insert cells
    in report generator toolkit
    Best Reagards

    behzad1 a écrit :
    I could work with  Excel insert cell block, but when I want add new data to an old row continuation, last row shift downward! while I want add data to old row. anyone can help me?
    Nobody will be able to identify the problem without seeing your code. Excel Insert Cells.vi is used to add cells to an existing spreadsheet, not to set the cell value. To do this is a more specific way than the Append Report Text.vi you can use Excel Easy Text.vi or Excel Insert Table.vi. With these vis you can specify the range where you want to insert something.
    For your other question (Two different data types) you can use the Excel Set Cell Format.vi to format a range as a date or something else. You will need to use the Excel format specifiers for this.
    Ben64

  • Excel Merge Cells.vi throws an undefined error in Excel 2013?

    Basically, I can't write text into an Excel spreadshoot using the Report Generation tools.
    Using LabVIEW 2013 (SP1) I am writing to individual cells in an Excel (2013) template.
    The error is coming from the Report Generation Toolkit>Excel Specific>Excel Easy Text.vi.>Excel Merge Cells.vi.
    Inside of the "Excel Merge Cells.vi" is an "Invoke Node.Range". When the program hits this point, it throws out an undefined error.
    My code has been running on multiple platforms in multiple programs with no problems using Office 2010.
    NASA upgraded our Office Suit to 2013. I am now throwing an undefined error ( -2146827284).
    I've got a service request in and have talked to an engineer. THey are looking at the problem. However, I thought I would throw it out here and see if anyone had seen this particular problem.
    Bryan Alexander

    Problem found, workaround implemented.
    When you use the "New Report.vi", you have to wire in one of four choices for the state of the window. "Maximized", "Minimized", "Normal" and "No Change". If you use the "Excel Easy Text.vi" to insert data into an Excel 2013 Spreadsheet, it will generate an error if you opened the Excel file in "Minimized" mode. The other three states work fine.

  • How to inserted cells and keep formatting, copy formulas.

    Hi- I used to use Excel in the late 90's and am using Appleworks 6.2.9. Here are my problems that I cannot solve:
    I have an invoice with borders and SUM formulas. How do I insert new cells while maintaining both?
    With Excel I could click on a cell with a SUM formula, then drag down a few rows and release, which would copy the formulas into those cells. I cannot find a way to do this simply.
    Any light you can shed would be greatly appreciated. I'm trying to save money on programs and use what I have.
    iMac G5   Mac OS X (10.3.9)  
    iMac G5   Mac OS X (10.3.9)  

    Great, thanks, that helped w/ the autofill.
    I still need advice on inserting cells that have the same borders and would be entered into the total columns in my invoice. The idea would be to be able to add rows, drop the data down, and not have to reformat any of the SUM cells or borders.
    Thanks!

  • Report Generation broken after deployment - Excel Set Cell Color and Border.vi

    Upon deployment, the Excel Set Cell Color and Border.vi became broken.  After installing LV2010 SP1 to view the VIs in the deployment, I noticed that in the second case structure where the code draws the border using the BorderAround invoke node, there is an extra variant input parameter named 'Parameters'.  Upon right-clicking, an option to 'Relink Invoke Node' appeared and after selecting this, the extra input disappeared and the VI was no longer broken.
    Why does "Relink Invoke Node" appear?  How do I create a deployment with this issue?  Has anybody else experienced this?  Why is the TestStand deployment so buggy?  

    Hi Ching-Hwa,
    I have set up a test deployment here where I am deploying a workspace that contains a sequence file.  This sequence file has a LabVIEW Action Step calling a VI that opens a new Excel file and simply calls the Excel Set Cell Color and Border VI.  After deploying this, both the VI and my test sequence ran on the deployment machine without error.  Therefore, I do have some more questions to more accurately reproduce what you are seeing.
    First, what operating systems are you developing on and deploying to?  Also, what license do you have for TestStand on the machine you are deploying to?  If you have a development version, can you manually take the sequence file and VI to this machine and run it?  I know you now have LabVIEW 2010 SP1 on your development machine, but if you have the development version of TestStand as well, it would be interesting to see if you copy the files over if you still see this behavior.  Are you including the TestStand Engine in the deployment?
    Can you open a blank VI on the deployment machine and add the Excel Set Cell Color and Border VI?  It would also be interesting to see if this is not a product of the deployment, but rather an issue with something on the deployment machine itself.  What version of the Report Generation Toolkit do you have on each machine?  Also, what versions of Excel are you using on the development and deployment machine?  Again, it would be helpful for me to know exactly what versions you have installed on both the development and deployment machines so that I can reproduce this as accurately as possible.
    One last thing to try, too, would be to try deploying the VI by itself just to see if it also has the same behavior.  Do you have the Application Builder in LabVIEW?  If so, could you also try building an executable from the VI, create an installer, and deploy this to the deployment machine?  
    In regards to the "freezing" of code by removing the block diagrams, I do not believe this will be a proper work around in this case.  While this removes the block diagram from actually being deployed along with the VI and restricts users from editing the code on the deployment machine, if something is getting changed in the compiled code upon deployment, this will not stop this from happening.  This option is available more as a memory option to lower the size of the deployment as well as prohibit any users on the development machine from editing the block diagram themselves.    
    Thanks, Ching-Hwa!  I look forward to your response so that I can continue trying to reproduce this issue.  Have a great day! 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Need help with Report Generation Toolkit: Excel Set Cell Format.vi

    Hi people,
    I've been searching and found this old thread of someone asking what is the input parameter "Number format". And I dont know what should I put in there. I've tried so many possibilities, but nothing works so far, such as:
    0,0
    0,?
    0,#
    #,0
    ?,0
    and also with @, doesnt works. Where would I find help about this parameter?
    I'm using Excel2003, german version, thus local decimal separator is a comma.
    I also found this help from NI, but seems doesnt help me either. Do I miss something important?
    thanks,
    Yan. 

    Hi,
    I've used your suggestion and some numbers in excel doesnt need to get "right click, change to numbers" anymore (green indicators on the left-top side in some cells are gone). But, I think its still not a number, because I cant use a simple formula, such as in cell A10 I type "= A1/2" (cell A10 equals cell A1 divided with 2) . I got error which says its not a number.
    Well, but other thing is found, any format-string I put in the input of Excel Set Cell Format.vi, such as #,########, will be shown the same as "customize #,########" if I right click in a cell in excel and click "Zellen formatieren" (formatting cell). But however, the numbers are still depends on the input of the format I put in the Append Table to Report.vi.
    regards,
    Yan.

  • Excel Set Cell Color and Border.viのbackground color 設定について

    お世話になっております。
    Microsoft オフィス用レポート生成ツールキットを使って
    LabVIEWで収集したデータをExcelファイルで出力しようと考えています。
    そこで質問が有ります。
    題名のようにExcel Set Cell Color and Border.viのbackground color 設定についてです。
    デフォルト(未配線)では白に設定されていますが、”色なし”に設定するにはどうしたら良いのでしょうか?
    又、罫線色等を指定する数値設定に関しては、何処を調べたら良いのでしょうか?
    ご教授の程、宜しくお願い致します。

    _YN 様
    平素よりNI製品をご利用頂きまして誠にありがとうございます。
    日本ナショナルインスツルメンツ技術部の湧川と申します。
    ご質問にお答え致します。
    色なしにしたいとの事ですが、こちらでExcel Set Cell Color and Border.viを使用して簡単なVIを実行させてみましたが色なしに設定することはできませんでした。
    そこで質問したいのですが色なしにする理由というのはバックグラウンドが白のままだとセルの枠が見えなくなるからでしょうか。
    もしそうであれば設定により枠をつけることができますのでそちらの方を試して頂けたらと思います。
    方法としましては同じExcel Set Cell Color and Border.viを使い設定します。
    アイコンの上部にピンク色のピンが2つあるかと思いますがそちらからセル内側の線、外側の線を設定できます。
    添付した画像を参照して下さい。
    画像のように設定しますとセルに黒色の枠ができると思います。
    数値設定などに関しても質問されていますが、そちらはヘルプがありますのでそちらを参照頂けると詳しい情報がわかるかと思います。
    LabVIEWでVIを開いている時に ctrl + H を押しますと小さいウィンドウ「詳細ヘルプ」が立ち上がります、その状態でマウスのポインタをアイコンに重ねて頂きますと詳細ヘルプにアイコンの説明が記述されます。
    ウィンドウズ内のリンクからオンラインヘルプを参照することもできます。
    上記内容をご確認いただきまして、何かS_YN様の意図と違う点などありましたらご連絡下さい。
    宜しくお願い致します。
    日本ナショナルインスツルメンツ株式会社
    技術部
    湧川 朝満
    添付:
    Excle Set Color Sample.JPG ‏58 KB

  • Excel Insert graph set position

    Hello,
    I want to generate an excel report with a graph.
    I use the VI "Excel Insert Graph.vi" to set the parameters for position and size, but in the report the graph use only the size parameter. I can't set the position of the graph in y report. See attachment.
    Does anybody have a solution or an idea?
    Attachments:
    Excel_report.zip ‏41 KB

    No one answered this question but 4 years later I ran into the same problem. So here is why you cant set the position with the position/size input of the Excel Insert Graph.vi:
    You connected the string "A4" to the "name ("")" input of the insert graph vi. (like on the Bar Graph(Excel). vi example). If you do that, then the graph start position will be column A, row 4, no matter what you write in the position/size input.
    Hope this answer can help oher people who use the labview example to base their excel vi on.

  • Excel Insert Graph (Need Help!)

    Hi there!
    I am new to LabView, and trying to use the Excel Insert Graph vi. I am not sure what it means by "report in", I have tried to convert my file path for my Excel report into a string, but it won't take it, and the help says "links a report to the vi's used to control report appearance, data, and printing." Do I have to use another vi to open the Excel file first? Any help would be appreciated, thanks!
    Ke
    Message Edited by Ke Sun on 10-19-2006 04:35 PM

    Take a look at the example VIs in your [LabVIEW]\examples\office folder.  There are several examples that deal with Excel and Graphs in MSGraph Examples.llb.  You must use the "New Report.vi" to generate a new report, which gives you the reference you can then use with the Excel Insert Graph.vi.  The examples should point you in the right direction.
    Good luck,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Excel Insert Graph VI

    Has anyone experienced the behavior of when using the Excel Insert Graph VI multiple times for different datasets that the graph will not always appear? When I run the below code, I see this behavior with a few graphs.
    Attachments:
    Graph Example.vi ‏22 KB
    Graph Example.vi ‏22 KB

    The issue is cause by the fact that you didn't wire anything to the column and row headers inputs. If you read the help file for the Excel Insert Graph VI the following is specified:
    column headers specifies the text of the column labels on the graph. Leave this parameter unwired if you want to create an XY graph.
    row headers specifies the text of the row labels on the graph. Leave this parameter unwired if you want to create an XY graph.
    In your case you want to create an xlLine type graph but in fact you are creating an XY graph. Just wire something to the Row Column header inputs. See attached (LV2013).
    Ben64
    Attachments:
    Graph Example2012.vi ‏26 KB

  • \National Instruments\LabVIEW 2011\vi.lib\addons\_office\excel.llb\Excel Set Cel

    \National Instruments\LabVIEW 2011\vi.lib\addons\_office\excel.llb\Excel Set Cel  with a broken arrow
    Attachments:
    error pic.png ‏27 KB

    version of Excel is 2010, but i have this problem with Excel 2007, Excel 2003. This property also has a problem in old  versions of  labview  (8.6; 9; 10).
    Attachments:
    excel1.png ‏86 KB
    pic2.png ‏4 KB
    excel version.png ‏38 KB

  • NI_Excel.Ivclass:Excel Set Cell Color and Border.vi Error

    Hi
    I was trying to compile a file and I kept getting an error. It zeroed in on the vi that was not compiling. I am attaching the vi to this message. The vi seems to be broken. And I am not sure how to fix this. Can some one please help me out with this. Thanks in advance. 
    I guess it is associated with Report Generation Toolkit. Please let me know if you need any more details.
    This is the error message 'One or more required inputs to this function are not wired or are wired incorrectly. Show the Context Help window to see what the connections to this function should be.'
    Regards
    Mr Miagi
    Solved!
    Go to Solution.
    Attachments:
    Excel Set Cell Color and Border.vi ‏20 KB

    http://forums.ni.com/t5/LabVIEW/Set-excel-cell-color-and-border-broken-can-t-build-application/m-p/1...
    Please do a search.

  • Excel Set Cell Color and Border VI

    您好,
    請問如果不小心更改到Excel Set Cell Color and Border VI的內容,應如何復原?
    謝謝!!!
    已解決!
    轉到解決方案。
    附件:
    Excel Set Cell Color and Border.jpg ‏231 KB

    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/zht/pg/1/sn/catnav:du/q/report%20genera...
    以下載點除了 labview 2012 report generation toolkit 以外
    其他都是 patch 檔
    如果您有購買正式版,也許您可以跟 NI 客服部求救

  • How do I insert cells using INSERT INTO & SET? (Excel oledb)

    Updating a cell works:
        oledbConnect = new System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\__\\test.xls;Extended Properties='Excel 12.0 Xml;HDR=NO;'");
        oledbConnect.Open();
        oledbCmd.Connection = oledbConnect;
        string stSheetName = "Sheet2";
        string sql;
        sql = "UPDATE [" + stSheetName + "$A1:B1] SET F1=1";
        oledbCmd.CommandText = sql;
        oledbCmd.ExecuteNonQuery();
    Inserting a cell does not:
        sql = "INSERT INTO [" + stSheetName + "$A2:B2] SET F1=2'";
        oledbCmd.CommandText = sql;
        oledbCmd.ExecuteNonQuery();
    I understand that inserting will add a new row ... but this doesn't work either.
        sql = "INSERT INTO [" + stSheetName + "$] SET F1=3";
        oledbCmd.CommandText = sql;
        oledbCmd.ExecuteNonQuery();
    bhs67

    Hi hbs67,
    No, we can't use Insert into with Set, it's the basic syntax in SQL statement. Give the worksheet a header row, then use Insert into or Update syntax with the field name.
    Check more information in this kb article:
    https://support.microsoft.com/en-us/kb/316934?wa=wsignin1.0
    If you have Office application installed on your machine, you could also automate the Excel files with Excel PIA:
    How to automate Microsoft Excel from Microsoft Visual C#.NET
    It's easy to insert or update cell values with the cell address.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Excel - insert page number into cell

    Hi
    I have a cell with the text TL- in. In the cell next to it I want to have the page number so it will read
    TL-01 on the first page and TL-02 on the second etc. I thought it might be easier to have the text in on cell (this won't change) and the page number in a separate one.
    The page number needs to be in this cell and NOT in the header or footer.
    Any suggestions. I thought something like this would be easy.......
    Viv
    Viv Haig

    I fear that the PageNumber function is inherently slow. It's much better to use the page header or page footer to display the page number - since that is built-in functionality, it's
    much faster.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

Maybe you are looking for

  • How can I do a loop within a select statement

    This is my query Select distinct s.First_NM, s.Last_nm, s.Date_of_birth, i.Class_ID, i.Enrollment_begn_dt, i.Enrollment_end_dt, SUBSTR(TO_CHAR(i.Enrollment_begn_dt, 'MMDDYYYY'),1,2) AS MONTH, SUBSTR(TO_CHAR(i.Enrollment_end_dt, 'MMDDYYYY'),5,4) AS YE

  • I can't print only selected text since upgrading to Firefox 8.0. Using Mac OS Lion

    Until Firefox 8.0, I could select text on any webpage and print only that text. Now, I can't even get a print dialog box with an option to "Print Selection" only. I also recently upgraded to OS Lion (from OS Leopard) on Mac. Any chance that that is t

  • Problem call WebService NSUrl

    Hi!! I wonder why I try to run a Webservice call he did not run through NSUrl, but if I copy and paste the link in Safari it runs successfully, it is giving the error: _urlString - 0x147d8010 - Invalid Summary _baseURL - 0x8b1c7400 - Invalid Summary

  • My Time Capsule died today

    Beware of some Time Capsules actually being a time capsule and being buried for life. Mine just lost power and now wont ever turn back on and is now a big heavy paper weight.

  • Lightroom CC won't open

    Just downloaded Lightroom CC on my Mac but it won't open??