Manufacturing of Panel of labwindows CVI as Labview Subvi

Dear all,

Does he know how to use LWCVI in Labview.

I had developed LWCVI according to program GUI. Now, I want to use in labview, where I also want to use the value of some digital commands to the CVI group.

Is it possible to call and use the LWCVI program in LABVIEW.

-Vishnu


Tags: NI Software

Similar Questions

  • How to set portrait and fashion in 2010 Panel landscape labwindows cvi

    Hello

    I wanted to just adjust the panels for potrait and landscape mode, but what is the best way to do.

    Thank you

    There is no 'portrait' or 'landscape' mode for the panels, but you can set the size of the Panel just at your convenience using SetPanelSize. Then, you probably also need to arrange the controls in the Panel... so it could a be a good idea to design two panels, a landscape and one for portrait mode, load and display only.

  • Why can I not use my labview controls created dll in labwindow CVI?

    I created a DLL in LabVIEW for run of LabWindows/CVI.  The DLL is started very well but I have no control on the GUI.  Why and how can I use this GUI controls?

    I found the solution on the following thread.

    http://forums.NI.com/NI/board/message?board.ID=180&message.ID=36951&query.ID=314335#M36951

  • 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

  • How to make a manager of UIMessage of PostStep of TestStand in LabWindows/CVI 8.1?

    How to make a manager of UIMessage of PostStep of TestStand in LabWindows/CVI 8.1?

    Hi all

    I have a problem of capture UIMessages motor TestStand for a DLL called from a sequence.
    A search on the forum gave rise to 2 posts on this topic or a similar problem, but with LV and unfortunately, they were not solved.

    TestStand Event 13 - UIMsg_StartInteractiveExecution is not captured by LV operator Interface

    Problems with ActiveX in LabVIEW 7 reminders

    In detail, I want to activate a DLL access the TestStand SequenceContext (variables) in phase of execution of the step.
    A pop-up Panel could then display variables such as the spy does, but more flexible user defined Panel window.

    He is currently working with a periodic timer that causes racing with TestStand conditions while monitoring the variables.
    It works 99%, but I want it to work 100%.

    I found the
     TS_ExecutionAddPostStepCustomUIMessage()
    to indicate to the engine, I want to be informed of one end of the stage with my private UIMessage.
    Next is to implement a callback with
     TS_EngineRegisterUIMessageCallback()
    to retrieve all UIMessages and filter my private.

    Sounds good - works for the capture of events, but TestStand locks and does not continue execution and not to carry out handling
    any operation of the user interface. I have tried 4 solutions (see code), no difference in the result.

    I must kill TestStand to get out of it.

    Attached you will find a stripped down a simple example to reproduce the problem.

    I'd appreciate any help.
    Thanks in advance.

    Kind regards
    Tom

    TestStand 3.5.0
    LabWindows/CVI 8.1.0

    Hello Nick,

    Thank you for your quick response!
    Yes, you are right. That works, I tried today, but...
    isn't this practice as I want it to be. The programmer of a sequence (not me) should take care of the good implementation of a reminder of PostStep to make it work, although he just wants to make a popup. It is not a real problem, but if you use a TestStand MessagePopup command, expected to implement another somewwhere command to make it work. Don't get me wrong, it's just that I don't think that it is a clean solution. And... at least, it is slower.
    I found a tutorial OR a LabView solution for this and two people were asking a LabWindows version. Of course, some are
    interested in this solution. These 2 functions, that I mentioned in my post should work somehow, otherwise they are fools.
    I would really like to know how.

    Thanks again anyway. I'll use your suggestion, if I don't get the problem solved at the root.

    Kind regards
    Tom

  • Conversion/appeal of an application created with CVI in Labview

    Hello

    I have a third-party application code created with labwindows CVI (attachment: scissor lift CVI code.rar) which is used for our control of movement of CT scans. I want to serve the Labview 8.6 my main software for data acquisition and software interface for my development. My idea is to create a dll from this CVI code and called the dll with Labview library import function is shared.

    My problem is that I am no expert in CVI programming if anyone can help me how to create a dll from this code? or any other suggestions to implement this conversion?

    Code CVI attached for reference.

    Thank you

    Lojius

    A starting point can be found here

  • Question of curiosity: several versions of LabWindows CVI can be installed on the same PC?

    I'm curious.  Several versions of LabWindows CVI can be installed on the same PC?

    I'm used to LabVIEW, where Yes, it is possible.  However, with CVI, other than the additional support with newer versions, there may not be a problem to return to an earlier version.  I still wonder.  Several versions can coexist in the same PC?  Or they affect each other?

    Curious...

    R

    You can, BUT only one (the last) version of the CVI runtime will be installed - this behavior began with CVI 6 or more.  Before that date, you have completely installed parallel to several versions of the CVI.

    This can be a problem if you ever find that you have applications depend on a particular version of the RTE.  Theory of NI is that this editor is always backward compatible.

    And you might ask what is simply the RTE - the answer is that it is a set of DLLS and stuff that NEITHER really cares to list for you.

    Menchar

  • cluster complex labwindows cvi

    Hello

    I'm trying to convert a LabVIEW LabWindows/CVI dll code to meet certain requirements of the processor. I'm passing a group of parameters and variables in the DLL, some of the elements which are arrays. My question is twofold:

    1. How to refer to values in the table that is passed as part of my structure?
    2. In what order are multidimensional arrays from LabVIEW to a DLL (column or row-major order)?

    To specify the number 1, if I have a type definition which reads as follows:

    typedef struct {

        int32 dimSizes[2];

        float64 Numeric[1];

     } TD2;

    typedef TD2 **TD2Hdl;

     

    typedef struct {

        int16 index1;

        int16 index2;

        TD2Hdl array;

    } TD1;

    And my function prototype reads:

    int myfcn (*TD1 input);

    How do I référenceriez the (index1, index2) two-dimensional array element array ? None of the following seem to work:

    input->array->Numeric[index1][index2];

    input->array->Numeric[index1 + index2*dim1];

    input->array[1][index1][index2];

    input->array[1][index1 + index2*dim1];

    etc.

    Where dim1 is the length of index1 . To specify the number 2, if I have a two table to a dimension that has two rows and two columns:

    [1, 2]

    [3, 4]

    It happened in the order line field in the list (1, 2, 3, 4), or in the order of the field column in the list (1, 3, 2, 4) to the DLL? This should be of the order of the values stored in input->array->Numeric If I'm not mistaken.

    Thank you very much

    Nathan

    In addition, as mentioned in our correspondence, LabVIEW passes arrays in the order line field and you can dereference the (i, j) element of the array by using the call:

    (*(Input->array))->elt[ j + i*numCols ];

    Where Input is your TD1 object passed as a pointer to your function, so the function prototype might look like:

    int myFcn ( *TD1 Input );

    Thanks for the help Daniel!

  • NOR tkds5000 LabWindows/CVI IVI driver not work for TDS5104, TDS5054B

    I'm trying to get the driver NI LabWindows/CVI IVI (tkds5000 version 1,212) working for the Tektronix TDS5054B scope.  When I execute the following functions, I have the warning 'Is not a valid value for the parameter or property' of 0xBFFA0010:

    IviScope_InitiateAcquisition

    IviScope_GetAttributeViInt32 for IVISCOPE_ATTR_TRIGGER_SCOPE and IVISCOPE_ATTR_ACQ_TYPE

    IviScope_ActualRecordLength

    This is not an exhaustive list of the functions that do not work, but just that I currently see.  There are several functions that work (see this joint SPY OR file).

    The strange thing is that everything works fine when I have an oscilloscope Tektronix TDS5104 connected (file SPY OR see attachment).  The code also works when I have an oscilloscope connected and selected through MAX TDS3054 driver tkds30xx IVI of NOR.

    Is it possible that the driver of version 1,212 tkds5000 does not support fully the TDS5054B?  I looked through the files tkds5000.c and tkds5000.h, but has not seen any dependencies on the model of the oscilloscope for these functions.  Any ideas?

    Thank you!

    Dave

    So, then I thought about it.  The tkds5000 driver AND works very well.  The problem is that the Tektronix TDS5054B scope do not "initialize" some of the attributes.  For example, I had a problem reading the value of the attribute of slope of relaxation because an invalid value was returned.  If I set the slope of the trigger, first of all, then read it, it works fine.

    Its strange because most of the attributes is set to the correct value corresponding to what is displayed on the oscilloscope screen and the Panel, but not ALL of them.  In addition, other Tektronix oscilloscopes did not require a writing before reading.

    Anyway, thanks a lot NathanT.  I appreciate your help.  You saved me a bunch of time to have to go back and add in a dedicated driver.

    -Dave

  • LabWindows/CVI myDAQ

    Hello I need to know if someone used the myDAQ nor for sampling audio, I saw an example of make but in labVIEW and I want to do on labWindows/CVI, the problem here is that I try to use the DAQmxCreateAIMicrophoneChan and the audioInputLeft of channel or audioInputRight are not supported...

    can someone help me?

    This discussion has been posted in the Spanish forum too where received messages: see here.

    If possible, additional contributions should follow to avoid the spread of the very argument on several boards of Directors.

  • uninstaller application, created with Labwindows CVI, work of doesn´t after the upgrade to version 2010

    Hello

    I worked with Labwindows CVI 2009 without problem, but after the upgrade to the 2010 version, I have the following problem:

    When I m going to run the unistaller, Panel configuration Windows or directly from the icon uninst.exe, it doesn´t work. The PC thought for a few seconds and does nothing, and it happens with all applications that I build with Labwindows CVi 2010.

    Thank you

    Asier

    Hello-

    You install these distributions on a non-English system?  If so, the first thing to try is the workaround solution listed on this known issue.

    The known problem lists only the Italian OSs because inconvenient BONE, but in fact, it can happen on of many different non - English OSs. I will update the text accordingly the next time I update the list of known issues.

    NickB

    National Instruments

  • 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.

  • How to write in MS Word with LabWindows/CVI

    Hi all

    is there a toolkit available to write in MS Word in LabWindows/CVI. as the report generation toolkit in Labview is there any option in CVI.

    concerning

    Hello

    There is an instrument (toolslib\activex\word\wordreport.fp) driver and several examples are provided with CVI, i.e. word2000demo.cws

  • How is for NI LabWindows/CVI? How is it likely to be in the future?

    Hello

    How is changing in favour of NI LabWindows/CVI?  If it's good now, expect the same level to continue in the future?

    Thank you

    Gayle

    Hi Gayle,

    To answer your question re using LabVIEW OO with CVI, they are quite different technologies and really cannot be used in conjunction with each other. That said, if you put the code of the BCI in a DLL, you can call in the LabVIEW DLL using a node call library feature. If this is not clear things up for you, please let us know a little more on what you ask.

    As an observation, I am happy to learn that many of you have had good experiences with our support! Certainly, we do our best to provide excellent support and strive to help you succeed with your applications.

    Best regards

    John M

Maybe you are looking for

  • can not find the album on ipod

    I have an ipod nano and ripped an album from a CD.  I can't find the album or one of the songs on the ipod, but they appear when I connect it to a PC or a Tablet

  • iTunes is sort songs by an artist as a separate artist?

    iTunes is sorting all songs of an artist as a separate artist of the same name. This has happened any time I try to import new songs. I tried to erase the artist name and type it again, who has worked in the past when iTunes split albums, but cela di

  • IMAQ_IGNORE_BLACK_AND_WHITE

    Hi all I am writing in LabWindows/CVI function for research of color on the image of grabed pattern. Unfortunately I can not very good results, only more indifferent because part of the assessment model is black or white. I want to eliminate to mark

  • How to edit scanned documents when the output options are PDF files

    I have a printer of HP Photosmart Plus b209a-m.  How I edited the documents I'm scanning when the 3 output options are to create PDF or Tiff files? The button "scan" on the window of HP solutions says that you can "analyze and edit text with or witho

  • What's an update? "Updating the functionality of Autorun in Windows"

    I have an update that claims to be from MS that says it will update the AutoPlay feature, but it seems it downgrade to the 1990s, by removing support for devices other than optical disc and add multi-step manual required to use some of the features c