Script to random switch between different waveforms

Hello.
How correctly to write the script for switch between different waveforms during generation?
For example:
We are using the niFgen Allocate Named Waveform VI for allocate three Waveforms. When you run Generator, working first Waveforms. Next, the Generator is switched and used in the following only second and third Waveforms.
Or, we configured 10 Waveforms, and in the process of generating to switch not cyclically between all, but only between 2 and 5 Waveforms.
Whether it is possible to realize?
Max O. 
Engineer and software developer,
TeSLa.
Solved!
Go to Solution.

Hi Chris,
Possible that the its scripts and came to use (though I now doubt), but with instruction the if/else/end ifmust be preceded by a generate or wait <N> instruction.
In this case, if we add generate or wait <N> instructions to this script to get Abra-Cadabra some kind.
Clarify, what is necessary:
When starting is not pressed any triggers that generate a waveform0 continuously.
Further, if we passed to the niFgen Send Software Edge Trigger VI - single the triggerX, begin to generate a waveformX continuously.
These scripts do not provide the necessary algorithms:
May be I do not fully understand the scripts work.
How to ensure continuous generation waveformX by a single sent of the triggerX?
Please, prompt.
Regards,  
Max O.
Engineer and software developer,
TeSLa.

Similar Messages

  • Keyboard switch between different languages

    Does anyone know if the BB10 keyboard will feature an easy switch between different languages that will preserve the anticipation of words used frequently/etc?
    Solved!
    Go to Solution.

    nouaspe wrote:
    That's great - thanks a lot. Is that a basic feature? Is there a list of languages (if one is looking for one with less circulation)?
    yes, it is a basic feature. I frequently switch from French to English and no problem, it is almost magical.
    Languages I have on my Z10 (sorry if I make typos, I have not found a page with the list correctly written)
    Arabic (I don't know which, but it is from right to left)
    Catalan
    Cestina
    Dransk
    Deutch
    Greek
    English UK
    English
    Espanol
    Euskara
    Suomi
    Français
    Galego
    Hebrew
    Hrvatski
    Magyar
    Bahasa Infonesia
    Italiano
    Norsk
    Nederlands
    Portugues (Brasil)
    Portugues (Europeu)
    Polski
    Romana
    Russian
    Svenska
    Thai
    Tiêng Viêt
    Türkçe
    Chinese (simplified)
    Chinese (traditional)
    as you can see:
    Japanese is lacking, because BlackBerry has decided to not sell the Z10 in Japan (they currently have a 0.3 marketshare, the market is mainly dominated by local brand like Sony or Anycall)
    This time, RIM did things right and Arabic & Chinese are available from day 1
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Switching between different run-time menu programati​cally

    Hi All
     I am planning to build a Bilingual program…….am just doing trial and errors in changing all captions and run-time menu s programmatically with a single button click……….Here my logic is working fine for all captions and graphs also…………..but I could not change the run-time menu……….i am unable to switch between different run-time menus……………
    Here I am sending the program am working on………..please have a look on this, and suggest me something………….hope my problem get resolved.
    Thanks
    Anil Punnam
    Attachments:
    Caption_program.ZIP ‏31 KB

    Hi Anil,
    I'm guessing you're using 7.1?  When I first ran your program in 8.0, it worked perfectly and switched back and forth perfectly.  However, I tried it in 7.1 and saw some bad behavior.  The customer run time menu was not updated in the menu bar.  It looks to me like the run time menu is changing, but the front panel is not updating.  After pressing one of your front panel buttons to change the run-time menu back and forth, if you click on the file menu it should update, although this can lead to some funny looking menus since "affiche" is longer than "file" and you can still see the remnants of the old menu.  Try this and let me know if this is indeed the behavior you are seeing (check out the attached pic).  I thinkt hat R&D already had a report on this, and that is why it is fixed in 8.0.
    Megan B.
    National Instruments
    Attachments:
    RTM.JPG ‏34 KB

  • How to switch between different libraries for different iPods?

    Hi,
    I succesfully created two separate iTunes libraries on my computer (windows XP) for the iPods of me and my girlfriend. But, how can we switch easily back and forth between the different libraries?
    The suggested option on http://docs.info.apple.com/article.html?artnum=300432 'method three' and bullet '13' does not appear / work....
    Regards,
    Roy

    thanx for replying so fast.
    No problem, Roy. : - )
    Sorry for the delay in getting back to you this time. : - (
    i'd like to know how i can switch between libraries without closing down iTunes.
    Unfortunately you can only choose your Library at startup. So the only way to switch Libraries is to close iTunes ...
    You might want to let Apple know your thoughts on the matter by submitting this form: http://www.apple.com/feedback/itunesapp.html

  • Is there a way to switch between different tabs using your keyboard (eg CTRL+T) instead of clicking with the mouse?

    I would like to you use the keyboard to switch between tabs but I couldn't find if this is possible.

    Ctrl + Tab

  • I need software that enables me to switch between different modes/profiles on my Mac

    I need software the allows me to switch between modes with a click on my computer.
    For example:
    Mode 1:      Disables the screen saver
                      Changes power settings
                      Changes the wallpaper
    Mode 2:      Sets everything to standard

    http://startly.com/products/quickeys/mac/4/

  • How can I stop flash player from randomly switching between audio devices in Win7?

    I have two audio devices in my machine. The internal onboard Realtek (optical out -> surround setup) + Line6 UX1, external usb (for guitar inputs/amp sim).
    I switch between them as needed. The flash player does this too, but always when I don't need it to.
    Example. A youtube video finishes. The sound came from the speakers, as it should. I click the next one. It starts playing but there's no sound - except from the headphones connected to the UX1. This happens once or twice a day.
    Does anyone know what's going on?
    Chrome, Win7 64bit.

    I don't know what more we can do other than to enter a bug at bugbase.adobe.com and have someone take a look.  I suspect switching interfaces while Flash is in use will be unsupported.  In the bug report, it'll be good to note if this is new behavior (ie. it started behaiving like this in 11.3, but 11.2 and older were fine).  However, the key to getting this fixed will be to get other users running into the same problem to vote for the bug.
    You might also want to play around with third party mixers, like http://www.actualsolution.com/power_mixer/

  • The fastest way to switch between different email accounts?

    Hi, does anybody know if there is a fast way to switch between email accounts on the iPhone? Currently when in my outlook inbox, I have to go back 3 screens to get to the list of accounts, to be able to switch to another account and then 2 screens forward to get to my inbox. Thanks for your help.

    Well I only have to go back 2 screens then 2 screens forward, quicker! But not much help

  • Random switching between mono and stereo sound on t400s

    i just found out one problem on my t400s, it randomly alters between mono and stereo sounds. any idea why that happens? i'm using win7 enterprise x64, with all the latest drivers installed (i.e. no beta drivers).
    T400s - 2815RW1 + Win7 Ultimate
    Don't pm me for help! That's what the forum is for. Also, Google's nicer than me. Ask him.

    This issue seems to be similar to the "T410 Extremely Annoying Audio Issues" thread, have you tried potential solutions there? (Can't summarize it because I haven't read the thread.)
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • How to switch between different instances of component usage?

    Hi All,
    Need your help.
    My application is about "Program Management", there is a table on the upper level which displays several program header data. in the lower level of the screen, I have a view container in which I embed another component to display program details.For instance,if you make a lead selection on one row of the table above, then the lower part will display the program detail.
    Here is the problem: e.g. first, I make a selection on program '001', then I'll create a component usage of the program detail and I put it into a component uage group, second, I make a selection on program '002', then the same like above, I create another component usage and put it into a component usage group. Now I have two instances of program detail component usage, when I select program '001' again, how can I switch back to program '001' detail.
    So, I'm trying to achieve multiple instances of program detail so that user don't need to wait for loading program details everytime.
    Thanks in advance.
    Regards,
    Aaron
    Edited by: Aaron Shen No.2 on Sep 22, 2009 3:44 AM

    Hi Aaron,
    As you are using two separate components, they would be having two separate views to display the required information.
    In the onleadselect of your main view ( where you are using the individual views of the other components via the viewcontainerUI ), you have to embed the following code:
      DATA lo_api_main TYPE REF TO if_wd_view_controller.
      lo_api_main = wd_this->wd_get_api( ).
      CALL METHOD LO_API_MAIN->FIRE_PLUG
        EXPORTING
         PARAMETERS =
          PLUG_NAME  = 'OP_TO_TWO'
    Create two outbound plugs in your window, and link them to the inbound plugs of the individual views of used components.
    I am embedding the code of my onleadselection:
    method ONACTIONSELECTED .
        DATA lo_nd_table_data TYPE REF TO if_wd_context_node.
        DATA lo_el_table_data TYPE REF TO if_wd_context_element.
        DATA ls_table_data TYPE wd_this->element_table_data.
        DATA lt_table_data TYPE wd_this->elements_table_data.
        data lv_selected_index type i.
      navigate from <CONTEXT> to <TABLE_DATA> via lead selection
        lo_nd_table_data = wd_context->get_child_node( name = wd_this->wdctx_table_data ).
      get element via lead selection
        lo_el_table_data = lo_nd_table_data->get_element(  ).
         CALL METHOD LO_EL_TABLE_DATA->GET_INDEX
           RECEIVING
             MY_INDEX = lv_selected_index
    case lv_selected_index.
    when 1.
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage =   wd_this->wd_cpuse_comp_one( ).
    if lo_cmp_usage->has_active_component( ) is initial.
       lo_cmp_usage->create_component( ).
    endif.
       DATA lo_api_main TYPE REF TO if_wd_view_controller.
      lo_api_main = wd_this->wd_get_api( ).
      CALL METHOD LO_API_MAIN->FIRE_PLUG
        EXPORTING
         PARAMETERS =
          PLUG_NAME  = 'OP_TO_ONE'
    clear lo_cmp_usage.
    when 2.
    DATA lo_api_main TYPE REF TO if_wd_view_controller.
      lo_api_main = wd_this->wd_get_api( ).
      CALL METHOD LO_API_MAIN->FIRE_PLUG
        EXPORTING
         PARAMETERS =
          PLUG_NAME  = 'OP_TO_TWO'
      data lo_cmp_usage type ref to if_wd_component_usage.
       lo_cmp_usage =   wd_this->wd_cpuse_comp_two( ).
       if lo_cmp_usage->has_active_component( ) is initial.
         lo_cmp_usage->create_component( ).
       endif.
    endcase.
    endmethod.
    Regards,
    Prosenjit.

  • What's the fastest way to switch between different email accounts?

    I use at least 3 different e-mail accounts (Corp, Yahoo and Gmail)... Is there a way to get back to the account list rather than having to click on the little 'button' on the top left? It seems a bit ridiculous to have to click about 6 times to get to the e-mail in the 'other' account.

    No., what you see is what you got. No shortcuts.
    If you can get to your mail on safari (scary thought) or from iGoogle, you may be able to set up an icon on the home screen to that page, but I dont really know.

  • ITunes stops responding when switching between stores

    Since the update to 10.5.3.3, I have been experiencing a long wait-time to switch between different nations' iTunes Stores that was not evident in the previous version. Multiple times this morning, iTunes has simply stopped responding as the switch occurs. I was just shutting down the program before, but I let it sit there and it took around 5 minutes to go from one country's store to another, when it took only moments before this update. I do not know if this is only an issue because I recently updated and have not restarted, if it is only affecting Windows users, or if it is a bug that needs to be fixed. What is going on and what should fix things?

    I have tried uninstalling and reinstalling Quicktime.
    I have set Norton Personal Firewall to allow all access for Itunes and Quicktime
    I have tried uninstalling and reinstalling Itunes.
    Basically, if I do anything, Itunes stops responding. Can anyone help?

  • Switching between license servers

    Hello,
    We have two SBO 8.81 installations on two different servers in same network.
    Each server has own licence manager running. 
    SBO clients are installed on the client PCs.
    Client PC's are accessing these servers directly.
    No terminal service client (WTS or Citrix) platform exist.
    In this case, from a client PC, how can I switch between different companies installed on different servers? Do I need to stop licence manager on server1 so that licence manager on server2 is the only licence server running and clients can switch to that server? "Chose Company" screen on client is remembering the last licence server. I can not change entry on "the field "Current server".
    Please share your ideas if you have any.
    Thanks in advance,
    Savas Ertugrul

    Hi,
    In addition to Gordon's comment, the main purpose is to have no intervention in stopping the license server.
    If you want to connect to the Server 1 you can connect through LAN directly and
    if you want to connect to Server 2 you connect through Terminal Service in this way it will avoid confusing
    and manual connection.
    Better yet use Terminal Service for both license server.
    THanks.
    Clint

  • Any key to quickly switch between controllers in Piano Roll?

    in the LPX PIano Roll, can we use key commands or ipad Remote app to quicly switch between different midi controllers? Like switch between modulation/foot control, etc.

    I too was looking to do this.  There seem to be multiple commands, one of them is Shift+Command + Arrow (Right or Left).  For those people not sure what kappy was getting at, just download bettertouchtools (Free) and setup a new shortcut after adding the app safari, under the custom keyboard shortcut is where you would type in the version of the command to change between tabs that you want to add.  Great tip kappy! 

  • Switch between windows in quicktime using keyboard?

    hey all,
    i know i used to be able to do this in some previous version of quicktime, but i cannot figure out how to do it now:
    how can i switch between different windows in quicktime with the keyboard?? if i have 3 different videos open, is there no way to switch between them with a keyboard shortcut?
    thanks!

    yeah, i'm beginning to think that's what it should be, but when i use that - or any similar combination of the modifier keys and tab or ~ i only get an error beep. must be something else i have running!
    thanks anyways.
    20"2GHz iMacG5; 15"1.5GHzPowerbook;AirportExpress;WacomIntuos3;MotorolaRAZR. Mac OS X (10.4.4) TiVoSer.2;WestinghouseHDTV;iSight;iPod5G,Nano,Shuffle;Vonage;LaCieLightScribe.

Maybe you are looking for

  • How can i install labview in a AMD64Linux machine?

    Hello: I'm a linux user, I have Debian installed and maybe changing for Suse or Mandrake due to the NI's preference on those two OS. But I have only one question: is it possible to install LabVIEW in a linux that's native AMD64, this means, that if t

  • Iphoto 6 and leopard and words for month's missing

    I have found a strange problem in iphoto 6 and I am unable to fix it with a reinstall from the factory disks. For some reason all the month references in iphoto i.e. January, February, etc show up as letters J, F, etc. Any suggestions? pictures http:

  • Lion / External Microphone problem on Line-In port

    I am having a problem with an external microphone on the line-in port on side . I now have tried two mics: 1) Logitech and 2) Gear-Head I can't get it to be seen on the system preferences nevermind any applications. Hardware: MacBook Pro  AND iMac (p

  • Photoshop flash panel: Get selected tool?

    I'm trying to make a custom toolbar (in Flex) which shows some of the tools as buttons (amongst other things). I'd like to query the chosen tool somehow so I can change the related button's style to reflect that. First I thought that it will work lik

  • Delivery with open quantity

    Hi, is there a report for deliveries with opened quantity ? Regards