How to implement start & stop ai triggers when # scans unknown

I can't seem to find an implementation example for this application.
Some are close but seem to have a big gap on close examination.
The application is to log an unknown number of samples for a
single rotation of a variable speed drum. The drum is connected
to a tachometer which generates 1 pulse per revolution and is the
trigger source.
The user will initiate the data collection and only a single
rotation's
worth of data need be collected and displayed.
The board is a PCI 6111E sampling a single input at ~2 Megahz.
All the examples I've found using a start and stop trigger depend
on knowing how many scans to acquire.
Is there any way to get around that? It seems so simple to
have a
start and stop pulse, a scan rate constant, and just get
the data out of a buffer. But it does not seem to be that simple
or am I missing something here?
There is also an issue with the identical tach signal being used
for both the start and stop trigger. I think that can be gotten
around by using a divide by n counter and feeding that to
trigger config vi but if anyone has any suggestions for that,
they would be greatly appreciated.
Gene Couch

I'm afraid I can't help you beyond that. We use NI boards and NI-DAQ library
of functions in custom control systems with software written in C++. I have
not had opportunity to use LabView. Sorry.
gcouch wrote:
>On 5 Jun 2000 09:38:46 -0500, "J. Wolters" >wrote>Thank
you for the response but I'm not sure what the DAQ_Rate function>is. With
LabVIEW 5.1 it does not appear in the DAQ pallette and I>cannot find it in
the example vi's. Do you know where it can be>found?>>>>>>Have you looked
that DAQ_Rate function? You should be able to use this function>>to obtain
your # of samples.>>>>>>gcouch wrote>>I can't seem
to find an implementation example for this application.>Some>>a
re close but
seem to have a big gap on close examination.>>The application>>is to log
an unknown number of samples for a >single rotation of a variable>>speed
drum. The drum is connected>to a tachometer which generates 1 pulse>>per
revolution and is the>trigger source.>>The user will initiate the data>>collection
and only a single>rotation's>worth of data need be collected and>>displayed.>>The
board is a PCI 6111E sampling a single input at ~2 Megahz.>> >>All the examples
I've found using a start and stop trigger depend>on knowing>>how many scans
to acquire.>>Is there any way to get around that? It seems>>so simple to>have
a start and stop pulse, a scan rate constant, and just>>get>the data out
of a buffer. But it does not seem to be that simple>or>>am I missing something
here?>>There is also an issue with the identical tach>>signal being used>for
both the start and stop trigger. I think that can>>be gotten>around by using
a divide by n counter and feeding that to>trigger>>config v
i but if anyone
has any suggestions for that,>they would be greatly>>appreciated.>>Gene Couch>>>

