CVI Api Window7

Hello

Actally, I develop my stuff under XP. Everything works fine.

Were a few machines running Windows7. The machines are broken in the custom user interface created with .net

during execution of the models modelsupport2.dll GetReportBody_CImplementation (old deriavte comes with TS2.0 rebuilt with CVI8.5)

I would like to set up a debug environment 2010 CVI, but fails because no TS-CVI-AP fp are installed on the machine.

If you try to open the TS-shipped Cvi UI project. CVI said that "Program Files (x 86) \National Instruments\Shared\CVI\instr\TestStand\API\xxx.fp.

are not present. I have a German Window7 that comes with "ERASMUS (x 86) \National... but there is no file xxx.fp to the left."

I tried to find somewhere on the disc hole without success.

--> How to get the api CVI TS installed on a German machine?

Another couriousity that I reallized running sequence one model with shipped 'Interface user Simple' in .net and cvi it crashes too.

If you try it with the editor and "Full Featured", it works fine.

Concerning

Jürgen

Hello

Just turned off the brain and that, not asking why it turns on this machine, not the otherone.

Forget the above questions, it's nonsense. I received the TestStandxxx\API\CVI .fp as if I uesd to C/C++.

I got the bug with the debugger in the function "RecursiveSubProperties" of the module 'c_report.c '.

He planted when you call CA_FreeMemory (display).

It's really funny, because he has worked for more than 10! years now and only maschine broke or

as the proverb says: "everyone here puts his pants on the same way as you.

Have a nice day

Jürgen

P.S. If you can't find the bug, please do not hesitate to answer.

Tags: NI Software

