analysis using LabWindows/CVI 8.5 Library



Tags: NI Software

Similar Questions

  • 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

  • Complex Web Services (WSDL) data using Labwindows/CVI 8.1 and SOAP Toolkit 3.0

    Normal
    0

    fake
    fake
    fake

    MicrosoftInternetExplorer4

    Success that I built a client for the service .NET assembly generated a DLL and use the controller .NET Wrapper as suggested and was able to successfully access the servce sea functions.

    Thank you...

  • Import and export a MAX Configuration using Labwindows CVI?

    I know it's possible with labview http://digital.ni.com/public.nsf/allkb/BBB5B94C038267DF8625723E00030559?OpenDocument

    Is this possible with CVI or Teststand?

    Kind regards

    Grosbois

    There is a new pilot called NOR Configuration System.

    With this driver, you can configure and change things in MAX.

    If you have already installed, select help > find examples > between output material & > System Configuration.

    If you have installed, you can download it from this link:

    http://Joule.NI.com/nidu/CDs/view/p/ID/2613/lang/en

  • How can I transfer content from an XML file in a MS SQL database of the stored procedure using LabWindows/CVI SQL Toolkit?

    Hello

    I have a problem to transfer content to an XML file in a MS SQL database through a stored procedure data/fixed. I am able to transfer the content of the file using method...

    HSTMT = DBPrepareSQL (hdbc, EXEC usp_InsertReport " ... ");

    resCode = DBExecutePreparedSQL (hstmt);

    resCode = DBClosePreparedSQL (hstmt);

    ... but in this case, I am not able to read the return value of the stored procedure.

    I tried to follow the example of the stored procedure in the help documentation (DBPrepareSQL), but I miss a xml data type?

    No idea how to solve my problem?

    Cake of KR

    DianaS salvation,

    Thanks for your comments. During this time I found another way which fullfill my needs:

    resCode = DBSetAttributeDefault (hdbc, ATTR_DB_COMMAND_TYPE, DB_COMMAND_TEXT);

    sprintf (sz_SqlStatement, "DECLARE @TESTID INT EXEC @TESTID = usp_InsertReport ' SELECT 'RetVal' %s = @TESTID", sz_Buffer ");
    HSTMT = DBActivateSQL (hdbc, sz_SqlStatement);

    While ((resCode = DBFetchNext (hstmt)) == DB_SUCCESS)

    {

    / * Enter values in the record. */

    resCode = DBGetColInt (hstmt, 1, & s32_TestId);
    }

    resCode = DBDeactivateSQL (hstmt);

    sz_Buffer is the content of the XML file.

    Cake of KR

  • How implement not checking in LabWindows/CVI interchangeability?

    Hello

    I'm creating a driver of IVI - C using LabWindows/CVI 2012. I used IVI Instrument Driver Tool Wizard and he created most of the code to support inherent attributes and functions of the IVI.

    I do not plan to support the verification of interchangeability in option and according to the specifications of the IVI (IVI-version 2.1, 3.2 section 5.21):

    «If the IVI specific driver does not implement verification of the interchangeability, the specific driver returns the unsupported value error when the user attempts to set the attribute Interchange check true.»

    It would be a simple task if I could change the reminder of the writing of the Interchange attribute check. However, LabWindows/CVI does not any change of an inherent attribute. How can I make the driver returns the value not supported error when the user attempts to set the attribute Interchange check true?

    Any help is appreciated!

    Thank you.

    Hello buckhorn,.

    From your statement, I tried to 'Edit' the reminder of the writing of_ATTR_INTERCHANGE_CHECK attribute and seems it worked. Here is part of the codes.

    1. Create a ViBoolean write callback function:

    static ViStatus _VI_FUNC agx2k3k_InterchangeCheckWriteCallback(ViSession vi, ViSession io, ViConstString repCapName, ViAttr attributeId, ViBoolean value)
    {
        return IVI_ERROR_INVALID_VALUE;
    }
    

    2. Add the callback function to ATTR_INTERCHANGE_CHECK:

    checkErr (Ivi_SetAttrWriteCallbackViBoolean (vi, AGX2K3K_ATTR_INTERCHANGE_CHECK, agx2k3k_InterchangeCheckWriteCallback));
    

    I hope that it might help for your case.

    Thank you

    -Charles

  • Suddenly have a problem starting LabWindows CVI 7.0 on XP system

    I've been using LabWindows CVI version 7.0 on a Windows XP operating system.  Earlier in the day, I changed my system screen resolution and was working with the applications.

    Everything seemed to work, but at some point, I finished the session, then restarted.   Instead of leaving, I have a Message popup that says "Index passed is out of reach" and the CVI application closes.

    I tried to reinstall CVI original cast CD.  When everything was installed I get the same message when you attempt to start the CVI.

    Anyone have any idea what could be wrong?

    I vaguely remember having a similar problem a few years ago, because I think that something in the windows registry fixed - but I'm not sure.

    Thank you

    Sweeney

    Well, I tried to remove the entries from registry for National Instruments.  After starting and seem to work.

    PROBLEM SOLVED

  • Using a DLL built with LabWindows/CVI

    Hello world

    I'm pretty new in the environment, LabWindows/CVI, until present excuses for any silly question. I have a real-time application running in a PXI, but I want to "complete" by adding new features, I have in the C Code generated from Dymola. I thought about creating a DLL of this code (using LabWindows) and then insert it in the .vi (the one I have running in the PXI) using the library function call so that I could have the new .vi running in PXI.

    Will it work?

    Thank you

    Hi all

    I S is true, you can find this knowledge base and really useful related links. This tutorial looks also interesting. However, take into account that the code runs on a real-time platform (such as the functions will work with the same priority as the appellant threadand, many other issues). Remember to FTP the file *.dll for PXI.

    Hope this helps,

  • 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

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

  • Using the CVI TS_StationOptionsGetExecutionMask

    Hello

    I'm trying to use the CVI TS_StationOptionsGetExecutionMask to change the properties of execution mask programmatically. When I try to run the user interface, I get an error "no such interface took in charge."

    Object handle shouold be used with this function?

    What context is it in?

    I tried the motor handle, the handle of the application manager, etc.. Still the same error.

    There is a serious lack of information about a part of NOR. There is a lot of help on the classes and properties, but the help and information on the methods and more specifically library features TestStand for Labwindows/CVI is no-do. A lot of Labview help out there on the use of classes and the manipulation of properties and such, but zilch of the NOR forgotten the LabWindows step child!

    If anyone looks like this, I solved my problem with the TS_EngineGetStationOptions function to get the handle of the StationOptions object.

  • DLL for LabWindows/CVI 8.0 with the bool data type

    Hello

    I want to use a new SWIR camera in LabWindows/CVI 8.0 (Windows XP 32bits).

    The company delivered with the camera produced a 32-bit dll by using Microsoft Visual C++ 2010. The .dll and .lib and .h files include a working SDK/API (some functions with the bool data type)

    Compilation-online syntax error, variable Boolean is not a data type in LabWindows/CVI 8.0

    Generate the import of DLL-online syntax error library

    I tried to convert bool char (typedef unsigned char bool => no more syntax error but the functions does not work.)

    What can I do?

    Martin

    Hello again, Naumann!

    Microsoft Visual C++ 2010 represents Boolean using 1 byte, as stated by MSDN: https://msdn.microsoft.com/en-us/library/tf4dy80a(v=vs.100).aspx

    I guess that you import C++ functions using the syntax for extern "C". Otherwise, because of the C++ name mangling wouldn't you able to bind C++ library against your code CVI.

    You can also specify how you import C++ functions?

    In addition, because you have not described the problem as a corruption of heads or runtime error, I guess the C++ library function is called correctly the CVI. That said, I tend to believe that the problem is not really in the mechanism of interaction of C/C++, but in the C++ library. If you would start calling a dummy C++ function returning an integer from a simple CVI application that should work, because redefine bool in CVI 1 byte must ensure that settings are correctly transferred onto the stack.

    If you need to create a wrapper function of C++ that is not using bool and calls the C++ function, I expect to return the same result.

    Maybe you are missing a few prior initialization steps required? The provider of the camera also comes all example code?

    Best regards!

    -Johannes

  • 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

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

  • LabWindows CVI and debugging dll MSVC ++

    We use a written LabWindows/CVI DLLS in the code for Teststand module. This DLL calls a DLL written in MSVC ++.  Is it possible to use the debugger of Labwindows/CVI debug this DLL MSVC ++ (if this DLL MSVC ++ is built with 'good' options)?  Or is possible only using the environment of development MSVC ++?

    Hello mkossmann,

    The CVI compiler generates different types of than MSVC debugging information.

    The debugger CVI doen't understand the debugging information generated by MSVC, so you cannot debug the dll compiled in MSVC.

    Constantin

Maybe you are looking for

  • mail app does not work in a single user

    mail app does not work on my mac for a single user... What do I do?

  • Satellite 1800 shuts down without warning

    Hello I have a toshiba satellite 1800, which I use for 6 months and it started to turn at random. I can't seem to find the problem I tried the new ram, but it turns out always. I even tried to reinstall windows XP home, but when I do, it happens to t

  • lost email from Outlook express

    I write in the name of the customer. Here is the original client message. "I have prepared this in word & pasted here for it to be faster." I have windows XP & outlook illicitedes'm having problems with outlook express. I lost d ' assign e-mails from

  • Service Pack 1 of Windows Vistat kB936330

    Hello I recently had to restore to factory settings a computer I bought in 2007-8. Operating system is Windows Vista Home Premium. It is a 32-bit. Software security for the moment is just essential windows until that everything has been reinstalled.

  • TMS servers and Windows updates & patches

    In our announcement, GPO forces automatic application of Windows and restart automatice updates. I want to know what Cisco recommendation for server various TMS (Server SMT itself, SQL server db and server TMSXE) about windows patches, updates and au