LabWindowsCVI

Hola yo aqui de nuevo.... tengo una duda, si creo mi proyecto con labwindows/cvi puedo correrlo en mi cFP-2020 ? si es asi como creo mi proyecto y como lo cargo en el field point, como le pongo que es con el modulo Real Time, bueno espero me puedan ayudar...
saludos

Hola Rulas,
Gracias por utilizar los foros de NI.
Puedo recomendarte un pequeño tutorial sobre RT utilizando CVI esperando que te sirva como punto de partida para tu aplicación.
http://zone.ni.com/devzone/cda/tut/p/id/3591
Espero te sea de utilidad.
Saludos,
Arturo Vargas
National Instruments de México

Similar Messages

  • How to add a secondary axis on a excel graph with labwindowsCVI?

    Hello,
    I am currently working on LabWindowsCVI and I treat my data in excel files. I use ExcelReport and Excel2000 instruments to build my data tables and my graph. To trace, I use this function:
    ExcelRpt_ChartWizard (chartsheetHandle, ExcelWorksheetHandle, "A1: C619" ExRConst_XYScatterSmoothNoMarkers 0, ExRConst_Columns, 1, 1, 1, "Consumption mobile plateform", "TIME (sec)", "Current / Voltage (in V & A in)" , NULL);
    In this configuration, column A is X axis and B & C (Y axis) my respective data voltage & current.
    My graph are traced correctly, but I find a problem, 2 curves are on the main axis and I want to trace one on the main axis and the other on the secondary axis. I can't to display a secondary axis.
    Does this action is it possible with a LabwindowsCVI function and if so, can you tell me that function?
    Thank you in advance,
    Nicolas
    Solved!
    Go to Solution.

    Hi! nlepouliquen,
    First of all, I believe you have two curves successfully plotted on the chart as you mentioned.  Excel asigns these two curves as data series 1 and 2 internally.  Assume you want to change series 2 to be plotted against the sencond Y-axis.  You can use the following two functions, defined in excel2000.c, to do it.
    // select series 2 data
    Excel_ChartSeriesCollection (chartsheetHandle, NULL, CA_VariantInt(2), &seriesTwoHandle);   
    // create the second Y-axis and plot series 2 data against it
    Excel_SetProperty (seriesTwoHandle, NULL, Excel_SeriesAxisGroup, CAVT_LONG, ExcelConst_xlSecondary);

  • Comment ajouter un axe secondaire dans un graphique excel avec LabwindowsCVI?

    Bonjour,
    je travaille actuellement sur LabWindowsCVI et je traite mes données dans des fichiers excel. J'utilise bien les instruments excelreport et excel2000 pour construire mes tableaux de données et y tracer mes courbes. Pour les tracer, j'utilise cette fonction:
    ExcelRpt_ChartWizard (chartsheetHandle, ExcelWorksheetHandle, "A1:C619", ExRConst_XYScatterSmoothNoMarkers, 0, ExRConst_Columns, 1, 1, 1, "Consumption mobile plateform", "TIME (en s)", "Current/Voltage (in V & in A)", NULL);
    Dans cette configuration, la colonne A est mes abscisses et B & C (ordonnées) mes données respectives tension & courant.
    Mes courbes se tracent correctement mais je tombe sur un problème, elles sont tracés toutes les deux sur l'axe principal et je voudrais en tracer une sur l'axe principal et l'autre sur l'axe secondaire. Je n'arrive pas du tout à afficher un axe secondaire.
    Est-ce que cette action est-elle possible avec une fonction LabwindowsCVI et si, oui, pouvez-vous m'indiquer cette fonction?
    Je vous remercie d'avance,
    Nicolas

    Bonjour Nicolas,
    Vous pouvez utiliser la fonction ExcelRpt_SetChartAxisAttribute pour utiliser un Axe Y Secondaire.
    L'aide de la fonction se trouve ici: http://zone.ni.com/reference/en-XX/help/370051V-01/toolslib/functionreference/cviexcelrpt_setchartax...
    Cordialement,
    Benoit S. - Field Sales Engineer
    Certified LabVIEW Developer
    Certified TestStand Developer
    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;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • Frame Channel Conversion Library for LabwindowsCVI

    Could someone help me to identify Frame Channel Conversion Library for LabwindowsCVI. I found a library for labview and it is working fine with my USB8473. But i really need to get it working with Labwindows. Have anyone tried to access the frchconvlib.dll from labwindows? Thanks in advance.

    Unfortunately, the C API is not documented, nor is it stated as a supported interface.
    With that said, you may be able to dig into the VI's of the Frame Channel Conversion Library and pull the function prototypes from the Call Library Function Node on the block diagram of each one. With this information, you could call the functions from the dll (usually located here: C:\Program Files\National Instruments\NI-CAN\CAN Frame Channel Conversion Library 1.0.2\Drivers) from within C.
    Let me know your thoughts and if you have any success.
    Regards,
    Peter Flores
    Applications Engineer

  • Bilder einer GigE-Kamera mit LabWindowsCVI grabben, auswerten und als Video-Stream in AVI-File speichern

    Ich möchte in einer LabWindowsCVI-Anwendung Bilder einer GigE-Kamera mit IMAQdx grabben und mit dem NI Vision Devolpment Modul auswerten und als Videostream mit 30 fps in einem AVI-File speichern. Mit "imaqCreateAVI" und "imaqWriteAVIFrame" kriege ich das avi-File zwar geschrieben, erzeuge aber wahlweise sehr große Datenmengen oder zu gering aufgelöste Videos mit den zur Verfügung stehenden Kompressionsfiltern  Ein H.264 Video Encoder ist im aktuellen Vision Development Module wohl nicht enthalten, oder? Kann ich den auf anderem Wege bekommen oder kommt der demnächst im VDM2013?

    Thank's, GuentherMueller, I think ist is a  good idea to carry on in English. Hopefully I'm not the only CVI user who wants to create AVI-Files to archive the images from a IMAQdx driven camera. Perhaps and I can get some advice from others already concerned with my question. I also used "imaqGetFilterNames()" to get the list of available compression filters on my PC. In fact I've got two different development machines, and I put a screenshot of the one with the newest VisionDevelopmentModul Version 2012SP1, a windows7prof64Bit system, as an attachment to this reply to show the installed NI software components and the compression filters found on it by my CVI-Program. When I start my program on an older XP-System still used to compile older CVI2010SP1 applications, I get some different compression filters displayed, how and when they were installed on my PC... I don't know. Which compression filters are really delivered with Vision Development Module 2012 SP1? How can I install and use different ones like xvid or x264?
    Thanks for your help!
    Attachments:
    NIcomponentsAndCodecsOnWin7prof64Bit(NewstVersions).jpg ‏163 KB

  • How can I create a custom step that does nothing but make calls to a dll

    What I'd like to end up with is a Custom step that
    1. Takes several string parameters
    2. Makes several calls to functions in a DLL
    3. Returns and stores error codes returned from the function
    I've been through the KB article "How Do I Make a Custom Step Type".
    This got me about halfway there; while helpful, it didn't provide a
    reference for some of the questions I had, specifically:
    1. What sort of sequence action type should I start with (to use as a template)?
    2. If I start with a "Call Executable", do I need to specify the module when I incorporate the step into the sequence?
    3. How does one pass parameters in and out of a custom step type?
    4. How does the step type report progress/errors to the report?
    Thanks in advance.
    Mike

    Hi,
    To interface to a DLL you will need to use either the DLL Adapter or the CVI Adapter, not the Call Executable adapter.
    Have you been through the Using LabWindowsCVI with TestStand manual. This should answer all your questions, all the chapters are relevant.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Find_Index error

    I'm using a PCI-7324 and LabWindowsCVI v. 5.5 .
    I have this problems:
    1) After power_on the PC, if I send a find_index command the PCI7324, this return a NIMC_CIPBitError (Error 7007) and the motor don't start for search index. (If I send a absolute position command it work properly)
    2) The only method to execute the Find_Index function is execute a command position, then send the Find_Index function and the motor start and find the index (the bit in axis_stat is 1), but the PCI-7324 return a NIMC_currentPacketError (Error 7002).
    I need a source code exemple of the sequence of function to call for execute the Find_Index function.
    ThankYou

    Gaulty,
    Here is some sample code that I know that works. You might not have you system initialized or setup correctly.
    #include "flexmotn.h"
    #include
    int Status;
    int main (int argc, char *argv[])
    Status = flex_find_index (2, NIMC_AXIS2,NIMC_FORWARD_DIRECTION, 0);
    return 0;

  • Question about the Signal Processing Toolkit

    I am using Measurement Studio with Visual C++ 6. Is it possible to use the
    Signal Processing Toolkit in this environment or does LabWindowsCVI have to
    be used? Would the toolkit supply a lib/dll that could be linked into a
    VC++ project and called directly from the program?
    Thanks

    You can use the signal processing toolkit libraries in VC++, but the libraries do depend on CVI libraries. The easiest way to create a Visual C++ project that links to the CVI libraries would be to either a.) create the project in CVI then convert it using the Measurement Studio CVI conversion wizard, or b.) create a Visual C++ project that uses the CVI libraries with teh Measurement Studio application wizard.
    For more information on the conversion wizard, see the following topic in the Measurement Studio references:
    (Measurement Studio for Visual C++ 6)
    Visual C++ Help\Tutorials\Getting Started\Measurement Studio for Visual C++ 6.0\Converting LabWindows/CVI Projects to Measurement Studio for Visual C++ Projects
    (Measurement Studio for Visual C++ .NET)
    Visual C++ Help\Tutorials\Getting Started\Measurement Studio 6.0 for Visual C++ .NET\Working with LabWindows/CVI Projects in Visual C++
    - Elton

  • VARIANT data in TestStand

    I want to control a program using ActiveX in TestStand. I can successfully obtain a reference to the VI object in the program. The server program was written in LabView and allows the Call method of ActiveX to control the program. The Call method requires two parameters. Both are of data type VARIANT (parameterNames, parameterValues). The parameterNames are basically strings, but the parameterValues are mixed type(string, int, bool,etc).
    Is there a way to create a data type of VARIANT in TestStand to pass data through the ActiveX adapter??
    Note that I can do this in LabWindowsCVI, but I was trying to avoid writing a special DLL and use the TestStand Adapter.

    Bob asked what you meant by mixed data types. To clarify, the LabVIEW ActiveX server has a call method. It's second parameter is a varaiant array of variants, where the elements can be different (mixed) data types. Each data type corresponds to the LabVIEW control specified in the first parameter of the Call method, which is a variant array of strings.
    As Bob explained, the ActiveX automation adapter is able to automatically convert TestStand properties to variants, when the data type of the properties are support ActiveX data types (e.g. most scalars and arrays of these scalars).
    For the first parameter of the Call method you can send in an TestStand array of strings. This array will automatically be converted to a variant array of BSTRs be
    fore being passed to the Call method.
    Currently TestStand does not support a variant data type. Therefore, it is impossible to create an array of variants so that the array can in turn be converted to a variant by the ActiveX Automation adapter.
    In general, the ActiveX automation adapter does handle sending data from/to an ActiveX server. The issue of passing arrays of variants has not occurred very often. We have encountered it once internally at NI, but I believe that you are the first customer to ask about passing arrays of variants.
    In terms of the big picture, I don't understand why you are calling a VI using the AcitveX automation adapter instead of the the LV adapter. If the vendor has already created a VI to call another VI through the LV ActiveX server (why does he/she do this?), then perhaps you should just call the vendor's VI directly.

  • TS 4.0.1/CVI 8.5:Great River Tech Driver Fails with Teradyne M920

    I have an application that I developed that uses 2 Great River Technology (GRT) PCIe cards (for hotlink video data) and a Teradyne M920 (pattern generator/logic analyzer) running in a VXI chassis.  The development platform is WindowsXP, LabWindowsCVI 8.5, and Test Stand 4.0.1.  The problem is that when I run the sequence, one or both of the GRT cards fail to initialize and I get a hardware error message returned from the GRT driver (which is an XP installation).  Once this happens, the only recovery is to power down the PC (a reboot is not enough).  Note that the initialization failure occurs about 90% of the time.  When it doesn't fail, the sequence fails further into the testing as soon as I try using the GRT cards.  The Teradyne always works, but during my debugging efforts, I found that if I didn't load the Teradyne driver, the GRT cards work ok.  So the problem appears to be related to the combination of CVI/TS when used with GRT/Teradyne drivers.  Remove TS and all is well, except of course that we prefer to use TS - this is mature software that has been migrated from NT to XP.  The NT version was very different - older versions of CVI/TS and older versions of many of the device drivers we use.  Also didn't use the GRT cards.
    I modified the CVI software to run as a stand-alone executable.  It runs fine - 100% of the time (unless of course it had already failed using TS and not repowering the PC).  I also ran the test software supplied by GRT and Teradyne.  Again - runs 100%. 
    Any ideas?
    Thanks, Pete

    Hello Pete Bratko,
    Thank you for posting on the NI Discussion Forums.  I am assuming that you are doing all of your driver function calls (initializing calls, etc.) with code written in LabWindows/CVI.  Could it be that you are passing some incorrect parameters into the step that calls this code?  All TestStand does when calling the code module is run the external code, and pass it input parameters and read output parameters if they are applicable. 
    What does the error message from the driver say? (A screen shot would be great).  Is there any hint as to what is causing it?  Does the same error appear at both initialization and other calls?  Some more information here would be helpful.
     If you are indeed making calls to the DLL from code you have written CVI, then you can step into the code from TestStand by following these steps:
    (1)    Go to Configure » Adapters…
    (2)    Highlight LabWindows/CVI and select Configure…
    (3)    Under Step Execution, select the radio button that says Execute Steps in an External Instance of CVI.
    (4)    Select OK and then Done to let the settings take effect.
    (5)    Place a breakpoint at the step that the CVI is called and run the sequence.
    (6)    When the sequence editor gets to the breakpoint, select Step Into (F8) to step into the CVI code.
    Once in the CVI code, you can step through it and find out exactly what line the error is coming from.
    The fact that the drivers do not play well together is also strange, and raises a red flag, but it sounds to me like there is something wrong with the code that is being called (is it a .c or .dll file?)  Try out the above steps and let us know what you find.
    Chris_G
    Sr Test Engineer
    Medtronic, Inc.

  • The digital relationship of scanRate and sampleRate

    Hello:
    I'm using PCI-6024E DAQ board and labwindowscvi 5.0.1 to do some work.I failed to calculate the digital relationship of "sampleRate and scanRate" --- two parameters in the function "scan_op" of multichannels sample.Because when I set channelsnumber to 2(sample two AI channels),the scanRate to 500 scans per second and sampleRate to 800(400 samples per channel per second),I find sampling failed.When I change sampleRate to 1000(500 samples per channel per second) or 2000(1000 samples per channel per second),then sampling successed.So I think scanRate,sampleRate and channelsnumber must satisfy an digital relationship.But I failed to find it.If you know,please tell me,thanks.

    Hello;
    A value of 0 for the Scan Rate means there is no delay between scans and the effective scanRate is sampleRate / numChans.
    When scanRate is not 0, scanRate must allow a minimum delay between the last channel of the scan and the first channel of the next scan. This delay must be at least 11 ?s on the AT-MIO-16X and 6 ?s on the AT-MIO-16F-5 and AT-MIO-64F-5. For E Series devices, this delay corresponds to the speed of the board. For example, 1 ?s for an E-1 board, 2 ?s for an E-2 board, and so on.
    Hope this helps.
    Filipe
    Applications Engineer
    National Instruments

  • Need to install LabWindows​/CVI PID Control Toolkit (Part Number 320794A-01​)

    Hello -
    I have a customer with a very old application who needs to upgrade their system to Win7 64-bit. The app references the old PID functions (manual here: http://www.ni.com/pdf/manuals/320794a.pdf) but no matter what I have searched for, I cannot find an installation for that toolkit. I have never had a need to use the current PID toolkit so I am not versed with it, and the difference in the functions do not seem to be a 1 to 1 change. Additionally, the customer is not paying for a code change - just assistance with the upgrade and reinstall. I would greatly appreciate if someone could point me to that download. 
    If such a download is not in existence any longer, I will need to request some assistance with modifying the source to use the current PID functions. I could attach the pertinent code if need be (there are not a great deal of references).
    Thank you.

    Hi CVIBri,
    The installation files for the LabWindows/CVI PID Control Toolkit 2.1 are located at the URL below.  I realize these are only officially compatible with versions of Windows up to Vista, however this is the most recent version of the toolkit that exists.  I've also provided a link to the Evaluation License Files.  That being said, LabWindows/CVI 2013 SP2 now includes the PID Control Toolkit as part of its Base and Full versions, and it is fully licensed with the same serial number used to activate the LabWindows/CVI development environement. The Readme linked below should provide more information.
    PID Control Toolkit: http://www.ni.com/download/labwindowscvi-pid-contr​ol-toolset-2.1/1037/en/
    PID Control Tookit Evaluation License Files: http://www.ni.com/download/labwindowscvi-pid-contr​ol-toolset-2.1/1038/en/
    LabWindows/CVI 2013 SP2 Readme: http://www.ni.com/pdf/manuals/374674a.html
    Thanks,
    Myriam

  • Looking for Freelance Opportunities for LabView/Embedded Applications.

    Hi
    I have extensive experience in LabVIEW and Embedded Systems Development.
    Please contact me if you have any freelance projects that need assistance.
    [email protected]
    Thanks.
    Ravi

    Hi,
    i am interested in this project. I have 12 experienced in test & measurement solution In auto industry.
    working tools(labview, teststand, labwindowscvi, vc++, vb, vector CAN driver development).
    i will send you my resume for more info.
    /domie.
    Email:[email protected]

  • Compatibility labwindows 6.0 - Siemens ActiveX OPC Objects

    It seems impossible to assign datas from Siemens OPC server with controls (number, slider, ...) under UIR in LabWindowsCVI 6.0
    The instrument driver (.fp) is correctly created, and the OPC object can be inserted in the UIR.
    But in its properties, the ActiveX controls are not visible, so the association is not possible !
    In comparison, the same operation work under Excel, and the list of controls is not empty.
    Is LabWindowsCVI 6.0 a compatible container for Siemens ActiveX objects (Simatic Net Opc Data Control from Siemens OPC Server V5.3) ?
    Do we need some "dll" or updates to make it work ?
    Thanks to confirm the compatibility.
    Franck Dubreuil
    [email protected]

    Dear Benjamin,
    You don't need to install the Siemens OPC Server to see my problem.
    I send you 2 pictures to show you what is my problem.
    With Excel the ActiveX object display a list of "controls" (picture 1).
    With LabWindows 6.0 the same list "controls" in the "property sheets" tag "Items" stay allways empty (picture 2).
    I'm afraid I won't ask Siemens, because the same "ocx" file can easily be used with Excel, but can't be used with LabWindows 6.0 !!!!!!!!!
    Please just take a look at my pictures.
    Franck Dubreuil
    [email protected]
    Attachments:
    ExcelTagItems.jpg ‏20 KB
    LabWinEmptyTagItems.jpg ‏20 KB

  • A button, led and switch

    Hi. I'm new in the LabWindows CVI and i put to panel a toggle button, a led and a binary switch. I want to turn on the led when i pressing the button and to change the color of led from switch. I put all components to panel, i set a callback function for each, i generate all callbacks from menu and the next step i think it is to use GetCtrlVal and SetCtrlVal, but i don't know how to use this function and where to use. I need help..I had never used LabWindowsCvi before

    pleasure ha scritto:
    you activate the led only from the buton, and change the colour from the switcher as you said...
    Hi pleasure,
    I have to disagree with your solution: turning on a LED has nothing to do with dimming it.
    Turning a LED on means changing its state from 0 to 1 by using SetCtrlVal (or SetCtrlAttribute with ATTR_CTRL_VAL, which is the same): what you are doing in your ChooseColour function.
    You can edit LED properties and play with both Initial State and Initially dimmed parameters and see in the preview box which is the effect of both: each of four combinations of those attributes is valid, but it will have a different visual effect as you can see here:
    Keep in mind, additionally, that dimming a control has usually the meaning of declaring it inactive in the current situation: it is well different from an off led!
    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?

Maybe you are looking for

  • Taxes button not appearing in PO

    D/ Friends, In the T.Code ME21N, at itm lvl-> Invoice tab, we're not getting Taxes button for some users. Due to which they are not able to go inside the Taxes window. BASIS is saying that some T.Code authorization is missing but could not find which

  • I have two Officejet 6500a's. How do I get them both to work with my laptop?

    I now own two Officejet 6500a plus All-in-One printers.  I take my laptop back and forth between where they're located.  I have the driver on my laptop, and it works with one of them, but how do I make it recognize the second one...and also not then

  • How to get path of a VI used in LV project?

    How can I get the path of a VI used in LabVIEW project? Actually I want to replace the VI used in LV project by saome other VI, and I think it can be done if I get the path of the VI already present in project and replace that path with path of the V

  • Where do I find settings to be able to read/print a internet page when disconnected?

    I use mobile broadband, and some times the connection can be lost for a long time. So I want to be able to download or save automatic some of my bookmarks for example.. But I cant find the setting for that feature Please advise =)

  • Show total sum in SAPUI5 Table

    Hi, I want to show the total of a column as a final row of the table. Need help in achieving it. Below is a mock up of what I am looking for. Right now the only thing I can think of is table footer text. But Is aligning the same with a particular col