How can I detect a trigger missed (i.e. 2nd trigger arrives before the task completes)
Is it possible to know if a trigger pulse has been failed, because the device is busy?
To give a specific example:
I use a NI4462 Board with digital triggers of falling on the PFI0 entry point.
I have an external clock, exactly the 1 kHz square wave.
On each falling edge of the clock, I (re) start a task than 200 times, samples (200 kHz).
Normally, it works well (as long as I take care to keep the task, stop and start the task in a tight loop and not make too much treatment in 5 ms, which remains after the last sample).
BUT, if something went wrong (think of the external clock running too fast 1%), the 2nd trigger would happen during the running task (say, on the sample of 198).
The NI4462 (I think) simply ignore this trigger, because the task is still running, and I would miss out on a framework for data set, getting only the 1st and 3rd groups of 200,
Is it possible to detect when this has happened and raise at least one error?
Thanks for your help.
P.S. I also worry about the 63-sample-delay filter: is there a better solution than post processing to cut the beginning of a group and on the end of the previous 63 samples? This works well, but it incorporates a timing glitch after the 63rd sample.
Hello
I can't imagine a way to solve this problem in your task to the DAQmx. This should be relatively simple in FPGA or maybe even in real time. I'll come if I invent something.
You could check your trigger with a counter clock (just carry your meter with your signal of 1 kHz) and throws an error if it derives.
Perhaps I could ask a little more of the context of this question - why do you need this architecture? I don't know why you cannot acquire just streaming samples - this can lead us to a different solution!
I will mention that your schedules are very tight, as this 5 spare part is at best because I don't think that your sample clock is synchronized with the clock of your relaxation.
In response to your question about the delay, can preload you the filter before your main acquisition to lose the delay?
A bit like the solution described in this KB (http://digital.ni.com/public.nsf/allkb/F989B25FF6CA55C386256CD20056E27D?OpenDocument), of course you would have to set up your triggers properly. A trigger of reference might use with a size of pre-triggersample of 63.
I hope this is a help - let me know how you go.
Best regards
Tags: NI Hardware
Similar Questions
-
Hello
How can I force DAC to run always full load for one of the task that executes the stored procedure? And remaining tasks load incremental in the second and sub sequent executions.
Thank you
Jay.
Hi if your task is running an informatica mapping you can set your DAC task to run the full mapping for incremental and full loads, so tab task just point to the mapping.
Hope that helps.
Thank you
-
iPhone 5 How can I remove "do not miss a beat" of my music on the screen
IPhone 5, how remove/delete "Don't Miss a Beat" my music/itunes screen?
Assuming that it is a song that you downloaded on your iPhone or through of your Apple ID, you can...
First of all, remove the music, movies, applications, and other content to your iPhone, iPad or iPod touch - Apple Support
Delete the song.
Second, go to the 'My music' tab in your music app.
Tap where I circled "Genres" [this can include artists, etc. depending on your setting of the current organization]
Then switch where it says 'only downloaded Music.
---- ---- ----
If you also want to go as far as hide a purchase that you have made in the iTunes Store, follow this link.
Hide and expose the iTunes Store, App Store or purchases made on iBooks Store - Apple Support
This must be done from iTunes on a computer connected to your account.
-
How can I create a trigger e-mail messages sets a phone when Gets an email from particulry?
Hi team, support
Customer email thunderbird whit, how can I create a trigger e-mail messages rule a phone dial when comes a word of the body particularly E-mail?Kind regards
Alessandro.I don't think you can do this with ordinary Thunderbird. But this add-on
https://addons.Mozilla.org/en-us/Thunderbird/addon/FiltaQuilla/
allows you to run javascript or IIRC, launch an external program when a given filter condition is met. So this does not exactly provide an answer to your question, but allows a possible solution. '
-
How can I detect when the last container in my stream is full?
I have a bunch of related containers which I am flowing text through. How can I detect when the text has filled a container? There's an overflowPolicy then I guess it can be detected.
Hello
I used this:
private function IsOverset(textFlow:TextFlow):Boolean
{
var zeComposer:IFlowComposer = textFlow.flowComposer;
var iTextLen:int = textFlow.textLength;
var iNoController:int = zeComposer.findControllerIndexAtPosition (iTextLen - 1);
return (iNoController is-1);
}
HTH,
J.
-
How can I avoid losing image changes I've already done when changing the name of a folder?
How can I avoid losing image changes I've already done when changing the name of a folder? Whenever I have change a folder name (after having published images), Lightroom "updates" the images in this folder and any changes I've made have disappeared!
Thanks for the update.
This isn't the correct workflow.
When you rename a folder outside of Lightroom, it causes the link between this issue and Lightroom to be broken and images will be missed in the Lightroom Catalog
and if you re-import them same images after that, it will import the original images and not the changes
Lightroom does not store the original images it contains. It works on the previews and the changes you make are stored only in Lightroom.
So, you have to rename or move this folder in Lightroom instead of doing outside so that you do not lose your changes.
To rename a folder, select the folder name in the library module > right click / Control click and select Rename folder.
-
How can I get Lightroom to find photos on a USB key when the drive letter changes?
This is probably a simple question, but I keep getting stuck. I have ha
ve my catalog and some pictures on my laptop hard drive, but most are on
an external USB drive. Sometoimes the car is affected
E:, F.; or G: and when it cahnges, the catalog says the photos are missing. How can I get
Lightroom for photos?
Tom Barnwell
The quick solution is to click on the folder that contains the missing files and choose "update folder location" and then search for the file on the USB drive. The longer term and fix, you must apply is to configure Windows to always give the same drive letter USB. You can do this through the XP disk management application in the management of the computer (the control panel applet). The following screenshot is for XP and Vista and Win 7 will be something similar which is accessed via the administrative tools (see second screenshot).
-
How can implement you not with Tim Capsule and AirPort their simulation on the iMac?
Hello
How can implement you not with Time Capsule and AirPort their simulation on the iMac?
I don't know what you're asking.
AirPort Extreme is a wireless router.
A Time Capsule airport is an AirPort Extreme with a built-in hard drive for data storage.
An iMac is a Mac computer.
An iMac is not a wireless router, so he is unable to perform the functions of a wireless router.
-
How can I configure my Mozilla Thunderbird to me for new confirmed before leaving?
I used to use Microsoft outlook. In outlook, we use the button 'close' at the top right of a mail to close this letter.
In thunderbird, this 'x' is available on the top somewhere in the middle.To close a mail, I click on the upper right corner by mistake and the release of Thunderbird (which I didn't) by mistake.
How can I configure my Mozilla Thunderbird to me for new confirmed before leaving?
As far as I can see there is no easy way to do this. However, an easy option is to have the Thunderbird in the system tray on hitting the close instead of closing button. The add-on "Minimize on start and close" for Thunderbird accomplishes this mission and to close all what you need to do is right-click on the icon in the taskbar, and then click close to close actually it. I hope this helps.
-
How can I display all recipients of an e-mail when I open the email
I don't know if this is a duplicate.
How can I display all recipients of an e-mail when I open the email in Thunderbird. What setting do I change this effect. I don't see that myself as a recipient not anyone else the email is addressed to or even any cc
'View'-> headers-> all the.
-
How can I go to watch Apple TV watching television (cable) without changing the remotes?
You can't do that. The feature that turns on the TV and the entrance to tha ATV is nice, but is not able to remember what the original setting was and go back.
-
How can I set a password for firefox so that everyone must enter the password before running firefox
My younger sister run my firefox just to this afternoon (she origin use IE), and she saw something that is not visible. How can I set a password for firefox so that everyone must enter the password before running firefox?
Another option is the master password + extension.
You must first make sure that Firefox uses a master password, for more details on how to do that see use a master password to protect stored logins and passwords. Then with the master password + extension in its options, go to the getting started section and make sure that "ask for password at startup" and "Exit if cancelled" is selected both.
As with all extensions, this protection is quite weak and can be bypassed if start you Firefox in safe mode that disables extensions.
-
How can I know if Migration Wizard works... I have the gray wheel on the new mac and it's after a msg error saying there was an error with iCloud (in red). What is happening with a MacBook Pro refurbished, I just got today. Thanks for any help.
The guarantee gives the right to the free phone support for the first 90 days of ownership.
-
How can I remove a United States billing address that I am in the United Kingdom
How can I remove a United States billing address that I am in the United Kingdom
You now define US as your billing address? If you do: change your iTunes Store country or region - Apple Support
-
I got an iphone 4 to a friend in the Canada. I want to use it here in the Philippines as a regular iPad reserved for wifi, how can I use it without sim card? It does not pass the activation page. Help please?
You can activate it without a SIM card. If it is locked, it takes a SIM card by the carrier, for it is locked. The SIM card should not be linked to an active line of service, but it must be present to activate it.
Maybe you are looking for
-
Hello I would use my account in such a way that, when an email is deleted from the server (limited space) there is still on my computer.It did not work for a while, but since I have a new PC, I was not able to set it up again in this way.I use the IM
-
due to a virus or something that I had to wipe my computer to its factory settings, but before I did, I made a copy of the FF in my programs. is it possible to import my favorites folder? and how would I do it?
-
The fan runs loudly during startup.
When I start my Mac in the morning after I turn it off the night before, the fan made a charge to rush sound for about 30 seconds. It is a pulse sounds similar to the waves of the ocean coming in and out. At the same time, it freezes sometimes for
-
My HP dv4-1145go is dead - no lights, no video, nothing.
A few months ago my dv4 has stopped working. It is a device I want to make it work, in order to prevail on the TRIPS Agreement and use it for email and web browsing. My diagnostic skills are limited and a multimeter is the extent of my test. I don't
-
The wireless mouse pointer behaves badly in desktop Acer
Have an acer desktop, internet explore xp, probably need update of Windows 8 Original title: have a counter top and just brought a mouse and a wireless keyboard, arrow appear everywhere and have to wait for it to settle down before continuing where I