Similar Messages

  • How to implement start & stop triggers when # scans unknown on ni5112?

    I want to initiate a data capture trigger on the leading edge of a pulse & then stop the trigger on the next leading edge of the same pulse, using NI 5112 Scope card & LabVIEW v5.1. How to accomplish?? Any help appreciated!

    You can implement a start and stop trigger but not with an arbitrary number of points.
    The 5112 has two triggers the Acquisition Arm and the Record Arm.
    The Acquisition Arm trigger enables the Scope to start taking pretrigger data.
    The Record arm trigger is often call the Stop trigger or Reference Trigger. Based upon the Reference Position the board will acquire X pretrigger samples and Y post trigger samples. The Reference trigger defines the transition from pre to post trigger. If you set all of your points to be pretrigger (i.e. 100% reference position) then the Reference trigger will stop acquistion on the trigger. One thing to note: the scope will not be ready to accept the record trigger until it has acquired all the pretrigger points. The scope
    will only return one record size of data. Therefore the first samples will be lost.
    For example I would like to start a acquisition with a trigger on PFI 1 and use edge triggering on channel 0 to stop the acquisition. I need at least 1000 points.
    You will need to make the following changes in the code. Start from the niScope EX Configured Acquisition.vi and set up the triggering for Edge Trigger. Set your minimum record size to 1000 samples. On the diagram go to the Edge Trigger Case of the Triggering Selection Case Structure add a property node before the configure edge trigger similiar to the attached screen shot. Change the property to Acquisition Arm Source found in the synchronization menu. Change the property to write and create a string constant. The available sources for the Acq Arm are PFI 1,2 and RTSI 0-6. The syntax needs to match the following: "VAL_PFI_1". You will miss the edge trigger if you have not already acquired 1000 samples from the acquistion trigg
    er and you will only get back 1000 samples.
    Good luck and let me know if you have any questions.
    Mike Taylor
    Attachments:
    acqarm.jpg ‏66 KB

  • How to implement a inputText include suggestion when input

    Hi guys,
    In ADF, How to implement a inputText include suggestion when input, just like google suggestions ( when you type a char at inputText, it will give you relative suggestions for you to select ).
    Is there any ADF tag or other way to get that ?
    Thanks
    Iko

    Sure, you can use the af:autoSuggestBehavior component within your inputText. In this post they explain how to implement it in two ways: programmatic and declarative:
    http://www.gebs.ro/blog/oracle/oracle-adf-autosuggest-behavior/

  • CF8 dev edition - how do you start / stop server?

    mac osx - CF8 dev edition - how do you start / stop server?
    I would like to turn off CF8 auto start on boot up and
    manually be able to start and stop the server...
    Q: How do I set this up?

    > Now, I am also interested in turning off CF8.01 "auto
    start on boot up"
    > (currently set to that now)
    >
    > Q: How do I turn this auto start off?
    >
    > Hi folks - I'm still interested in setting the CF server
    on MAC OSX 10.5 to
    > *NOT* Auto Start - How do I turn this auto start off?
    I googled "cf8 osx don't autostart", and turned up this:
    http://www.feed-squirrel.com/index.cfm?evt=viewItem&ID=96307
    Does that make sense? It's all a bit Greek to me because I've
    not used a
    Mac for...
    crikey...
    TWENTY YEARS.
    Adam
    (suddenly feeling rather old)

  • HT4064 how to do you stop the issue when you have to click several times on your ipad to get into anything?

    how to do you stop the issue when you have to click several times on your ipad to get into anything?

    I think you have enabled VoiceOver; turn off VoiceOver
    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • How do you start a new sentence when texting with Siri?

    Siri is great but i can't figure out how to have it put a period and start a new sentence when sending texts/emails.  anyone know how?  Thanks!

    NOPE!!!  If you pause even for a split second while dictating, siri assumes you're done, and message winds up incomplete!!!   Have to start over from beggining and it may still cut you off.  happens to me with almost ANY dictated text longer than 2-3 words.
    I have been an Apple fanboi for over a decade, but my 2 year iPhone experience has me wishing I'd stuck to android! :-/

  • How to adjust Start/Stop position of a song on the iPhone (not iTunes)?

    Hello all,
    Before I caught my flight today, I decided to make a ringtone of my new favourite song. Obviously one of the steps in doing so involves selecting a specific start and stop position within iTunes be fore creating the ringtone.
    So I got on the plane and realised that I didn't remove the start/stop positions on the song after creating the ringtone. Now i'm stuck with only a 40s interval being able to be played!
    Please tell me there is a way to change the start/stop position of the song within the actual iPhone as I won't have access to my iTunes library for quite some time!
    Any help appreciated.
    Regards
    iPhone 3G2 32bg, 3.1.2

    No

  • How to check/start/stop hardening Service?

    Dear All,
    I want to check on Solaris 10 whether it has hardening service or not, and also want to start/stop this service.
    Please give any idea or advice.
    Thanks and regards,
    Heng

    Hi Heng,
    System hardening requirements changes from environment. So It should be designed to suit your infrastructure. The topic is too big to discuss here.
    I will give some examples of major things done in hardening.
    User level Security.
    1) Password complexity
    2) Restrict multiple login attempts.
    3) Log all failed login attempts
    4) configure pam module
    5) Use RBAC to deligate
    6) Restrict root login to console only.
    7) disable passwordless logins to any users
    8) disable services like rsh rlogin and related services and restrict access through ssh only.
    9) ENABLE & Configure BSM
    10) Enable Auditing
    11) disable/lock all unused system accounts.
    12) enable password encryption (/etc/shadow)
    Network Security
    1) Disable all unwanted services. (svcadm disable service on solaris 10)
    2) disable unused nonsecure services like telnet, ftp etc.
    3) tcpwrapers (restrict the network communication to the required subnets only)
    4) disable unwanted inetd services
    etc etc etc... discussed very few things from the normal hardening, and these things vary from environment to environment.
    Regards
    JKGN
    Edited by: 878434 on May 25, 2012 1:16 AM

  • How do I start, stop and restart a sequence with a periodic input?

    Hi,
    I have written some code that will monitor my com port (rs-232) continuously for an ASCII character (in this case a 'P'). When the P is received, I want a sequence structure to start working. The P will only appear once for a short while, but the sequence should carry on running until it finishes all the frames. On the next time a P appears on my monitor, I want to either stop the sequence structure regardless of which frame its in and restart the sequence from the beginning again or to run the sequence from the start again if it has already completed all the frames.
    What sort of structure do I need to do this, are there any examples?
    James

    James,
    Indiana is correct, my take on this is similiar.
    If you have a 3 element sequence structure for example which runs if 'P' is returned from your COMs thread, you will need to query a variable in each element of the sequence in order to suspend execution of the next/remaining elements in the sequence if this event occurs. You can do this by reading the variable that your COMs thread sets using a case structure in each element of your sequence. In order to re-run your sequence if 'P' is returned during the execution you can simply set the suspend variable and ensure the code is in a while loop to recall the code.
    See the attached example code/screen shot:
    This is however not an elegant solution and the best way would probably be using the events structure and a user event to queue the P events. This is available in 6.1 but I believe its the professional package. See also my implementation using this method, again attached below:
    Hope this helps,
    Kind Regards
    Steven Bird
    Applications Engineer
    National Instruments
    Attachments:
    Example.JPG ‏194 KB

  • How can I start Windows XP Mode when there is no startup link in the Start Menu?

    I have installed and had to uninstall and reinstall Windows XP Mode numerous times on my Dell desktop running Windows 7 Professional and now I cannot start it because there is no startup link in the Program Files folder. When i try to reinstal XP Mode
    it tells me it's already installed, but I can't find the startup link. 
    Martin Willcocks

    Hi,
    Could you find XP mode in Start Menu?
    How about using Windows Search feature to search Windows XP Mode?
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How do I start/stop a slide's animation?

    One slide of a slideshow I'm making I want the animation to end after it's completed without looping.  I can do this by adding the stop(); command into the last frame of that slide, but if I return to that slide, it will remain in the end position instead of replaying.  Is there anything I can do about this?

    When I start up Flash, there's a box immediately to the left of the workspace.  It doesn't actually have a title, but has a + and - at the top.  Inside the box, there's a thumbnail with the word "presentaion" next to it.  I right click on that, hit "Insert Screen", and a box appears under it branched out with the basic name of 'slide#'.  These slides are what I'm making my slideshow across.
    The buttons in my slideshow advance to the next slide, seemingly the exact same function as the left/right arrow keys.  I didn't actually code it myself since I don't understand Actionscript too well yet, I used the Behaviors window and selected Screen > 'Go to Next Slide' (or Prev Slide).  The code that it generated for the Next Slide Button is:
    on (release) {
          // GoTo Next Screen behavior
          var screen = null;
          var target = this;
          while((screen == null) && (target != undefined) && (target != null))
            if(target instanceof mx.screens.Screen)
              screen = target;
            else
              target = target._parent;
          if(screen instanceof mx.screens.Slide)
            screen.rootSlide.currentSlide.gotoNextSlide();
          // End GoTo Next Screen behavior

  • How not to start Oracle 10g DB when Windows bootup

    With Oracle 9i, I could set Oracle DB manually start so it would not start when Windows OS was booted/rebooted. This was done through setting Control Panel -> Admin tools -> Services -> Oracle9iMyDB's Startup type to "Manual".
    Now I have 10g installed, same setting does not prevent 10g DB start up at Windows boots.
    I have Windows 2000 now for 10g and past for 9i.
    Could anyone help?
    Thanks in advance.
    DC

    Under the registry key
    My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_%ORACLE_HOME%
    where %ORACLE_HOME% is the Oracle Home string
    You will find the values:
    ORA_%ORACLE_SID%_AUTOSTART
    ORA_%ORACLE_SID%_SHUTDOWN
    ORA_%ORACLE_SID%_SHUTDOWN_TIMEOUT
    ORA_%ORACLE_SID%_SHUTDOWNTYPE
    where %ORACLE_SID% is the databse SID
    For an explanation of these values see the document:
    http://download-west.oracle.com/docs/cd/B14117_01/win.101/b10113/registry.htm#i1006544
    This document is listed as the "Platform Guide for Windows" on the "Documentation Library" "Windows" tab or:
    http://download-west.oracle.com/docs/cd/B14117_01/win.101/b10113/toc.htm
    Ian Cowell
    ----------

  • How should I start, stop or restart SQL services if it is in a cluster?

    Hi,
    For migration purpose I need to stop sql server services in a cluster. I don't want to failover the cluster I just want to stop the sql server services before the windows system admin shutdowns the windows server and later start again once migration is done.
    This is clone migration so I don't have to do anything except stopping and starting the services of sql. I found two places there to take service offline and online, one is just clicking the services and application and in the right hand side directly right
    clicking the instance and take service offline, another is expanding the instance and taking offline agent and sql server service one by one. 
    I don't know which is the way.
    Please some one help me.

    Hello,
    You can use SQL Server Configuration Manager, SQL Server Management Studio, Cluster Administrator.
    Do not use the Services applet in Control Panel.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How do I start up my computer when the screen is black after "waking" it up from sleep mode and/or turning it on from the shut down?

    I really need help! I just got this MacBook Air almost two weeks ago. It is a refirbished one. Now lately, when I put it to sleep and then get back to it, it won't wake up. It just gives me a black screen and a running noise. Sometimes it does it too when I shut it down. And sometimes it will work fine as if it never happens-i move the mouse and the computer starts up. I am deaf and living on campus for school, so there is no chance for me to get some help through a simple phone call and there is no nearby apple stores or providers.
    Please help me, I do not want to go back to my Dell computer.
    Ronni.

    I'm not certain but my new MBA 13...when in sleep mode comes back on from a black screen when I simply click on the left mouse button. Also, one time I did a SECURE EMPTY TRASH on files that totalled more than 1GB and it took so long that the fan kept increasing in speed so I pressed on the POWER button and the MBA shut...I was able to boot up with no problem. As a rule, I now only do secured erases for trash bin data totalling 500mb or less...anything above that gets a regular erase (dump).

  • How do I Start/Stop Loadmovie

    I have created an on loadmovie script to replace a blank
    movie clip in my main movie time line. When a button is released
    the external .swf file is loaded into the blank movie clip and
    plays great. I want to be able to control the play back of the
    loaded .swf file with a simple stop and play command. What is the
    script to do this? Thanks in advance.
    Bob.

    not quite roqueo.
    Robaire, you will need to target the clip that the swf has
    loaded into. So add to the code roqueo has provided (if you're
    attaching it to an object) and target the path to the clip:
    on(release) {
    _root.the_mc.stop(); //or play();
    }

Maybe you are looking for