How can I use the same case of event of controls dynamically


Hi Johannes,
collect all your references control (for this, you can use the FP property) and create a user event. Connect this user event to your structure of the event. You now have a case of event for all of your controls. See the attached picture.

Mike

Tags: NI Software

Similar Questions

  • How can I use the same graph of façade in several events in a structure of the event?

    I want to display my sensorDAQ signals in a graph.but I have more than one event in the case where the structure to acquire the signal and display it in the first round of graph.the is to acquire signals from threshold and its shown in the graphic as a feedback.after the first event is executed, I'll call the second event, where the other signals are acuired and compared with signals from threshold of event 1 my question is how can I use the same control on front panel in more than two events in the structure of the event? Please answer me I am stuck.

    Hello

    I have attached here an example of doing the same thing using local variables and shift registers. Take a peek inside. Shift register is always a better option than local variables.

    Kind regards

    Amine31

    (Bravo to give good answers, mark it as a solution if your problem is resolved)

  • How can I use the same ebook on my PC and the android device. I use the same ID of ADE

    can I use the same ebook on my PC and the android device. I use the same ID of ADE

    can I use the same ebook on my PC and the android device. I use the same ID of ADE

    Its not automatic download. At the moment seems to only work for devices Mobile for the version of office for the epub files. If you want the same eBook on different devices, you need to download on all devices, or move the file to the file system after connect your phone to your device.

  • How can I use the same firefox on a Flash DRIVE on 2 computers

    I use the same drive external hard usb on two computers (home and work). I would like to be able to install firefox on PC and use the same profile that if I get all my favorites, accounts etc. in the same way on both machines.

    Hello iangiom, the mobile version of firefox should work for your script (it is provided by a third party & mozilla not directly):
    http://PortableApps.com/apps/Internet/firefox_portable

  • How can I use the same e-mail for PC and laptop program?

    Hi, I recently bought a laptop and would be able to open, read, send and store my emails, exactly as I do on my PC. We use windows mail. I can do currently using webmail, but I want to be able to do in exactly in the same way as on the PC. Any ideas please? I have Windows Vista on my PC and Windows 7 on my laptop.

    Thank you

    The problem is that Windows 7 comes with no e-mail program installed.  You can use Windows Mail, but you will need to hack (see http://www.techspot.com/vb/topic137494.html).  Pushes Microsoft Windows Live Mail as the alternative, but many can't find any favourable and it is full of annoying bugs, then you might want to explore other possibilities of e-mail.  Outlook is another alternative.  Regardless of the e-mail client, you need go to tools | Accounts | Mail | Properties | Advanced (or the equivalent in another program) and set it to keep a copy of messages on the server on both computers so that each can receive the same messages and then on one set to delete messages after a number of days (so they don't accumulate).

    Steve

  • How can I use the same sound for several sounds?

    I need my program to play a lot of different mp3 files at different times.  I read that you cannot load different mp3 in the same variable sound files.  But there must be a way around this right?  Can I Unload mp3 files some how?  Or can I remove the sound variable and declare it again?  I don't want to have hundreds of sound variables then what should I do?  Thank you.

    create hundreds of sound variables.  just unnecessary loan for gc and that there should be no problem.

  • How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?

    I want to integrate the ANSI C sample program ReadDigPort - ExtClk.c in my own big package.

    I want to use the internal clock of the BNC NI USB-6259 (.. 80 kHz 120 kHz).

    In the document:
    High speed M: Series Multifunction DAQ for USB - 16-bit, up to 1.25 MECH built-in BNC connectivity. / s,.
    is written:
    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?
    With what other subsystem on the device can generate a source of the clock? How?

    It is possible to set a clock on an internal counter (for example ' Dev1/ctr0"):
    Creates channels to generate digital impulses that define the freq and dutyCycle and adds the channel of the task that you specify with taskHandle.
    DAQmxCreateCOPulseChanFreq (taskHandle, "Dev1/ctr0" units, clockName, idleState,
    initialDelay, freq, the duty cycle); works

    But it is not possible to drive this internal clock to a terminal (for example "/ PFI0/Dev1"):
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "/ PFI0/Dev1", clockName, units, idleState, '))
    initialDelay, freq, the duty cycle); does not work: error DAQmx: measurements: type I/O of the physical channel does not match the type of I/O required for the virtual channel you create. Name of the physical channel: PFI0. Name of the virtual channel: clock

    The sample clock source can be derived from an external terminal (for example "/ PFI0/Dev1"):
    Sets the source of the sample clock, the sample clock rate and the number of samples to acquire or generate.
    DAQmxCfgSampClkTiming (taskHandle, "/ PFI0/Dev1", maximumExpectedSamplingRate, DAQmx_Val_Rising, ")
    DAQmx_Val_ContSamps, bufferSize); works. Acquire or generate samples until you stop the task

    But it is not possible to derive the internal counter of the clock (for example ' Dev1/ctr0"):
    DAQmxCfgSampClkTiming (taskHandle, "Dev1/ctr0", maximumExpectedSamplingRate, DAQmx_Val_Rising,
    DAQmx_Val_ContSamps, bufferSize); does not work. Error: Acquire or generate samples until you stop the task: make sure that the name of the terminal is valid for the specified device. See Measurement & Automation explore valid names of terminals. Property: Property of DAQmx_SampClk_Src: DAQmx_SampClk_ActiveEdgeSource device: Terminal Source Dev1: Dev1/ctr0

    Hi datafriend,

    using what it says is correct:

    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    This means that if you do not use an external signal as clock you can use the sample clock to HAVE it on board or at the output of the internal counter.

    There are also 2 ANSI C examples in this regard:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4485

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4488

    So in both cases you have to use a fictitious task you need only for the generation of the internal clock (HAVE or CTR)

  • How many times can you install Lightroom 5? My problem is that I saved my programs on C. I have more space, I want to record my programs now on E. I can now uninstall Lightroom and reinstall from C to E? Can I use the same license as the first code

    Help, please!

    How many times can you install Lightroom 5? My problem is that I saved my programs on C. I have more space, I want to record my programs now on E. I can now uninstall Lightroom and reinstall from C to E? Can I use the same license as the first installation code?

    Use the same serial number. There is no problem to do that.

  • Can I use the same disc hard ext I used for El Capitan Yosemite without losing my data?

    Can I use the same disc hard ext I used for El Capitan Yosemite without losing my data?

    Yes. You should not lose any data, but always have a backup. In this case, you have your internal drive as a backup.

  • Can I have several structures with the same case of event event?

    Hello

    I do an application which reproduces the front of the power supply HP6675A. To do this, I did a machine to States with different States

    (initialize, measures, voltage, current, ocp, ov, store, recall, etc.). In each State, should have a structure of the event that attracts the events of the buttons, as for example: If the current state is the voltage mode and the current button is pressed the next State will be the current mode. For this purpose in each State of the state machine should be the same structure of event with the same events.

    My problem is that the Vi does not work properly when I have several structures with the same case of event event. There are some possibly to do and how? Or is impossible to have several events? I read a few posts, but I can't find solutions.

    Any help is appreciated.

    Thank you very much.

    In general, you should have 1 structure of the event in your VI.  In your state machine, the structure of the event should be in "pending" status  So you will probably start in the State of the initialization and then spend idling.  Then, the user presses the present button.  If your state machine should then, go to the current state and then return to Idle.

  • in Outlook Express, how can I send the same message to a group important (in the address book already), but have to each recipient can only see his name (not the Group)

    In Outlook Express, how can I send the same message to the large group (already in the address book), but have to each recipient can only see his name (not the Group)?

    To use the functionality of the BCC (Blind Carbon Copy), in a new message window, click View | All headers and type the addresses separated by a; Or: Click the button to. You will see your list of contacts and the choice to put them in the To, CC, or BCC field. Click on an address, and then click BCC to add it. Repeat for all of the contacts you want. (Note: most of the providers have limits as to how many messages you can send both a. 25 is common, but it varies).

    Put your own address in the box to. That's the only name/address that any recipient will see. If you leave the field empty, some people may not receive e-mail because of message rules they put in place, or restrictions imposed by their ISP.

    You can also make an entry in the address book using your e-mail address, but put something like the mailing list in the area of the display.

    *********************

    You can also create groups if you send e-mail to the same people often.

    To create a group of contacts:

    You can create a single group name (or alias) to use when sending a message to several contacts at the same time. Just create a group name and add individual contacts to the group. Then just type the name of the group in the box for when you send mail.

    1. in the address book, select the folder in which you want to create a group. Click New in the toolbar, and then click New Group.
    2. the Properties dialog box opens. In the group name box, type the name of the group.
    3. There are several ways to add people to the Group:
    a. to add a person from your address book list, click Select members, and then click a name in the address book list.
    (b) to add a person directly to the group without adding the name to your address book, type the person's name and e-mail address at the bottom of the Properties dialog box and then click Add.
    to add a person to both the Group and your address book, click New Contact and enter the appropriate information.
    (d) to use a directory service, click Select members, and then click search. Select a directory service in the drop-down list at the end of the text box. After finding and selecting an address, it is automatically added to your address book.
    4. Repeat for each addition until your group is defined.

    Note

    a. to view a list of your groups separately from the list of address book in the address book on the view menu, make sure that folders and groups is selected.
     
    b. you can create multiple groups, and contacts can belong to several groups.

    If you want to send to a group without addresses are displayed for each recipient, open the address book and make a new entry. Enter the name of the group in the area of the display, but use your address. (Some Internet service providers require a legitimate address in the line to and recipients will know it's from the Group).

    Click on the button to. Enter the name of the group using your address. Enter the group in the BCC field.

  • How can I add the same properties to the __names of a series of files

    I would like to add a few properties on the front of several files. instaead clicking Rename and add them one by one, how can I add the same properties in the names of a series of files

    Hello Ronke2009,

    Welcome to the Microsoft Answers Community!

    Using the function rename in Windows results in action that you said earlier, with all records even renamed with a number appended to the end. You can get the service you are looking for with a third party tool. A good search Bing.com for these would be something like Bulk Rename Utility or editor to rename block.

    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope that helps, I look forward to hearing from you.

    Steven
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How can I install the same printer twice?

    How can I install the same printer twice, with different printer for each preferences? I got my printer configured this way with my old Win XP system, but can't find a way to do it with Windows 7.

    I do it all the time.  The devices folder and printer stacks multiple instances on the same device on top of the first unit (since it's the same device).  If you have Pro or Ultimate, you can use the UI created by the spooler, printmanagement.msc team, to manage your local printers.  The former team of spooler printers folder is also around, but it's really hidden.

    This command will launch the printers (no authorized device) folder

    Shell:::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{2227A280-3AEA-1069-A2DE-08002B30309D}

    Alan Morris Windows printing team; Here Microsoft Knowledge Base search: http://support.microsoft.com/search/Default.aspx?adv=1

  • How can I request the same information in the fields of specific metadata across multiple files, i.e. date of reference, artist, genre, composer, technician

    How can I request the same information in the fields of specific metadata across multiple files, i.e. date of reference, artist, genre, composer, technician.  Most of the fields I want to fill/use will be the same for files of 50-100, then each file will have a few things specific to that individual file.

    Unfortunately, it cannot be done from within hearing. Adobe Bridge is probably the software you need to do this or there are a few applications available third-party metadata. I use metadata Touch.

    MetadataTouch - powerful multiformat metadata editor

  • How can I use the sequence of the string "\u00e5" in myfile.txt converted unic

    How can I use the sequence of the string "\u00e5" in myfile.txt converted to unicode in my application?

    I have a text file, MyFile.txt, with some sequences represented unicode:
    \u00e5
    \u00e4
    \u00f6
    etc.

    This is the file contains unicode, not the character it represents: a, a and o.
    I get the sequence of the file and save it to a vector. When I tried to use it on a JButton, I see the "\u00e5" string and not the character that I assumed.

     
            read file codes ...
            ...
         Vector<String> glyphVector = readGlyphIndex.getUnicodeFiles();     // to retrieve the vector with unicode sequence and save it to glyphVector
         String unicode = glyphVector.get(0);     //get the first unicode sequence
            System.out.println(unicode);    //displays \u00e5 and not å in the console.
         jButton.setText(unicode);   //jButton is a JButton and it shows the string \00e5 and not the character å
            ...
    The question is how to convert the sequence of string to be a unicode escape in the code?

    In order to make it clear:
    //from
    jButton.setText("\\u00e5");
    //to
    jButton.setText("\u00e5");
    Thanks in advance!

    Dragonfly
    String s = Character.toString((char) unicodeInInt);
    

    Strictly speaking, if unicodeInInt is a Unicode code point (for example, it can be greater than 0xFFFF) then the correct code would be this:

    String s = new String(Character.toChars(unicodeInInt));
    

    However, since the "\u" notation allows only 4 hexadecimal digits (and need to 0xFFFF code points > Unicode represented by their UTF-16 encoding), the code above is not enough for this particular case.

Maybe you are looking for