How to setup "Stop Trigger"?

There’s a signal(only persist a few seconds) to be measured.I use a digital trigger to start the measurement,but the question is:how to config a digital trigger to use its falling slope to stop a test?
The DAQmx’s function to config a “stop trigger” is called “Reference trigger---DAQmxCfgDigEdgeRefTrig”,which means set up a trigger in finite samples(to set up preSamples count, and the “postSamples”can be auto caculated using “samples per channel” minus “preSamples”.----What does postSamples mean?When then pre-defined slope comes ,the measurement stops,isn’t it? ).
But I want to acquire the data continuously,not stopping until received the digital trigger signal’s falling slope. So before the trigger singal’s falling slope comes,I don’t know how many samples I might have acquired.
What’s more,the “reference trigger” doesn’t support “continuously measurement”,it supports only “finite measurement”.So,when the samples reaches the sample count defined in “DAQmxCfgSampClkTiming”,while the falling slope have not come yet, then the measurement might stop. how can I set up the “stop trigger”?
If there is a way to config this trigger,then the total sample count might exceed the “samples per channel” count,how can I detect when buffer is full?Should I write a cycle to detect the buffer status(using the function “DAQmxGetReadTotalSampPerChanAcquir”)? Would this kind of detection slow down the sample speed?
^_^^_^

There’s a signal(only persist a few seconds) to be measured.I use a digital trigger to start the measurement,but the question is:how to config a digital trigger to use its falling slope to stop a test?
The DAQmx’s function to config a “stop trigger” is called “Reference trigger---DAQmxCfgDigEdgeRefTrig”,which means set up a trigger in finite samples(to set up preSamples count, and the “postSamples”can be auto caculated using “samples per channel” minus “preSamples”.----What does postSamples mean?When then pre-defined slope comes ,the measurement stops,isn’t it? ).
But I want to acquire the data continuously,not stopping until received the digital trigger signal’s falling slope. So before the trigger singal’s falling slope comes,I don’t know how many samples I might have acquired.
What’s more,the “reference trigger” doesn’t support “continuously measurement”,it supports only “finite measurement”.So,when the samples reaches the sample count defined in “DAQmxCfgSampClkTiming”,while the falling slope have not come yet, then the measurement might stop. how can I set up the “stop trigger”?
If there is a way to config this trigger,then the total sample count might exceed the “samples per channel” count,how can I detect when buffer is full?Should I write a cycle to detect the buffer status(using the function “DAQmxGetReadTotalSampPerChanAcquir”)? Would this kind of detection slow down the sample speed?
^_^^_^

