CVI 2013 and Windows SDK

Hello

I just downloaded and installed the complete system of development Labwindows/CVI 2013 on my new computer.

It's a Win7 64-bit computer.

What I have to do all the facilities additional to use features of Windows SDK, or is it included in the default installation?

Thank you

Kirk

I'm not one of them, but I'll try ;-)

You can use the help / find examples and looking for the SDK. This gives 10 examples, including verinfo.cws and winshape.cws...

Tags: NI Software

Similar Questions

  • CVI versions and windows

    Hello

    Posted in requirements for Labwindows CVI recommended operating systems are:

    Windows Vista/XP/2000/7 Service Pack 3 or later

    1 can you put a significant detail on these operating systems with respect to the 32-bit / 64-bit? (are there any problems with these versions)

    2 is there any problem with Win XP embedded? (the specific requests of the operating system)

    3. What is Linux / Unix?

    Thank you, Kobi.

    Hello

    You can find information about the BCI / OS on the Web site Lifecycle policy NI LabWindows/CVI .

  • Crash of CVI 2013 with the debug version

    Hello

    I'm trying to migrate a large enough project of CVI 2012SP1-CVI 2013 and feels the clang compiler crash when I try a debug on some files.  Clang will also plant (' Labwindows/CVI the Clang compiler has stopped working... ") so I am just trying to compile the file (ctrl-k) in the editor.  Here's what I found:

    • A release not crushed

    • By turning the C99 power button has no effect

    • Change the warning level has no effect (other than the types of warnings that I get, of course)

    • Change the ' debug ' on 'No run-time check' eliminates the crash.

    • 'Enable. Option of obj"eliminates the crash.

    • By turning precompiled headers power has the effect.

    Here is the long message I get from the compiler when this happens (including all the warnings that are always displayed when the level is set to 'None'):

    Any thoughts?  Unfortunately it's a pretty big project that I can't post and it doesn't seem to be an indication of the or the lines in the file that he has problems with it, so I can't limit, although it seems to hint that he has problems with the structures of some sort.  The PC is running Windows 7 Pro 32 bit if it matters.

    Thank you.

    Hi tstanley,

    We could find the cause of the accident of the compiler from your code. We will settle in the next update and you can follow with bug ID 422577.

    The issue occurs when in a function, you have a call to a function that returns a structure in a global variable and then refer to this world in another function. For example:

    struct Foo foo; global variable foo

    Sub FuncA()
    {
    foo = GetStructFoo();
    }

    Sub FuncB()
    {
    do something with foo / / crash
    }

    In this case is because we are bad associate information of temporary pointer with foo in FuncA. Then in FuncB, clang will crash when it tries to access this pointer information.

    There are two workaround solutions, but both require changes in the code.

    1. modify the function that returns the structure, GetStructFoo in my example, the return via a pointer parameter:

    void GetStructFoo(Foo *foo);

    2 use a temporary local variable to manipulate the structure returned and then assign its value to the overall structure:

    struct Foo tempFoo;

    tempFoo = GetStructFoo();

    foo = tempFoo;

    In our next update, we will include the fix for this bug.

  • CVI 2015 & Windows SDK

    Installation of CVI 2015 on laptops Win7 enterprise.

    Work project recently installed, registered, launched, went to its construction, and ICB 2015 requires the installation of the Windows SDK 8.1.  Obtained after popup error message.

    I've traveled on ni.com/frinfo, entered the code and was immediately sent to the Microsoft SDK 8.1 page.  No information OR on what to do, how to install, how to bind the SDK of the CVI.  Tried to download the SDK 8.1, and he repeats to me that the file is corrupted.  I tried SDK 10.0, which says that it supports Win7, downloaded, installed, ICB does not recognize anything, wants 8.1 SDK.

    I'm dead in the water.  Help!

    Problem solved, sort of, by devious means, a way more harmful to complete the installation:

    Find and run the file from the DVD: D:\Distributions\CVI\Products\MSDTRedistributables_WindowsSDK_81\sdk\sdksetup.exe

    This creates successfully the folder C:\Program Files (x 86) \Windows Kits\.

    I have no idea why the installed does not automatically to my Windows 7 laptop.  I hope that NEITHER solves this problem by releasing CVI2015 SP1.

  • Performance of CVI 2013 SP2 with CVI 2015 - Windows XP problem

    I see that XP isn't an operating system in 2015 of the CVI.

    Most of our PC are Win7 now, but we have some legacy units which require XP due to a limitation of external controller processor.

    Is is possible to generate executables in 2015 CVI which will work correctly with the runtime of 2013?

    Alternatively, CVI SP2 from 2013 and 2015 CVI co-exist on the same PC development?

    I would not get stuck with CVI 2013 SP2 for the future just to maintain a few predictable XP-based PC.

    Hi Shr,

    I recommend reading through this community's message: https://decibel.ni.com/content/docs/DOC-23955

    Essentially, you can develop a code in CVI 2015 but set the executable to run on previous versions of the Run-Time Engine. Note that the older version of the RTE of Side-by-Side CVI is 2012. You can indeed install previous versions of the CVI on the same computer. The shared runtime will be set to the latest version. Other versions will be side-by-side. The code is not guaranteed to work with previous versions of the RTE so be sure to test the code locally before moving on to another computer.

  • CVI-2013 SP1 and FDTI development libraries

    We use a test adapter that uses internally a FDTI converter USB to serial. To control the unit, we generate code using FTDIs ftd2xx.lib. Copy the following code compiles and works very well with CVI-2009. But when trying to build the project with SP1 CVI-2013 the linker complains, that ftd2xx.lib is not an archive valid lib.  Any ideas how to fix this?

    Your problem seems to be a 'problem' and already has a workaround solution.
    See the following forum thread:

    http://forums.NI.com/T5/LabWindows-CVI/CVI2013-quot-not-a-valid-archive-quot/TD-p/2525174

    I hope this helps...

  • Windows SDK RegGetValue compiles but does not run program

    I'm porting software from another library that I have that uses native Windows. After writing a small test NI CVI 9.0 program, I found that the RegGetValue() function when it is used, translates into a program that does not work (will not yet be debug with an error on files not being is not in the path). Delete this single line and it works where it is supposed to.

    CVI9 programming interface Toolbox has a function to read the registry, but why it will work with the standard Windows SDK? Is it possible that I can get RegGetValue() to work as documented by MSDN in CVI?

    I tried including ADVAPI32. LIB and ADVAPI32_LVRT. LIB and no work (in the folder lib/MSVC)

    It worries me that the WinSDK is not compatible with CVI and I don't know where I can find this information on the compatibility.

    Thank you

    Jason.

    What operating system do you use? According to MSDN, minimum supported OSs are Windows Vista and Windows XP Professional x 64. The same paper suggests on Win XP SP2 to use SHRegGetValueinstead. You can also watch RegQueryValueEx statement.

  • CVI 2013 SP1 crashes when opening file

    LabWindows 2013 SP1 has suddenly stopped working on my PC.  Any time I try to open a file, or by clicking Browse on the home page, by clicking the open file icon, or by selecting file - open or file - save as from the main menu, I get the message popup that says ' LabWindows/CVI 2013 has stopped working '.

    By clicking on "display characters invisible problem" shows this:

    Signature of the problem:
    Problem event name: BEX
    Application name: cvi.exe
    Application version: 13.0.1.201
    Application timestamp: 52d6eeab
    Fault Module name: CVI.dll
    Fault Module Version: 13.0.1.201
    Timestamp of Module error: 52d6eea1
    Exception offset: 00a4ecd0
    Exception code: c0000409
    The exception data : 00000000
    OS version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Information has additional 1: 417
    More information 2: 417afcd3ce602885d582521ac0f0405e
    3 more information: 39bb
    Additional information 4: 39bb24ea28d79f3c45538f96792cdc59

    These values are always the same.

    I am running Windows 7 Professional, SP 1.

    If you just did a normal installation of CVI 2015, it might still be interesting to try a force reinstall. It is possible that there is a corrupt file of CVI 2013 somewhere.

    Take the information to the same post here, it seems that this issue might be specific to your Windows configuration.

  • CVI 2013 generate invalid code

    Hello

    CVI 2013 generates an invalid code for the function pointer.

    For example, this code works very well in 2012 CVI, but not in CVI 2013. Any idea?

    #include 
    #include 
    
    struct FunctionType
    {
        const char *name;
        void *func;
    };
    
    static const struct FunctionType functions[] =
    {
        { "func", GetFullPathName },
    };
    
    typedef DWORD (WINAPI *GetPathFunc)(LPCSTR, DWORD, LPSTR, LPSTR *);
    
    int main(int argc, char *argv[])
    {
        char buf[256];
        GetPathFunc f = (GetPathFunc)functions[0].func;
    
        if (f != GetFullPathName) {
    
            puts("Invalid ptr");
    
        } else {
    
            if (f(argv[0], sizeof(buf), buf, NULL) > 0) {
    
                puts(buf);
            }
        }
    
        return (0);
    }
    

    Hello hglee,.

    Your code looks fine. I filed the bug report #423480 to follow up the matter.

    Our new compiler important GetFullPathName of inconsistently. The main function, it refers directly to the implementation in the kernel32.dll module. In the static variable, it designates the pointer 'import' for the function (a pointer to the implementation). Interestingly, in CVI 2012 refers us to the 'import stub' in both cases (a jump through the pointer to the implementation).

    As a temporary workaround, you can manually cancel the extra level of indirection by changing a single line in your code:

       GetPathFunc f = *(GetPathFunc*)functions[0].func;
    

    However, it is DANGEROUS because, depending on how we decide how solve the problem, the workaround solution can become a bug itself in the future, and it may crash your program. So please keep that in mind when you change your code (for example, add a comment and a link to this post to remind you).

    Thank you

    Peter

  • Where are the models of 'New project' when you use Visual Studio with labwindows/cvi 2013 2012?

    Background:

    Platform: windows 7 X 64

    Visual Studio 2012

    LabWindows/cvi 2013

    First install Visual Studio 2012.  Then follow this installation Labwindows 2013.  In the installation options, I check 'visual studio 2010' (there is no option for VS2012).

    Question: After the installation of Labwindows, I expect to see patterns added to the "New project" dialog box in Visual Studio.   For several years I used labwindows.  Changed the method for using Labwindows with visual studio?

    Thanks in advance for any help.

    Hello jsut64,

    Unfortunately, there is no option to integrate with Visual Studio 2012 yet LabWindows/CVI. We plan to add in a future release.

    Best regards

    = Nelu F. | National Instruments.

  • CVI 2013 SP1 - function calls repeated with pointer on a variable array parameter causes a shift of the index

    I have some functions will be pointers as parameter and CVI 2012 SP1, they work as before without problems but with CVI 2013 SP1 they are now incorrect.

    Here the description of what is happening - I found a cure, but a duty adopt the old code and I think it's clear that nobody don't "captures" all lines in a 'big old code' which are affected (maybe):

    I have functions

    'function_XYZ(int *p_paraArr) '.

    with 'p_paraArr' as pointers on a table (int).

    Suppose I have another function

    "fct_TOP (void)".

    where is a local array variable which is inizialized by

    "int TheArray [25] = {0};

    and inside of this "TOP"-function-body I call a function ".

    "function_XYZ (TheArray).

    There are no complains of the compiler (CVI 2012 or 2013) and the code works (but the CVI 2013 only once!).

    But if I put 'fct_TOP' loop I have a lag in the "TheArray' -memory.  (The loop surrounds the function "TOP"! "")

    This means that the result "TheArray" obtained from "function_XYZ (TheArray)" starts at index '1' not on the index '0' - as the first time that the function "function_XYZ (TheArray)" was performed. ".

    The solution is:

    I only replaced

    "function_XYZ (TheArray)" (<1>)

    by

    "function_XYZ (&(TheArray[0]))" (<2>)

    overall the program now works every time (in the whole loop)-the first time (in the loop).

    In the second version (<2>) everything is necessary to "work well":

    The '&' and parentheses "(...)", which contains the element that may be designated by the '& '.

    And I hope that you believe me: I've tested several times, it was only "little" change that solved the problem.

    So it seems that the ICB 2013 (SP1) is a kind of internal offset index by a repeated execution of the

    "function_XYZ (TheArray).

    but I don't know how or why but I see in debug mode by observing the expected against the values in the table received!

    At the first time the (implicit) internal index of 'TheArray' is '0', but the following times (during the execution of the loop) the internal index passes to '1' (seen in the debugger because that all the expected values were shiftet like that!).

    So there's an explicit index in the table ("function_XYZ (&(TheArray[0]))") necessary to make the first time of this clear code execution.

    There are some good improvements in 2013 CVI (SP1) and I like this environment more than the 2012 version - but:

    There are other "changes" also, in the compiler (or linker...?) that are more rigid than "in ancient times.

    The problem of this kind of error is always the 'old code '!

    It is expected of such behavior.

    The compiler/linker do not complain (a complaint would be good!) writing but he made this mistake (in a loop).

    By the way: my 'compilation Options' are set to 'Extended' (without change in the "..." ("- button - Options) and that all of the boxes, except the" OpenMP_support "-box are checked!"» So I think that I put the very rigid compiler - maybe there are some «...» ' - button - settings to get rid of this problem, but I have not found them/it.

    My request:

    -Check the stiffer compiler by the need of an explicit index

    - or switch to the 'old' behavior with "function_XYZ (TheArray)" always refers to implicit index '0' of the element "TheArray". "."

    Thank you for your messages, comments and suggestions.

    -As I wrote before - maybe it's the style of programming or error"self made"... maybe...
    .. But if I replace 'function_XYZ (TheArray)' by "function_XYZ (&(TheArray[0]))" and
    then it works... Why so and not, if bothe the same? ...

    But as long as I do not post sample code, nobody is going to accept - I accept it. So consider this post more as an allusion to the fact that of the LW/CVI 2012-2013 LW/CVI more changed than just the LW - GUI or certain features: the compiler changed its 'way to'... or almost.

    For this problem, I think that I will use the solution 'use no implicit and explicit pointers'.
    Who should be a good idea taking into account
        http://forums.NI.com/T5/LabWindows-CVI/fatal-run-time-error-dereference-of-out-of-bounds-pointer/TD-...

    mybe also only caused by wrong code... who knows... but for me it is a sufficient reason to act as I suggest above.

    Best regards,
    F.

  • Alignment of memory with CVI 2013 problem

    Hello

    I just installed 2013 CVI from CVI 2010 and opening my old projects, I'm in trouble with the alignment of the memory.

    Not in all the projects that I opened, I get the problem, and I'm quite confused about this.

    I used to keep in line with the limits of 1 byte of memory and I have thousands and thousands of saved file with this method.

    I have prepared a very simple project (attached to this post) to illustrate the problem, consider that the result would have been with CVI 2010 'occupation of 5 bytes.

    Pragma pack() change his behavior?

    Y at - it a flag set in the Options menu or elsewhere?

    If anyone has a suggestion please help me.

    Thank you

    Sergio

    Hello

    I found the problem, there's a semicolon that follows the directive of preprocessor #pragma pack (1), and it causes the pragma is ignored.

    Remove the semicolon, everything works fine.

    Sorry!

    Sergio

  • LABWINDOWS CVI 2013 error: bad image in IValidateImage

    Hello

    travel form CVI 2012 to CVI 2013 I Get a sequence of the below errors in the application log.

    The errors seems to be generated whenever I have fly over the screen of the GUI of my application. After a sequence of these errors the application hang.

    Note that:

    -J' already installed the latest patch available for 2013 CVI

    -l' error was not present when compiling with CVI 2012

    -l' error is present also, when you distribute the application o windows XP

    Thank you

    Ezio Riva

    ERROR in widows application log

    The description for event ID 0 in source CVI could not be found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event is on another computer, the display information had to be saved with the event.

    The following information has been included in the event:

    [15:24:52.119] [IValidateImage] [FATAL] [.. \mgsource\image.c:9085 assertion failure]: FALSE (bad image in IValidateImage)

    Hi calou,.

    Do you agree with the workaround solutions provided by Daniel?

  • install labview2013 on win7 32-bit for windows sdk error

    I want to install labview 2013sp1 on a brand new with OS win7 32-bit computer, but get error Windows SDK (code-12 and something else).

    Try to install discs, or create an ISO image of the disc, mount the image, and then install from that. This seems very similar to the question that I had.

  • CVI 2013 S functions in file bug: empty ring

    This seems especially relevant to the service pack 2 of CVI 2013.  I don't see this strong behavior in SP1.

    The issue is the following:

    Sometimes between the realization of my project, some (not all) of the each of the files that are part of my project is not a ring of functions in the file pouplated.  Why?  It makes navigation very difficult file.  The files in question always compile!

    The only solution I can find is CVI to close and reopen.  Then the ring is filled.  Do not simply work the file closing and reopening of the tree of the CVI.

    When you see this behavior could register in the status bar if browse info is beeing gernerated? If so, wait for generation of navigation information and check if the ring is completed.

    Perhaps by changing the file determines the production travel information of this file before other files.

Maybe you are looking for

  • Aperature

    Where can I find opening 3.0 so I can upgrade. Not installed on my computer.

  • Change icon to dBm - output wireless

    Hello Does anyone know how to change the icon wireless in the menu bar to display the numbers of dBm - instead. I know that you can use the 'option' key and then click on the wireless icon, but I want to display the output of dBm - place of the wirel

  • Keyboard shortcuts for the buttons works irregularly - why?

    When you use the access key for the button attributes, they work sometimes and not others. Three behaviors are observed: -use the accesskey times moves the focus and click on the button (correct behavior) -use the access key moves the focus only - do

  • REGZA LINK RD88TKTB & 32RAV635DB how to make them talk?

    I just bought HDMI TV 1080 p 32RAV635DB & RD88TKTB HARD drive recorder and they both boast REGZA link. I looked in the manuals and online and can't seem to find how to get them to talk to each other. HDMI cable is connected and display 1080 p mode. F

  • HP ENVY notebook: battery not charging!

    Hello I recently bought a HP ENVY laptop, and I've updated my windows edition to Windows 10. 2 weeks ago, I noticed that my battery no longer works. It does not load: its says "plugged in, load" but its not charging. now my battery is empty, (say 3%)