Parameters of the CVI

Hi all, we are updating internal network in my office by creating a new dominion, so my PC user must be migrated on the new dominion; because in fact, it will become a new user, I wouldn't loose al settings and customizations I did to the CVI IDEs (more versions, currently from 6.0 to 8.5) installed in my development computer and my laptop. With 'settings', I am referring to:

-UIR editor preferences

-environment settings

-global include paths

-custom menu library items

-colors of coloring and syntax Editor

-build parameters

-What else I forget?

I'm not interested in the options toolbar and police since I am currently using the standard settings, but all the other elements of the reallocation would be a long and boring task I wish to shorten as much as possible.

I now found that this piece of Mohan has said of the colors in the source editor, and keyboard shortcuts can be saved and reloaded with native functions, but what about the other parameters?

Hey Roberto.

In 2009 the CVI, there is a tool to import and export your settings.  If you don't have a CVI 2009 on your development computer, but don't have it available somewhere and can install the RTE of CVI 2009 on your development computer, you can run stand alone tool by copying files /shared/cvi/bin/CVISettings.xml /shared/cvi/bin/ImpExpSettings.exe and to your desktop or another location known.

Once the tool is running, simply choose the version that you want to copy settings from, what settings you want to export and a file location where the settings should be saved.  You can then use the tool to import these settings into your versions of CVI from the files that you created.

If you are unable to run the tool on your development computer, the easiest thing is probably going to be for you to snoop in HKEY_CURRENT_USER\Software\National Instruments\CVI\ until you find the settings you want and then import and export these keys.  Be aware that if things like MRU paths match a machine to another, you might have errors in CVI.

Let me know if you have any questions,

NickB

National Instruments

Tags: NI Software

