NIOCR with CVI 5.0

I have installed NI OCR (Version 1.0.2) on CVI (Version 5.0). When I start running of CVI, pop-up message appeared as "Not a valid function panel file" "C:\Cvi\bin\niocr.lfp". And function library of OCR dosen't appear on library menu. I install CVI(5.0),IMAQ Vision(5.0) and NI-OCR(1.0.2) on fresh PC then faced the same problem. What shall I do?

Try to manually load the function panel for the NI OCR toolkit instead. Then you should be able to use it in CVI.
Hope this helps-
Julie

Similar Messages

  • Does Office 2007 work with CVI automation

    We've used Office with CVI with varying degrees of success over the years, typically to generate reports or to populate excel spreadsheets with measured data.
    Now I'm running XP SP3 and Office 2007 with CVI 2009.
    Office 2007 seems to be so significantly different from previos versions, I'm wondering if it's use is supported with CVI?
    CVI 2009 still refers to "Excel2000.fp" for example, will it work with Excel 2007?  The help mentions that it will work with "Excel 2000 and later compatible versions". 
    In the past as I recall NI's position is "maybe, but if it doesn't, it's not our fault".
    So I thought I'd ask and see what the experience has been.  I can install an older version of Office if need be.
    Menchar
    Message Edited by menchar on 06-10-2010 10:18 AM

    FWIW, we have been using "excel2000.fp" for years (with a few thousand users) and it still seems fine for simple exporting of data to Excel 2007. 
    I think it all boils down to the Excel object model and whether there have been changes related to the functionality you wish to use.
    --Ian
    Message Edited by Ian W on 06-14-2010 09:51 AM

  • Network-Shared Variable - read string with CVI

    I need to read an NSV string with CVI.  I have been digging into accessing and writing NSV with CVI, but they are all scalar value.  What should I do with strings, clusters and arrays?

    'm an employee at National Instruments and I wanted to make sure you didn't miss the Network Variable API that is provided with LabWindows/CVI, the National Instruments C development environment. The the Network Variable API will allow you to easily communicate with the LabVIEW program over Shared Variables (http://zone.ni.com/devzone/cda/tut/p/id/4679). While reading these links, note that a Network Variable and a Shared Variable are the same thing - the different names are unfortunate...
    The nice thing about the Network Variable API is that it allows easy interoperability with LabVIEW, it provides a strongly typed communication mechanism, and it provides a callback model for notification when the Network/Shared variable's properties (such as value) change.
    You can obtain this API by installing LabWindows/CVI, but it is not necessary to use the LabWindows/CVI environment. The header file is available at C:\Program Files\National Instruments\CVI2010\include\cvinetv.h, and the .lib file located at C:\Program Files\National Instruments\CVI2010\extlib\msvc\cvinetv.lib can be linked in with whatever C development tools you are using.
    Thomas N.
    Applications Engineer
    National Instruments

  • Remote Debug problem with CVI Runtime Versions.

    Development Platform - CVI Version 8.5.1
    Target has DAQmx 9.4 installed on it along with CVI Runtime Engine ver: 9.1.0.428
    Developmenrt Platform was recently upgraded to DAQmx 9.4
    Re-installed CVI RTE (ver 9.1.0.428) on Development Platform - even though it was already installed.
    I keep on getting this error message on the Target system "The LabWindows/CVI Run-Time Engine on the target is more recent than your Lab Windows/CVI environment.  You have to upgrade the Lab/Windows environment if you want to debug your application."
    Both systems (Development Platform & Target) have the same versions of CVI RTE and DAQmx.  I have done a complete re-compile of the application .exe that I am trying to excute on the Target.  I have re-installed CVI RTE on the Development Platform.
    What is wrong here? 
    Solved!
    Go to Solution.

    LabWindows/CVI Environment == Development platform.
    I.e.: you must either downgrade the runtime engine on your target to match the existing 8.5.1 of the debugging machine or upgrade CVI installation on the development machine to match the 9.1 on the target (if I'm not wrong 9.1 means CVI 2009 SP1). The two machines must have the same version or the debugging machine must be more recent than the target one.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Display a sequence in sequenceview activx control with CVI

    Hello,
    I am trying to display a teststand sequence in an activX sequenceView control for an user interface made with CVI. I had a look on the example of national intrument  (...teststand\UserInterfaces\NI\Simple\CVI) but my application is not exactely the same because all buttons are not ActivX controls.
    So I try to display the sequence with this command:
    TSUI_SequenceFileViewMgrSetByRefSequenceFile
    but when i execute i have an activx error : File was unloaded from the test stand engine.
    Can someone help me or having some example to help me.
    Thank you
    Regards

    Hi ,
    There is another example on our web site (http://zone.ni.com/devzone/cda/epd/p/id/3550), with this one you can select on the menu the sequence, and after run it.
    You can adapt it, if you seearch the funciton on the source code.
    regards,
    Christophe S.
    FSE East of France І Certified LabVIEW Associate Developer І National Instruments France

  • Has anyone been able to use a DataTransl​ations Frame grabber with CVI? I am trying to use a DT3152 in place of NI1408 frame grabber...

    DT does not provide drivers for this hardware to interface to CVI or LabView. Has anyone had success?

    you can find a LabVIEW driver at:
    http://www.imagemill-tech.com/LvDrivers_.htm
    "Blue" wrote in message
    news:5065000000080000006F1D0000-986697009000@quiq.​com...
    > Has anyone been able to use a DataTranslations Frame grabber with CVI?
    > I am trying to use a DT3152 in place of NI1408 frame grabber...
    >
    > DT does not provide drivers for this hardware to interface to CVI or
    > LabView. Has anyone had success?

  • DAQ 6.6 and 6.9 with CVI

    With CVI 5.0, I used NI-DAQ to create a library (recognize, read and write I/O board) and a software using this library. When I use the software on a computer where the board has been configured with NI-DAQ 6.6, the board is not recognized (I have an error code more than 10000). Need help to make the versions compatible. Thanks

    I don't really understand your problem, but there is some pieces of advice.
    The first thing to validate is that the card is properly installed on the target PC.
    Before pluging in the card, you need to install the NI-DAQ device drivers with a version compatible with your OS and your card. When pluged, your card must appear under MAX and must pass the ressources test.
    Once you are sure that the card is correctly installed, you can distribute your application to the target PC. Traditionnal NI-DAQ functions prototypes didn't change from NI-DAQ 6.6 to NI-DAQ 6.9. No matter the version is installed on the target PC, 6.6 and 6.9 are compatible. Your application should be operationnal.
    If you still encounter problems, please give me the following elements
    - the card reference,
    - the target OS,
    - the NI-DAQ version installed on the target PC,
    - the error code that is returned.
    I'll answer you as soon as possible.
    Benjamin CHARLES
    Applications Engineer
    National Instruments France

  • I get the following errors with CVI 2010. "sal.h"(17​06,15) Redefiniti​on of macro '__null'.

    A project which was working with CVI 9.0 on XP does not compile with CVI 2010.
     I get the following errors with CVI 2010. "sal.h"(1706,15)   Redefinition of macro '__null'.  
    doesnt work with CVI 2010 on on win 7 too.  
    Could some one provide some insight into this please?  
    Thanks
    performance

    You wild guess is correct.
    The version of the Microsoft SDK that shipped with CVI 9.0 included a definition of __null that matched the definition that is in sal.h. You can find this definition in line 448 of CVI90\sdk\include\specstrings.h.
    The version of the Microsoft SDK that shipped with CVI 2010 included a definition of __null that no longer matches the definition that is in sal.h. You can find this definition in line 575 of CVI2010\sdk\include\spectstrings_strict.h. This is why the CVI compiler complains when it finds the sal.h definition.
    The SDK that ships with CVI has been customized to make sure that it works with the CVI compiler. But this does not include making sure that it also works with VC headers. In general, there's no way to guarantee that VC headers can be compiled in CVI, since these headers don't ship with CVI and cannot be customized.
    In this particular case, you might get it work if you include sal.h before you include windows.h. But there are no guarantees.
    Luis

  • Using 3 sets of NI9162+NI9263 with CVI

    I am looking to use 3 sets of NI9162+NI9263 with CVI, outputing 12 analog lines.  The example I find only has 1 line.  Please help.
    The example I look at is:
    .....NI-DAQ\Examples\DAQmx ANSI C\Analog Out\Generate Voltage\Cont Gen Volt Wfm-Int Clk

    I need help again.  In the [ MultFreqContGen-IntClk.c ], this line does the configuration of the task:
    DAQmxErrChk (Configure_ContGenPerWfmIntClk (chan, min, max, rate, &numChannels, &taskHandle) );
    Inside the Configure_ContGenPerWfmIntClk() function, which is found in [ MultFreqContGen-IntClk_Fn.c ], this line gets the number of channels and writes that to the pointer numChannels:
    DAQmxErrChk (DAQmxGetTaskAttribute (*taskHandle,DAQmx_Task_NumChans,numChannels) );
    Is the number of channels not supposed to be determined outside and assigned to the child function?  The parent function should have this number from all the user-input values.  Why am I seeing the child function deciding the number of channels.  I do not understand this.

  • Creating CIN with CVI

    When I try to create a DLL to be used as a CIN with CVI, I get linker errors
    that point to the
    cin.obj file.
    _CINRun is undefined.
    I have gone through the steps outlined in cvilvsb.h and followed them exactly.
    the
    only other issue I am unsure of is the #pragma pack which is enveloped around
    struct definitions which I have not defined any structures.
    If anyone could give me a quick step by step on what i may be missing, it
    would be
    appreciated.

    Edwin wrote:
    > When I try to create a DLL to be used as a CIN with CVI, I get linker errors
    > that point to the
    > cin.obj file.
    > _CINRun is undefined.
    >
    > I have gone through the steps outlined in cvilvsb.h and followed them exactly.
    > the
    > only other issue I am unsure of is the #pragma pack which is enveloped around
    >
    > struct definitions which I have not defined any structures.
    >
    > If anyone could give me a quick step by step on what i may be missing, it
    > would be
    > appreciated.
    It appears to me that you are trying to do two very different things here.
    It has be a long time since I did CINs though, so I could be mistaken.
    A DLL is something you can call directly from LabVIEW using the "Call Library
    Function"
    This is usually a large collection of functions
    and must be compiled specifically
    as a DLL
    A CIN on the other hand is a small piece (usually) of C code that is compiled as
    an object
    file (by an external compiler) and then incorporated into LabVIEW using the "Code
    Interface Node"
    If you start with a new VI , drop a CIN on the diagram, right click on the
    CIN and select "Create .c file"
    you will see that it creates a skeleton piece of C code. The main function will
    be CINRun
    This MUST be in a CIN for it to work properly.
    I suggest you look at the Code Interface Reference Manual. While it may be
    possible to call
    a DLL from inside a CIN I do not believe that you can make a DLL and and use the
    Code Interface Node to call it.
    Kevin Kent

  • How can I create an application in MSVC 6.0 to access my FieldPoint modules with CVI 5.0 libraries?

    I have an application in CVI 5.0 that works. I am trying to export that so I can develop in MSVC. I need none of the UI provided in CVI, all I need are the simple FieldPoint commands provided in FieldPoint.obj. I have been stumped on this for weeks. I would write my own OPC client but the interface isn't even documented on what commands I would send if I did have an interface. I would prefer just to use the CVI libraries in MSVC 6.0. When I call the FP_Open function the program crashes with an RtlSizeHeap error.
    Thanks,
    Chad

    In theory, creating a dll that encapsulates the FieldPoint functions should work in MSVC. However, National Instruments has not tested MSVC interface, nor have we publicized that this type of setup will work, therefore making support unavailable. The other reason for why we do not offer support of FieldPoint in MSVC is that we have not seen a demand for such an interface. Therefore, I recommend that you create an OPC Client that communicates with the FieldPoint OPC Server. One example of such an OPC Client in MSVC is to use Datasockets, found in ComponentWorks++. You can find this example at the following web site:
    http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&8FEAB5F73CFB68278625683A000B06ED&cat=7CDA3E51FEFC4AA2862568B80071A1E2
    If you are using the
    serial network module (FP-1000/1001), you can communicate with the FieldPoint modules using the Optomux protocol. For a complete listing of the Optomux commands refer to the FP-1000/1001 Programer Reference Manual located at the following web site:
    http://digital.ni.com/manuals.nsf/caba5d53e9b015a186256793004eebb7/bf97516ca18eee728625665e0063594e?OpenDocument
    Best Regards,
    JohnM

  • Help needed with CVI real time

    Hi,
    I am new to CVI real time and need help related to this. I will explain my scenario:
    1. I have few configuration files (INI). Need to validate the files (range checking..etc) during start of the application.
    2. When user clicks "START" in the user interface on the host machine, I need to generate outputs (analogs/discretes...) based on the settings in the config file and read some inputs from other instruments. ( I/O tasks like generating outputs/reading inputs i am planning to perform in RT side)
    3. From the user interface,  user can also change the config files. if user changes the files, again file validation needs to be performed. After changing the files, if user clicks START, need to take the newly enetered config files to perfom I/O tasks.
    4. I am NOT using reflective memory for my application.
    I am confused in the following area:
    1. File validation during startup , do i have to perform on both host and RT side?????
    2. if configuration files are changed in the host side by the user, how i have to send this latest file names to RT??? I think i should not send file names, i need to read from the file and its contents i need to pass to RT....Pls correct me , I am not sure about this....
    3. If I have to send file contents to the RT, how I have to do that....means i have to use structures,..???
    Please guide me. Any help would be highly appreciated.
    Regards,
    haari
    Solved!
    Go to Solution.

    Hey haari,
    1. File validation during startup , do I have to perform on both host and RT side?????
    This depends on the full range of responsibility for the INI files. If they are all needed simply to change what the I/O tasks are for, then you would technically only need to validate the INI file contents on the RT side. You could, however, validate on both sides if you wanted to. However, I would probably set it up such that I send a validation command to the target, have the target run a component of the code that validates the INI contents based on how I instructed it, and then return a message that says whether or not it met the requirements I specified. However, if you are concerned with offloading that process to the user desktop (instead weighing down the RT controller performance), you could FTP the file off of the controller and perform the validation process on the host side.
    2. if configuration files are changed in the host side by the user, how i have to send this latest file names to RT??? I think i should not send file names, i need to read from the file and its contents i need to pass to RT....Pls correct me , I am not sure about this....
    You can send them to the target over FTP. This can be done programmatically, through MAX, command window, or a Web browser.
    3. If I have to send file contents to the RT, how I have to do that....means i have to use structures,..???
    This is basically addressed in answer to question two. You would not need another structure in your RT code to handle the FTP receive component as this is handled by the FTP Client/Server communication. However, in the event that you successfully FTP a file to the target, you should likely send a message from the host to the target so that the target can respond accordingly and reload the file, reestablish the I/O values, run an idle procedure, or do whatever you like.
    Hope this helps. Have a great day!
    Tim A.
    National Instruments

  • Qsort issue with CVI 2012 in 64 bit mode

    Possible CVI 2012 64 bit bug.
    Qsort returns very slowly in CVI2012 in 64 bit release mode. Not sure if there are memory leaks or if function actually returns the correct answer as I fixed the problem before going back and isolating the issue to the code supplied. The issue seems to be resolved in CVI 2013.
    In the example provided, an array is created, seeded, and sorted. Approximate timing results (with a chi by eye averaging) are given below for an array of 1e6 double values.
    CVI 2012
    32 bit debug                         32 bit release                                       64 bit debug                                    64 bit release
    4.5 seconds                         0.32 seconds                                       4.3 seconds                                     44.0 seconds
    CVI 2013
    32 bit debug                         32 bit release                                       64 bit debug                                    64 bit release
    2.8 seconds                          0.22 seconds                                      2.0 seconds                                     0.18 seconds
    Attachments:
    qsort test.zip ‏3 KB

    Hey,
    Thank you for your feedback, I compiled your code and you are right. In CVI 2013 the problem seems to be solved. Unfortunately, I can't place a CAR (correction action request) for CVI 2012 because the problem has been addressed by our R&D department. 
    Thanks again for your feedback.

  • What versions of NI-VISA are compatible with CVI 7.1.1

    I am stuck using CVI version 7.1.1 due to a customer requirement and need to use VISA functions in a new application. I do not have access to the original driver disk so I don't know exactly which version of VISA to use with this version of CVI.
    I was under the assumption that I could download the latest version (4.6.2) and it would be backwards compatible but it does not work for me on two different PCs. In both cases, I get a general protection fault if I try to execute an application that uses any of the VISA functions. Both PCs use Windows XP.
    So I need to know which version of VISA is compatible with Win XP and CVI 7.1.1 and will not give me a GPF.
    To further complicate things, I also need to know which versions of NI-FGEN, NI-RFSG, NI-HSDIO, and NI-DAQ will work with my setup. I am using PXI-5404, PXI-5651, and PXI-6562 hardware.
    Martin Fredrickson
    Test Engineer
    Northrop Grumman
    Advanced Systems and Products
    San Diego, CA 92128

    The attached screen shot shows the GPF error message I am getting.
    I have tested this application on three separate machines with the exact same result. One of them has VISA 4.5 installed, the others 4.6. All of them have CVI 7.1.1 and TestStand 3.1
    I get the error if I try to run this application and it has ANY VISA function in it. As soon as I remove them, it runs OK.
    All I am trying to do is use the VISA functions to access an RS-232 port. I have done this before without running into any kind of problems.
    I need a solution to this problem.
    For what it is worth, the calls I am making so far are (if I include any of them and try to run, it gives a GPF):
     status = viOpenDefaultRM (&rsrcMgr); 
     status = viOpen (rsrcMgr, comPortDescriptor, VI_NULL, VI_NULL, &comPort);
     status = viSetAttribute (comPort, VI_ATTR_WR_BUF_OPER_MODE, VI_FLUSH_ON_ACCESS);
     status = viSetAttribute (comPort, VI_ATTR_RD_BUF_OPER_MODE, VI_FLUSH_ON_ACCESS);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_BAUD, baudRate);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_DATA_BITS, dataBits);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_PARITY, parity);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_STOP_BITS, stopBits);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_FLOW_CNTRL, flowControl);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_DISCARD_NULL, VI_FALSE);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_END_IN, VI_ASRL_END_NONE); 
     status = viSetAttribute (comPort, VI_ATTR_ASRL_END_OUT, VI_ASRL_END_NONE);
    Martin Fredrickson
    Test Engineer
    Northrop Grumman
    Advanced Systems and Products
    San Diego, CA 92128
    Attachments:
    gpf_with_visa_calls.PNG ‏6 KB

  • How to use CVI 2009 with CVI 2012 installed

    I have TestStand 2012 / CVI 2012 installed. 
    I need to also test using teststand 4.2.1 / CVI 2009.
    I installed teststand 4.2.1 / CVI 2009 and can activate teststand 4.2.1 but I cannot access CVI 2009. 
    Is there any way to have CVI2009/2012 both available on the same computer? 
    Is there a way to compile CVI 2012 to work with TestStand 4.2.1?

    Hi HMRJ,
    You can have multiple versions of CVI installed on the same computer. Can you explain in detail what you mean when you say that you cannot access CVI 2009? Do you mean that you can't open it or can't activate it?
    I am not sure I understand what you mean by compiling CVI 2012 to work with TestStand 4.2.1. You should be able to create a DLL from CVI 2012 and call this code module from TestStand. Are you receiving any errors when you try to do this?
    Regards,
    Anjelica W.
    National Instruments
    Applications Engineer

Maybe you are looking for