Similar Questions

  • Is it CVI API functions that search fo a path given of him exist file? as "DirectoryExists.

    Is it CVI API functions that search fo a path given of him exist file? like C ++ Builder 'DirectoryExists', I tried 'FileExists', but unnecessary


  • EasyTab labels & contextual text appearing not

    I just filed an application developed with CVI 6.0 on to CVI 9.0 and I'm under problems with labels not showing upward when ran on the system target (XP Embedded).  I've learned since I need to select the 'Western Character Set' for each control in order for the label appears correctly.  I solved the problems for all controls in the GUI editor.  I always have problems with the text does not arise for the control labels Easytab and pop-up windows.  I searched the CVI API and passed the Easytab FP but I can't find anything that would allow me to set the character set for these controls.

    Does anyone have a solution for this problem?

    Thank you.

    I solved the problem simply by going in regional & Language Options Advanced and passed to the English (United Kingdom), then back to English (United States) and that some how solve my problems.

  • Use Labview Timestamp in C++

    Hello

    I have to synchronize two software to 20 ms of precision, the timestamp of labview first single use (128bits, 1904 ect...) and cannot be changed.

    and the second is written in C++ using DAQmx, I find the trick of subtracting the number of seconds of a struct tm classic.

    But it's not accurate enough for me.

    The only solution I found, is to use Structure SYSTEMTIME and use the same round as the struct tm.

    But I do find it very nice, so is it possible to use the same routine as labview in a classic C++ program (or cvi classic)?

    Thanks in advance!

    Eric

    Hey Eric-

    I don't know if you are still working on it, but I thought I would mention the time CVI API absolute in the library of utilities.  It uses the Format binary time of National Instruments, which I think is what should use LabVIEW and should meet your needs.

    NickB

    National Instruments

  • How to call dll com APIs that range from the performance counters of less than 1 ms with CVI and always get less timer resolution of 1 ms

    Hello

    I've created a dll com in VC ++ using performance counters/timers to less than a millisecond.

    This is useful when you send a message to very high speed. (say 10 or more)

    This is done by the dll.

    When I use CVI to create a user interface, this dll runs at a fixed rate of 1ms.

    This slows down the application.

    I tried to use the same dll with VC ++ host and it works well.

    I need to check the registry setting to see if the useDefaultTimer is set to false or TRUE.

    (I'm not near the development PC) However, by default, it should be FALSE and I have no fidle with it.

    Veuileez post any suggestions you might have.

    Thank you!

    This problem is now solved for me.

    Just the highest thread priority in the dll.

    Thank you if you had the answer.

  • API C FPGA

    Hello

    I can generate a C API interface for FPGA design in Labview Communications.

    And how does it work?

    Thank you

    Sebastian

    Hi Sebastian,.

    If it is anywhere in the LabVIEW Communications, he'll be in tools Launcher. If it is not there then you can still generate a C API for your FPGA using the FPGA Interface C API generator. I received this the generating a C API for a help Application LabVIEW FPGA Document.

    Generating a C API in the Windows Start Menu


    Follow these steps to generate a C API for a bitfile compiled in the Windows Start menu.

    1. "" "" Select Start "all programs" National Instruments "FPGA Interface C API" FPGA Interface C API generator.

    2. On the Generator of API C FPGA Interface dialog box that appears, navigate to the compiled FPGA bitfile or type an absolute path for her.

    3. Select a directory for output to the C API. If you do not select an output directory, the files in the C API will be created in the directory that contains the bitfile. You can navigate to a directory or type an absolute path for her.

    4. Optionally, you can change the prefix for the generated files and constants in the generated .h file.

    5. If you are using LabWindows/CVI to develop your C application, check next to exclude NiFpga.h/NiFpga.cas FPGA Interface C API installs the header and library files with the support of LabWindows/CVI.

    Make sure you have installed FPGA C Interface API .

    Introduction to the API of C Interface of FPGA

    See you soon

  • Error-63101 when executing the FPGA Interface C API Generator in LabVIEW 2012

    I'm using LabWindows CVI 2012 and 2012 LabVIEW FPGA module.  I try to use the FPGA Interface C API generator and I get the following error from a freshly generated .lvbitx bitfile.  I use the local server compiles on my PC.

    Error-63101

    NOR-RIO: A valid .lvbitx bitfile is required. If you are using a valid .lvbitx bitfile, the bitfile maybe isn't compatible with the software you use. Determine which version of LabVIEW was used to make the bitfile, upgrade your software to this version or later, and then try again.

    The problem occurs when executing CVI or LabVIEW.  I was able to do this earlier when I was compiling the FPGA in LabVIEW with the API generator 2011 downloaded from the Web site.

    A bit of weirdness in my setup, it's that I charged it off downloads from the website (latest files after 2012 NIWeek) rather than the normal distribution DVD.  I installed LabVIEW, so NI RIO, then the Xilinx tools compatible with 2012.  It works very well when you talk to the FPGA to a LabVIEW vi running on my Windows PC to the host.

    Any suggestions?

    Problem solved.  I had to download FPGA Interface C API generator 12.0.  It works now.

    I would have thought that if a product was called on the menu in LabVIEW 2012, it would be prompted to upgrade to a compatible version, when I installed LabVIEW.  The old version is not compatible with version 3.0 bitfiles, as identified on the following lines at the top of the .lvbitx file:



     3.0

  • With CVI to transfer files to cRIO 9066

    Hello

    I'm trying to copy files to a directory on a cRIO 9066.

    The method I use is to map a drive in Windows 7 and I want to copy the files with the CopyFile function in CVI.

    The reader is defined as \\ni-crio-9066-030c6bf1.local\files (I also tried http://ni-crio-9066-030c6bf1.local \files).

    With this method I can transfer files on this disc with the CopyFile function, but the transfer rate is extremely slow.

    For a 300 KB file, it will take about 25-30 years.

    During this time, my request is breaking, there is no more values in the controls or the UIRs until the copy is complete.

    I tried to disable 'Automatically detect settings' in Internet Explorer in tools > Internet options > LAN settings > connections as I've seen in a knowledge base (http://digital.ni.com/public.nsf/allkb/4EBE45E8A816B19386257B6C0071D025).

    The copy is much more rapid 1-1, 5 sec but I have a few failures of transfer. Windows told me that the transfer failed in a popup, the file in the cRIO is a file of 0ko (and CopyFile returns an error).

    In the knowledge base, they warn about the failures of transfer but I was hoping to get an error code in the CopyFile function.

    I also tried to run cmd.exe copy 'name of the source file' 'target file name' with LaunchExecutableEx but I got the same results.

    I'm in a dead end for now.

    Do you have any idea how I can transfer files between CVI and the cRIO?

    PS: I tried the WebDAV protocol in Labview and it seems fine with that (good transfer rate and no failure of transfer). But I did find this library in CVI.

    Thank you for your help.

    I'm sorry for my late reply.

    I managed to send files in the cRIO 9066 via FTP.

    I installed 'Legacy FTP Server' on the cRIO and I used the FTP API in CVI (proposed on the french forum and by the regulation).

    This solution works very well.

    I didn't want to use an external if possible API so I chose the FTP solution.

  • Code stops at an API function if there is no breakpoint.

    I work with a Graphics Pro Essentials with CVI 8.5. When debugging my application, I'm occasionally guy stops at a function API (no point close to the point). I have to click on the "continue" button to continue debugging. This happens several times and my application crashes after a while.

    Thank you guys. I found the problem. It is due to asnchronous timers I used on Windows.

  • cvixml. Available in cvi 5.5 FP

    I am allowed to use the CVI 5.5 because of the large number of already written programs.  I now have an obligation to generate xml documents.  The cvixml.fp is available for download and can be used in the CVI 5.5?

    concerning

    KelUk

    Hi kel.

    Good afternoon and I hope that your well today.

    I did some research into your question and I found the following resources.

    The Toolbox CVIXML (cvixml.fp) load automatically the Microsoft XML library version was a feautre of CVI 7.0 - including the
    API XML for easy creation of documents and editing. But you could manually analyze the XMLyourself.

    Looking at this post on the forum ,

    "I'm looking for an example showing how to use the.
    MSXML3 or 4 X Active Server in CVI 5.5 and 6.0 of IVR. Can anyone provide
    an example of a plate of boiler to analyze and write a XML Format file or a good
    reference to this using Active X under CVI. »

    The response has been

    "Using ActiveX in CVI 6.0 is very simple!
    "SELECT Tools" create ActiveX Controllor choose the server you want to use and to scroll through the rest of the wizard.

    "When you're done CVI has created a .fp file, that you can add to the project of Instrument ' load.
    In the menu of the instrument, you will see an entry for your ActiveX
    Server that will expose all the methods, provide you get and set
    functions for each property, and you can set up reminders for all
    ActiveX events.

    However, you can use CVI 5.5 and I found this forum by saying it's not a way to create ActiveX Server
    CVI 5.5 project. You can create DLLs with type library information,
    but not an interface based on COM or ActiveX object.

    Please let me know your thoughts,

  • Where can I find NEITHER-HSDIO SMU 6556 LabWindows CVI examples?

    Greetings!

    I am looking for examples LabWindows CVI or a help file that shows the function or api calls to control the attributes of progrannable of the HSDIO SMU 6556/6555.

    Ken Grohman

    Hi Ken;

    "' You can find examples for the NOR-HSDIO in the example LabWindows CVI Finder by clicking on help > NOR example Finder and navigate to the material input and output" Modular Instruments ' NOR-HSDIO; "" "" or you can search in Start "all programs" National Instruments "NOR-HSDIO ' examples.

    http://zone.NI.com/reference/en-XX/help/370520J-01/HSDIO/using_ni_hsdio_in_labwindows_cvi/

    Just make sure that when you installed the driver, you have also installed the Application Development Enviroment Support for LabWindows CVI, otherwise the examples will not be there.

    Best regards;

    Pedro Muñoz

  • highlight comprehensive CVI file

    Is there a motor TS API that can be used to set the value of the fileglobal of CVI?

    I use the synchronous Message user interface to get the sequenceContext of the 3 buttons. I'm creating context unique to each fileglobals sequence if it is adopted of TestStand, CVI. If the values of this variable is passed to TestStand I updated the GUI buttons.

    The second part is if the user presses one of the buttons of the GUI then the appropriate fileGlobal must be defined. Therfore CVI should set the value of the fileglobal based on the user's selection.

    I am not sure if there is an API (such as that provided for StationGlobals, pls see code below) help I can then set the value of the fileglobals in the button callback function?

    It was during the use of globals station in teststand *.

    to access the TS StationGlobals
    tsErrChk (TS_EngineGetGlobals (gMainWindow.engine, & errorInfo & TS_Globals));
    Set value
    tsErrChk (TS_PropertySetValBoolean (TS_Globals, & errorInfo, "MonitorSet", 0, VTRUE));

    TIA

    Thanks Peter.

    I found the way to do this using UIMessage. The example used as starting point is herein case someone else needs it.

  • Distribution with CVI 8.0.1 construction kit fails after installation of CVI 2010

    Update out of the newspaper:

    Adding files to install

    **************
    Internal error: A tool or the library returned an error. (Error code - 21)
    **************
    Error details:
    Error to the MDF API function: _MDFBuildDevPartMerger_Load
    returned nmdkLoadMergeModule code error 26152
    Final report of the error
    **************

    This happened earlier. CVI 7.1.1 and earlier versions than 8.0.1 (i.e. + 8.1.1) work.

    Any help would be appreciated.

    It turns out there are two different problems that arise in the CVI 8.0 distribution builds when you CVI 2009 or newer installed:

    1. Support for ActiveX container will not be included if you install the runtime in the application directory, or if you're not going under the grouping of LabWindows/CVI Run-Time Engine. In these cases, the ActiveX container merge module should be used and ICB 8.0 won't be able to find it.

    2. The merge module Instrument Driver Run-Time (instrsup.msm) and the Mesa merge module (NIMesaDLL.msm) cannot be moved to the application directory (which is the option on the Advanced tab that I mentioned in the previous post). This will result in the construction of distribution fails with the error you reported.

    To solve the first problem, I recommend the copy of C:\Program Files\Common Files\Merge Modules\ActiveX_Container.msm and rename the copy with a space instead of a line of underscore ("ActiveX Container.msm").

    The second question has no easy workaround. If acceptable for your use case, I would say either making the performance overall installation (by unchecking the option in the Advanced tab) or removing the CVI build runtime of your distribution. In the latter case, your application would be based on an already mounted overall CVI runtime engine.

    If any of those who will work for you, I can get you copies of pre-2009 instrsup.msm and NIMesaDLL.msm that you would have to manually exchange and out with versions in your common Files\Merge Modules directory whenever you have need to build this distribution in CVI 8.0.

    I am sorry for these questions. Let me know if you need these older modules.

    A. Mert

    National Instruments

  • Call to API InsertStep

    I am creating a testsequence with CVI wjith the following code:

    #include 'c:\Appl\National Instruments\TestStand 4.2.1\API\CVI\tsapicvi.h '.
    CAObjHandle TSEngine;
    CAObjHandle SequenceFile;
    CAObjHandle MainSequence;
    CAObjHandle stage;
    State int;
    int main (void) {}
    status = TS_NewEngine ("", & TSEngine ");
     
    status = TS_EngineNewSeqFile (TSEngine, NULL, & SequenceFile);
       
    status is TS_SeqFileGetSequenceByName (SequenceFile, NULL, "MainSequence", & MainSequence);.
    status = TS_EngineLoadTypePaletteFilesEx (TSEngine, NULL, TS_ConflictHandler_Error, 0);
     
    status = TS_EngineNewStep (TSEngine, TS_FlexCVIAdapterKeyName, NULL, 'MyType', &Step);)
    status = TS_StepSetName (Step, NULL, "Blah blah blah");
     
    status = TS_SequenceInsertStep(MainSequence,,Step,0,TS_StepGroup_Main);
     
    status = TS_SeqFileSave (SequenceFile,NULL,"C:\\newSequence.seq");
      
    Release
    status = TS_EngineReleaseSeqFileEx (TSEngine, NULL, SequenceFile, 0, NULL);
    }

    As createst a new sequence with a step called as expected, "blah blah blah". The problem is that the Steptype "MyType" includes an installer of the default module, but created step has an empty module configuration. I expect that the new stage gets its configuration of modules of the model step.   What I'm missing here?

    I see what is the problem. You should be passing an empty string for the name of the card key parameter in your call to Engine.NewStep. According to the help of the API for Engine.NewStep for this parameter: "pass an empty string to use the card, the type of step means... »

    Hope this helps,

    -Doug

  • DLL for LabWindows/CVI 8.0 with the bool data type

    Hello

    I want to use a new SWIR camera in LabWindows/CVI 8.0 (Windows XP 32bits).

    The company delivered with the camera produced a 32-bit dll by using Microsoft Visual C++ 2010. The .dll and .lib and .h files include a working SDK/API (some functions with the bool data type)

    Compilation-online syntax error, variable Boolean is not a data type in LabWindows/CVI 8.0

    Generate the import of DLL-online syntax error library

    I tried to convert bool char (typedef unsigned char bool => no more syntax error but the functions does not work.)

    What can I do?

    Martin

    Hello again, Naumann!

    Microsoft Visual C++ 2010 represents Boolean using 1 byte, as stated by MSDN: https://msdn.microsoft.com/en-us/library/tf4dy80a(v=vs.100).aspx

    I guess that you import C++ functions using the syntax for extern "C". Otherwise, because of the C++ name mangling wouldn't you able to bind C++ library against your code CVI.

    You can also specify how you import C++ functions?

    In addition, because you have not described the problem as a corruption of heads or runtime error, I guess the C++ library function is called correctly the CVI. That said, I tend to believe that the problem is not really in the mechanism of interaction of C/C++, but in the C++ library. If you would start calling a dummy C++ function returning an integer from a simple CVI application that should work, because redefine bool in CVI 1 byte must ensure that settings are correctly transferred onto the stack.

    If you need to create a wrapper function of C++ that is not using bool and calls the C++ function, I expect to return the same result.

    Maybe you are missing a few prior initialization steps required? The provider of the camera also comes all example code?

    Best regards!

    -Johannes

Maybe you are looking for