Similar Questions

  • Get the array of unknown size of the CVI code module

    I'm creating a type custom for my client, and I've encountered a problem that I'm not sure how to solve.

    Here's the situation:

    We have a custom step in which the main code is executed within a step after step. The code acquires samples of an instrument, but it is unclear how many samples will be returned. The CVI function has a table, the size of this table and an output parameter that indicates how many samples have been returned as parameters.

    void AcquireSamples (double* samples, int samplesBufferSize, int *numSamplesRetrieved)
    

    The goal is to have the array returned by the size of the number of samples taken.

    I tried several ways, none of which works completely. The problem is that, as described here, TestStand creates a temporary table to move to the code module. but it does not resize the TestStand array property. So I need to manually resize the properties of the table, and I did not understand an elegant way to do it.

    It would be easy if I had to create just a not, because I could use expressions after. I'm creating a type but I don't have that luxury (my code should allow the customer to enter expressions of post, but I run the risk of my client, removing any expression after default I get home).

    First question:

    I noticed when I was creating a stage with a CVI code module, that additional results allowed me to specify logging in both settings [in] and [out]. This I extrapolated that the parameter expression was evaluated before calling the function both again after the call to the function. I did some tests, and it doesn't seem to work that way.

    (1) this is expected behavior? I don't see it documented anywhere, if can I rely on it remains the same in future versions of TestStand?

    I used this behavior to my advantage to create an expression that does what I need an an step code module. But it does not work for a module of code to a later stage.

    I did a small test DLL file and sequence illustrates my problem. I tried to document the file in sequence to show where I'm stuck. You will need to put the DLL in one of your directories to search for the type of custom work.

    Any help would be greatly appreciated!

    I think the problem is that the C programming language does not provide enough information for a caller to know the size of an output table in any kind of standard. I recommend again, you pass a CAObjHandle which is the variable of array instead and set the table directly using CA_Array1DToSafeArray() to create a safearray and SetValVariant on the propertyobject which is the property of the table to set the table. Don't forget to free the array (using CA_SafeArrayDestroy()) that you created with CA_Array1DToSafeArray after that SetValVariant call to avoid leaks.

    Hope this helps,

    -Doug

  • Siri App Suggestions independently displays parameters in the iOS 10

    Hello

    I was wondering if anyone has seen this before and he knows a work-around?

    I am unable to turn off Siri App Suggestions, I did the classic general > Spotlight search > Suggestions of Siri which I turned on or off times shared with restarts, but it still shows.

    I even went as far as everything off in Spotlight search including all applications which has been laborious, but it still shows, guess it's bug, but I was wondering if someone else he met and may know a work around.

    Hello John H0.
    Thank you for using communities of Apple Support.

    If I understand your message that you want to disable the Suggestions of Siri. You started with a few great troubleshooting by enabling / disabling the on/off function again, restart and turn off everything in the Spotlight search parameters. The next step, I would recommend would be to reset all the settings. First of all, if you already create a backup file. Reset all settings returns settings to their default settings. A backup will allow you to return your old settings of your device. Once you have reset all the settings to disable Siri Suggestions again.

    Reset iPhone settings

    Reset iPhone settings

    Without deleting your content, you can return the iPhone to their default settings. If you want to save the settings, save them in iCloud or save them using iTunes before you reset them.

    To return the settings to their default values. Go to settings > general > reset, and then choose an option:

    WARNING: If you choose the erase all content and SETTINGS, all your content is removed. See Erase iPhone.

    • Reset all settings: All settings are reset.

    Best regards

  • I'm unable to access iCloud parameters, that the icon is there, but when I click it, it does nothing. Also recently I noticed that my personal hotspot option is no longer available. Nobody knows what can happen?

    I can't access iCloud parameters. The icon is there, but when I click on it nothing happens. I went into general settings to ensure that no restrictions were on. Also recently noticed that the personal hotspot service is no longer available on my phone. How something like that just disappears?

    For Personal Hotspot, you must ask your cellular provider.

    What setting iCloud does not work?

  • I have 2 gmail accounts. It will work correctly will not. All parameters are the same. What do do?

    I have 2 gmail accounts. 1 works fine, the other does not - but I can use very well with Safari. All parameters are the same. What should I do?

    URL of affected sites

    http://https://www.google.com/accounts/ServiceLogin?service=mail & passive = true & rm = false & continue=https%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl & ASB = 1eic6yu9oa4y3 & ss = 1 & = 1 CSC < mpl = default < mplcache = 2 & hl = in

    Try to clear your cache and cookies.

    1. Open the Tools menu, then select clear recent history...
    2. In the time range to clear: drop-down menu, select all.
    3. Click the arrow next to Details to display the list of items that can be cleared.
    4. Select Cookies and Cache.
    5. Click clear now.
  • Pavilion 20 all in one pc: my UEFI Bios does not appear when I click on the parameters of the UEFI firmware

    I have to change some settings in my bios so that I can start my CD of restoration but whenever I click on the parameters of the UEFI firmware and select restart it never brings the Bios screen.

    When the computer begins to boot, start to type the F10 key continuously.  This should access the BIOS.

    Please click on the Thumbs up button '+' if I helped you and click on "Accept as Solution" If your problem is resolved.

  • Cannot change the HARD disk parameters in the Bios on Satellite A200

    I can't change the hard disk parameters in the bios for my satellite A200-1The
    This bios does not support changing the parameters of the hard disk for example SATA to IDE?
    BIOS version is: 5.6

    AFAIK in BOS advanced settings you can change mode SATA controller only. You can use the AHCI mode or compatibility.

    I put t understand why do you think you can use IDE mode. What you want to do exactly?

  • PC (Win7 64 bit) freezes completely after some time due to the CVI 9.0.1 32-bit application: question in cvirte.dll

    I have a strange problem with my app CVI. After a while, no constant time (especially on a day or two), the PC freezes completely when running my application. Examine the system event logs, I see a lot of entries from the CVI, sometimes 8fois per second!

    Above all, it looks like the following:

    The description for event ID 0 in source CVI could not be found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event is on another computer, the display information had to be saved with the event.

    The following information has been included in the event:

    [14:18:42.389] [GetLWMessage] [FATAL] [.. \jsource\jn_msgs.c:672 assertion failure]: WRONG (error in the message handler: code #12689 unknown message received)

    Although the system event log is set to a size of 20 MB only and the fact that it is automatically overwrite (FIFO) itself, the PC won't be able to do in the face of this large amount of entries in line waiting.

    I searched the internet but found absolutely no clue. I searched then through my code using find in files and finally only found the following within the cvirte.dll sequence when you use "*." "*" as file extension filter:

    .. \jsource\jn_msgs.c ConvertMsgText error in the message Manager: unknown message code #% ld received GetLWMessage

    Why exactly what the system event log tells me. I wonder that there are some things Java in a related CVI runtime dll

    Know someone, any idea how I can fix this problem?

    I tried to run my application using WinXP SP3 compatibility mode, but this did not help.

    I'll try to refine the question. I will also try to recompile my application using CVI2015

    The application does not generally crushed. There are different configurations of my tool where he works a lot of days. So, I have to determine the exact circumstances. Also there is no memory leak, so does not unnecessarily increase consumption of RAM during execution.

    Any help much appreciated

    Thanks and greetings

    Hi Kyle,.

    Thanks for your response!

    In the meantime, I managed to solve the problem. Checked the date and version of the DLL runtime on the target PC, I found that they differ runtime DLLS that have been installed with my application using the distribution kit. After the reinstallation of the application, there was more no new error event log entries, so this solves the problem :-)

    Only, I wonder where these DLLs from...

    Thanks and greetings

    Manfred

  • documentation for the sequence file report does not display the parameters of the step

    The parameters of the step is missing in this report. Is it possible to add this just as you have included the sequence settings. Thank you.

    Sequence: MainSequence
    Type: Normal
    Disable the results for all stages: false
    Goto cleanup in case of failure: use the Station Option
    Number of installation steps: 2
    Number of steps: 10
    Number of steps of cleaning: 2
    Parameters:
    PartNumber String (by reference)

    -Stage: Installation Instruction
    StepType, adapter: Message Popup. 
    Description: NameOf (Step)
    Module loading and unloading Options: preload the beginning of execution, discharge the closure of movie file
    Record results: disabled
    Flow properties: Post Action:
    If)
    GoTo
    Record result: disabled

    I agree that it's frustrating.  I had the same problem recently.

    You should post it in the forums of idea: http://forums.ni.com/t5/NI-TestStand-Idea-Exchange/idb-p/teststandideas

    Or you can change the sequence that generates these and include parameters.  The source so that it is in: \Components\Tools\DocGen

    Hope this helps,

  • Pass the parameters to the callback SequenceFilePostStep

    I have to call a sous-suite with several parameters in case of RunTimeError one of my steps in the main sequence. I would replace the SequenceFilePostStepRuntimeError callback for this.

    The recall starts ok but no parameter not passed. I don't see a way to explicitly set the parameters of the callback call (as we have for calls to subsequence) so I just created parameters of the same name, in the MainSequence and the SequenceFilePostStepRuntimeError.

    I saw this post , but it does not describe how to pass parameters to a callback.

    Please see attached the sequence. The SequenceFilePostStep callback is used for demonstration purposes.

    Hello

    One way that you can try.

    Instead of having Parameters.Message use a local variable. Replace your Parameters.Message Locals.Message in two clips (MainSequence and SequenceFilePostStep).

    In the SequenceFilePostStep the Locals.Message a "Allow the spread of the appellant" (select right mouse click and variable of Locals.Message, you should see two options)

    In the MainSequence put the Locals.Message to "spread of subsequence.

    Make sure that change you the MessagePopup to use local variables > message and Locals.Message with your message in your approach to expression.

    Now when you run your MainSequence you should see your message in the dialog box.

    I hope this helps.

    Concerning

    Ray Farmer

  • Run the CVI in Visual Studio code

    Hello world

    I tried to get a CVI code to run in Visual Studio using this guide (http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/usermanual/prjbldmenuextcomplrspt/). So far I've managed. However, I was faced with a non-fatal errors. Apparently, Visual Studio is not following them. Also, fatal errors do not produce a meaningful error message. Is there a way to get these error messages from inside Visual Studio? Maybe there is that an event reminder/whichI can use.

    Thanks in advance.

    The feature you describe is called "user protection". In addition to reporting the pop-up windows error codes, it also warns you if you access an invalid memory, data types to pass to functions that expect different data types, detects local variables uninitialized, etc...

    Unfortunately, the protection of users only works for programs built in debug mode using the CVI compiler. If you generate your source code in Visual Studio, the compiler VC injects not the information necessary to protect the user from working.

    The only way you could get this works in Visual Studio would be if you could somehow isolate all your CVI code in some DLL that build you with CVI, then call this DLL from the rest of your program, what you have created with Visual Studio.

    Luis

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

  • How to test the stability of the communication and to calculate ber using the CVI?

    Our Chief Engineer gave me a task yesterday. He asked me to make testing of software and to calculate the error rate binary we would like to know our stability of communication.

    However, I never touched this aspect of knowledge. I know a bit about the CVI and I want to write code with CVI bit error rate. So I could test the stability of the communication.

    But I don't know how to analyze and judge the receivers codes, whether they are good or bad.

    We use the Modbus communication protocol and receive data via a port series, so I want to back up all the data and record the total number of datas, marking as M.

    then, save the eligible data and save the number marking as N. Thus, the error rate is binary/m (M - N).

    If it's doable? Or you have a good idea. Thank you very much.

    unsigned char in_data[100]; 
    
     inqlen = GetInQLen (comport);
     for(i=0;i
    

    Above is my code that receives all the data I want to save the data [] array in_data and save the number.

    switch(inqlen)
    {
     case 19:
     {
       crc=usMBCRC16(in_data,inqlen );
       if((in_data[1] == 0x03)&&(crc==0)&&(in_data[0]==device_addr))
        {
    
        }
     }
    

    Above is the judgment of condition who receive eligible data which mark as N number.

    I know there is a prerequisite that I filter all the bad data. However, I don't know any good idea. I'd appreciate if someone could help me.

    Thank you very much.

    Best regards.

    xiepei


  • Where to find icons of the CVI

    Hi all

    I need to complete my menu and the related toolbar with some images. I would use similar icons to those that are present in the environment of CVI tool bar.

    Do you know if there is a directory in the tree of the BCI where to find icons CVI?

    Can someone send me General icons free download URL?

    Thank you very much

    Sergio

    Hi, Sergio,

    I don't think the CVI toolbar icons can be extracted by other means just PrintScreen as...

    Anyway, you can use the icon, like IconsExtract or @icon sushi or IcoFxexctractors. IcoFx is editor of beautiful icons as well.

    But do not forget that some images may be copyrighted, so you are not able to extract or copy them for use in your application.

    First, take a look here: icon of National Instruments library

    You can use portals to search for the icon:

    iconspedia

    iconArchive

    iconlet

    IconFinder

    FreeIconsDownload

    Yellowicon

    TopIcons

    IconShock

    Or download some sets of free icons for free:

    Fugue and Diagona (pinvoke) icons

    Circular icons (Ben GOUMOU)

    Set of icons Crystal Clear (Everaldo Coelho)

    24 sets free PSD (Ganato design)

    Free Web icons

    GNOME 2.18 professional Scalable Vector Icons

    Toolbar button icons by ~ iTweek

    Kombine Toolbar Icon Set

    The Martian icons toolbar

    Silk icons (famfamfam)

    WebAppers free Web App icons

    Free icons PI Diagon

    ASP.NET icons

    300imagesfrom1800sites

    But remember about copyright and licensing rights before reading (most of the above available for free under the Creative Commons Attribution licenseicons)!

    In additional, I won't recommend to mix different icons, but take some time (and probably money) to develop your own design...

    And read this: 10 mistakes in icon design

    Best regards

    Andrey.

  • How to run and pass parameters to the exe file in the txt file.

    Hello

    I am facing problem with passing parameters in the .exe file, which is run by labview.firstly that I have script .txt with the settings that I have to go to the .exe file. This .exe file is also a software, and this script is written for her. And now I have to create program in labview which should satisfy the following points.

    1. I have to use a button named "Run script". If I pressed the button, it should open the browser where I can choose the script .txt file.

    2 .exe application is expected open(Path already chossen).

    3. After passing the .exe application settings should be closed.

    4 and labview should now update its parameter

    I just open using Exce.vi .exe file, but I didn't get any idea to do more than this.can someone please help me?

    Thanks norbert. CAN I love it? What should I change now? VI attached below...

Maybe you are looking for