Is it possible to change the indicator/control according to enum?

Hi all. I'm rather new to LabView, and I'm doing a program for a robot that can run virtual, so without a DAQ or whatever it is connected and therefore has a toggle entry. But he should also be able to run 'real', so, with the acquisition of data, and thus controls should be replaced by indicators. Is it possible to do or not?

jdepypere wrote:

Hi all. I'm rather new to LabView, and I'm doing a program for a robot that can run virtual, so without a DAQ or whatever it is connected and therefore has a toggle entry. But he should also be able to run 'real', so, with the acquisition of data, and thus controls should be replaced by indicators. Is it possible to do or not?

Not until your VI is running. However, you can do so using VI scripting.

https://decibel.NI.com/content/message/39353

BR,

/ Roger

Tags: NI Software

Similar Questions

  • How is it possible to change the 1 tab to Page 2 and page 3 page, etc. by using a Boolean control?

    Hi Sir,

    I created a 4-page tab control. How is it possible to change the 1 tab to Page 2 and page 3 page, etc. by using a Boolean control?

    Thank you vey much Mr. It worked

  • Is it possible to change the values of particular #define of the various controls in CVI.

    In my application, I have different panels to file single .uir. When I save the .uir file, I get the same values of #define for different controls in different panels. For this reason, I am not able to use these #defines block switch. Is it possible to change the values of #define according to my condition.

    Hi, a little more Wolfgang post. It is the combination of the Panel to manage and control the unique ID: as you know, you can load the same panel more than once, so even if you recover the full chain of PANEL_CONTROL you have duplication. items that exactly identifies a particular control in a particular group are the combination control panel manage AND panel_control ID.

    On the one hand which guarantees more flexibility to your application, you can design only a few panels and reuse them whenever you want, even having some of them loded several times in the same instant. On the other hand, as you have discovered, there is the possibility (Finally, almost certain) duplicated in your app ID.

    To resolve the problem of duplicated IDS you can act in two ways:

    1. If you know that no Panel is never loaded several timer in your application, you can retrieve the name of constant of Panel with GetPanelAttribute (panelHandle, ATTR_CONSTANT_NAME, string); and to distinguish between the name of constant, then switch between control ID

    2. If you happen to have duplicate panels you will need to store each panelHandles in the non-volatile variables, switch between them and then switch between the control ID

    An alternative might be to use Panel callbackData attribute and assign a significant value during the loading of the Panel, other callbackData finally from a control ID. Something like this:

    Loading panels:

    panelHandle = LoadPanel (0, "myfile.uir", PANEL1);

    SetPanelAttribute (panelHandle, ATTR_CALLBACK_DATA, (void *) 1);   Assign different callbackData in each instance

    During the failover between controls:

    void * cbkd;

    GetPanelAttribute (panelHandle, ATTR_CALLBACK_DATA, &cbkd);)
    Switch (cbkd (int)) {}
    case 1: / / elements of the PANEL1
    switch (command) {}
    case PANEL1_NUMERIC:

    your code here
    break;
    case PANEL1_STRING:
    your code here
    break;
    }
    break;
    case 2:
    // .....
    break;
    }

    One final note: it seems to me that all this is necessary in a very limited situation, where you have the same callback called on various panels/controls. Whenever the reminder is unique to a specific panel or controls on a single panel you don't need to work that way.

  • Is it possible to change the IP address on the host of SGD 12 c Cloud Control?

    Is it possible to change the IP address on the host of SGD 12 c Cloud Control?

    If so, please provide the necessary actions that must be supported.

    -Wern

    Hi Wern,

    The following document is for 11g, but works also for 12 c:

    NOTE: 1203743.1
    EM g 11: Enterprise Manager Grid Control 11.1.0.1 SGD Actions after you changed the IP address of the host

    Best regards
    Vincent

  • Is it possible to change the default channel strip settings?

    Is it possible to change the default channel strip without having to depend on models?

    For example, I always wish to have:

    • Follow the value Name = 3 lines instead of the default line 1.
    • 'Follow the icons' checkbox deselected
    • Always follow box color
    • Control surface Bars always deselected

    Stuff like that... This apples to any screen that is affected by the Configuration of channel strip window. (View mixer or titles).

    Thank you!

    Is it possible to change the default channel strip without having to depend on models?

    NO.

    But why not use a template? You use a template of this moment anyway, the default value of project. Just change and set the Start Action that you configured

    Fact

    Edgar Rothermich - LogicProGEM.com

    (Author of "Graphically improved manuals")

    http://DingDingMusic.com/manuals/

    "I could receive some form of compensation, financial or otherwise, my recommendation or link."

  • Is it possible to change the name of data acquisition device?

    Hi all

    Is it possible to change the name of device of data acquisition in a pragmatic way?

    I wish I had at the beginning, when I start the data acquisition control a name that my .net program assigns to the DAQ card. Is this possible?

    Thank you

    Virginia

    Ashly thanks!

    Virginia

  • Is it possible to change the timer increment?

    The timer is changing in increments of 100 milliseconds. Is it possible to decrease it to 1 millisecond? For my application, I need to know when the waveform is a multiple of a number specified, for example, 7 millisecond. I have a Boolean indicator, and I would that he true to see the ot whenever the time is a multiple of this value.

    Is is possible to change the timer for this increment? Or y at - it a better way to reach my goal?

    Your problem of synchronization is the express VI simulate Signal.  You say it take value of 100ms of data.  So your loop will run through the 100ms.  If you want your loop to go to the 1ms (good luck with Windows), tell the express VI to collect only 1ms to a data value.  In your case, it would be 360 samples instead of 36 samples k.

  • OfficeJet pro 8600: not possible to change the scanning of the Panel of the printer resolution settings

    With my Officejet pro 8600, there is no possibility to change the scanning resolution settings when you are working in the control panel of the printer (not present button to touch) when I want to scan to the computer, while in the manual it is mentioned that, after pressing the Document Type, it should be possible to reach the resolution to change the resolution of the scan setting. On the other hand, when the scan to a memory card the button change the resolution settings is present.

    Sometimes for the scanning of all computers to select (winXP SP3 installed on it). The HP printing software is installed on all computers and manage digitization to the computer is turned on. It is possible to change the resolution settings when using my computer with the HP printing software, but as I said not in the use of the printer.

    Thank you to help you solve the problem!

    Hey mk75053,

    Scanning to memory card has the parameters of resolution through the front because that is the only way for the device perform this type of analysis.  However, to change the resolution settings for the Scan of the computer, one will have to perform scans through the software installed on the PC.

    I have all three types of 8600 models where I am located (base, more high quality) and of all printers simply ask to start the analysis after selecting the scan type.

    I hope this helps.

  • It is possible to change the front in a textbox

    For Acrobat Reader.

    It is possible to change the front in a textbox control. I think that to change the color, size, and type. It seems that it is only possible to change the properties of the image/box. How can solve this problem - I think it was possible in older versions.

    I am looking forward to hear from you.

    Best

    Thomas

    Select the text and press ctrl-e.

  • Possible to change the variable cpQuizInfoPassFail through advanced actions?

    Is it possible to change the variable cpQuizInfoPassFail through advanced actions? I do not see this or the other quizzing variable when I try to create an advanced action and change by entitlement or expression. Let me explain what I want to accomplish, I ask the wrong question. I have a training project, with that I need to include a post test. I don't really like the captivate quizzes. I want the post-test to play as a ride on jeopady where the user chooses issues category and gets points if the user answers correctly. For this I must ask questions on a game board and (from what I can fig) you cannot have multiple questions on the same page. I'm building the quiz with my own custom variables and coded so that the program jumps to a page of the certificate if the user gets more than 84 points. THA all works very well. But I have to be able to tell the database that the program will connect with the user has passed the quiz. I thought I could do this if I assign the value 1 to the variable cpQuizInfoPassFail. Is there a way to do this? Thanks in advance for any help,

    Doug Jackson

    Hi Doug,.

    I don't see the version you are using. Each interactive object can be marked, has a report following properties in the control panel (if you use CP5 or CP5.5) or a tab in the Properties dialog box reports, if you use a different version. You must add a score (default value is normally 1 point) and make sure you add it to the total score.

    If you want to make me a glance, post your file on acrobat.com (free, use your Adobe ID), share and publish. You will have a link that you can copy into a private message to me.

    Lilybiri

  • Related topics: is it possible to change the order of the headings?

    Hello

    Is it possible to change the order of related topics? I need to change the order of the items (in other words, I don't want the headings alphabeticized.)

    Thank you
    FMnRH

    Hi FMnRH

    Yes, you can change the order. If you have already inserted the control, double-click it to edit it. Then click the themes tab to select the topic you want, and below, the box displays the topic name. The field is called "Title". If you click the field, and prefix the title with 1. or 2. to force the desired order.

    If you do not prefix, you will need to manually edit the HTML code. But it is possible.

    See you soon... Rick

  • Is it possible to change the sensitivity of the mouse in the sierra?

    Is it possible to change the sensitivity of the mouse in the sierra?

    Open system preferences > mouse

    See: Customize your mouse > the basics of the Mac: set your preferences - Apple Support

  • Is it possible to change the playlist view back to display columns on iTunes?

    Is it possible to change the playlist view back to display the columns?

    View > view as > songs.

    TT2

  • Is it possible to change the external color of the iPhone?

    I wanted to know if its possible to change the external color of the iPhone. My mother bought a pink iPhone, but she could not get used to it, so she gave it to me, and I want to know if its possible to pass to a rose grey.

    Thank you.

    None

  • Starkey Halo 2 passes to 'Flow Boost' memory state when the iPhone received incoming calls.   Is it possible to change the setting.

    I just got my Halo 2 a few days ago Starkey.  I noticed that when I get incoming calls on my iPhone 6, Halo 2 switches in position of memory 'Stream Boost' that increases the volume and picks up a lot of background noise.  Is it possible to change the default iPhone meets the memory of another parameter memory.

    No, you should contact the developer of the application to this topic.

Maybe you are looking for