Announcement: LabWindows/CVI 2015 beta program

Hello world!

I am pleased to inform that the beta program of LabWindows/CVI 2015 is now open for new applications for registration. As a member of the beta program, you'll be among the first to use the next version of LabWindows/CVI, giving you the opportunity to give feedback of NOR and test your existing projects against the latest features of LabWindows/CVI.

If you are interested in participating in the program, we encourage you to the request to participate by visiting www.ni.com/beta and choosing to sign up for the beta of LabWindows/CVI 2015 in the menu dropdown. All previous beta users must re-register for the beta of LabWindows/CVI for we ensure that have up-to-date information.

We look forward to hear from you!

Best regards,

Hi all!

The beta version of LabWindows/CVI 2015 concluded.

Thank you

Tags: NI Software

Similar Questions

  • How to remove the additional window when I start LabWindows/CVI or will execute my program?

    For a short while (maybe a week or more), I get a small extra window behind my request. Also, when I start LabWindows/CVI, I get the same window. It is a small blank window with the same title as the application. Press close (X) closed the application too.

    I don't remember seeing this before and that he doesn't know what has changed on my PC. It also happens with old LabWindows (previously compiled) programs, it seems that something in Windows has changed.  I use Windows XP and LabWindows/CVI 9.0.0 (348).

    Thank you

    Rob

    Hi Rob,

    The window that you see is part of the CVI. It is the parent window for all windows of the CVI so much in the environment and execution. As a general rule, this window is hidden way off the screen so that you don't even know it's there. But some video cards have a parameter that requires all windows off the screen to move to the screen. Take a look in your video card settings to see if this setting exists on your pilot. If so, then disabling the setting will allow the window to hide off screen.

  • LabWindows CVI RS-232 is not fast enough

    Hello

    Is it possible to write a C program which takes RS-232 data buffers and prints it on the screen?

    I ask this question because I write a program in LabWindows CVI and the data is not correct. I used SimpleTerm Gold to see what data are supposed to look like, but CVI misses some. I believe it is not fast enough and therefore lack of data.

    A C program (do not use the functions or reminders CVI) would be possible and better?

    Is it possible to make the CVI to work faster? I changed the environmental policy of the previous "do not sleep". There are two ComRdTerm because we're not getting all the other packages.

    Rate 115200 baud, no parity, 8 data bits and 1 stop bit. Most of the data I receive are 313 bytes and the smallest is 17.

    Any help would be MUCH appreciated as I am completely puzzled.
    Thank you

    Code is below.

    OpenComConfig (com, "COM9", 115 200 Baud, 8, 1, 0, 1024, 1024); / /< opens="" serial="" ports="">
    SetComTime (com, 0); / /< sets="" serial="" port="" to="" never="" time="" out="">
    T0 = clock(); / /< calculate="" how="" fast="" comrdterm="" is="">
    bytes_read0 = ComRdTerm (com, & buffer0 [0], 314, 10); / / read com and store it in the buffer
    sprintf (p_check0,"%.4s" & buffer0 [0]);
    T0 = clock() - t0;
    Double time_taken0 = ((double) t0) / CLOCKS_PER_SEC; / / in seconds
    printf("%d\t%f\t%s\n",bytes_read0,time_taken0,&buffer0[0]);
    Memset (buffer0, 0, strlen (buffer0)); / / Clears the buffer

    T1 = clock();
    bytes_read1 = ComRdTerm (com, & buf1 [0], 314, 10);
    sprintf (p_check1,"%.4s" & buffer1 [0]);
    T1 = clock() - t1;
    Double time_taken1 = ((double) t1) / CLOCKS_PER_SEC;
    printf("%d\t%f\t%s\n",bytes_read1,time_taken1,&Buffer1[0]);
    Memset (buf1, 0, strlen (buffer1));

    Thanks for all the help guys. I finally found the solution. The program was running too slow because I kept opening and configure ports (not shown in the code) I simply kept open ports and it works fine.

    I appreciate all the comments and insight. Each of them will definitely help me still to develop with CVI.

    Kind regards
    Keegan.R

  • The interface of the AVI with the PC using LabWindows/CVI

    Hi friends,

    I have a vector Network Analyzer Keysight Technologies / Agilent Technologies N5230A. I want to run with the LabWindows/CVI to measure channel 40 GHz. I want to interface the AVI with the PC using LabWindows/CVI. It is really essential for the measures, and I have no experience in doing these things. Would you please direct me to the best, easy as possible of this work? I'm really conscious of the fact that and thank you for your time and concern.

    Mohamed

    I have a vector Network Analyzer Keysight Technologies / Agilent Technologies N5230A. I want to run it with the LabWindows/CVI and measure channel 40 GHz. I want to interface the AVI with the PC using LabWindows/CVI. It is really essential to me, and I have no experience in doing these things. Would you please direct me to the track better, easy and correct these work? I'm really conscious of the fact that and thank you for your time and concern.

    Mohamed

  • Real-time execution trace toolkit to optimize the Labwindows/CVI code

    Hello

    I am trying to optimize a code in real-time in LabWindows/CVI by minimizing the time of each section of the code is taking and find bottlenecks in the code. I check this time using the real-time execution trace toolkit.

    However, I just found it seems to be a constant error when you use the tool of real-time execution trace.

    When I put the traceviewer 'start' and 'stop' right after the other, I get around shift schedule 9us. It seems that the CPU will in some "idle" after the start of the trace mode, or maybe it's the time of communication or something.

    I'd appreciate it if someone could give me an idea of why this is happening. The time of real-time application window is very limited and I'm trying to minimize the time as much as possible. Even the United States 9 error is difficult to resell.

    I used the following code:

    TraceConfigure (1, 1, 0, 25000, NULL);
    TraceStart ();
    TraceStopAndSend (HOST_ADDRESS);

    and there is a photo in the toolkit of real-time execution trace.

    Thank you.

    Generally, you might be better off picking off the clock at the beginning and end of what you want to track. RTETT my introduce overhead that becomes difficult to quantify... Which is what you probably already see. The debug mode will also implement a ton of overhead. Then... Destemming of the clock in release mode will probably give you you the best estimate.

  • CVI 2015 &amp; 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.

  • 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

  • Why the labwindows/cvi Installer runs whenever I try to start labview 7.1, after I installed N!-series?

    Why the labwindows/cvi Installer runs whenever I try to start labview 7.1, after I installed N!-series?  The installation program runs 3 times now and asks me to restart every time.  Then I reboot and it happens all over again when I try to start labview 7.1, unless I select Cancel 3 times in a row then labview starts.

    Thank you once again.  I am running.

    Barry-AIC

  • Passing a struct LabWindows/CVI TestStand

    I'm passing a struct in a dll written in CVI.

    Here's the problem: the code is written in CVI (c code) if I use "struct MyStruct * MyData" as the definition of parameter in the TestStand dll works fine. But if I set my struct using a typedef (i.e. typdef struct MyStruct) then use MyStruct * MyData as TestStand parameter generates a warning.

    I have a way to the adapter C\C ++.

    It's too late in the programming in order to go back and remove the typedef.

    So, how do TestStand accept the typedef?

    Thank you

    Carmine

    In ANSI C, struct names and type names belong to separate namespaces. You can declare the structs several different ways:

    (1) struct structName {int x ;};

    (2) typedef struct {int x ;} typedefName;}

    (3) typedef struct structName {int x ;} typedefName;} Note: structName may be identical to typedefName.

    I assume you are using the 2nd example above in which case LabWindows/CVI automatically generates a struct name (something like __unknown_1) which uses Testand.

    Even if you said it's too late to remove the typedef, you can add a struct name as in example 3 above? You can use the same name as the typedefName and TestStand will recognize.

  • problem with LabWindows CVI

    Hello I m trying to create a Setup program for an application created in a previous version of Labwindows CVI which one don't know locks I get just the file sources, I m working with the 2010 version, the problem is that the application is running in debug mode but when I run in release mode the application does not work only the icon in the taskbar is indicated but the GUI never appears, someone can help me with this

    Thanks for your help, the problem was not with the code and was not with the RT engine version, was a misconfiguration in the compilation release configuration, I myself do not add external sources dll´s and lib´s in the plug-ins option in the settings of the target

  • DirectInput with LabWindows/CVI

    Hello

    I'm trying to use DirectInput to obtain data on the position of a USB joystick in LabWindows/CVI. CVI 2013 comes with headers and libs for direct entry into its subfolder of the sdk and the DirectX SDK comes with a very simple example.

    However, already the first step in opening creating a directinput handle fails to compile - it is essentially copied verbatim from directInput documentation or the joystick sample provided with the DirectX SDK.

    #include
    #define DIRECTINPUT_VERSION 0x0800
    #include 'dinput.h.

    int main (int argc, char * argv [])
    {
    LPDIRECTINPUT8 di;
    HRESULT hr;

    HR = hr = DirectInput8Create (GetModuleHandle (NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (VOID *) & di, NULL);

    return 0;
    }

    60, 42 error: from 'const GUID' (aka "const struct _GUID") to the inconsistent type parameter ' const IID *' (aka ' const struct _GUID *')

    18, 1 in file included from c:\Users\tpaprotta\Documents\National Instruments\CVI\Command-line Application.c:18:

    "dinput.h" (2682,83) c:\program files (x 86) \national instruments\cvi2013\sdk\include\dinput.h:2682:83: Note: passing argument to the parameter "riidltf" here ".

    The same code compiles without problem under Visual Studio 2012.

    Therefore, it is / was a number of questions. Yes, the example in question is C++, so instead of the call

    DirectInput8Create (GetModuleHandle (NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (VOID *) & di, NULL);

    To call

    DirectInput8Create (GetModuleHandle (NULL), DIRECTINPUT_VERSION, & IID_IDirectInput8, (VOID *) & di, NULL);

    (IID_IDirectInput8 is defined differently depending on if C or C++ calls).

    However, if we make this change, the _IID_IDirectInput8 symbol is not found. The symbol is not in dinput8.lib (which is included with CVI), but rather in the dxguid.lib (which I couldn't find in the records of OR). It is distributed with the DirectX SDK - so I'm now a link against it. I'm curious, however, why NOT distribute dinput8.lib / dll and not other required libraries, which seem to be necessary to use.

  • CAObjHandle handle ActiveX object to the NI LabWindows/CVI 2009 Server

    Is there a way to create a CAObjHandle on the ActiveX of LabWindows/CVI server without opening a new application of CVI?

    A bit of history, I am trying to automate the creation of files in HTML help by function panels. Thanks (http://forums.ni.com/t5/LabWindows-CVI/Is-there-a-way-to-automate-generating-the-documentation-from-... I have found that there is a function that exist to achieve this.

    CVI_AppGenHtmlHelpFromFPFile is the function that I need to call, but I got a handle created.

    I can get a handle to it using the CVI_NewApp function, but the problem is that it opens a new application of the CVI (which is certainly not favorable). At a very high level I need this feature to treat more than 100 panels of function in order to see how this can become a bit extensive and involved to open CVI every time. It should be a relatively small appilcation of command line that basically takes the path of the file and go to CVI_AppGenHtmlHelpFromFPFile and it does its magic.

    Any help on this would be greatly appreciated.

    Thank you

    Do you need to treat each Panel function in separate your program calls? If so, is it possible that you could treat several panels by invocation?

    If you're really stuck to running a separate process each time, can you pass some indicator of command line to your program to tell him to close CVI or not? If you don't stop it, then your program can always use CVI_ActiveApp and it would keep reusing the same instance of the CVI over and over again. Then when you call your program for the last Panel of the function in your loop you might pass a command line flag saying it close CVI before leaving.

  • Always get errors trying to control power 7651 YOKOGAWA on Labwindows/CVI

    Hello

    I'm trying to set the voltage on YOKOGAWA 7651 feeding through labwindows/cvi. I've set up a digital slide on my UI with callback function "yoko7651dcvolts" and the name of the constant "YOKO7651DCVOLTS".

    I always get this error when I run my program:

    "FATAL RUN-TIME ERROR: "DcSource.c", line 53, col 65, thread id 0x00001F3C:   Invalid argument type: found 'pointer to double', expected 'pointer to int'."
    

    This error indicates the third argument to the GetCtrlVal function below. The lack of program/compiler pass the variable "yoko1volts" as a whole, but I want to (and should) be able to settle the tensions as floating numbers.

    Of more, even when I said "yoko1volts" as a whole, it stills does not work. All I get is zero, zero and zero... on the power meter whenever I press the digital slide.

    This is the section of the C code which is problemic:

    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,        void *callbackData, int eventData1, int eventData2){    double yoko1volts;    switch (event)    {        case EVENT_COMMIT:        GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    
            yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    
            break;    }    return 0;}
    

    It's the h-file related:

    #define  YOKO7651_1                       4#define  YOKO7651_1_YOKO7651SWITCH        2       /* control type: binary, callback function: yoko7651switch */#define  YOKO7651_1_YOKO7651DCVOLTS       3       /* control type: scale, callback function: yoko7651dcvolts */
    
    
    

    Please help, how can I solve this problem?

    All pilots (including feeding YOKOGAWA 7651) are correctly installed and mounted. In fact, I can successfully turn the power supply on and off with the code below:

    int CVICALLBACK yoko7651switch (int panel, int control, int event,        void *callbackData, int eventData1, int eventData2){    int yoko7651switchstate;    switch (event)    {        case EVENT_COMMIT:        GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, &yoko7651switchstate);        SetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, !yoko7651switchstate);        yk7651_output (yoko76511Panel, !yoko7651switchstate);            break;    }    return 0;}
    
    
    

    It is just setting the voltage on the power supply which is very problematic. Any help is appreciated... Thank you.

    I second opinion Al of a disconnection between the UIR and the variable that contains the handle to the Panel.

    As a side note, I noticed that the problematic line reads the value of the controll which callback is executed:

    #define  YOKO7651_1_YOKO7651DCVOLTS       3       /* control type: scale, callback function: yoko7651dcvolts */
    
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,        void *callbackData, int eventData1, int eventData2){    double yoko1volts;    switch (event)    {        case EVENT_COMMIT:        GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    
            yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    
            break;    }    return 0;}
    
    

    In a situation like this, I will try using GetCtrlVal (Panel, control, & yoko1volts); Instead, which should get rid of all the problems in the control panel manage / control ID.

    Despite this solution works, anyway I'd be deep into the problem like a bad Panel can lead to erratical behaviors in other parts of the program.

  • JNI and Labwindows/CVI linking problem

    I am trying to connect to the server in Java through LAbwindows CVI DataSocket.

    I am able to create a dll. Everything works fine with no error in compilation or execution, but when I run the DS_OpenEx cannot return a native class.

    If anyone can help me with the problem.

    Thank you

    Hello

    Could you better clarify the implementation that works properly and implementation that does not work properly?

    1 are you connected to the DataSocket with Java source code and you are trying to communicate through this source of Java through LabWindows/CVI?

    2 are. what environment you able to successfully create a DLL?

    3. can indicate you what environment survey code error and what this code?

    ADri - K

  • "Socket.h" is available for LabWindows/CVI

    I'm trying to use a third party API with LabWindows/CVI. I get a compilation error that says 'socketaddr_in' is undefined. On Unix/Linux systems, this parameter is defined in the include file "socket.h". I searched my system (Windows) for "socket.h". Nothing is found. I have to buy Visual Studio (or whatever we call it) just get socket.h (or whatever it is called on Windows)?

    I'm spoiled by having this kind of stuff available immediately free of charge on Linux.

    Querty99,

    When you installLabWindows/CVI you will have the option to install the Win32 API. For the header, you search the files make sure the Win32 API Interface a right-click and select install this feature for a local player (see the attached screenshot). If installed correctly, you should see your C:\Program NIUninstaller Instruments\\sdk\include WinSock2.h.

Maybe you are looking for

  • What is the best way to copy the 700 lots of e-mail files to a new computer?

    I'm moving my wife and an old (Thunderbird, Win XP) computer to a new computer (Thunderbird Win 7). It has about 700 local folders with thousands of emails in them. What is the best way to copy to the new computer?

  • I cannot attach a file in an email, what I've done before.

    I've always been able to reach a simple word document and now I can't. The cursor does not turn by hand on "send a file".

  • Battery CMOS for PC COMPAQ Presario CQ4010F

    Hello. Usually, when I start the PC, I have to reset the time on the internet because the time is wrong and shows of the year in 2009. Then the Control Panel indicates that the CMOS works normally. This leads me to believe that the CMOS battery is dy

  • ASA 5505 possibly interfere/blocking calls Incound UC560

    ASA 5505 interfering with incoming calls - Cisco - Spiceworks #entry - 5716462 #entry - 5716462 All, We had this problem the phone when we lose connectivity for some reason any.  Here is an example: We have an ASA 5505 before our UC560.  Power lost t

  • Briefcase FILES

    Suddenly, my computer will not make new FOLDERS - instead, it again portfolio; There is no other option to make new RECORDS, only an option to make the new Briefcase. How do I change back?