Getting tarted with LabWindows​/CVI realtime

Hello everyone, i'm getting started with LabWindows/CVI and it's realtime module. I've got a NI PCI-6221 and i want to use it to generate some signals. I want to know how to communicate the host (control) part of my software and the targetRT part. Please advice me some example or tutorial which describes howto do that. 

There are several examples available in the example finder under Toolkits and Modules » Real-Time which should demonstrate what you are looking for.
Communication between the host and target is usually done using network published shared variables, the whitepaper below discusses this:
http://www.ni.com/white-paper/4679/en#toc1
You can find an example of this usage here:
https://decibel.ni.com/content/docs/DOC-3806
Are these resources what you are looking for?
Craig H. | CLA | Systems Engineer | National Instruments

Similar Messages

  • The applicatio​n uninstalle​r ,created with Labwindows CVI, doesn´t work after upgrading to 2010 version

    Hi,
    I have been working with Labwindows CVI 2009 with no problem but after upgrading to 2010 version I have the following problem:
    When i´m going to execute the unistaller, either from Windows Control Panel or directly from the uninst.exe icon, it doesn´t work. The PC thinks a few seconds and does nothing, and it happens with all the applications I build with Labwindows CVi 2010.
    Thanks,
    Asier
    Solved!
    Go to Solution.

    Hello -
    Are you installing these distributions on a non-English operating system?  If so, the first thing to try would be the workaround listed on this known issue. 
    The known issue only lists Italian OSs as the troublesome OS, but it could actually happen on many different non-English OSs. I will update the text accordingly the next time I update the known issues list.
    NickB
    National Instruments

  • Using DLLs created with LabWindows/CVI 8.0.0 in LabWindows/CVI 8.0.1

    Hi,
    I have created a project containing some methods with LabWindows/CVI 8.0.0 and then build the project and generated the DLL and LIB files. These DLL and LIB files are working fine in another projects created in LabWindows/CVI 8.0.0 (even on another machines).
    But when I use these DLL and LIB files in a project created with LabWindows/CVI 8.0.1 on another machine and try to call the methods of these files, the following error occurs: -
    "The program has caused a 'Unknown' fault at 001B:7C812AFB"
    Is this error occurs due to ther version mismatch or there is some other problem?
    Please help me to resolve this issue.
    Thanks,
    Sarabjit Singh

    Judging from this, I don't think NI has a newer version of this tool:
    http://forums.ni.com/t5/Measurement-Studio-for-VC/Convert-project-from-LabWindows-CVI-to-Visual-Stud...

  • 82351a with labwindows cvi

    Hello,
    I am trying to use Labwindows CVI 2013 with a GPIB card, Agilent 82351a and it can't talk with a GPIB instrument connected to the GPIB card.
    NI-MAX can see the 82351a card but I can't use this card to talk with an instrument.
    I installed Labwindows CVI with NI-VISA 5.4, AGILENT IO suite 16.3 with Agilent Visa a secondary VISA.
    With NI-MAX, in the options VISA, I enable "Passport for Tulip" and with Agilent Connexion Expert, I tried to enable '"programs Agilent GPIB cards for 488" but it reboots the PC and the option remains not validated.
    I wan't to know if this Agilent 82351a card can work with Labwindows CVI 2013.
    thanks

    http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/82351a-with-labwindows-cvi/m-p/2818356/highli...
    Paolo_P
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Usb ni-6008 with LabWindows/CVI version 5.0

    Hello,
    I would like to use USB NI-6008 with LabWindows CVI version 5.0. The hardware comes with DAQmx version 9.3.5, which does not support CVI v.5.0.
    Any ideas how to use this CVI version with USB NI-6008?
    Many thanks..

    Hi there,
    Like you said, DAQmx is only officially compatible with LabWindows/CVI 7.0 or later. This link has more information on this compatibility: http://zone.ni.com/devzone/cda/tut/p/id/2931
    In addition, USB-6008 is only officially compatible with DAQmx (previously, the plaform was Traditional DAQ). You would need Traditional DAQ to work with CVI 5.0, but the USB-6008 doesn't officially work with that.
    Someone here might have an alternative solution, but though it seems you need to use CVI 5.0, is it possible to upgrade this?
    Ravi A.
    National Instruments | Applications Engineer

  • I'm looking for examples of CAN control code with LabWindows CVI

    I'm looking for examples of CAN control code with LabWindows CVI.

    Hi,
    The NI-CAN driver installs some examples for both the frame API and Channel API (NI-CAN 2.0).
    The typical installation directory is:
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\nican.
    It might change depending on where you installed CVI.
    DiegoF

  • NI USB-6501 - 24-line Digital I/O (NI-DAQ) with LabWindows/CVI 7.0 ?

    Hi
    Can I use a recent NI USB-6501 - 24-line Digital I/O (NI-DAQ) with LabWindows/CVI 7.0, even if Labwindows/CVI 8.x is required ?
    Thank you
    Dayn
    Solved!
    Go to Solution.

    Hello.
    In DAQmx Readme, you can see which version of CVI are supported by the actuel DAQmx version. For a 6501 card, 8.7.2 or 8.9.5 DAQmx versions will work.
    Regards

  • Mysql database connection with Labwindows/CVI 2009 sql toolkit

    Dear experienced users,
    I am using the following software/hardware:
    Windows 7/ Mysql database 5.6.15 64-bit with MySql ODBC 5.2 Ansi driver installed
    Labwindows/CVI 2009 with sql toolkit
    The user DSN of ODBC Data source administrator have been confiugred to one of mysql database. The test MYSQL Connector/ODBC is succesful.
    The Labwindows/CVI build setting is configure to debug64 after trying debug (32)
    The source code is from the example readtab.c with changes to the dsn I am testing
        hdbc = DBConnect ("DSN=dvd_collection");   
    The error message I have is confusing me.
    (it is in the attachd png)
    I thought it was due to the 64 bit mysql database. That's why I tried the 64 bit build from Labwiondws/CVI. I alsow tried Labview DB tools open connect.vi. It shows me the same error.
    Any suggestion is appreciated.
    Thanks,
    Jimmy
    Attachments:
    Capture.PNG ‏24 KB

    Jimmy
    I always use connection strings of the form "DSN=datasourcename;UID=database_user_id; PWD=database_user_password".
    Where:
    datasourcename = The name of the connection defined in the ODBC connection.
    database_user_id = One of the user identities created by the database administrator. Obviously the administrator will lock down the permissions appropriate to the task in hand.
    database_user_password = The password that identifies database_user_id, again set by the database administrator.
    Note that while it is obviously desireable to lock the permissions down as far as possible on the MySQL server, the more you do so, the slower the database will run, because of the way mySQL searches the permissions tables.

  • I used to working with Labwindow CVI and i would like to know how can i use the commands "loadpanel" and "Displaypanel " in Labview. Using Invoke Nodes?

    I want to make another panel appears and runs, but i don´t want to use a subpanel. So, i would like to use somenthing similar to Loadpanel and Displaypanel, that you can use in Labwindows CVI, but in Labview, is ti possible?I hope your answers, thank you!!!

    Hi Bichillo,
    I posted an example here.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650000000500000014570100&HTHREAD=000087828&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    It demonstrates how to do what you are asking.
    I do not mind you laughing at the code.
    Have fun!
    Ben

  • NI DAQ Task with LabWindows/CVI

    Bonjour,
    A partir de l'outil NI DAQ, j'ai créé une tache pour générer une tension sinusoidale que j'inclus dans mon projet
    Je créé un handle, j'appele la fonction générée par NI DAQ, puis je libère correctement la tache
    aucune remontée d'erreur des fonctions NI appelantes.
    le problème : à partir de NI DAQ, j'observe bien ma tension sinusoidale en sortie sur Dev1/ao0 mais quand j'execute mon projet LabWindows, rien ne se passe...
    merci

    Bonjour,
    Je vous propose de vous assurer dans un premier temps que l'exemple CVI "ContGen-IntClk.c" fonctionne correctement.
    Si oui, il faudra dans un deuxième temps supprimer les lignes suivantes:
    DAQmxErrChk (DAQmxCreateTask("",&gTaskHandle));
    DAQmxErrChk (DAQmxCreateAOVoltageChan(gTaskHandle,chan,"",min,max,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (SetSampleClockRate(gTaskHandle,frequency,sampsPerBuffer,cyclesPerBuffer,
                                &desiredSampClkRate,&sampsPerCycle,&resultingSampClkRate,&resultingFrequency));
    DAQmxErrChk (DAQmxCfgSampClkTiming(gTaskHandle,"",resultingSampClkRate,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000));
    et de les remplacer par la fonction "DAQmx Load Task".
    Le start et le write qui suivent doivent être gardés.
    Cordialement,
    Thomas B. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Inscrivez-vous gratuitement aux Journées Techniques : de l'acquisition de données au contrôle/com...

  • Current pulse with labwindow cvi

    Hello,
    I'm just a beginner in labview cvi! I have a continuous generator current and i  want to make pulse with it.
    i want to define the cycle time and the frequency and i don't want to depend of the clock of window
    I've already define the channel of the current generator
    #include windows.h
    int i;
    int cycle_time= 1200(s);
    int frequency = 1000 (hz);
    while (i<=cycle-time*frequency){
    DAQmxWriteAnalogScalarF64 (current_task, 1, 0, 100, 0);
     DAQmxWriteAnalogScalarF64 (current_task, 1, 1/2Frequency, OFF, 0); 
    wait (1/2frequency) (or sleep(1/2frequency);
    i++;
    thanks for your help

    Hi Bichillo,
    I posted an example here.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650000000500000014570100&HTHREAD=000087828&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    It demonstrates how to do what you are asking.
    I do not mind you laughing at the code.
    Have fun!
    Ben

  • I would like to do a loop (with LabWindows CVI 5.0) if the result of the toggle button check box is right. But it doesn't run because I don't know how can I have this data?

    If you have an answer, please send me an e-mail.
    Thank you very much for your help.
    A French guy.

    Guess I'm missing something...
    The simplest way to do this is to use GetCtrlVal (panel, Control, &val);
    val (integer) will be 0 if checkbox is not checked, 1 if checked.
    Should your actual problem be different just explain me and I'll try to help you.
    Roberto
    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?

  • Can capture the service control message with LabWindows/CVI ?

    Using the Instsrv.exe and the srvany.exe tools to register my application as a Windows service, expecting  the application will follow  the OS starting. Due to the service can be interrupted through the manual way, for example, in the service window, one can start o stop a service, so hope to receive the service stop message in my CVI application.
    The application use "RunUserInterface()" to support the message  procedure, onece can capture the service stop message, I can use QuitUserInterface() to complete the application. Is there any way to do that? Thanks.
    David

    Hi,
    The NI-CAN driver installs some examples for both the frame API and Channel API (NI-CAN 2.0).
    The typical installation directory is:
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\nican.
    It might change depending on where you installed CVI.
    DiegoF

  • Documentation on How to Develop an OPC Client Using LabWindows/CVI?

    What documentation is there on how to develop an OPC client application using LabWindows/CVI?  What tutorials, if any, are there?  What reference manuals, if any are there?
    I am completely new to LabWindows/CVI.  I will be starting soon with the tutorial, "Getting Started with LabWindows/CVI".  However, our application needs to communicate with an RSLinx OPC Server.  Any documentaiton on how to learn to do this would be very much appreciated.

    http://www.ni.com/white-paper/4626/en/  Just did a quick google and this came up, Labwindows CVI and Labview are quite different but I usually look at Labview examples then try take the general idea from the example and apply it in CVI, hope this helps

  • Where can I get Labwindows/CVI v4.0?

    Hi,
    I have been programming with Labwindows CVI at work for the past 4 years
    and I would like to buy a legit copy for my home. I can get buy with 4.0
    asopposed to 5.0 mainly because of price. Does anyone have a copy that
    they don't need after upgrading to 5.0 ?
    email me at [email protected]
    Thanks,
    Russ
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    Hi Russ,
    What is the price you're looking to pay for CVI 4.0?
    Because once you have CVI 4.0, you can upgrade to the Measurement Studio
    Full
    Development System (which has CVI 5.5 and other tools for Visual C++ and
    Visual Basic)
    for $295.
    And this is a really good deal because if you want to buy the base package
    of Measurement
    Studio (which has CVI 5.5 as well) it's $995 and the Full System is $1995 !!
    So you save big time by buying a cheap (hopefully) CVI 4.0 and then later on
    you can upgrade
    to CVI 5.5.
    Just adding my two cents.
    Azucena
    wrote in message news:8dodr2$vvn$[email protected]..
    > Hi,
    >
    > I have been programming with Labwindows CVI at work for the past 4 years
    > and I would like to buy a legit copy for my home. I can get buy with 4.0
    >
    asopposed to 5.0 mainly because of price. Does anyone have a copy that
    > they don't need after upgrading to 5.0 ?
    >
    > email me at [email protected]
    >
    > Thanks,
    >
    > Russ
    >
    >
    > Sent via Deja.com http://www.deja.com/
    > Before you buy.

Maybe you are looking for

  • Apple TV won't play thru my receiver

    I recently purchased a Pioneer VSX-522-K AV receiver and I can't get my AppleTV (latest version) to play through it. The HDMI inputs on the receiver are: DVD, Satellite, Game and Blu-Ray. The satellite works fine, my DVD player works fine fhrough the

  • Error Code RW:- 50004 During EBS Installation

    Hi Friends , While I am Installing Oracle EBS ,it is done upto 20% and Throws an Error RW:50004 :Error Code Received when running external process. ...Please help how to resolve this issue??

  • Problem in changing HOTKEYS using fmrweb.res in Forms 10G

    Hi i am working on ORACLE FORMS 10g.In our requirement the Hotkey for Save Button is F9 , Add Button is F8, Exit is F5.I changed these values in the fmrweb.res but F9 Key for Save is not working.I used the command Save for F9 then later changed it to

  • How to validate the Email string

    Hi all, How do you validate for a valid email string under regular expressions? Regards David

  • Memory recommendations

    Hello I was wondering if there are any recommendations on a 64-bit JVM and usage of more than 4GB of memory? Also, are there any impacts or concerns running multiple application server JVMs in Solaris 10 containers using either Sun JVM or BEA JRockit