Using more than one time delay in a thread

Hello,
     I need to use two non-consecutive time delays in a thread. My thread typically proceeds as follows:
1. Tell an oriel MS257 to change wavelengths
2. Time delay #1 to give the MS257 time to change
3. Tell HP 4156C to start sweeping
4. Poll the 4156C until sweeping is complete
5. Time delay #2 to give 4156C time to load data
6. Read/parse/save data
My problem is that the second time delay seems to start counting immediately after the first one - it does not wait for the sweeping to complete before counting. My VI is attached. It's a bit messy - organizational tips are also welcome!
Thanks,
Ying 
Solved!
Go to Solution.
Attachments:
TFTmeasure.vi ‏115 KB

Looking into the sources show: Cleanup is a nice tool (even thought it is far from perfect )
Well, nevertheless, from the wireworking, it seems alright that the second Time Delay express VI should indeed wait for the loop to finish. Therefore, i am wondering why it is skipped. And the only reasonable explanation: You have an error on the error cluster.
So please debug into it using highlight/probes on the error cluster to make sure that you are not running into issues here.
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Wanting to use more than one time entry in cube

    My original question came from joining tables to be used in a cube. This all works fine now but for my specific application I want to join tables with the following specifics.
    Both tables contain the key ID
    Table 1 contains a Payment Type 1 date and amount - eg. TV 001 commission paid 1 JAn
    Table 2 contains a Payment Type 2 date and amount - eg  TV 001 payment received 3 FEb
    I wanted to join the tables because there are a lot of attributes in TAble 1 that I'd like to use and have in the same entry line. But now it seams that the cube is not going to allow me to enter 2 dates, even if each is assigned to different key figures. (Or maybe I don't know how to set that up)
    The other possible solution that I can think of is to somehow get the attributes from table 1 and keep the entries seperate

    Is ZDATE  just a custom name you entered. Why does it create the 0CALDAY attribute, I thought you would have to specify this.
    Do these attributes still fall under the Time Dimension or do I have to create a different dimension
    Edited by: corne.potgieter on Mar 11, 2009 12:22 PM

  • Using more than one time capsule

    Is it possible to backup my MBP to 2 different time capsules in 2 different locations and have the same backups? for instance, I'd like to back up my MBP at home every hour and also backup at my office every hour when I'm there.
    I'd like both to back up anyhting new as of the last backup on that time capsule so i end up with duplicate backups in the event that something happens to either time capsule.
    thanks.

    Yes, you can do this. It's an excellent strategy.
    You will have to tell TM each time you swap, via TM Preferences > Change Disk.
    And the first backup after the swap will take somewhat longer than normal.
    You'll have two, independent sets of backups. They won't be the same, exactly, as they'd be done at different times, but the result would be nearly the same.
    Each would be current as of the last backup performed to that particular disk.

  • Unable to use more than one processor group for my threads in a C# app

    Hi,
    I set my .Net 4.5 (or 4.5.1) App.Config to:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <runtime>
    <Thread_UseAllCpuGroups enabled="true"></Thread_UseAllCpuGroups>
    <GCCpuGroup enabled="true"></GCCpuGroup>
    <gcServer enabled="true"></gcServer>
    </runtime>
    <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/>
    </startup>
    </configuration>
    I run my app on a windows server 2012 with a NUMA architecture: 2 x [cpu Xeon E5-2697 v3 at 14 cores each with Hyper Thread activated] => 2 x 14 x 2 = 56 Logical Processors.
    This is TaskManager screenshot:
    My app start 80 threads either from "Thread Class" or "Parallel.For" and in both case it only takes 28 Logical Processors, all from the same Processor Group.
    According to MSDN documentation
    and
    Stephen Toub answer, it should use every Logical Processor of every Processor Group.
    Why does the Task scheduler assign my threads on only one Processor Group?
    I also reported this question to
    StackOverflow which have a lot more information.
    Eric Ouellet

    One thing before all, is that I suggest that you think through your security model before implementing it in UCM. You should ask yourself questions like :
    - Is security really based on department ?
    - Why two departments need to have access to the same category of document ?
    - Is it really security that I need or classification ? Is it a problem if Accouting have access to Finance or you just don't want Marketing documents in a finance related search ?
    - Maybe what you want is that finance guys to have access to marketing document.
    Without a clear business security model, it's hard to find a UCM security model as it is impossible to associate 2 security groups to one document.

  • Can I use more than one bluetooth device at a time with my iphone4

    Can I use more than one bluetooth device at a time with my iphone4

    Anthony
    I have a Plantronics 975 earpiece that works very well with my Razr.  I
    just got a Panasonic KX-TG7873S phone system for my home, it has a
    "Link-to-Cell" cellular convergence solution, from what I understand it is
    just Bluetooth enabled.  I have paired both device with my Razr.  In
    settings, Bluetooth setting, both device show.  But only one device can
    connect at a time.  If my Plantronics is connected and I choose the
    Panasonic device, the Plantronics device disconnects and the Panasonic
    device then says it is connected.  Both devices work when they
    are connected.  Is it because they are both "headsets"?
    So, to have to remember to connect to one or the other device, depending on
    weather I am coming or going is not practical.
    On Sat, Sep 14, 2013 at 1:14 PM, Verizon Wireless Customer Support <

  • Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    As long as the profiles are different (ex. HID vs AD2P) you will not have any issues. But say if you try to use 2 keyboards at once, it won't work. Or 2 headsets at once. Your scenario seems fine.

  • Multiple AirPort Express units - use more than one at a time?

    If I connect three Airport Express units in three different rooms, can I use more than one at a time?
    Can I choose to only use 2 out of the 3 at one time?
    Thanks.

    Yes. With iTunes 6.0.2 or later, you can send an AirTunes stream to multiple remote AirPort Express units, provided that each AirPort Express has the latest AirPort firmware. The maximum number of remote AirPort Express units is three to six in typical conditions. The number that works for you will depend on your environmental conditions (such as building composition and local radio interference), distance to the remote AirPort Express units, and available network capacity relative to your other usage.

  • Using More Than One App At A Time

    Does anyone know if there is a way to use more than one app at a time? It would be nice to get back to the home screen without quitting an app if you are in the middle of something.

    I know I have seen some apps that specifically say that they can be used while surfing the web, etc. It may be a function of the app that it can continue to run while you're doing something else. I'm kind of surprised that a radio app wouldn't allow for that.

  • Can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0

    can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0 or Iphone 4s or Ipad 2?

    You can only connect to one device at a time using Bluetooth, See article below for more information.
    http://support.apple.com/kb/ht1664
    While your iOS device can maintain multiple pairing records, it can only connect to one headset or hands-free device at a time. This prevents your iOS device from sending your data to the wrong Bluetooth accessory.

  • Using more than one input device at the same time

    Is it possible to use more than one input device at the saem time in logic express. For example I have a fire wire input device and a usb input device can I get Express to recognize both of these at once and so have a total of 4 ins which would be great since Im transfering tracks off my ADAT and it would be less track to have to line up.
    Thanks

    Hi,
    yes, it should be possible by creating an aggregate device. Google for it or search this forum. There are many tutorials how to set it up.
    Have fun!
    Fox

  • Use more than one transition in the same time between two video clips?

    Dear Premiere Pro programmers,
    Could you please create a way to use more than one transition in the same time between two video clips without exporting to media, or creating new sequence, or using another layer (adjustment or transparent)?
    Message was edited by: Kevin Monahan
    Reason: Next time, create a more descriptive title.

    Hi Aqsa Nori,
    I'm not sure what you are imagining, but it might be possible to achieve by key framing effects. Can you tell us what you want to do? Also, please feel free to file a feature request: http://adobe.ly/feature_request
    Thanks,
    Kevin

  • Can on use more than one hard drive to backup with time machine ?

    Can one use more than one hard drivewith time machine ?

    Yes, if you have the Mountain Lion operating system installed on the Macs that you want to back up.
    I don't know what the maximum number of hard drives might be, but I have tested with 4 and it works fine. Time Machine automatically rotates the backups when you do this, so drive #1 will be backed up first, then #2, #3, etc. and then back to #1, etc.

  • Can I use more than one Apple ID on one device

    I have seen some answers to this type of question before but not that since the ios 6 so will ask again. My household shares an Apple ID and it has worked great as we have added devices and purchased apps.  My problem now is this, we have hit a point where I have work things on my iPad and iPhone that I really don't need to be shared with the whole family but it isn't a major deal or security risk. I don't want to give up the advantages of having the household ID.  Is there an easy way to have another ID on my iPad and switch between them without having major complications?  I am for the most part a techie so not afraid of these kind of things but I can't afford to lose everything right now and take the time to set it all back up so getting advice here.  Thanks in advance for any help you can give.

    You can use more than one apple id, but keep in mind that when apps need updating that you'll will need to sign in with correct credentials to update them.
    Share an apple id for the itunes and app stores, but keep your own for icloud, facetime and messages.
    Managing and Sharing multiple id's with your family
    http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/

  • Can I use more than one song in a slideshow?

    Can I use more than one song in a slideshow?  If so, how?  Thank you

    Dear Barbara B. 
    Thank you for your response.  Good idea about combining the songs in another program first.
    Thank you for your time and thoughts.

  • Can u use more than one apple account on your device and itunes

    Can u use more than one apple account on your device and itunes

    Yes, but you have to logout of one, and login to the other.
    If it is an iPhone/iPad/iPod Touch and you buy apps on different accounts, when it comes time to update an app, you have to specify the password for the account used to acquirer the app. You change an iOS account via Settings -> Store -> Apple ID (tap on it), and start by logging out and then you can enter the other Id
    So it is possible, but it can also be a pain.

