How can I create RT time-trigg​ered events?

We have a RT VI running on a PXI.  One of the RT event loops handles turning on and off digital outputs at precise times.  Because we want high precision, the loop is running at a high rate (1 KHz) and every iteration, we check to see if it's time to do something.  But this seems inefficient to me because the vast majority of the time, we're sitting and spinning.  Is there a way to turn this from a polled system to an even-driven system?  I'd like to schedule events to occur at given times and use an event handler to process them.  But how do I schedule a time-triggered user event?
Thanks,
Keith.

There are other RT timed loops running, but I'm not sure if it counts as "a lot of stuff."  As for what controller, I'm not sure (I inherited the system) but MAX says it's a PXI-8187 with a SCXI-1102 and a PXI-1052 (SCXI) SCI with a few cards in it.  Is that what you're asking?
How do I find out how much CPU is being used?
The time trigger is like this: The operator hits a "go" button on the host VI.  This signals a sequence of on/off timed events that are relative to the time when the button was pressed.  The relative timing sequence is fixed before the VI is run and does not change afterwards.  It's also a one-shot -- each digital output is turned on once and off once, just at different times.
If the way we're doing it is fine, I'm cool with that.  I'm just trying to see if I can simplify things.  The previous developer had mentioned doing a lot to optimize, so looking for inefficiencies is fresh in my mind, but I don't know (yet) for sure if there are current problems.
Thanks,
Keith.

