How to program for multiple tasks at the same time.

I want to start a data acq, then detect a level change in a switch which also corresponds to a visible timer starting. The timer will stop when one of three switches is closed. In the middle of this I would like for there to be a selectable (controllable/ adjustable) time delay andthen a signal is sent to one of three random lights. Can anyone please assist?

Ok, I took a shot at what I think you are trying to do. The attached VI monitors an analog signal. When the analog signal goes above 5V (could be easily modified for any level), the program pauses for a selectable amount of time, then writes to one of three randomly selected digital lines (the LEDs on my digital lines were reverse logic, so you might have to adjust the polarity). This will at least give you something to work with. Hope this helps!
-Alan A.
Attachments:
analog_in_one_dig_out.vi ‏111 KB

Similar Messages

  • Can I run the currency translation for multiple years at the same time?

    Dear Friends,
    I set up currency translation on our BPC NW 7.0 system and it is working fine ONLY if I run it for any one year at a time. But if I select multiple years in the data package (FX Restatment) selection it only calculates for the first year in that selection.
    say if I run the data package for years: 2009, 2010, 2011, 2012, it only performs currency translation for the year 2009.
    Can I run the currency translation for multiple years at the same time ?
    Note: The year is determined from the YEAR property of the "Time" dimension
    appreciate any inputs,
    thanks

    You can run currency translation for multiple years.
    I think the problem it is actually related to how you are sending the parameter to currency translation script.
    Just review the script logic log and you will see with what parameters was called currency translation FXTrans.
    My expectation is that actually the script is called just with first year and that's the problem.
    Log of script logic you can find it into:
    C:\BPC|DATA\Webfolder\YourAppset\YourApplication\Private Publications\Users used to run logic\Temp
    Regards
    Sorin Radulescu

  • In Elements 7.0, how can I delete multiple photos at the same time?

    In Adobe Photoshop Elements 7.0, how can I delete multiple photos at the same time?   Please be a little specific so I can follow your instructions as I'm not real smart at computers; I'm an intermediate user.  Thank you.

    Shift-click the photos or Ctrl-click them to select them, then right-click one of them and choose Delete from Catalog. They will all go together.

  • How do i uncheck multiple songs at the same time in my library?

    how do i uncheck multiple songs at the same time in my library?

    THANKS.
    i just figured out that u can highlight them then right click and the option is there

  • How do I delete multiple emails at the same time rather than individually?

    How do I delete multiple emails at the same time rather than individually?

    My mistake
    I was looking at my KB, even tested my suggestion with the command key, and then wrote option
    Barry

  • How do I delete multiple documents at the same time

    How do I delete several or multiple documents at the same time.  Do I have to delete each one individully?

    You can select multiple adjacent files or folders by clicking on the first one then shift-click on the last one.  Multiple non-adjacent files or folders can be selected one at a time by command clicking on each one.  Click on any selected file or folder then drag/drop to trash.

  • How do I open the same ports on an Airport Extreme Base Station for multiple computers at the same time?

    As the title suggests...
    I have a mix of five Mac and PC's at home using an Airport Extreme Base Station as the router.   I need many ports opened on the AEBS for all of the computers- not just one computer.  (for example: three people want to play TF2 on Steam at the same time; each machine needs the correct ports open on the router).   Port forwarding  only allows me to forward a given port to a single IP, yet I need that port open for five differnt IP's, all at the same time. 
    How do I do that on an AEBS?
    In the same way, I have a small office of four iMacs using an old airport with the same exact issue.   I would like to be able to connect to all of them remotely with Apple Remote Desktop, but the port forwarding on the airport only allows a port to forward to a single IP.   I want to be able to tunnel into the office network and log onto any machine behind the Airport extreme... not just a single IP.    I currently have it set up where I can tunnel into the office from my house, I can find the one machine that the port forwarding has been assigned to, I can log on and everything is just fine... with one machine.    How do I open the firewall for the other machines? 
    TL,DR version:  How do you open ports on an Airport Extreme Base Station instead of forwarding ports?   Forwarding ports doesn't work for multiple IP's.  

    You can open a single or multiple ports to a single device or different ports to different devices, but you cannot open the same port to multiple devices via the AirPort Utility for the Apple routers.

  • Import PST files for multiple users at the same time?

    While importing PST files into archive mailboxes, the Exchange 2010 mailbox server went to 100% CPU and memory usage and I could not stop the imports because the EMS stopped responding.  We had to restart the whole server to get back to normal.
    Not sure if importing PSTs was the cause of it it was a coincidence.  We have done imports the same way before without this issue.
    How many PST imports can be done at the same time and how do we queue up multiple users and have the mailbox imports have unique names for each user?  I noticed they are always called MailboxImport and MailboxImport1 and then it starts over as MailboxImport
    again for additional users. So, if more than one user's PSTs are being imported at the same time, we will have multiple identically named imports running.
    We would like multiple users' PST imports to queue up and start automatically when the previous users' imports complete.

    Please try like this. Rename folder name same as alias.  i.e. \\server\share\<alias>. below are examples.
    "\\server\share\jsmith"
    "\\server\share\tjones"
    "\\server\share\rsmith"
    "\\server\share\bspears"
    "\\server\share\mmouse"
    And run below command to take PST from the corresponding
    foreach ($i in (Get-Mailbox)) { New-MailboxImportRequest -Mailbox $i -FilePath "\\Server\share\$($i.Alias)\$($i.Alias).pst" -baditemlimit 50 -acceptlargedataloss ;while ((Get-MailboxImportRequest -mailbox $i | ? {$_.Status -eq "Queued" -or $_.Status -eq "InProgress"})) { sleep 180 } }
    If a folder missing with the alias you will see an error similar to this.I think this will work for you. You just keep only the required PST folders to import in the "\\Server\share" folder. 
    "Unable to open PST file '\\server\share\mmouse\mmouse.pst'.
    Error details: Could
     not find a part of the path '\\server\share\mmouse\mmouse.pst'.
        + CategoryInfo          : NotSpecified: (0:Int32) [New-MailboxImportRequest], RemotePermanentException
        + FullyQualifiedErrorId : 27802833,Microsoft.Exchange.Management.RecipientTasks.NewMailboxImportRequest"
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Outlook autocomplete cache stops working for multiple users at the same time

    Hi there
    Ever since we upgraded our Exchange 2010 to Exchange 2013 we have had problems with the autocomplete cache in Outlook 2010.
    We have 700 users and about once per week I get a call about the autocomplete cache. A few users are on cached mode, but most use online mode. The problem appears on both, but it can usually be corrected by /cleanautocompletecache.
    Granted, the autocomplete cache gets corrupted sometimes, but it seems to happen a lot for us. I have noticed that often more than one user experiences the problem at the same time, and, since the problem starting after upgrading Exchange, I suspect that
    the issue is with Exchange and not Outlook. Yesterday three users complained about the cache at the same time.
    I know how to get a broken cache going again - that is not the issue. The issue is keeping this from happening so often.
    Anyone out there able to help?
    Thanks!
    /Anders

    Hi ,
    Based on my knowledge , when you tried to send an email to a recipient in the same exchange organisation then the recipient address will be resolved in to legacy dn value and then that email will be delivered to destination mailbox by pointing towards to
    that legacy dn value.
    For the external recipients exchange user the smtp address to get it delivered.
    For your issue :
    Based upon the NDR message , we need to covert those values in to x500 format and add it to respective recipient mailbox as an x500 address.Then These erorrs will happen if the x500 value of the destination recipient is not available on it's maibox
    and that would be the cause of the NDR for most of the times.Some time as you said autocomplete cache would get corrupted on the client end but it is very rare.
    How to convert NDR to x500 address format :
    http://msexchangeguru.com/2012/03/15/x500/
    How to avoid getting such kind of NDR'S :
    https://www.simple-talk.com/sysadmin/exchange/exchange-e-mail-addresses-and-the-outlook-address-cache/
    In case if you don't want the users to use the autocomplete cache when composing the new emails :
    In group policy we can use the  office templates to disable the below mentioned option.
    1.use autocomplete to suggest the names ---> this option will comes under the advanced settings on the outlook client.
    In case if you don't want the users to use the autocomplete cache when composing the new emails as well as if you wanted to delete that autocomplete then you need to choose one more option along with the first one.
    1.Empty autocomplete cache.
    Please reply me if anyhitng is unclear.
    Thanks & Regards S.Nithyanandham

  • How do you rename multiple files at the same time

    how do you rename multiple photo files with a name at the same time?

    This would be an excellent use of Automator. Here is a link to some instructions on how to do this using Automator.
    http://www.youtube.com/watch?v=Ie6zGxo2D-o
    If you don't like that then Google "Renmame multiple files Automator" and you will find many tutorials available.

  • Updating info for multiple songs at the same time?

    Is there a way to highlight multiple songs and change info for the songs at the same time without having to do it for each individual song? Example: changing the album or the genre for a batch of songs?
    Thanks.

    Michael,
    You can shift-click to make a continuous selection or command-shift to make a discontinuous selection.
    Then choose Get Info from the file menu.
    Matt

  • How Can I Sync Multiple Changes at the same time?

    Is there a way to configure iTunes so that I can make changes in multiple sections, and only sync or apply them when I've made all of them?
    For example: I want to changes setting in Music, Apps, and Books. Today, it seems like I have to go to change settings,hit apply, and wait for the iTunes to sync for each one. What I want to do it make changes in all of them, then hit apply/sync and wait for the iTunes to sync all my changes in one swoop.
    The seems very intuitive and saves the user a lot of time. Can iTunes be configured to due this?

    The OP's question asked - in iTunes for Windows, if it was possible to "configure iTunes" (not the iPod) and then "Sync those changes to the iPod in one step"
    Is there a way to configure iTunes so that I can make changes in multiple sections, and only sync or apply them when I've made all of them?
    For the media, one can;
    untick songs in the Library in order for them to be removed at the next Sync (and obviously the reverse to put them back on),
    the same procedure for books,
    create and modify Playlists,
    remove or add photos to the chosen Photos folder (in Windows of course, not in iTunes) which then get removed or added at the next Sync,
    and then connect the iPod. One can prevent an iPod from Syncing at initial connection time, so that further changes to things such as which Apps to Sync (which does need to iPod to be connected), choices of Selected Playlists only, etc. (ditto) can be made by choosing the appropriate pane. As yet, whenever I've done this, I have never had to Sync one change before switching to a different pane. The first change causes the Apply and Revert buttons to appear. I ignore them and continue to make further changes on the other panes. Then I select Apply. The Apply/Revert buttons are removed and replaced by a Sync button. So, although there is the Apply, then Sync to be done, it can hardly be described as a burden.
    Are you saying Chris, that you have to apply one change at a time, followed by a sync before making any other change?

  • Condition records- setting printer for multiple vendors at the same time

    Hi all,
    I have maintained condition record for POs for Key combination of Doc type,Purch Org and vendors.Now for a particular doc type and P.Org , I have around 50 vendors. I need to change the printer for all these 50 vendors to 'printerx'.Is it possible? I tried selecting multiple vendors at a time and changed the printer but its not working.

    Hi Saurav ,
    You can achieve this through SCAT transaction.
    For running SCAT take the help of ABAP team.
    I hope u might be having the list in the form of text file.
    If not , download the same from NACH table.
    Regards
    Ramesh Ch

  • Import catalog numbers for multiple BP at the same time

    I have to import different groups of the same catalog numbers for multiple business partners. I have been looking through the DTW templates and have not found it yet. Does this functionality exist and if so where would I find it? If not what to do, enter each one by one
    thx,
    Richard.

    Hi,
    I just looked at the available templates... I would use the oAlternateCatNum one.
    Regards,
    Eric

  • Will USB-6251 execute multiple tasks at the same time?

    Hi all,
    I have an application controling an experiment and logging data using a USB 6251. One measurement uses Two Edge Seperation , and takes a while to complete (20 to 30 seconds). Meanwhile I need to execute another task repeatedly to sense a digital input pin. Does anyone know if the USB 6251 can execute a second task while it's busy doing the edge seperation task? So far I haven't found anything in the documentation or on the forums.
    BTW I can't just 'try it and see', or at least it's very tricky to do so. The control system is at the top of a scaffold tower, a long way from my development system. Every code change has to be deployed and installed to test it.
    I recomend you avoid such an installation if you can  )  It makes for a tough time debugging.
    Thanks for any help.
    Bandit.
    Message Edited by Bandit on 03-20-2007 12:05 PM

    A small addition to YatimM's answer
    You can execute two tasks together as long as they are not accessing the same channels or digital lines.
    For acquisiton on analog input channels, you cannot execute 2 tasks simultaneously even if they scan for 2 seperate sets of channels
    For Ex: task 1: acquiring from analog channels 0 to 3 and task2 : acquiring from analog channels 4 to 6, will still give a 'device reserved' error, because a single ADC is available and used for multiplexing all channels in a task/ scan list and the second task will give up this error

Maybe you are looking for

  • REPORT FOR SUBCONTRACTING

    DEAR FRIENDS, I am making a program for tracking the materials given (mb1b 541 movt.) for subcontracting and taken by me (101 for actual good receipt, 543 for the given material- stock type inward, 545 for the scrap returns). but while i made the pro

  • Changing layout at runtime, executing background job and sending mail inXLS

    Hi When i execute my program in foregroung by manually changing value of s_job = 'X' in debugging mode it is sending the correct XLS file via mail with all the data , whereas  when i execute my program in backgroud mode it sends incomlete XLS file vi

  • [HELP] Transferring music

    I transfered my iTunes to a flash drive and am planning on putting it on my new Mac, I did it like this : I simply drag and dropped my music from Itunes (by album) to the flash drive (left of iTunes), when I plug my flash drive into my new computer w

  • URL bar missing

    Disappeared but is not hidden. Have tried resetting safari. Any ideas?

  • Using the Links panel | Visual Design CS4 | Adobe TV

    Customize the Links panel to suit your needs. Add the categories you want and then sort the links by category. http://adobe.ly/wgVJk9