Maybe you are looking for

  • How to use a 64-bit Matlab ActiveX in a 32-bit CVI?

    I have a CVI 9.0 and 64-bit MatLab R2012a installed on my PC together with 64-bit Windows 7.When I try to use "Create ActiveX Controller" wizard to use the Matlab ActiveX,a message went out says"The Type Library is not intended for use on Win32".Seem

  • HT1296 how to restore a deleted calendar after sync with computer

    I wanted to back up my contacts and calendar to PC, so i changed the phone settings to syn with calendar. The outlook sync would not work so i changed back and now my calendar is gone. How can i restore it on my phone

  • Form Development

    When we develop form is it printer specific? I developed a form using default local printer. When some other user prints the forms the data is not displayed properly(aligment id getting messed up). What should I do? Thanks, AP

  • Personnel number in automatically created confirmations CO11N

    Hello experts, I want to enhance the order confirmation (CO11N). I have extended the screen to give two personel numbers in one confirmation and have done an append to table AFRU for the second number. For automatically created confirmations I have t

  • IStore Dev Setup with JDeveloper

    All, I want to setup Jdev for iStore 12i, Can any one tell me the steps or Metalink note. I found this metalink note 419887.1 but it has steps to setup iStore 11i not 12i. Can any one tell setups for 12i iStore ?? I am using the JDevelper 10.1.3 and