Similar Messages

  • TS3999 When I creatae a new calendar it copies all the events in my existing calendars.  How can I create a calendar with no events in it???

    How can I create a new calendar (e.g. Yoga) that doesn't have all the events on my other calendars (which all appear to be synced with each other)?  I just want a blank calendar to start with.
    thanks

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    * http://kb.mozillazine.org/Bookmarks_not_saved

  • How can I create a Time Lapse from clips in FInal Cut Pro?

    Currently have 3hrs of footage from an event....wondering how I can create a time lapse of it all in FCP. I want to make it shortened down to around 4mins if possible. How is this created?

    Try exporting a reference quicktime of your sequence and reimporting it into your project. Drop it in a sequence. Use the Time remap tool (click and hold in the select edit points tool until you see the icon that looks like a clock and choose it). Click and drag the end of your clip until it's at the 4 min mark.
    Andy
    PS: This is for FCP 7. Earlier versions of FCP require use of the speed dialog (CMD+J) or Time Remapping in the Motion Tab of the viewer.
    Message was edited by: Andy Neil

  • How Can i create a package/trigger

    Hi Every1,
    I want to create a database trigger which act on entering the charahters and count the characters.
    e.g
    you can understand with the example
    if i press 01 in a specific column the length of characters is two after this automatically the character sign i.e. / ( forward slash ) appers and then i can write 03 again the month and then again automatically / slash appers and i press 2009 and then go on
    then the filed will look likes 01/03/2009
    simply i dont want to press the / sign in the date fileld or place sign after ENTER through format mask property in forms 6i
    can any1 please help me
    Regards
    M. Laeeque A.

    I want to create a database trigger which act on entering the charahters and count the characters.I guess you're talking about a forms-trigger, not a database-trigger.
    if i press 01 in a specific column the length of characters is two after this automatically the character signi don't think thats possible in 6i. In 10g you could write a java-bean for that.

  • How can I create a time zone neutral calendar?

    Hi folks,
    I have a particular problem that's been bugging me lately: my calendar is all screwed up.  I live in the Central Time Zone, but often travel back to the Eastern Time Zone.  The problem I have is pretty simple: when I schedule things in my calendar, I schedule them for the time I need to be there.
    The most recent example: while on the road, I had a referral finally come through.  So I made the appointment when I received the call, and the appointment was obviously back home.  I entered it for 10 am, but when I traveled back home, my calendar displayed it as 9 am.  I caught it this time, but that was a first.
    Maybe this is a helpful feature for others, but I find that I never need it.  I am always scheduling things for local time.  I can't even imagine a scenario where I'd need a feature like this -- I'm sure they exist, but not for me.
    I can't tell if this is an iOS feature, a Google Calendar feature (I sync my Google Calendar with Calendar.app on iOS, although I pretty much add and edit appointments on iOS) or a conflict created between the two.
    If anyone has ideas on how to handle this, I'd appreciate it.

    Hi,
    As far as understanding there is no direct way to cater this requirement.you have to work around
    Create table in V/03 with combination of field Customer and delivery time
    Create access sequence in V/07
    Create condition for lead time in v/06 and assign the above created access
    Then create condition record for the lead time condition
    Then In IMG >> SD >> Sales >> Sales document >> define delivery agreed time
    Then delivery time field available in sales tab at header/item level
    Hope this will help
    Kapil

  • How can I create a timer to process some logic in an EJB, periodically?

    Hello,
    I want to process some logic on WLS 11g every N hours or minutes inside an EJB. What timer-like component can help me achieve this in WLS 11g?

    Hi,
    Please refer to the following Post to see a Demo of Using EJB3 Timer Service : http://middlewaremagic.com/weblogic/?p=773
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • How can I create a pdf-report in a database trigger

    Hi,
    how can I create a pdf-file with Reports 9i in a database trigger ?
    Where can I find informations about it?
    Thanks
    Friedhold

    Here would be the place to start.
    If you have existing reports to call, take a look at the JRC

  • How can I create a Face Time account.  I have an Apple ID and password.  When I Google how to create an account all I get is what I need for the system

    I have a 13" MacPro.  How can I create a Face Time account.  I have an Apple ID and password.  When I Google how to create an account all I get is what I need for the system

    You don't need to create an account.   Your use your Apple ID to log into Facetime.
    If you haven't already you will need to download the Facetime App from the Mac App Store.
    https://itunes.apple.com/us/app/facetime/id414307850?mt=12&ls=1
    FaceTime for Mac: Troubleshooting FaceTime - Apple Support

  • How can I create JScrollPane in my swing application with scroll bars movin

    Hi,
    How can we create scrollpanes moving with scrollbars.I tried many times with custom layout.but it does not work if i set custom layout.I hope that I will get my problem solved.
    Thanks and Regards,
    Rameh RK

    This means it is not possible to create a pure unicode file without the byte order mark?
    You wouldn't happen to know how a file with byte order mark should read on a Linux system?
    Or if this possible or not?
    Regards
    Christian

  • How can I create a new ring tone for my iPhone 4?

    How can I create a new ring tone for my iPhone 4? I followed the Garage Band process and ended up with the ring tone I want as a AAC audio file. It got stored in my iTunes a a song rather than a ring tone. How do I make it a ring tone vs. a song? I tried dragging it t the Ring Tone category at the bottom of the ITunes list, but it won't alloow me to move it?

    There's also an easy to use Applescript over at Doug's Applescripts for iTunes. It automates the whole thing. All you do is set the start and stop time on a file in iTuens and run the script. It will do everything else.
    Make Ringable v1.1
    http://dougscripts.com/475

  • How can I create an EntityStore for a Database?  Advice on DB strategy?

    Hello All,
    How can I create an com.sleepycat.persist.EntityStore for a com.sleepycat.db.Database? Advice on DB strategy?
    I'm looking to create an application prototype that creates a database dynamically and can delete it programatically. Is openDatabase/removeDatabase what I'd want to use for that?
    So far, the Direct Persistence Layer is an amazing piece of technology and has the potential to make my team's application faster than we every though possible, so kudos to the author.
    I've built a high-security application using the DPL and a single database for hundreds millions of users. I'd like to attempt to create a database for each user for security and manageability purposes. Our mission statement doesn't allow us to execute queries for sensitive data across more than one user account at a time, so I don't get any benefit from having every user's objects in a single database. I'm investigating if giving each user their own database will speed up insert times and SecondaryIndex queries. It'll certainly be more secure as each database will be encrypted with a unique password.
    My design is that I have an app with dozens of com.sleepycat.persist.model.Entity beans which I persist and query on their Primary and secondary indexes. I've been accessing things through an EntityStore as illustrated in the Getting Started Guide. Can I access a database created with openDatabase through an EntityStore and com.sleepycat.persist.PrimaryIndex?
    Thanks in Advance,
    Steven
    Harvard Childrens Hospital Informatics Program

    I closed this as I found another way to solve my issue.
    Thanks,
    Steven

  • How can I create multiple versions of a video within the same project?

    OK...this is a probably a very basic question but I'm not sure how to word it clearly.
    How can I create multiple versions of a video within the same project? What I mean is that I have a bout 50 minutes of video and I want to make two DVDs using different clips from this original 50 minutes of footage. It would be a real pain to have to re-import the video AGAIN for the second DVD. I suppose I could drop anything I don't want to burn to DVD back into the clips pane but that would wipe out all my transitions wouldn't it? I want to save each project in their “raw” form so I can burn additional DVDs later otherwise I would just do them one at a time and not care about one of them being destroyed.
    Wow...that was a mess. Does anyone understand what the heck I’m asking? I hope so.

    How can I create multiple versions of a video within the same project?
    You can't. You make separate projects using the same or different clips, segments, transitions, titles, etc. You can even duplicate the first project and then modify/make the desired changes in the duplicated project. Each project can then be burned as a different DVD or as different titles on the same DVD if there is enough room.

  • How can I create a new TC backup with ethernet, so I don't have to wait two days for a new wireless backup?

    How can I create a new TC backup with ethernet, so I don't have to wait two days for a new wireless backup?
    Several times in the last year, I've gotten a message that Time Machine needs to completely redo my backup. Using the wireless connection, this takes almost two days. Is there a way to do the backup with ethernet and then switch back to wireless? Thanks.

    May I know what is needed to make sure the MacBook is able to see Time Capsule on ethernet?
    Connect an Ethernet cable from one of the LAN <-> ports on the 2Wire gateway to the WAN port (circle of dots icon) on the Time Capsule.
    If AirPort Utility cannot "see" the Time Capsule now, you will need to perform a "hard reset" by holding in the reset button for 7-8 seconds or so and then reconfigure the Time Capsule. You can use the same Time Capsule name and password, etc. as before.
    Configure the Time Capsule to "Create a wireless network" and select the Bridge Mode option when it appears during the setup using AirPort Utility.
    Once the Time Capsule is configured, restart the entire network again. Power down everything, start the 2Wire first and then start each other device after that one at a time about a minute apart.
    Now you can connect your Mac directly to one of the LAN <-> ports on the Time Capsule for the backup using another Ethernet cable. In general, about 20-25 GB per hour will transfer.
    The Time Capsule will broadcast a much faster wireless network than the 2Wire can provide, so you might want to leave the setup "as is" for awhile after the first backup is complete. If you decide to use the Time Capsule as your main wireless access point, you would want to turn the wireless off on the 2Wire since two wireless networks in close proximity can create interference problems.
    Or, if you want to use the wireless on the 2Wire, you could turn off the wireless on the Time Capsule. Then backups will occur over the 2Wire wireless, or over Ethernet.
    I don't really recommend the "Join a wireless network" setting on the Time Capsule for most users, but you could go back to that setup as well if you want after the first backup is complete.

  • How can i create a new transport request?

    Dear Experts,
    Some colleagues have to modify a master record, but save time, failing to produce a request no., then, how can i create a new transport request?
    Wilson

    Hi,
    Please let us know about the issue when you create the new Transport request .
    In which system you are creating the request . Hope its in Development  .
    If so , check the entries are enabled in SCC4 > Changes without automatic recording
    Changes to repository objects and cross client customizing allowed .
    Protection level 0
    If these entries are enabled, you must be able to create Transport requests.
    Please check and update .
    Regards,
    Nibu

  • How can I create a new Numbers Document through AppleScript?

    How can I create a new Numbers Document through AppleScript?
    I try this:
    tell application "Numbers"
    make new document with properties {template name:"blank"}
    end tell
    But don't work.
    Where can I find documentation about it?
    Thanks

    If you try to invent your own syntax, you are starting on very wrong basis.
    The required syntax is defined by the Numbers AppleScript's dictionary.
    This one doesn't know what is a template.
    This is why, in the link posted by badunit, I use an other scheme to create a new document.
    I know that it's awful but it's the only one available at this time.
    Yvan KOENIG (VALLAURIS, France) samedi 4 juin 2011 11:25:25
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

Maybe you are looking for

  • MTS thumbnails not displaying in PrE9

    I have a thumbnail problem. I just bought PrE9 because I was unhappy with Studio V14's slow/jerky performance with AVCHD.  I have a Canon HF20 and used Windows to move the videos (MTS's) over to my harddrive.  They are all HD videos in MTS format.  M

  • Im trying to update my iphone and its not leting me

    im trying to update my iphone but its not letting me and cant get my ringtones back i dont know what is going on with my phone .

  • Compressor/FCP quits unexpectedly possibly due to ProMedia plug-in

    Hi all I am sending a finished project to Compressor from FCP, without rendering first. Much of the project is comprised of embedded Motion files. I keep getting a "quit unexpectedly possibly due to the ProMedia plug-in" alert. After repairing the HD

  • Safari 3.0.2 won't run after 3.0.1 worked fine

    Safari 3.0.1 was working fine for me on win xp pro after copying fonts to address text problem. I downloaded 3.0.2 and installed. the install appeared to work fine, but when I try to run safari, i get no error and it won't run. I've turned off firewa

  • Result set plz iam confused

    Hello sir, I have database for names ok it works fine but if iam entering the names with spaces like Raj kulkarni which is the full name of person it is going into the database but when i access into another form for other module through rs.getString