Thread: VxWorks array of watchdog timers

  1. #1
    Registered User
    Join Date
    Mar 2014
    Posts
    1

    VxWorks array of watchdog timers

    Is it possible to create an array of watchdog timers in vxworks ? If so how do I do it.
    I need to run a timer each time a sensor is set high.

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Watchdog timers, at least in the devices I'm familiar with, have their own independent RC oscillators internal to the device, so that they function even (and especially) if the clock source were to suddenly cease.

    The whole idea of a watchdog timer is to reset a device if it is not cleared in a specific time frame. Therefore, I doubt (but am not certain) that any architecture would require more than one.

    Are you sure you don't just need a regular timer?

    Some devices offer a software command that will reset the device - if you really did need an array of watchdog timers, and that device supported the software-controlled reset, then you could in effect mimic an array of watchdog timers using regular timers.

    Your best bet might be to do an internet search for "VxWorks forum" to find a forum that specializes in this architecture.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. UVC Driver for VxWorks
    By Brijen Raval in forum C Programming
    Replies: 2
    Last Post: 03-06-2013, 06:29 AM
  2. Watchdog Timers
    By el_timmo in forum C Programming
    Replies: 5
    Last Post: 10-22-2010, 07:47 AM
  3. Building a watchdog
    By kotoko in forum C Programming
    Replies: 10
    Last Post: 01-05-2009, 05:01 AM
  4. any C/C++ learning resource for vxworks platform?
    By George2 in forum C Programming
    Replies: 5
    Last Post: 06-14-2006, 08:01 AM
  5. VxWorks and pSOS APIs?
    By IBCNUNHELL in forum C++ Programming
    Replies: 0
    Last Post: 04-11-2002, 10:51 AM