Trigger delay about 2 days

Hey guys,
my idea to start virtual machines in SCVMM which are offline and to perform a client action (via SCCM) to roll out the new updates our company released, only needs a lil piece in that puzzle. If the newest updates are deployed and installed, I want to shut
down the virtual machines. The trigger delay, that you can set up in the "links" between the actions, can only set up to 999 seconds. 
Do you have an idea to trigger a delay, that can shut down the virtual machines after 2 days, for example? I don´t know that much about scripting, maybe there is a easier way.
Thanks for your help and best regards,
Simon

You can use a "run .net activity" and use PowerShell:
Start-Sleep -seconds 172800 #pause execution for 2 days
There should be a better way than to have a runbook sit idle for two days. You might look into triggering the runbook from an external scheduling application like Control-M or something similar.

Similar Messages

  • Trigger delay too long

    I'm trying to make a 10ms trigger delay using a PCI-MIO-16E-4.  However everytime I use it there seems to be a variable delay of about 50ms before my signal is outputted.   Is there anyway to remove this extra delay?
    Thanks

    Although you are getting a longer delay than you are
    wanting, this can be caused by a few things. One large factor in delay times
    being slightly off are that, unless you are using a real-time system, your PC
    is non-deterministic and will not guarantee your delay being exact and
    occurring at the exact same time each iteration.
    Another factor, partially building on the one above, is the
    code you are running and how long it takes to execute. If you have a 10 ms ‘wiat ms.vi’, but your code takes
    20ms, then the delay will be ignored because your code ran longer than the wait
    timer. This
    KB explains more about the wait functions.
    David L.
    Systems Engineering
    National Instruments

  • Why is Start Trigger Delay not applicable?

    Hardware: PCI 6602
    Driver: DAQmx 7.4
    Programming Environment: ANSI C
    Hello All,
    I'm setting up a counter output pulse generation task which is to have a start trigger.  To be specific, it is a digital edge start trigger (not an arm start trigger) which I plan to use in retriggerable mode so as to get a single output pulse of specified width for every trigger edge.  Currently I'm baffled as to why the Start Trigger Delay and Start Trigger Delay Units properties do not seem to apply - whenever I try to access them I get an error message saying they're not applicable to the task.  The other properties of interest - Source Terminal, Active Edge, and Retriggerable - can be accessed and modified without any problems.  I don't actually need the delay but am curious to know why it doesn't apply in this case.  Thanks in advance.
    Jeff

    Hey Jeff-
    You will need to make sure that you don't stop the task at any point after the first generation.  Most of the examples use DAQmxWaitUntilTaskDone() to wait for a single iteration, but in your case you want to run through several iterations of the task.  So, you will want to enter a loop after starting to ensure that the task continues to run in the background on the hardware.  I modified the single pulse DAQmx shipping example to include digital retriggerable start triggering.  The empty loop spinning is obviously not ideal, so I'll leave you the choice to implement that as necessary.
    Since you're working with retriggerable single pulses, you may also want to be aware of the information in this KB.
    Hopefully this helps-
    Tom W
    National Instruments
    Attachments:
    DigPulse.c ‏4 KB

  • Unexplaine​d Trigger Delay in NI-SCOPE Software

    Hello,
    I am using NI-SCOPE to configure my 5122 digitizer card for multi-record acquisition.  My trigger signal is connected to the TRIG input of the card, and my data will be acquired on Channel 0.
    I have an X stage that I move in to position.  Then I configure my SCOPE software to begin acquiring data on an External Trigger, and initiate the acquisition.  Then I begin moving my X stage and after it moves 20 microns the first trigger is generated.  After the initial trigger, subsequent triggers are generated every N microns, where N can vary between different scans but is a constant within a scan.  After the acquisition is complete I display the resulting waveforms.
    Please refer to the attached vi (LabVIEW 8.0) and jpg of the block diagram to see how I have the code set up.  I've combined a few different sections of my code into this single vi.
    You'll see that I have a trigger delay - in this vi it is a constant, but in my application it is a Control.  I've run various tests and for some reason my data is always offset by 1.04E-5 seconds, which is why I've had to put in that trigger delay.  What I mean is that if I set the trigger delay to 0, then the first 1.04E-5 seconds of my data is noise.  After I use this trigger delay, my data is accurate beginning with the first data point.
    Can anyone figure out where this trigger delay comes from?  Thanks.
    Steve
    Attachments:
    5122 Scope Test.zip ‏88 KB

    Hi Steve_G,
    There doesn't seem to be anything fundamentally wrong with your VI and so there should not be any delay between your trigger and your data acquisition. I suspect that you may be generating your trigger signal a bit prematurely and that your step motor may not have settled to its final value. This will cause your digitizer to acquire unsettled data and this may be why you are seeing noise. Also, I noticed that you have set some wait timers in your VI and although these will delay your data fetch, it will not delay your data acquisition. So although you are delaying your data fetch call, as soon as the "niscope initiate acquisition" is called, your hardware is configured and is programmed to start acquiring data onto your on-board memory buffer as soon as it receives a trigger signal.
    One way to troubleshoot this system would be to simply acquire both the trigger channel and your input channel to see if the trigger lines up with your data. This will give us a good indication if we are in fact seeing any delays. I would also like to point out that there are tons of great NI-Scope shipping examples in LabVIEW that you could refer to. You can view these in your Example Finder by accessing it under Help  Find Examples.... The examples we are particularly interested in should be under Hardware Input and Output » Modular Instruments » NI-Scope » Continuous Acquisition.
    I hope this helps,
    S_Hong
    National Instruments
    Applications Engineer

  • Trigger delay in NI-Scope 1.6

    I am using NI-Scope 1.6 with PXI 5102. I can't seem to set the trigger delay
    parameter of niScope_ConfigureTriggerSource() to any value other than 0.0.
    My code looks something like this:
    niScope_ConfigureVertical( vi, "1", m_VertRange, m_VertOffset,
    NIVerticalCoupling, m_ProbeAttenuation, VI_TRUE );
    niScope_ConfigureHorizontal( vi, m_RecordTime, RecordLength, 0.0 );
    niScope_ConfigureTriggerSource( vi, "1",
    NISCOPE_VAL_EDGE,
    0.0,
    0.0 );
    The call to ConfigureTriggerSource will fail if the trigger delay parameter
    is anything other than 0.0. (At least it fails with the handful of values I
    have for a 10ms delay: 0.01, 10, 1, -0.01, -10 )
    The failure reason given is: "BFFA0010 Invalid Value...Elaboration: Tri
    gger
    Delay is invalid."
    How do I use the trigger delay with NI-Scope 1.6 and a 5102?
    Thanks,
    Chris Lincoln
    ULTRAX, Inc.

    Mr. Lincoln,
    Thanks for using NI Developer Exchange! Unfortunately, the NI 5102 is not able to perform delayed triggering. Delayed triggering is supported by the NI 5112 for PXI, so this functionality appears in the NI-SCOPE instrument driver. The NI 5102 and NI 5911 also use this driver, but cannot support this feature in hardware. The NI-SCOPE driver call "ConfigureTriggerSource" is only meant to have a non-zero delay for the NI 5112 for PXI. One alternative (without changing hardware) is to start sampling immediately, then calculate how many points to delete in software to reach the desired starting point. Hopefully this answers your question.
    Thanks,
    Jace Curtis
    NI Applications Engineering

  • Trigger delay in Multi acquisition mode

    I'm trying to use the 5112 to acquire a burst waveform.  I want to average 20 acquisitions or records and take measurements on the average waveform.  The burst arrives a certain time after my trigger so I need to use a trigger delay.  When I try to change the trigger delay while my program is running I get "Trigger Delay is Invalid" error.  The only way I can get it to work is if I reset the device before I reconfigure the trigger.  Is this the only way to adjust the trigger delay in multi-record acquisition? 
    Thanks,

    Hello Rudy27,
    There are two things you need to consider for the trigger
    delay:
    1)      
    In a multi-record acquisition using the
    NI 5112, the time per record should be > 42 µs and trigger delay should be
    > 42 µs. Otherwise, you may observe trigger timeouts. This is found on the
    help file Start » All Programs » National Instruments » NI-SCOPE »
    Documentation » NI High Speed Digitizers.
    2)      
    You cannot change the trigger delay
    during runtime. You need to stop the acquisition, then reconfigure the device
    and then start it again.
     I would like to know if your trigger arrives multiple times in
    the burst or just a single one each?
    If is multiple times, then you can make your record size to be
    the entire burst.
    If is single time, then I would assume is always the same
    delay.
    Hope this helps.
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • What it the valid trigger delay value for "niScope Configure Trigger Digital.vi" ?

    Hello:
    I am using "niScope Configure Trigger Digital.vi" in LabView 5.1.1 for NI5911 scope card.
    The trigger source is RFI1.
    I am trying to specify the trigger delay, but it looks like the only accpted value is 0.0s.
    For example: setting delay time to 1ms (1.0m) results in the error message stating that invalid value had been passed for trigger delay.
    Thank you.
    --daevper

    The NI 5911 high speed digitizer does not support trigger delay; therefore its only valid input parameter for trigger delay is zero. The two high speed digitizers which do support trigger delay are the NI 5112 and the NI 5122.
    There is a helpful listing in the NI High-Speed Digitizers Help which displays the features supported by each device (Start >> All Programs >> National Instruments >> NI-Scope >> Documentation >> NI High-Speed Digitizers Help >> Content tab >> Devices >> Features Supported by Device). If you did not install the documentation along with the driver, you can also download this support file here.
    I hop
    e this helps!
    Regards,
    Sonya Wornson
    Applications Engineer
    National Instruments

  • Xbox one overdrive bundle delivery - delayed 30 days

    So, help me out please. I placed my pre-order online two weeks ago, selected home delivery, and now customer service tells me that it won't be shipping until Nov 25-28. Are you kidding me?? I am now trying to cancel my order and both the store and CS tell me that it cannot be cancelled. None of this delay was communicated to me, an entire month! I am furious that I am forced to wait for it. I can just buy it from another store and get it in 3 days. Why???!!!

    Hello Chickenchowmein,
    We're aware of an issue that's currently preventing some pre-orders placed on BestBuy.com from being fulfilled immediately. Rest assured that our support team is looking into the situation though and that we hope to have a resolution soon. Please make sure to keep an eye on both your inbox and junk mail folders for updates and shipping information.
    Thanks for your patience and understanding, as well as for reserving your Sunset Overdrive Xbox One bundle with us!
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • E-mail trigger delay - Time Zone (CET) ahead of System Time (UTC)

    Hi,
    We have developed a Z program which triggers e-mail whenever the critical System / Interface user id gets locked in the SAP Netweaver System. However, the e-mail is generated by the program in the Time Zone which is in CET and sits in t-code SOST and is sent to our mailbox in System Time which is in UTC (GMT) which is currently 2 hours behind. Hence, there is a delay of 2 hours for generated e-mail alert to be sent to our mail box. Is there any process to avoid this delay?
    In the test system manually we can reduce the wait time by 2 hours in t-code SOST and then the mail gets triggered immediately. But can this be achieved programmatically so that the time in which e-mail gets generated always displays the system time in t-code SOST. Or, is there is a configuration where the e-mail is sent to our mail box from t-code SOST in Time Zone (CET) itself and not wait till the displayed time reaches System Time (UTC).
    Thank you very much for your earliest response.
    Regards,
    SANJEEV KUMAR

    In t-code STZAC both System Time and Useru2019s Default Time Zone is same (CET).
    However, when I see in the menu System->Status I find the System Time is displayed in UTC, while Time Zone is in CET.
    In other clients where system time is displayed in CET, there is no problem. The e-mail spool from SOST which displays CET time is actually triggered in the System Time. In case the System Time is CET, mail is triggered immediately. In case System Time is UTC, it waits UTC time to reach the displayed CET time, which is currently of 2 hours gap.
    Is it possible to change the system time of the problematic client to CET to solve this problem. Please let me know what configuration can be done for this.
    Regards,
    SANJEEV KUMAR

  • While using Firefox when I click the mouse or when typing like this I get the Mac spinning color wheel and any action is delayed about 10 seconds.

    I'm on an iMac, 10.4, Firefox 3.6.20 and the problem is occurring with greater frequency. When I installed 3.6.20, it ran perfectly for a short time, but now the spinning color wheel happens on almost every mouse click and it makes using Firefox an impossibility. I tried the Apple installed Safari and had no difficulties. It does not occur when I use Thunderbird 2.0.0.17 either. I will appreciate any help because I rely on Firefox. Thanks.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js [3] files with a number and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js
    * [3] http://kb.mozillazine.org/Multiple_profile_files_created

  • Using PXI 6251 counter to delay a trigger on PXI

    Hi at all,
    I need to synchronize some devices on an PXI chassis. Basic operation is a user waveform generation on a PXI5401 that routes the Trigger Signal for the generation to one of the PXI (RTSI) lines. I'd like to use this trigger signal to start a counter on a PXI 6251 counting the PXI 10MHz Clock. No problem so far ( at least none that I see What I need is a possibilty to set another sync signal as soon as a certain counter value is reached in order to use this signal as a delayed trigger signal. Is it possible? And how? I've taken a look at the LabVIEW Example finder, but haven't found an example yet...
    Thanks!
    Oli
    P.S. Using LabVIEW 7.1.1, NIDAQ7.4 and a PXI 1042 via MXI4
    Programming languages don't create bad code, programmers create bad code....

    Nathan,
    Thanks for your excellent solution. I'm ordering the Aux100 cable (9-Pin DIN to two BNC Female) to export the trigger signal from the PXI to the Device_2. I will test the program (Echo_Mode_PXI_5122.vi) to be sure it will be suitable for my application.
    Another problem, when my system is working on ultrasound Pulse-echo mode (Pulse_Echo_Mode_PXI_5122.vi), the input trigger must be set a delayed trigger acquisition (by setting the trigger delay to, for example 3µs) to remove the signal of power source. Could you please tell me how I can configure the digitizer in this case?
    Regards,
    John C.
    Attachments:
    Echo_Mode_PXI_5122.vi ‏49 KB
    Pulse_Echo_Mode_PXI_5122.vi ‏49 KB

  • Recurring task to start on a certain day. Delay Problems

    Hi,
    Is there a way you can insert lag time but ensure that the next task will only start on the next available day of either a Monday or a Friday. currently
    i am having to manually change the dates of a recurring task if i am delayed in the processes running up to the task. so if the task previous was finishing on a Sunday, the task next would start that next day on a Monday. Though if the task was delayed a day
    it would obviously run into Monday meaning the next task could not start till the Friday. The task in question needs to be done Monday and Friday so adding lags just pushes the dates out and i have to manually remedy this which is time consuming. 
    Any help is greatly appreciated

    Leep18,
    There are a couple of ways to insure a task starts on a particular day, and you're right, using lag time is not a good way.
    The first way is to set up a custom calendar that has only Monday and Friday as work days. Then set up a one minute duration task that is the successor of the driving task and assign the custom calendar to the one minute task. Use the one minute task as
    the predecessor to the task that can only start on Monday or Friday. The one minute task will control the timing (i.e. Monday or Friday start) but once the one minute task is "triggered" it will set the start of the next task, which once started,
    will continue through completion. The disadvantage of this approach is that the successor task will start at 8:01 AM instead of the default 8:00 AM.
    The second way to do this is with VBA. The following macro will insure a successor task, marked by setting the Flag1 field,  always starts on the next Monday or Friday at the beginning of a work day.
    'This macro ensures all selected tasks can only be started on a Monday or Friday
    '   at the default project start time
    '   Tasks are selected by setting Flag1. Note: this procedure does leave a
    '   start-no-earlier-than constraint on all shifted tasks
    'written by John 12/2/134 7:00 pm
    Dim t As Task
    Dim EndTime As String, StartTime As String, ProjCal As String
    Dim WkD As Integer, DOffest As Integer
    Dim OFlag As Boolean
    Dim DayDate As Date
    Sub NextDayB()
    'cycle through each task
    ProjCal = ActiveProject.Calendar
    For Each t In ActiveProject.Tasks
        'skip over blank lines
        If Not t Is Nothing Then
            'only look at Start time of non-summary tasks
            If t.Summary = False And t.Flag1 = True Then
                'find default start and end times for this task
                OFlag = False
                WkD = Weekday(t.Start)
                'determine the default start time for this project
                StartTime = ActiveProject.BaseCalendars(ProjCal).WeekDays(WkD).Shift1.Start
                'determine required shift in start time based on current start
                If WkD = 4 Or WkD = 7 Then DOffset = 2: OFlag = True
                If WkD = 5 Or WkD = 11 Then DOffset = 1: OFlag = True
                If WkD = 3 Or (6 And (Hour(t.Start) <> Hour(StartTime))) Then DOffset = 3: OFlag = True
                If WkD = 2 And (Hour(t.Start) <> Hour(StartTime)) Then DOffset = 4: OFlag = True
                'shift the task start to the next Monday or Friday at the default start time
                If OFlag = True Then t.Start = DateValue(DateAdd("d", DOffset, t.Start)) & " " & StartTime
            End If
        End If
    Next t
    End Sub
    Hope this helps.
    John

  • Line item grace periods vs Days in arrears

    hi consultant,
    in dunning procedure, we can see line item grace periods. if click the dunning levels button, can see the days in arrears at each dunning level.
    what is the difference between Line item grace periods and Days in arrears? i think line item grace periods is after this grace period then only due to start dunning run and count the number of days until it gets dun. correct? what about days in arrears?
    thanks

    Hello,
    Do not leave grace period blank or less than days in          
    arrears if you do not want to include items in dunning level "0" in your
    dunning notice.                                                                               
    As per the documentation, the number of grace days (line item) and   
    days in arrears (first dunning level) you enter will normally be        
    identical. So if your days in arrears for level 1 is 14, you should also
    indicate grace days of 14.  Otherwise, if you leave the grace days      
    blank or less than 14, the system will include also items in arrears    
    earlier than 14 days (level 1). 
    As per online documentation:                                                                               
    Grace period shorter than days in arrears                                                                               
    In this case there may be items which are overdue but which do not      
    reach a certain dunning level due to the days in arrears. Although      
    these items are printed out, they receive the dunning level zero.       
    These items alone cannot trigger a dunning notice.                                                                               
    Regards,
    Renan

  • Scope does not trigger

    Hello,
    I am trying to trigger a scope at a certain point. I have a test signal coming after a regular sinusoid. I want to measure the output when the test signal arrives. What happens is that when my test signal comes after 1 second the trigger works perfectly fine but when my test signal comes after 3 seconds the scope does not trigger at the point I want and keeps on triggering at unwanted points. This is a conceptual question. Could anyone please help me in that.
    Thanks,
    Krunal

    Hello Krunal,
    I am not exactly sure what your external signal looks like, however I can suggest a couple things for you to look at.  First, if the absolute value of your sine wave amplitude is less than the test point you want to measure, the scope can simply level trigger at that point.  It should not matter if the signal comes in after 1 seconds or 3 seconds.  The only problem you might be seeing with this is a timeout error.  This is caused by the read function not being able to sample enough data within the default 5 seconds limit.  Adjusting the timeout would help if you are getting this error.
    If your test signal value you need to trigger off of is within the absolute value of your sine wave signal it becomes more difficult because if you specify to trigger off of a rising edge 0.5V signal this point will occur many times before the ideal trigger point.  Perhaps a combination of using the trigger hold off and trigger delay might help you time the start of your acquisition a little better.  If this does not help, can you please post more detail about the sine wave, your test point you want to trigger off and the behavior you are currently seeing.
    Regards,
    Jesse O.
    Applications Engineering
    National Instruments
    Jesse O. | National Instruments R&D

  • 7 Day Email Campaign

    Hello,
    I was hoping I would be able to get some assistance with a problem I've been trying to figure out for a while now. My client wants to do something where if you subscribe to an email campaign of theirs, that it will automatically trigger a 7 day email blast for clients who sign up. As in each day of the week for only 1 week they will recieve a new email from my client about a different topic each time. Is something like this even possible? Thank you very much.
    Jordan

    Hi Jordan,
    That's indeed possible. We call it "email series". You can create 7 of those campaigns, with a delivery day of 0 for the first and 7 for the last, assign the same email marketing list to each campaign and once the customer is added to that list they will receive the o delivery day campaign first, then receive one each day.
    See Email Series section in this link http://kb.worldsecuresystems.com/536/bc_536.html#main_Setting_up_a_loyalty_based_campaign
    See also http://kb.worldsecuresystems.com/170/bc_1701.html
    Cheers,
    -mario

Maybe you are looking for

  • Code Repository "In-Development" forum on LAVA

    The LAVA Forums has successfully run a LabVIEW Code Repository (CR) for over a year now with great success. Recently there was some interest for an area where members could have preliminary discussions on code that is in-development. An area where th

  • 6700 Classic won't start

    Subject says it all, basically... The device doesn't show anything on the screen - I can get a little bit of backlight in the screen when pressing the on-button. PC does not detect the phone anymore. I have a gut feeling that it does not boot at all.

  • Is it possible to automate/script the removal of workflows from workflow archive?

    We don't allow our CQ authors to activate content directly.  They must activate their content by executing a custom approval workflow we'd developed as part of our first CQ project.  As you can imagine this workflow is run very often.  So much so tha

  • Where is my Safari

    I just bought a new iphone 5. After using itunes backup my phone disabled Safari. When I checked settings my restictions was turned on. Its asking for a password to disable. I never set this up and don't have a password.

  • Batch spell checking

    One of my program's tasks is to spell check a large number of unique strings per session, each string approx. a sentence long. I chose to use the Jazzy API to accomplish this. Unfortunately I found that this method takes significantly longer. A proce