Similar Messages

  • How to setup to trigger an event when choose the value from cookie

    Hi,
    I define an firepartialaction event for the messageTextinput, this event can be triggered when the user key in the via keyboard. but failed to be triggered when the user choose the value from the cookie. How to setup or program to trigger the event even the user choose the value from the cookie?
    Best Regards,
    Jiang

    Hi,
    so the next missing information is what the event is that you expect to fire. If the cookie value is displayed in a list then John is correct and you populate the input field behind the scenes in which case e.g. no ValueChange listener fires or autoSubmit action is issued as you don't update the data through the UI component
    Frank

  • Stopping Trigger at WebLogic Server

    How can I stop trigger? I got an application that starts trigger on the server
    side, and ScheduledTriggerDef.schedule() returns unique key. The trigger is started
    and the application ends.
    How can I stop this trigger from another application having this unique key?
    Thanks in advance
    Randy H.

    seems like a classpath problem to me.
    Pls post this question to commerce server group for better explanation.
    Kumar
    German Faiella wrote:
    Hi,
    We installed the BEA WebLogic Server on HP-UX 11.0 and it works fine. After that, we installed the BEA Commerce Server but, when we tried to run the StartCommerce.sh command, we received the follow message:
    Thu Oct 05 19:55:13 GMT 2000:<I> <WebLogicServer> Loaded License : /u02/local/weblogic/license/WebLogicLicense.xml
    Thu Oct 05 19:55:13 GMT 2000:<I> <WebLogicServer> Server loading from weblogic.class.path. EJB redeployment enabled.
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.NoClassDefFoundError
    Could anyone help us????
    Thanks in advance,
    German

  • How can I create software start and stop trigger in LabView using 6023E series DAQ card? I don't want to use the external trigger.

    I am using 6023E DAQ card to collect the signals, such as AE, Force, Torque from the machine. I want to collect only some part of signal for example between start triger and stop trigger. I'd like to know how I can creat those triggers in LabView from one of the channels that I am acquiring at the same time. I found one or two library file that is only for start trigger. I know that this is availabe in some of DIAdem functions. Please let me know if you have done some example for this requirement.

    If you are wanting to create a software trigger based on an analog input voltage in LabVIEW, there are several options. One suggestion would be to compare the voltage values from one input channel to a number within a loop. If the input voltage crosses that threshold (is greater than the number), have a case statement that will acquire data from the other channels. This would simulate a software start trigger in LabVIEW.

  • My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue.  How can I stop printing the document?

    My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue.  How can I stop printing the document?

    Soution: Delete the printer and add the same printer back in, therefore creating a new print queue.

  • How to use counter as an start and stop trigger in 6009

    Hi ALL.
    I'm using USB 6009 as a subject of to acquire data.
    I would like to know on how to use the counter digital input as a start and stop trigger. 
    The acquisition will only start when the first pulse of the digital signal is received and it will stop when the desired number of pulse is received.
    I was trying to use the VI as attachment as my reference. However, after tried, the VI is not working for USB 6009 as the counter input cannot be used as a trigger.  
    I would be happy if anyone could suggest me some ideas on this matter.
    Thanks.
    Attachments:
    DigitalStartandStopTrigger.vi ‏32 KB

    Hi Kate. 
    Thanks for your response.
    For your information, I've design my VI using the counter method. However, it doesnt work well. Please see the figure below. The file also attached with this reply.
     At first, the first counter from Device 2 will start counting. If the counting equal 0, then the acquisition for Device 1/AIO also the counter of Device 1/ctr0 begin acquiring data and counting the edges respectively.
    However, when I did the test, it doesn't work as wanted. It is happened because when counter of device 2 in not equal to 0, the acquisition for Device 1 not happened as it will go to false state.
    Is there anything that someone could suggest on how to start the acquisition for device 1 only and if the counter of device 2 is equal to 1. I would like the acquisition of device 1 start only when the counter of device 2 is equal to 1. I cannot use the trigger as 6009 is not support for it. 
    -Fird- 
    Message Edited by Fird on 07-02-2009 04:28 AM
    Attachments:
    Acquire Data Test 4.vi ‏27 KB

  • Stop trigger, how to specify the analogy trigger channel?

    Dear All,
    In fact, I am using DAQ2204 cards from ADLINK, which is more or less equivalent to NI E-series muttifuntion board. However, I have some problems with regard to my data acquisition program. Basically, it is about a middle/stop trigger application, which means data acquisition will be starting once the specified analogy channel (for example, channel 0) exceeds a prescribed value.And, data both before and after trigger will be acquired. However, I do not quite understand how to physically make the I/O connection and specify the analog trigger channel and level.
    According to the board User's Guide, 'SRC1 can be used for all trigger modes while SRC2 can only be used for post and delay trigger modes'. I have come across similar description with NI examples before. It would therefore be very appreciated if anybody can help. Thanks in advance.

    Hi dragondriver,
    I'm providing below links to 2 documents that discuss wiring considerations that are applicable to your device.  Hopefully this information is helpful!
    E Series User Manual
    http://www.ni.com/pdf/manuals/370503k.pdf
    Field Wiring and Noise Considerations for Analog Signals
    http://www.ni.com/white-paper/3344/en#toc5
    Josh B
    Applications Engineer
    National Instruments

  • Just brought my daughter an iphone and have her setup on my ID. Want to be able to see her messages and photos but dont want my info to appear on her phone. How do i stop the messages from appearing on her phone? (5's)

    Just brought my daughter an iphone and have her setup on my ID. Want to be able to see her messages and photos but dont want my info to appear on her phone. How do i stop the messages from appearing on her phone?

    If you have set up photo stream, this can't be done. As soon as you switch off photo stream on her device to keep your photos from coming to her device, you won't get any as well from her. Same for messages, you can't have both, sorry.
    Maybe look into the family sharing feature if you want the photos to be shared:
    Apple - iCloud - Family Sharing

  • Start and Stop Trigger using PXI-6120 and DigitalSta​rtAndStopT​rigger.vi not working :-(

    Hello,
    I've been trying for a while now to get my PXI unit to capture a waveform between a Start and Stop (Reference) Trigger using the NI example DigitalStartAndStopTrigger.vi downloaded from the NI website. However, whilst the start trigger and stop trigger seem to be working i.e. the VI runs and stops at  the correct times there is never any data read from my DAQmx compatible PXI-6120 card. So I can see the VI is running around the aquisition loop but the Property Node AvailSampPerChan is always returning zero... this has me slightly puzzled. I thought this might just be a driver issue so I've updated my box to the following software versions (see below) and installed the latest drivers e.g. DCDNov07.exe (also from the NI site) but nothing has changed.
    my software as of now.
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.3.0.49152
    DAQmx 8.6.0f12
    Trad DAQ 7.4.4f7
    before I updated I had the same problem but with the following versions:
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.2.1.3001
    DAQmx 8.5.0f5
    Trad DAQ 6.9.3f4
    So to cut a long story short I still have the same problem with the triggers... does anybody have any ideas what is going wrong?
    To add insult to injury it the traditional DAQ example ai_start-stop_d-trig.vi was almost working correctly before I did the upgrade. It had the strange behaviour of capturing the AI0 channel but on the wrong edges (e.g. if I set Start on Rise and Stop on Fall it would do the opposite, Start on Fall and Stop on Rise).
    I'm going to leave my box doing a mass compile over night but i'd really like it if someone could suggest a solution or point me in the right direction.
    Many thanks,
    Mike

    Hi Graham
    I'm out of the lab today but I'll try and answer your questions as best I can...
    1) What are the values you have set for Buffer size, Rate, samples per read and post trigger Samples?
    At the moment I have all the values (e.g. sample rate, buffer size etc) unchanged apart from the ones I mentioned in my previous post (see above). I have in the past played around with changing the buffer sizes and rates in the example VI but as this appeared to have no effect on the behaviour I now have them setup as in the download.
    2) Does the program end after the stop trigger is implemented?
    Yep, if I toggle the trigger line high then low I see the program exits the read loop and the VI stops running as expected.
    3) Lastly can you give me the details of triggering method. Are you
    using a digital train of users set digital pulses? how long is the
    program running.I'm using the WriteDigChan.vi to manually toggle the first digital line of the PXI-6733 card which is wired directly to PFI0 of the PXI-6120 card. Generally, I just start the VI running  and then toggle the line high, wait a couple of seconds and then toggle it low.
    To me it all looks like it should be acquiring samples but as I said yesterday it just refuses to fill the buffer with any data (and hence no samples are read).
    Any ideas? and thanks for you help,
    Mike

  • I am trying to record a from my Macbook Air and an annoying loud sound, like a burp, will suddenly erupt from the MacBook, necessitating I start again. Any ideas on how I may stop this, or what it is??

    I am trying to record a meditation from my Macbook Air and an annoying loud sound, like a burp, will suddenly erupt from the MacBook, necessitating I start again. Any ideas on how I may stop this, or what it is??

    Click on the blue Internet Recovery in nbar's post. That is a link to what computers can run Internet Recovery.
    Do a backup,  preferable 2 separate ones on 2 drives. Boot to the Recovery Volume (command - R on a restart or hold down the option/alt key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Reformat the drive using Disk Utility/Erase Mac OS Extended (Journaled), then click the Option button and select GUID. Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)
    When you reboot, use Setup Assistant to restore your data.

  • How do I stop the message "user name or password for iCloud is incorrect" from popping up 2 times in a row when i try to get mail from other accounts? thank you in advance

    How do I stop the message "Cannot get mail. The user name or password for iCloud is incorrect" from popping up 2-4 times consecutively every time I choose MAIL on my iPhone 4,  7.1.1  I have to select "OK" 2-4 times each time before I can read other email accounts.  I used to have an "@me.com" account which I think was automatically changed to an "@icloud.com account."  I opened a new iCloud.com account yesterday because I could not figure out how to get in the old ones.  I want to delete the original @me & original iCloud account.  When I try to delete the account, they tell me my DOB is wrong. I just want those pop ups to stop.  Thanks in advance for your help.

    Hi Suzanne,
    It sounds like you’re running into a password issue with an older Apple ID that’s setup on your iPhone, which is preventing you from removing an iCloud account from your device. Take a look at the article linked below, it outlines all of the possible ways to change an Apple ID password.
    If you forgot your Apple ID password - Apple Support
    After you enter your Apple ID, there are three ways you can change your password:
    Answer your security questions. Use these steps if you know the answers to your security questions.
    Use email authentication. We'll send you an email that you can use to change your password.
    Use two-step verification. If you set up two-step verification, you can use it to change your password. You just need your recovery key and a trusted device.
    So long,
    -Jason

  • How do I stop Internt Connect from  Prompting Disconnect (Please Help)

    how do I stop Mac OS X Tiger internet connect prompting to disconnect
    Every 15 minutes I get this message in the Internet Connect Window:
    This is your reminder that your connection is still active. Do you wish to remain connected?
    I have tried everything I could think of setup, network, System Prefrences and can not figure out how to stop this. Please help it is very annoying especially considering that I am in South America and using the built-in ethernet it takes about 8-9 hours to download 500MB.
    Thank you so very much for any advice you can provide and taking the time to do so.

    Click here and follow the instructions.
    (23686)

  • Two phones one apple account how do I stop imessage from one going automatically to the other?

    two phones one apple account how do I stop imessage from one going automatically to the other?

    You need to setup iMessage on one of the two phones using a different AppleID.

  • We have 3 devices used by 3 different people under the same Apple ID, how do I stop getting my daughters texts, both sent and received?

    We have 3 devices used by 3 different people under the same Apple ID, how do I stop receiving my daughters texts? Both sent and received.

    When you use the same Apple ID on 3 devices it means you are all using the same (email, imessaging, calendar etc).  Since iCloud (MobileMe) is designed to be shared across all devices included Macs, it means all devices setup with the same ID will have access to the information.
    Text messaging is relevant only to the number you are texting.  This is done through your telecom companys lines and not on Apples.
    If you do not want to have others be able to read any of your information then it is best you each have your own account.

  • How do I stop sharing mail with other users on my computer

    How do I stop sharing mail with other users on my Macbook pro?

    You may have to set up different user accounts in the computer if you wish to
    continue sharing the computer among other people, and only use the Mail app.
    Otherwise, if you use a webmail such as yahoo, gmail, or other, just use a browser
    and login each time; then there is no saving of your email to the computer as such.
    I've never used an email client software, nor had an ISP based email account. So
    my numerous computers have never downloaded email into software. No loss.
    But the answers do include setting up extra user accounts, not admin level, so the
    other users do not mess with the operating system; a standard account or just a
    guest account to use a browser to access web-based login email accounts, works.
    There are third-party email client for OS X, some are free applications, others are
    part of a larger browser product, such as SeaMonkey, & other Mozilla derivatives.
    They provide an email segment or client aspect; unlike Firefox that's a browser.
    Setup information should be within the Help viewer in the computer itself. Or by a
    simple search online, including the OS X version and any email client software
    your computer may have installed. Some browser software includes email client.
    Also there are several ways to go in this matter. I don't see questions, only answers.
    To learn how the Mail application works, if you want to import everyone's mail, then
    figure how to set up user accounts in the OS X. Or use web-mail & login by browser.
    Hopefully you can find the best solution for the unasked question.
    Good luck & happy computing!

Maybe you are looking for

  • How to remove all special  characters

    Hi, I want to remove all (128-223)the special characters that come in the mapping from the URL http://www.danshort.com/ASCIImap/ 128-223 ,I mean if any characters that come in between these numbered characters I have to remove in mapping. please sugg

  • MySQL will only let me use backticks (not single or double quotes)

    What the hell is going on here? This worked fine until a recent update. SELECT * FROM "table"; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '

  • Compatibility of Past-Years Cinema Display with Macbook Pro Late 2011, and other displays.

    Hello. I'm inquiring about the compatibility of Apple cinema displays from years past with Macbook Pro 15" Late 2011. For instance, will all Apple Cinema Displays from, say, 2008 onwards work with my mbook? They can be had fairly cheaply on the used

  • Timed Out using iPad

    When using GoodReader App on the iPAd to access our Mac server from another location I get timed out, any suggestions?

  • Excel for iOS data masking question..

    Hey guys, the contracts I use for my biz require me to have fields masked (when typing in a customer's credit card info) - I had special excel agreements built and had to give up my iPad and go out and buy a thinkpad tablet. I'm really curious though