Labview 2011 NI Report and error 7

I know this topic has been cover in this forum many times, but I just can’t get it working.
Recently, we have updated our labview from 8.2 (Window XP) to 2011 sp1 (Window 7), and of course, NI report stops working.
In our software, we have a project that eventually gets compile into a DLL (Not AN .EXE, THIS IS NOT AN EXECUTABLE). In this DLL, we modify an excel spread sheet. As a result, we need the NI report tool kit.
Now I know that you would have to manually include the two folders (NIReport and LVclass)in your project in order for this to work in labview 2011, which I did by following the link below.
http://digital.ni.com/public.nsf/allkb/8A0E6274D9BD7B1986256F62006AD402?OpenDocument
I made sure that the two folders were “Always Included”, and not using the labview 8.x file layout. After the compiling has been complete, one DLL was created (with 4 other files, which is good because I only want one DLL). I assumed that the NI report tool kit is included in the build since I selected “Always included”.
After that I ran my main top level vi. The main top level vi tried to access the DLL, and I got error 7,
Get LV Class Default Value.vi<APPEND>
<b>Complete call chain:</b>
     Get LV Class Default Value.vi
     Test.vi
<b>LabVIEW attempted to load the class at this path:</b>
C:\BUILD PATH\DLL NAME.dll\1abvi3w\vi.lib\Utility\NIReport.llb\Excel\NI_Excel.lvclass
Now I assume this might be caused by two reasons. The path is incorrect or the tool kit wasn’t included.
I have been working on and off with this problem for weeks and still can’t get it working. I am guessing the path is incorrect, but I have manually changed the path to something different but got no luck. Any suggestions?
Solved!
Go to Solution.

Hi,
Thanks for the reply. 
The reason I didn't select "use Labview 8.x file layout" is because it will also create 10 extra support folders (I think this is due to name conflicts in the DLL directory) after compiling the project. This is not an acceptable solution for my customer since no one would want a DLL that comes with so many extra files.
And yes, I am aware of the file layout after Labview 2009. However, the path to NI_Excel.lvclass (C:\BUILD PATH\DLL NAME.dll\1abvi3w\vi.lib\Utility\NIReport.llb\Excel\NI_Excel.lvclass) was provided by “Excel class path.vi” (vi.lib\Utility\NIReport.llb\Excel class path.vi). In “excel class path.vi” it checks to see if the application is using the 8.x layout or not.
I switched to “use Labview 8.x file layout” just for testing reasons but it still doesn’t work. The file path for NI_Excel.lvclass is now C:\BUILD PATH\DLL NAME.dll\Excel\NI_Excel.lvclass (provided by “Excel class path.vi”). I also hard coded the path to C:\BUILD PATH\DLL NAME.dll\NI_Excel.lvclass and that doesn’t work too.
I have created a simple project to demonstrate my problem. Copy the attached folder to your desktop and you will see a folder named “Excel”. Open the “excel Test” project and build the DLL, check the build path and make sure it’s building to “Desktop\excel\Exceltest”. After that go to the DLL TEST folder (\Desktop\excel\DLL TEST) and run DLL test.vi. Make sure the path to the DLL (on the block diagram) is correct and run the vi. You should see the error I am talking about.
Thanks,
Attachments:
excel.zip ‏19 KB

