Timed tasks

Dear all, now in the right place
Because I started this thread in a solved thread, I will copy the messages to here
I am trying to do a similar thing.
I need to do 4 tasks in a loop of 1000ms.
I need to input cycles between each task and cycles duration each task.
For example for task 1 i need a duration of 100  cycles (gives a true value) each 1000 cycles. and the same for the other 3 tasks.
I let the first code but seems complicated.....if You can help me with simplest way...I am really thank you.
It is not clear exactly what you want to do.  Please give a better description of your tasks and timing requirements.  When you refer to cycles, do you mean iterations of the while loop?
Lynn
The task will be something that works until it is true and it will be true for a certain number of cycles (iterations loop) then waits a certain number of cycles (this will be a false value) and turns true again.
This tasks will be in time with cycles of loop iterations.
Best
CPalha
Best 
CPalha
Attachments:
Timed_tasks.vi ‏23 KB

Hello cpalha,
If you want to run a task for a certain amount loop cycle and make her sleep for another one, you can use a condition loop in the while loop.
I made you a VI which explain it.
Best regards.
Sabri JATLAOUI - Certified LabVIEW Developer
Attachments:
Time task.vi ‏21 KB

Similar Messages

  • ARD Timed Tasks Issue

    After upgrading my ARD Admin software from 3.1 to 3.2, I noticed that none of the timed tasks I had scheduled to run were running at all. Upon checking each task, I noticed that the checkboxes next to "schedule for" in ALL of the tasks was unchecked. I rechecked them and reset the time for the tasks to run and quit ARD. Upon restarting ARD, I noticed that, once again, the checkboxes next to "schedule for" in all of the tasks was unchecked.
    BTW, in the ARD main window, a clock icon will still show next to the task in the sidebar if the "Repeating every" checkbox is checked. This makes you think the timer still works, but upon opening the task's schedule, you will see the checkbox next to "Schedule for" is unchecked and the command will not execute.
    I created a new task from scratch, scheduled it, and the result was the same - upon restart of ARD, the checkbox next to "schedule for" was unchecked.
    I then created a new task, scheduled it and looked at com.apple.RemoteDesktop.plist in Property List Editor. I saw that the time was there. I then restarted ARD and looked at com.apple.RemoteDesktop.plist and saw that the time was now gone. The line that is being removed is:
    startDate string Oct 21, 2007 1:22:00 PM
    I then created a new task, scheduled it and quit ARD without reopening it. When I looked at com.apple.RemoteDesktop.plist, the time was still there. I then opened ARD and looked at com.apple.RemoteDesktop.plist and the time was gone.
    So, to recap When ARD starts up, it removes the startDate line from ALL timed tasks.
    It does not matter what date or time I set it for.
    Ownership and Read/Write preferences on com.apple.RemoteDesktop.plist are correct.
    I have tried removing the com.apple.RemoteDesktop.plist and starting from scratch, but no change.
    I Tried removeing all ARD components (per kbase article 108021) and reinstalling ARD Admin 3.0 from scratch. No problems after installing 3.0, but the problem reappeared after installing 3.2 update.
    I've reproduced this on 4 machines: A Mac Pro, A MacBook, A G4 tower and an iBook G4. I run a lot of timed tasks, so I am not particularly happy.

    We're having the exact same problem with remote desktop in our labs. We have several mac labs that are scheduled to restart every evening, however after upgrading ARD to 3.2 it always forgets the scheduled time.
    I've trashed all the prefs, re-added all the computers, etc. and nothing fixes the problem.
    Any help would be greatly appreciated.

  • How to setup a timed Task in 10.1

    Is there any way to setup a task with a date & time reminder in OS 10.1? Since Outlook does sync tasks or reminders with Blackberry link, what other app can do this?

    Here's my solution:
    1. Create a template called custom\item\form\formSpacer30.vm with the following contents:
    <af:objectSpacer #ITEM_ID_IN_FORM() height="30" width="20" />2. Create an item in the group that is not bound to a Model attribute. The type is "textInput."
    3. In the FORM_TEXT_INPUT template for that item enter "custom/item/form/formSpacer30.vm"
    If anyone has done this differently or better, it would be of interest. My solution seems like a kludge. Also, it leads to an enhancement request to support the width and height properties of an af:objectSpacer. Currently, they need to be hard-coded into the template. If we had attributes like #HEIGHT_IN_FORM() and #WIDTH_IN_FORM() that translated the JHS def file attributes Height and Width to "height" and "width" attributes, you would not need to hard code the size in the template. At this point in my solution, you need to create separate template files for each different spacer size.
    Peter Koletzke

  • Method to execute timed tasks

    Hi,
    It has been several years since I worked with LabVIEW and now I need to utilize it for a project. The main idea is as follows:
    There is a power supply whose output will need to be turned ON and OFF at a specific rate (45 minutes ON followed by 15 mins OFF)
    This entire process should last for a specific durtation (days or months)
    The vi should be able to take inputs from the user : Total Duration, ON duration, OFF duration.
    VI should calculate the # of times ON/OFF sequence should be executed and when done, should stop.
    Initially, I've implemented a wait (ms) to enable the output block to run for a specific duration until it moved to the next one which is to turn the output OFF. THis is not acceptable as I need to be able to STOP the VI at any time or it should be autmoatalically stopped if any alarms are triggered. With wait (ms), I could not do it.
    My question is, what is the most efficient and stable way to do this?
    Timed loops or sequences?

    maybe this can help?
    Spoiler (Highlight to read)
    Attachments:
    execute time.vi ‏43 KB

  • Would like to have Automator carry out a timed task

    Does anyone know how to create an Automator workflow that carries out a command after a designated time period? For example, I would like to have Automator quit Mail after one hour of inactivity. It seems all Automator tasks need to be initiated manually.

    A simple Applescript can carry out a function after a delay:
    delay (3600)
    tell application "Mail" to quit
    If you mean it to be able to detect when Mail hasn't had any actual activity for an hour, I doubt this is possible.

  • How many tasks can I have in NI-DAQmx system?

    I am working out of the office this week - please send your response to [email protected] as well as my normal email [email protected].
    I am designing a new test platform that will run on C# (because we like object oriented text based programming and because the IDE is free).  For hardware we'll use your PXI modules (because your hardware is ultra-reliable).  I'm starting with the following PXI modules 6259, 4072, 6509, 2575, and 2569, but we made add other modules later as future requirements demand.  I am doing the system software architecture now.  I've done some dabbling with Ni_daqmx, and I loathe "tasks" and "channels", but am determined to make them work.
    The difficulty I'm having revolves around the overhead with setting up tasks and channels and with the concept of tasks and channels.  Help hasn't helped much.  Tasks seem to work great if you intend to always collect the same large amount of data from many sources and always will do it in exactly the same way. 
    We want something much more akin to random access memory.  We'll have UUTs of different kinds coming on and off at random times.  Sometimes a test will need a simple DC voltage, and other times another test will need 2 seconds worth of data at 1MS/s.   It can cost around 150msec to make that change (stop the current task, creat another one, configure anohter channel, start up a new task, blah, blah, task this, channle that - for the life of me I can't understand what this damn taks concept does for me but make matters more complicated and bog down my system).
    I can just barely glean from the help that I can have only one analog input task at once, but I can have sevferal taks of several different kinds running at the same time ( a digital output task and another task for digital input, and another task for analong input, etc.) .  It does seem that I can set realys without having to put them into a channel and a task (Thank goodness for that - I just wanna turn on a relay I have no idea what a relay "channel" might be.)
    In the PXI system I described above I'll have two devices that are analog input devices, the DMM and the Daq.  Even with two devices, can I only have one analog input task running?  Does that mean I've got to waste 150msec just to switch from the DMM to the Daq? (Do you understand my frustration with "tasks"? - I should be able to say "read DMM" and turn around and say "read Daq channel 0" without having to jump thru task and channle hoops and waste a bunch of time doing it).
    I'll also have Daq digital IO and two 6509 digital io modules.  Do I have to cram all of that into some "task" concept too?  The Daq card has got many other kinds of wonderful capability (frequency measurement, counters, analog output).  How many tasks can I have for that stuff?  On the DMM card I can measure capacitance amoung other things.  Will I have a capacitance task?  The idea of a "capacitance task" hurts my head.
    Golly I hate tasks.  Please help.
    I am working out of the office this week - please send your response to [email protected] as well as my normal email [email protected].
    Dave

    Dave,
    Thanks for posting to the NI Forums.
    For the good of the community we like to keep conversations that start of the forums on the forums rather than moving to email.  If you want to move to email support I recommend contacting NI through the email route.
    I will answer your questions here.  If you need more direct contact please feel free to contact us through [email protected].
    For some the concept of tasks may seem daunting, however, for many applications it makes life a lot more simple.  A task at a very fundamental level is simply a collection of channels with a single type (AI, DI, DO, etc.)  and a single timing configuration (sampling rate, continuous vs. finite, etc.).  It is a way to organize configuration data.  
    The concept of a task is an abstraction like OO programming.  Like OO programming it may take some time to understand but can be a time saver in the end.  Also like OO programming it does add some initial programming overhead.  It is much more simple to simply type a printf statement in C than to have to create a bunch of classes just to output text to the screen. You can accomplish the same thing not using OO programming, but in the end OO programming is extremely useful, because it groups useful information and methods together in one place.
    With very simple applications OO programming sometimes does not make sense.  But as a program gets more and more complex OO programming becomes more and more useful.  It takes some learning but it is worth it.
    I believe the concept of a task does the same thing.  It does not change the actual functionality of the device or add excessive overhead.  It is just an abstraction that pulls configuration data about a specific "task" and methods the task can perform into a single logical place.
    Unlike the entirely abstract concept of an Object, a Task is run on a physical device and therefore has physical limitations.  You can create multiple tasks of the same type, but you can only run a one timed task of each type on a single board at a time.  In other words you can have multiple AI tasks running at the same time but they need to run on different boards or only one can be timed (have a rate).  You can also have multiple timed AI tasks configured for a single board but only one can actually be running at a time.
    The reason you can only have a single timed task running at a time is because the M-Series boards (and many other boards as well) have a single timing engine for each type of acquisition or generation.  There is a single timing engine for AI, one for AO, and so forth.  You cannot have channel 1 running at 1 MS/s and another running at 50 kS/s.
    However, tasks can exist even when they are not being actively run.  You can create all the tasks you need at the beginning of your program and simply start and stop them as you need.  After the task is stopped you do not need to clear the task until the end of your program.  You can further increase performance by moving the Task into the latest state possible without actually starting the task.  This can be done by calling myTask.Control(TaskAction.Action).  The Task states are further explained in the NI-DAQmx Help Manual.
    The concept of a  task will need to be used with any device that is being programmed using NI-DAQmx.  The 6259 and 6509 will need to be programmed using DAQmx.  With the 2575 and 2569 you have the choice of either using the NI-DAQmx API or the NI-SWITCH API.  The SWITCH API does not use the concept of tasks.  For the 4072 you will need to use the NI-DMM API.  This API also does not use the concept of tasks.
    Hopefully this information is helpful.  Let me know if you have any additional questions or concerns.
    Regards,
    Neil S.
    Applications Engineer
    National Instruments

  • Timed/Scheduled Ports Control

    Hi everyone,
    I'm trying to set an schedule to open and close ports to prevent misuse of net resources, say chatting, downloading, etc, during working hours. For both Mac and PC users.
    Any suggestions?
    THANKS!
    XServe G5/2GHz/1Gb/80Gb   Mac OS X (10.4.7)   PB 17" (PPC),PB Ti, XServe G4

    Thank you for both replies!
    Since I'm already installed a Squid and Webmin, my best option is to install Dan's Guardian with this instrutions:
    http://dansguardian.org/downloads/samland/MultDGinstall.rtf
    I'm also going to experiment with the cron solution since it will be helpful for other timed tasks I have in mind.

  • Timing granularity - how precise can I be?

    I have heard noises about Java not being able to handle extremely precise timing tasks. Specifically, I have heard that Timers and Thread.sleep() do not generally perform as might be expected.
    I am working on an application involving serial port traffic, and the spec includes an 80 millisecond timeout between the beginning and end of a packet (If the packet is not complete within 80 milliseconds, drop it and reset the listener).
    Can I expect this level of precision to work accurately? Are the numbers I get from System.currentTimeInMillis() likely to correspond, to the millisecond, to the actual time the byte arrives at the UART?
    If not, I welcome suggestions about how to make this happen.

    You certainly don't need RTJ and you don't need to
    worry about the precision of Java timers either. See
    http://java.sun.com/products/javacomm/javadocs/javax/c
    omm/CommPort.html#enableReceiveTimeout(int). This
    says that the timeout is implemented by the serial
    port driver, not by Java.Interesting, but not useful in this case :
    "when this many milliseconds have elapsed, return immediately from read, regardless of bytes in input buffer."
    The timeout I am monitoring is between the first and last bytes of a message, not for any data recieved.

  • Statechart - exiting from timed actions

    Hi,
    I'm new at Labview and the statechart module. I used to work with Simulink so I'm in adaptation mode!
    I'm building a statechart to control a machine that has several devices. I want implement a emergency state.
    Some of the states actions have subVI inside with timed tasks inside. I want be able to go to the emergency state even if one of that timed tasks are running and it is not yet finished.
    The problem is that I cannot go to the emergency state before the time ends. I also tried to put the execution of the subVI inside the entry action, but the behaviour was the same.
    Can anyone help me to solve this?
    You can see an example of my application in the attach.
    I'm trying to create a superstate inside each main state for each device that i need to control. So connect the emergency transition directly to each transition is not solution.
    Attachments:
    labview_plc_3.7z ‏241 KB

    hi
    data : gv_bukrs like bsis-bukrs.
    parameter : p_bukrs like bsis-bukrs.
    gv_bukrs = p_bukrs.
    write : gv_bukrs.
    Use the FM DYNP_VALUES_READ, pass program name, dynpro number and request as A from your program.
    CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          DYNAME     = SY-REPID
          DYNUMB     = SY-DYNNR
        TABLES
          DYNPFIELDS = DYNP_VALUE_TAB.
    DYNP_VALUE_TAB-FIELDNAME --> screen field name
    DYNP_VALUE_TAB-FIELDVALUE --> coresponding screen field value

  • An Apple genius told me to delete all my SMS for stability sake, should I do it?

    I'm experiencing random reboots on my iPhone4 so i've been to an Apple Genius Bar.
    He told me my problems might come from a corrupted backup file.
    To try to get rid of this I shall restore my iPhone and register it as a New One.
    In the process I will lost all my SMS (1500+) and he say Apple provide no methods to restore them after this process.
    Well this is quite a hard remedy as I backup on my iMac(+TM) and on iCloud and previoulsy i got it synced with the yet dead MobileMe.
    What should I do is there an alternative?
    I lived with random reboot since 6 month, i'm not sure its far worse than loosing memories...
    Will Apple provide a way to Sync SMS with iMessage on Mountain Lion in a near futur?
    If so it would totaly worth the wait for me!
    EDIT: Here is a typical crash report of this kind of random reboot i experience, if it help.
    Incident Identifier: 6B65D67E-D822-48DC-A87A-DBF6E208BE0B
    CrashReporter Key:   a6a71cec65793fe6536271a3f0862b1435ddaedb
    Hardware Model:      iPhone3,1
    Date/Time:       2012-11-07 10:27:06.566 +0100
    OS Version:      iOS 6.0.1 (10A523)
    panic(cpu 0 caller 0x8b756941): "IOP panic: dma_int_handler: CDMA: channel 7 error interrupt, error status 0x10  "
    Debugger message: panic
    OS version: 10A523
    Kernel version: Darwin Kernel Version 13.0.0: Wed Oct 10 23:29:02 PDT 2012; root:xnu-2107.2.34~2/RELEASE_ARM_S5L8930X
    iBoot version: iBoot-1537.4.21
    secure boot?: YES
    Paniclog version: 1
    Kernel slide:     0x000000000ac00000
    Kernel text base: 0x8ac01000
    Epoch Time:        sec usec
      Boot    : 0x50991f49 0x00000000
      Sleep   : 0x509a26e8 0x000732c7
      Wake    : 0x509a26ea 0x00000019
      Calendar: 0x509a26f3 0x00077221
    Task 0x800dcc20: 10045 pages, 104 threads: pid 0: kernel_task
                    thread 0x80d2f0a0
                                   kernel backtrace: 800abea0
                                     lr: 0x8ac88f61  fp: 0x800abed0
                                     lr: 0x8ac897fd  fp: 0x800abefc
                                     lr: 0x8ac17ca7  fp: 0x800abf14
                                     lr: 0x8b756941  fp: 0x800abf44
                                     lr: 0x8b7559d9  fp: 0x800abf54
                                     lr: 0x8ae59413  fp: 0x800abf68
                                     lr: 0x8ac2fefd  fp: 0x800abfa8
                                     lr: 0x8ac8705c  fp: 0x00000000
    Task 0x800dc968: 171 pages, 3 threads: pid 1: launchd
    Task 0x800dc3f8: 570 pages, 7 threads: pid 13: UserEventAgent
    Task 0x800dbe88: 580 pages, 4 threads: pid 14: wifid
    Task 0x800db918: 255 pages, 3 threads: pid 17: timed
    Task 0x800db660: 165 pages, 6 threads: pid 18: syslogd
    Task 0x800db0f0: 208 pages, 2 threads: pid 20: powerd
    Task 0x800d9878: 394 pages, 2 threads: pid 29: lockdownd
    Task 0x800d9308: 304 pages, 2 threads: pid 31: installd
    Task 0x800d82b8: 3260 pages, 34 threads: pid 37: mediaserverd
    Task 0x805ddc20: 335 pages, 4 threads: pid 39: mDNSResponder
    Task 0x805dd6b0: 1983 pages, 13 threads: pid 41: locationd
    Task 0x805dd140: 784 pages, 4 threads: pid 43: imagent
    Task 0x805dce88: 198 pages, 2 threads: pid 44: iaptransportd
    Task 0x805dc918: 344 pages, 22 threads: pid 46: fseventsd
    Task 0x805dc660: 669 pages, 1 threads: pid 47: fairplayd.N90
    Task 0x805dbe38: 514 pages, 9 threads: pid 50: configd
    Task 0x805db8c8: 1926 pages, 10 threads: pid 52: backboardd
    Task 0x805dade8: 957 pages, 58 threads: pid 56: kbd
    Task 0x805da050: 1330 pages, 11 threads: pid 61: CommCenterClassi
    Task 0x805d9d98: 287 pages, 2 threads: pid 62: BTServer
    Task 0x805d9ae0: 198 pages, 3 threads: pid 64: notifyd
    Task 0x805d92b8: 1670 pages, 6 threads: pid 67: itunesstored
    Task 0x805d9000: 114 pages, 2 threads: pid 68: aggregated
    Task 0x807b8c20: 9155 pages, 15 threads

    Thank you for this last resort option.
    Malcolm J. Rayfield wrote:
    You can save all the SMS to your computer with applications such as PhoneView before you restore you iPhone as new (not using any old backups) using applications such as PhoneView
    <http://www.ecamm.com/mac/phoneview/>
    but there is no way to get them back in the phone's message section.  You could make a file (e.g. PDF) of them on the computer and sync it to the phone if you need to see them on the phone.  You could access them with Mail or iBooks.
    But as I can't restore SMS to the iPhone it's not a 100% percent satisfying method.
    Can someone at least confirm that the problem comes from the backup and not the hardware?
    The kernel panic keep refering to something linked to the carrier.
    panic(cpu 0 caller 0x8b756941): "IOP panic: dma_int_handler: CDMA: channel 7 error interrupt, error status 0x10  "
    As I will soon get opportunity from my carrier to upgrade to an iPhone 5, won't the upgrade process fix this mess in a more satisfying way?

  • Simultaneous Digital Input and Output from NI 9403

    Hi,
    I was wondering if it is possible to digital output through one line in this module(NI 9403) while simultaneously reading from 10 other lines?
    Basically what I need is for line0 to always be closed(true), and read lines1:10 - at very least 1sample/second.
    I have attached a stripped down version of my code illustrating my error. I thought I was getting the error because the two tasks were using different clock configurations, but I tried using the same inputs and that doesn't work for me.
    Any input is greatly appreciated.
    Thank you
    Attachments:
    Digital I-O.vi ‏22 KB

    Hi Matthew,
    The behavior you're seeing is expected for the 9403 module, since it is a serial module. The DAQmx help has the following restrictions in the Digital I/O Considerations for C Series Devices section.
    Timed digital input/output restrictions:
    You cannot use parallel and serial modules together on the same hardware timed task. 
    You cannot use serial modules for triggering. 
    You cannot do both static and timed tasks at the same time on a single serial module. 
    You can only do hardware timing in one direction at a time on a serial bidirectional module.
    So you can only do timed input or output at one time, but not both. However, based on the VI you attached and the description of what you want to do, you don't necessarily need both timed tasks in your loop. You can create a static output task to update that one line and after that, you can just start your timed input task on the rest of the lines. This should maintain the state on the DO line, since you're not acquiring from it.
    Cheers,
    Cristina
    Cristina

  • IPhone 6 Plus 16GB blue screen crashes: Read, error type:Address map hole or size mis-match

    Hi folks,
    Some time ago I had a 16GB 6+ and it crashed with the blue screen, so I returned it. I now have a brand new one that I got from Tmobile ($75 return fee) and although it has mostly worked just fine, I have gotten 2 blue screen crashes. Below are the details from the phone's log.
    What strikes me is the message "Read, error type:Address map hole or size mis-match".
    Does anyone know if this could be caused by a hardware defect?
    I've gotten one of these crashes running iOS 8.1.2 and another in 8.1.3.
    Thanks.
    Incident Identifier: 20304759-E90B-453F-BDC5-176AF4E30041
    CrashReporter Key:   fcf18d230005749957728546dea3221a0c588330
    Hardware Model:      iPhone7,1
    Date/Time:           2015-01-25 19:43:44.913 -0800
    OS Version:          iOS 8.1.2 (12B440)
    panic(cpu 0 caller 0xffffff8008cd45d0): L2C PIO error (src:core0-AF snoop, address:0x1202030208, access:Read, error type:Address map hole or size mis-match, L2C_ERR_STS:100003fc00000202, L2C_ERR_ADR:0x1108e1202030208, L2C_ERR_INF:0x2107)
    Debugger message: panic
    OS version: 12B440
    Kernel version: Darwin Kernel Version 14.0.0: Mon Nov  3 22:27:30 PST 2014; root:xnu-2783.3.22~1/RELEASE_ARM64_T7000
    iBoot version: iBoot-2261.3.33
    secure boot?: YES
    Paniclog version: 3
    Kernel slide:     0x0000000006000000
    Kernel text base: 0xffffff8008002000
    Epoch Time:        sec       usec
      Boot    : 0x54bc22ef 0x00000000
      Sleep   : 0x54c58398 0x0002abb4
      Wake    : 0x54c583ae 0x000f08df
      Calendar: 0x54c5b7e3 0x00025045

    same with my iPhone 4s 16gb
    {"os_version":"iOS 8.1.3 (12B466)","bug_type":"110"}
    Incident Identifier: 582496DB-6999-468C-9504-3D1C191B9F4B
    CrashReporter Key: 623a577555e51ed110b937358adfa66fba3ea447
    Hardware Model: iPhone4,1
    Date/Time: 2015-02-20 04:17:50.830 +0300
    OS Version: iOS 8.1.3 (12B466)
    panic(cpu 0 caller 0x83dc8347): "i2c1::_checkBusStatus Bus is still in a bad state; last write status 00010110 xfer 00000000 fifo 00000000 for device als"
    Debugger message: panic
    OS version: 12B466
    Kernel version: Darwin Kernel Version 14.0.0: Mon Jan 12 21:30:11 PST 2015; root:xnu-2783.3.26~3/RELEASE_ARM_S5L8940X
    Kernel slide: 0x0000000003400000
    Kernel text base: 0x83401000
    Boot : 0x54e68884 0x00000000
    Sleep : 0x54e68a7e 0x000dd6ac
    Wake : 0x54e68b19 0x00035c02
    Calendar: 0x54e68b1d 0x00040927
    Panicked task 0x84a87c60: 13773 pages, 122 threads: pid 0: kernel_task
    panicked thread: 0xc5066e80, backtrace: 0x81a33ca0
    0x834ad94d
    0x834adcb1
    0x8341d5bd
    0x83dc8347
    0x83dc8059
    0x83dc7e35
    0x8389c601
    0x8389c513
    0x836f6f65
    0x8389cc6d
    0x8389ccc5
    0x83a9f18d
    0x83a9c27f
    0x83a9c73f
    0x83a9c90d
    0x836f6f65
    0x83a9c8e5
    0x836e91e7
    0x8343ed9b
    0x834ab59c
    Task 0x84a87c60: 13773 pages, 122 threads: pid 0: kernel_task
    Task 0x84a87948: 771 pages, 3 threads: pid 1: launchd
    Task 0x84a87000: 2016 pages, 13 threads: pid 17: UserEventAgent
    Task 0x84a87630: 481 pages, 4 threads: pid 18: misd
    Task 0x84a87318: 4114 pages, 22 threads: pid 19: CommCenter
    Task 0x87a62948: 349 pages, 2 threads: pid 21: keybagd
    Task 0x87a62318: 574 pages, 4 threads: pid 23: iaptransportd
    Task 0x87a62000: 868 pages, 9 threads: pid 24: configd
    Task 0x87a7ac60: 793 pages, 4 threads: pid 25: lockdownd
    Task 0x87a7a948: 1218 pages, 6 threads: pid 26: imagent
    Task 0x87a7a630: 2771 pages, 4 threads: pid 27: atc
    Task 0x87a7a318: 792 pages, 2 threads: pid 28: fairplayd.H1
    Task 0x87a7a000: 1571 pages, 14 threads: pid 29: aggregated
    Task 0x87c4ac60: 1069 pages, 4 threads: pid 30: routined
    Task 0x87c4a318: 707 pages, 5 threads: pid 33: timed
    Task 0x87d23c60: 646 pages, 2 threads: pid 35: installd
    Task 0x87d23948: 2383 pages, 11 threads: pid 36: mediaserverd
    Task 0x87d23318: 1279 pages, 11 threads: pid 38: ubd
    Task 0x87d23000: 249 pages, 7 threads: pid 39: syslogd
    Task 0x87d6ac60: 410 pages, 2 threads: pid 40: softwareupdated
    Task 0x87d6a948: 851 pages, 5 threads: pid 41: mediaremoted
    Task 0x87d6a630: 1877 pages, 7 threads: pid 42: identityservices
    Task 0x87d6a318: 9938 pages, 16 threads: pid 43: SpringBoard
    Task 0x87d6a000: 453 pages, 2 threads: pid 44: fileproviderd
    Task 0x87e25c60: 609 pages, 4 threads: p

  • Error message updating iOS703 and my iPad restarts each 5 minutes

    I tried to update to iOS 7.0.3. but an error message appears and now my iPad restarts it selves each 5 minutes
    Following is the panic incident:
    Incident Identifier: 1264E572-5575-44C8-AEAA-53BDB876236C
    CrashReporter Key:   7663d0f86404d39d1907a3c444db2f37228e6b2b
    Hardware Model:      iPad3,3
    Date/Time:           2013-10-30 11:09:29.394 -0300
    OS Version:          iOS 7.0.2 (11A501)
    Debugger message: WDT timeout
    1s ago: 1834b50 1834f9fd0ce63 1834r1c05000 1789m0/0 1777m0/1 1777u0 1623m0/0 1621m0/1 1621u0 1500m0/0 1500m0/1 1500u0 1400m0/0 1400m0/1 1400u0 1300m0/0 1300m0/1 1300u0 1200m0/0 1200m0/1 1200u0 1100m0/0 1100m0/1 1100u0 1000m0/0 1000m0/1 1000u0 900m0/0 900m0/1 900u0 800m0/0 800m0/1 700m0/0 700m0/1 600m0/0 600m0/1 600bff 600tc3ff 500m0/0 500m0/1 400m0/0 400m0/1 300m0/0 300m0/1 200m0/0 200m0/1 100m0/0 100m0/1 1fa25dd367 0m0/0 0m0/1
    OS version: 11A501
    Kernel version: Darwin Kernel Version 14.0.0: Mon Sep  9 20:49:01 PDT 2013; root:xnu-2423.1.74~2/RELEASE_ARM_S5L8945X
    iBoot version: iBoot-1940.1.75
    secure boot?: YES
    Paniclog version: 1
    Kernel slide:     0x000000001ba00000
    Kernel text base: 0x9ba01000
    Epoch Time:        sec       usec
      Boot    : 0x52711237 0x00000000
      Sleep   : 0x00000000 0x00000000
      Wake    : 0x00000000 0x00000000
      Calendar: 0x527112f9 0x000ee1be
    Panicked task 0xa2b3aaa0: 2880 pages, 6 threads: pid 123: Preferences
    panicked thread: 0x808e1440, backtrace: 0x9bd2eb10
      lr: 0x9bb1649d  fp: 0x9bd2eb44
      lr: 0x9bb16e5b  fp: 0x9bd2eb78
      lr: 0x9be2a0af  fp: 0x9bd2efc8
      lr: 0x9c5fca53  fp: 0x9bd2eff0
      lr: 0x9ba9779f  fp: 0x9bd2eff8
      lr: 0x9ba1ca10  fp: 0x27dc83ac
    Task 0x9d679d48: 23573 pages, 116 threads: pid 0: kernel_task
    Task 0x9d679aa0: 337 pages, 3 threads: pid 1: launchd
    Task 0x9d6792a8: 1457 pages, 26 threads: pid 14: UserEventAgent
    Task 0x9d679550: 1217 pages, 7 threads: pid 15: wifid
    Task 0xa24cfd48: 1158 pages, 5 threads: pid 17: awdd
    Task 0xa24cfaa0: 686 pages, 5 threads: pid 18: timed
    Task 0xa24cf2a8: 834 pages, 6 threads: pid 21: mediaremoted
    Task 0xa2979d48: 756 pages, 2 threads: pid 23: fairplayd.A1
    Task 0xa29797f8: 623 pages, 4 threads: pid 25: iaptransportd
    Task 0xa2979000: 532 pages, 2 threads: pid 28: softwareupdated
    Task 0xa2b26d48: 2827 pages, 16 threads: pid 29: backboardd
    Task 0xa2b26550: 760 pages, 5 threads: pid 32: mDNSResponder
    Task 0xa2b262a8: 23647 pages, 15 threads: pid 33: SpringBoard
    Task 0xa2b26000: 910 pages, 4 threads: pid 34: routined
    Task 0xa2b3ad48: 579 pages, 2 threads: pid 35: softwarebehavior
    Task 0xa2b3a550: 1556 pages, 22 threads: pid 38: aggregated
    Task 0xa2e91aa0: 226 pages, 7 threads: pid 42: syslogd
    Task 0xa2e917f8: 1462 pages, 6 threads: pid 43: aosnotifyd
    Task 0xa2e91550: 217 pages, 2 threads
    iPad

    What does the error message say pr number?
    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.0.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • Finite cycles counter problem

    Hello,
    I am new to working with counters etc.  I have a PCI-MIO-16e4 (NI-PCI-6040E) board and am working in VB.net with Ni-DAQmx.  I am trying to send (sequentially) bytes of data to a device, sending a strobe signal (hi-lo transition) on a counter output line each time to notify the device that the byte is ready to be read.  Timing is important and fast.
    This is the process:
    (a)  Load byte to digital output lines
    (b)  Set counter 1 output to Low
    (c)  Hold low for 150 microseconds
    (d)  Set counter output to High (minimum 5 microseconds)
    (e)  Load next byte on digital output lines
    (f)  Go back to step b
    I thought I could easily do this using the following code:
            Dim writer As New DigitalSingleChannelWriter(ByteChannel.Stream)  'ByteChannel is a task for the digital output lines
           TransmitChannel = New Task
           TransmitChannel.COChannels.CreatePulseChannelTime("Dev1/ctr1", "Xmt", COPulseTimeUnits.Seconds, IdleHigh, 0, 0.00015, 0.000005)
           TransmitChannel.Timing.ConfigureImplicit(SampleQuantityMode.FiniteSamples, 1)
            For a = 0 To 63
                writer.WriteSingleSamplePort(True, Packets(a))  'place the next byte on the line
                TransmitChannel.Start()
                Do Until TransmitChannel.IsDone
                    Application.DoEvents()
                Loop
                TransmitChannel.Stop()
            Next a
    This gives me the low/high transition I need but the timing does not work - it takes much longer for each iteration to finish  (> 50 millseconds for a pulse train that should last about 200 microseconds) than the timing I set up above would suggest.  I have searched around but have not found anything online that helps me understand what I need to do to rectify this.  Does anyone have any suggestions of what I can change or a more elegant way to do this?
    thank you
    David

    What you're currently doing is starting and stopping 64 finite tasks.  Each iteration of the loop the task outputs 1 byte on your digital lines, and then stops, repeats the loop, starts the task with a new byte in memory, and then stops again.
    This starting and stopping of the task takes a significant amount of time.
    What you need to do instead is a buffered digital output task.  In a buffered digital output task you can specificy all 64 bytes, and then it will iterate through each one at the rate you specify and from some external clocking source.  You can see this done in the shipping example ContWriteDigPort_ExtClk (found if you go to the start menu and navigate to Programs»National Instruments»NI-DAQ»Text-Based Code Support».NET 3.5 Examples and then browse to \Digital\Generate Values\ContWriteDigPort_ExtClk\VB
    However, one very important thing to note, is that E series devices (such as the PCI-6040E) only support software-timed, on-demand digital tasks.  This means they do not support hardware timed tasks, such as buffered digital generation.  
    That means there is no way you will be able to get your 150 microsecond timing from this card when doing digital generation.  M series devices do support hardware timed, buffered digital generation with an external sample clock (such as your counter), and X series devices support buffered digital generation with either an external sample clock or an internal sample clock at a rate you specify, since they have a new digital timing engine on them as well.
    You can still optimize your code however, by not starting and stopping the task each iteration, but rather start the task before the loop, and stop it after.  Inside the loop you will simply need to use the WriteSingleSamplePort command in the loop.  In fact, you pretty could do this I believe (note, I did not test this first):
      TransmitChannel.Start()
            For a = 0 To 63
                writer.WriteSingleSamplePort(True, Packets(a))  'place the next byte on the line
            Next a 
                Do Until TransmitChannel.IsDone
                    Application.DoEvents()
                Loop 
    TransmitChannel.Stop() 
    Eric S.
    AE Specialist | Global Support
    National Instruments

  • IPad restarting on its own

    Hi,
    I have iPad 4 running on iOS 7.1. It has been working fine since last two years. But, suddenly it has developed issues since yesterday. It has been restarting every two minutes. I searched through the Apple Community and carried out steps like restoring factory settings and turning off notifications, but these didn't help. I then looked at the diagnostic log and could find out that it has bug_type 110. I could understand from various other posts that this could be a hardware issue. Any other suggestion from anyone before I approach the Apple Store. Below is the dump which could could provide more information. Any help is much appreciated.
    os_version":"iOS 7.1 (11D167)","bug_type":"110"}
    Incident Identifier: 961AC821-3AB7-488B-ACA2-1409B85C19FD
    CrashReporter Key:   2c95f2daed7d204e964cab8df2cfa3e02654355b
    Hardware Model:      iPad3,6
    Date/Time:           2014-09-18 21:58:56.825 +0530
    OS Version:          iOS 7.1 (11D167)
    Debugger message: WDT timeout
    4s ago: 1949b50 1949f9fd0ce63 1949r1c74000 1910m0/0 1905m0/1 1905u0 1800m0/0 1800m0/1 1800u0 1700m0/0 1700m0/1 1700u0 1600m0/0 1600m0/1 1600u0 1591fa25dd367 1500m0/0 1500m0/1 1500u0 1400m0/0 1400m0/1 1400u0 1391f9fd0ce63 1300m0/0 1300m0/1 1300u0 1200m0/0 1200m0/1 1200u0 1100m0/0 1100m0/1 1100u0 1097f9fd0ce63 1000m0/0 1000m0/1 1000u0 913f9fd0ce63 900m0/0 900m0/1 900u0 800m0/0 800m0/1 700m0/0 700m0/1 700bff 700t30fffff 600m0/0 600m0/1 500m0/0 500m0/1 400m0/0 400m0/1 300m0/0 300m0/1 200m0/0 200m0/1 100m0/0 100m0/1 0m0/0 0m0/1
    OS version: 11D167
    Kernel version: Darwin Kernel Version 14.0.0: Fri Feb 21 19:33:46 PST 2014; root:xnu-2423.10.67~1/RELEASE_ARM_S5L8955X
    Kernel slide:     0x000000001c600000
    Kernel text base: 0x9c601000
      Boot    : 0x541b0764 0x00000000
      Sleep   : 0x00000000 0x00000000
      Wake    : 0x00000000 0x00000000
      Calendar: 0x541b0830 0x000ec72f
    Total cpu_usage: 15843491
    Thread task pri cpu_usage
    0x801ac9f0 kernel_task 0 4877515
    0x803309f0 kernel_task 0 4988147
    Panicked task 0x801a1c00: 24561 pages, 127 threads: pid 0: kernel_task
    panicked thread: 0x801ac9f0, backtrace: 0x9c935b10
    0x9c719cd1
    0x9c71a8cf
    0x9ca321df
    0x9d17ea4b
    0x9c699ca7
    0x9c61ca54
    0x9c61e61c
    Task 0x801a1c00: 24561 pages, 127 threads: pid 0: kernel_task
    Task 0x801a1950: 340 pages, 3 threads: pid 1: launchd
    Task 0x801a13f0: 1473 pages, 12 threads: pid 14: UserEventAgent
    Task 0x801a1140: 1195 pages, 6 threads: pid 15: wifid
    Task 0x801a0be0: 1979 pages, 4 threads: pid 17: awdd
    Task 0x801a0930: 661 pages, 4 threads: pid 18: timed
    Task 0x801a0120: 851 pages, 5 threads: pid 21: mediaremoted
    Task 0x8019f910: 627 pages, 3 threads: pid 24: iaptransportd
    Task 0x8019f100: 398 pages, 2 threads: pid 27: softwareupdated
    Task 0x8019ee50: 3112 pages, 16 threads: pid 28: backboardd
    Task 0x8019eba0: 1678 pages, 4 threads: pid 29: sharingd
    Task 0x8019e390: 749 pages, 4 threads: pid 32: mDNSResponder
    Task 0x8019e0e0: 30055 pages, 14 threads: pid 33: SpringBoard
    Task 0x8019de30: 970 pages, 3 threads: pid 34: routined
    Task 0x8019db80: 578 pages, 2 threads: pid 35: softwarebehavior
    Task 0x8019d8d0: 1889 pages, 7 threads: pid 36: assistantd
    Task 0x8019d370: 1303 pages, 8 threads: pid 38: aggregated
    Task 0x8019c8b0: 218 pages, 7 threads: pid 42: syslogd
    Task 0x8019c600: 1425 pages, 5 threads: pid 4
    Thanks and Regards,
    Debjyoti

    Hello, debjyoti.  
    Thank you for visiting Apple Support Communities.
    I see you have tried some troubleshooting steps already with there issue persisting.  Here are some additional troubleshooting steps to go through when experiencing this issue.  They are labeled for the iPhone, but apply to the iPad as well.
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    If the issue persists, see the section labeled Issue not resolved.
    Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Cheers,
    Jason H.

Maybe you are looking for

  • HP PhotoSmart 7510 suddenly has severe connectivity issues

    I have a HP PhotoSmart 7510 printer since about 2 months. Initial setup worked like a charm and the printer has been working pretty much perfectly for the last 2 months. Wireless printing, scanning and internet access on the printer (e.g. for Faceboo

  • Downloading adobe creative cloud on OSX 10.9

    I have a new Macbook Pro with OSX 10.9 and cannot download Adobe products from their Creative Cloud. Keep getting error "Creative Cloud Installer" cant be opened because it is not downloaded from the Mac App Store. Any suggestions? Adobe doesn't have

  • Slow performance of alv report

    Hi, I have developed Invoice Register Report in ALV, there 25 Selection Feild all multiple range , 98 coulmns  & 26 database tables r used . its a very bulky report. i did optimized coding. still it is very slow . can anybody tell me the reason or an

  • Just turned my phone off to restart it & now will not turn back on! HELP

    I have an iPhone 4 and my facebook app hasn't been updating this morning like others so I thought I'd try to delete the app, restart my phone, and redownload it..deleted facebook..turned phone off regularly & waited 30 seconds tried to turn phone on

  • How do I Share a Group list of e-mails?

    I can share a single contact, but how do I share a Group ist of e-mails?