Similar Messages

  • Where to find the migration reports and errors

    i am using Oracle SQL developer 3.0 for migrating MS SQL 2008 to oracle using migration wizard,after clicking on finish the tool throws the null as error window and asked me to look into migration reports. where should i find the migration reports and errors
    KK
    Edited by: 860986 on May 25, 2011 9:33 PM

    Log into the SQL Developer Migration repository and you get the list of Migration Projects.
    Click on the project you're interested into and on the right side you get a pane with Status, Summary, Analysis...
    The Summary pane shows you how many objects SQL Dev migrated.
    You also have Capture isues showing you the issued during the capture phase as well as Conversation Issues etc.

  • Error Logging in B2B Business Message Status Reports and Error Reports.

    Hi,
    Could someone please let us know as to how the error messages are being shown up in the b2b frontend in the Business Message Details Report and Error Reports.
    In some of the cases the error message logging is not happening properly and even against the valid transaction block the entire iAudit Report or the B2B Analyzer report is getting posted .
    In some cases the error message is logged as AIP-51505: General Validation Error (for the transaction block which is valid and having no errors)
    Is there any way from the b2b backend these error messages and business messages could be traced or is there any other way wherein the proper and relevant error messages could be tracked from B2B.
    Thanks
    Sachin.

    Hello,
    Business message status reports identify business message instance details.These details include the sending and receiving trading partners, exchange protocol,document protocol, business action and its state, message date, and message details.
    Error status reports identify error message details. These details include the error code, error text, business message identification, message date, and message details.
    Please fix up a telecon to 918041086150 for further discussion on the same.
    Rgds,Ramesh

  • LabVIEW 2011 starts with an error every time on OS X

    I get this error dialog every time I start LabVIEW 2011 on my Mac.
    OS X 10.6.8
    LabVIEW 11.0 Student edition
    +Control system toolbox
    +MathScript RT
    Attachments:
    Screen shot 2012-06-22 at 12.22.02 AM.png ‏37 KB

    It has given this error every time LabVIEW has started up. This is a fresh install and it has done this every time.
    Here is the log file:
    #Date: Fri, Jun 22, 2012 1:01:30 AM
    #OSName: Mac OS X
    10.6.8
    #OSVers: 10.6.8
    #OSBuild: 10K549
    #AppName: LabVIEW.app
    #Version: 11.0
    #AppKind: FDS
    6/22/12 1:01:31.544 AM
    DWarn 0xAFBF5C57: LabVIEW not initializing for Pro, Full or Student Edition. Undefined behavior may result.
    LVLicenses.cpp(485) : DWarn: LabVIEW not initializing for Pro, Full or Student Edition. Undefined behavior may result.
    $Id: //labview/branches/2011/dev/source/licensing/LVLicenses.cpp#9 $
    0x0014D8D3 - __Z13CallErrorInfoPKclS0_17_DebugOutputLevelmS0_ + 49
    0x021DAADB - _DebugOutputCallHandler + 45
    0x021DA958 - __ZNK11DebugStream7ProcessEv + 3E
    0x00B669CF - __ZN11CLVLicenses25CheckNonNILMFunctionalityEv + 3B5
    0x00B66F43 - __ZN11CLVLicensesC1Ev + 41
    0x00B66FB2 - __ZN11CLVLicenses26InitializeLVLicensesGlobalEv + 42
    0x00B6723E - __ZN16LVLicenseService4InitEv + C
    0x00710834 - __Z7InitAppv + BE
    0x0071D2AC - __Z13AppInitializev + 85E
    0x00723C09 - __Z15LVMainEventProcP6WEventl + 1B41
    0x01638D90 - __Z17InternalEventProcP6WEvent + 20
    0x0163FEB6 - _WSendEvent + 27E
    0x00007844 - __Z13InitializeAppl + 54
    0x00007136 - __Z6MGMainlPKPKc + 17E
    0x000074E2 - _CommonMacMain + 1B8
    0x00002C02 - <unknown> + 2B11
    0x00002B29 - <unknown> + 2A38
    0x00000002 - <unknown> + FFFFFF11

  • File Manager Reported and Error

    I am trying to save a file and I keep getting a message :While attempting to access "-TemporarySaveFile-" the File Manager reported an error.
    How can I save the file...or do I have to restart the computer and lose everything?

    What program? I don't think I've ever seen the term "File Manager" used wrt Mac OS except in comparing Finder to other OS or third-party file managers.

  • No lo puedo instalar labview 2011 Control Design and Simulation

    no e podido encontrar la verision para instalarlo agradezco si alguien me puede ayudar y guiar  en la instalacion 

    Hola, [email protected]
    Gracias por utilizar los foros de discusión, en el siguiente link puedes descargar el módulo LabVIEW Control Design and Simulation 2011.
    www.ni.com/download/labview-control-design-and-simulation-module-2011/2554/en/
    ¡Saludos!
    David P.
    National Instruments
    Ingeniería de Aplicaciones
    www.ni.com/soporte
    David P.
    National Instruments
    Applications Engineer
    www.ni.com/soporte

  • Big reports and errors

    I have to genarate realy big reports (10 MB or greater) using WebServices as data
    sources
    Is there any way of generating this report in parts and then marge this parts
    in one big report?
    If something fails (for example problems with network connection) I don't want
    to start all from begining, and I want to use same partial results of previous
    report genaration
    thanks for help
    Rafa³ Paj¹k

    In the current release of LD, if part of the query fails, the whole query fails.
    If you want to have the pieces individually, you will need to write individual
    XQueries for each part. You can create one result by assembling the parts in an
    XQuery that takes each of the parts as a Complex Parameter Type.
    http://edocs/liquiddata/docs81/admin/userdefineddatatype.html
    - Mike
    "Rafa³ Paj¹k" <[email protected]> wrote:
    >
    I have to genarate realy big reports (10 MB or greater) using WebServices
    as data
    sources
    Is there any way of generating this report in parts and then marge this
    parts
    in one big report?
    If something fails (for example problems with network connection) I don't
    want
    to start all from begining, and I want to use same partial results of
    previous
    report genaration
    thanks for help
    Rafa³ Paj¹k

  • Error -1074397038 occurred at IMAQ Start.vi for 64bit Labview 2011 SP1, Win7

    Hello,
    I am using a MC1362 camera from Mikrotron with a PCIe1433 framegrabber. I was using it with windows XP, 32 bit, labview 2010 SP1 32 bit, it was working perfectly fine. I just switch to windows 7 with labview 2011 SP1 64bit, and it is not working anymore with my custom routine in labview, though it works with MAX and camera file generator and I use the same camera file.
    When I run my routine, I have this error message:
    Error -1074397038 occurred at IMAQ Start.vi
    Possible reason(s):
    NI-IMAQ:  The requested serial termination string was not found in the returned buffer.
    Then, If I try to run the camera with MAX, it doesn't work anymore, I have to reboot the camera, and put it in the right mode with the Mikrotron control tool to obtain an image.
    I have seen similar issue on a Basler camera on the forum, and it has been solved by using a camera file to set the different parameters. There is no camera file complete to set all the parameters of the camera, so I had to program them in serial to drive the camera with my Labview routine.
    Could you help me to solve this issue please?
    Thanks
    Bests
    David Dulin

    This forum post is already handled --> SR 1154262.
    Kind regards,
    Corné Westeneng
    Applications Engineer
    NI-Netherlands

  • An error occured with Labview 5.1.1 and Netscape 7.1

    After upgrading Netscape from version 7.02 to 7.1 i receive miscellaneous errors after some time while executing an program which sends and receives data via tcp/ip. If an error has occured, it is necessary to restart Labview and Netscape. Then it works some hours before crashing again. With Netscape 7.02 everything worked fine.
    Any solutions?

    Normaly, Netscape (only the Messenger) is running all the time. And some time the Labview-program which uses tcp/ip is running at the same time. This does not make any trouble. But if I am using the Netscape Browser too at the same time, then miscellaneous errors occur and I must restart the whole Netscape suite. If I don't do this, the Labview program always reports an error.
    Little time before Labview reports an error, the Browser view in Netscape is corrupted (some times arabien characters).
    I am using Windows 98SE. With Netscape 7.02 everything worked fine, the error occured after upgrading to version 7.1.
    I haven't looked at the resources yet, but I will do.
    EPH

  • Using error codes.txt and error rings don't allow parameter inputs like custom error rings?

    The error ring is very useful, especially with its parameterized inputs you can specific with %s, %f and %d parameters.  I'd like to do the same thing in my fixed error codes using the error ring so that I can localize them into mulitple languages, but it seems that LabVIEW error codes from project text files never detect or support the parameter inputs, you get a error ring, but no input parameters.  If you use the same string in a customer error code, it gives you the parameter input but then its hardcoded and you can't localize it.  What gives?
    Is there some other way to configure the error rings to use a project file for the error codes but still support the parameter inputs?
    Solved!
    Go to Solution.

    Hi Mike_King
    Here is a VI snippet that I created with two different approaches, in the first one I used the format into string, the second one the function search and replace.
    Here are some links with information about the functions that I used.
    Format Into String Function - LabVIEW 2011 Help
    Search and Replace String Function - LabVIEW 2011 Help
    Regards
    Esteban R.
    Attachments:
    Generate error code.png ‏34 KB

  • Bug report: on LabVIEW 2011 SP1 and Windows 8 'Open URL in default browser.vi'

    Dear colleagues,
    Here is a bug report.
    Culprit: 'Open URL in default browser.vi'.
    System: Windows 8, Professional. LabVIEW 2011 SP1.
    Abnormal behaviour and steps to reproduce:
    Above mentioned VI doesn't work when LabVIEW was started with administrator privilegies. And it works as expected when LabVIEW running in normal (non-administrator) mode. 
    Looking forward to see this fixed.
    Best regards,
    Igor Titov.
    CLD.
    =========================
    Igor Titov, CLA
    WebPager - put LabVIEW front panels into the web page
    Labicom.net

    Hi Igor,
    Unfortunately LabVIEW 2011 SP1 does not support Windows 8. I tested this behavior with LabVIEW 2012 SP1 on Windows 8 and everything worked correctly. 
    Regards,
    Jeff Peacock 
    Product Support Engineer | LabVIEW R&D | National Instruments 

  • Process Failure when communicating over MODBUS using LabVIEW 2011 and DSC

    I'm currently trying to read from a PLC's holding registers using MODBUS/TCP. I've confirmed that the PLC is updating the values and responding to MODBUS communication correctly using a third party program called Modbus Poll. However, when I try to poll the PLC using LabVIEW's shared variable engine, I am unable to read any values from the same addresses that I'm viewing with Modbus Poll.
    My setup simply consists of a PC connected directly to the PLC over Ethernet, with no router in between. I am using LabVIEW 2011 SP1 with the DSC module.
    I opened the NI Distributed Systems Manager to view the status of all shared variables in the Modbus library that I created and I've noticed that the CommFail bit is permanently set to "true". All other variables with a "read" access mode report "Process Failure". I've tried restarting the process as well as stopping and starting the local variable engine with no success. I've also restarted my computer several times to see if any services were failing, but this does not seem to have fixed the problem.
    I finally resorted to monitoring communications over the network card that I have the PLC plugged into via Ethernet using Wireshark and I've found that while Modbus Poll is communicating with the PLC, many MODBUS and TCP packets are sent and received. However, when solely using LabVIEW or the NI DSM to communicate with the PLC, there does not appear to be any communication over the network card.
    Something that may be worth noting is that I was able to communicate with the PLC and read values from it with the DSM on just one occasion, when I first figured out which addresses I should be reading from. It all stopped working shortly thereafter. Prior to this, "CommFail" was not usually set to "true" with my current configuration. Thinking that it was my firewall, I have since turned my firewall off, but this seems to have had no effect on the problem either.
    Any help on this matter would be appreciated.
    Solved!
    Go to Solution.

    Just a thought but I think the  register addresses used by LabVIEW are one off of the actual register #.  I was using a CRIO as a modbus IO Server and had to shift the register addresses by 1 to get things to work correctly (can;t recall if it was +1 or -1).  This is documented somewhere on ni.com but can;t seem to find it now.  But here is another  link that may help:
    http://zone.ni.com/reference/en-XX/help/371618E-01/lvmve/dsc_modbus_using/
    Dan

  • LabVIEW 2011, and Excel 2010: saving problems

    Hello to all! I am a student of Mechanical Engineeringfthat very little has been using this software. I present the problem: for a matter which is called Biomechanics, I and my colleagues, we have developed the design of a rheometer, which is controlled by LabVIEW2011. Since we are still at the experimental stage, always has been simulated using labview: the whole experience. So, labview, at present, not only controls the stepper motor through the frequency sets, but also simulates the output (in the specific, the response to the torsion of the cartilage, simulated with a low pass filter of the second order). All this was done by my colleague more experienced than me, who today passed me the finished project that in his pc works perfectly while not in mine (we have the same version of labview, but different version of office). In practice, the program is fine (there is no arrow "Run" broken) and the simulation with the creation of the sine graph (response of the cartilage) is done perfectly. My colleague then set labview in order to save the data to an excel sheet at the end of the simulation, asking the user where to put it (the excel file must already exist, labview does not create it). The excel file should contain two columns and a scatter plot (one column represents the frequency, f, of the stepper motor, the second represent the shear modulus G, which increases as the frequency increases and the graph represent the trend of G in function of f). As soon as I decide to save the data, excel opens, for an instant appear the scatter plot and data in columns but immediately after the graph disappears and remain only the columns with data (so I have to make the graph "manually") and labview gives me the following error:
    Error -2147023170 occurred at Property Node (arg 2) in NI_ReportGenerationToolkit.lvlib:Excel_Insert_Char
    t.vi->NI_Excel.lvclass:Excel Insert Graph.vi->NI_ReportGenerationToolkit.lvlib:Excel Easy Graph.vi->SaveExcelFile.vi->Progetto 2.0.vi
    This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
    Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-2147023170) or for its hexadecimal representation (0x800706BE).
    What can I do?
    Thanks. Regards
    Solved!
    Go to Solution.

    The LabVIEW Report Generator in LabVIEW 2010 and more recent versions does, indeed, work very well with Excel in Office 2010.  I helped someone about two weeks ago with a problem saving a series of measurements to a (new) Excel Workbook.  Your problem differs in two ways -- you want to save in an existing Excel file (why? Aren't you worried about overwriting data, or are you trying to add a new WorkSheet, or append to the end of an existing WorkSheet?) and making a Chart.  I've not tried charts, so don't have advice right now.
    Judging by your error message, it is the Chart feature that is giving you trouble.  Can you see how your code runs if you eliminate the Chart functions?  [You can do that by putting a "Diagram Disable" Structure around the Chart code, clicking on the top of the structure and wiring the wires through in the Enable case].
    Give that a try and let us know what happens.

  • Labview 2011 FPGA Compile Error

    Hi,
    I'm new to FPGA. I want to use Labview 2011 SP1 with the Spartan 3E starter kit from Xilinx (Spartan 3E driver available from NI labview website).
    I'm trying to work my way through the examples that came with the driver. I've run into the same compiler error with a number of the examples. The error is attached.
    Error 7 occurred at Read from Text File in niFpgaCompileWorker_CheckForErrors.vi->niFpgaCompileWorker_JobComplete.vi->niFpgaCompile_Worker.vi:1
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    C:\NIFPGA\compilation\Shift_FPGATarget_Shift_87E8371C\Spartan3EStarter.bld
    I've checked the registry to ensure that the path to the compiler is correct.
    Any assistance would be welcome.
    Regards,
    James.
    Attachments:
    Labview2011_FPGA_CompileError.JPG ‏96 KB

    Hi,
    I don't have any Xilinx tools installed - other than the ones that installed with the Labview FPGA module.
    I have attached the compilation logs and output results from my attempt.
    I have renamed the extension on the following files from .lvtxt to .txt
    BuildResults.txt
    CodeGenerationResults.txt
    Regards,
    James
    Attachments:
    BuildResults.txt ‏5 KB
    XilinxLog.txt ‏42 KB

  • Labview 2011 Error code 3

    I am having the same Error code 3 using Labview 2011 student edition.  I tried adding connPaneRecoveryMode=True to the ini file and it did not solve the problem.  Can anyone help me to recover the vi?  It will set me back by days if I have to recreate it.  Your help will be much appreciated! 
    Attachments:
    Analyze_EMG_Data.vi ‏258 KB

    I'm glad it saved you so much work.  It is the first time I attempted to follow the procedures to fix this problem. I used LV2012 and saved it back to LV2011.  I know that when I didn't follow the procedures precisely, it crashed LabVIEW with an FPSane error.
    I mentioned the sequence structures because in general, the stacked sequence is being discouraged as a part of good LabVIEW style.  It hides code, and the sequence locals force you to have wires running in the wrong direction in one or more cases which confuses someone trying to follow the code.  If you have too much code that makes your block diagram too big, that is a time to consider consolidating code into logical functional groups that can be placed into subVI's.

Maybe you are looking for

  • How can I access the namedCache

    Hi, As you know we can access the Oracle Coherence cache within CEP by using setMap procedure. This procedure only gives us a Map object. And we can load the coherence cache with this map object. But we should get the memberId and memberName of the c

  • Directory Structure Changes in iPhoto

    Hi, I have noticed that since iPhoto 09, directories have stopped being created for each event. Instead some random initial directory is created (sometimes just a date) and the event names are obviously then just being kept in a database. Now I alrea

  • Bookmarks and tab titles display garbled text or text from another bookmark until moused over

    I just upgraded to Windows 8 and loaded Firefox 18 - I imported my bookmarks HTML file and the bookmarks on the left display either garbage or the wrong title until I mouse over them. They then display correctly unless I mouse over them again. My tab

  • How do you restore 15" MacBook Pro to out of the box condition?

    How do you restore 15" MacBook Pro to out of the box condition?

  • NTSC project - PAL DVD

    Hello, I'm editing a project in NTSC (since I shot in NTSC), but my client is European and wants the final project on a PAL DVD. How can I output the project to PAL? Do I convert it first in Final Cut (how is this done?) or does transfering the proje