How do I count arbitrary pulses from an oscilloscope with labview

I am looking at arbitrary pulses on a TEK 2024B oscilloscope.  I want to use LabView to count those pulses and record a time stamp for each pulse (perhaps to an excel spreadsheat).  The duration of the measurement is over ten minutes and the pulses, on the average, occur once per millisecond.  How do I count/record these pulses with LabView?

Jay,
I would start by downloading the Instrument Driver for the 2024B from ni.com/idnet It should have the functions that the scope is capable of implemented there. If you have problems using the driver please post back.
-Marshall R
National Instruments
Applications Engineer
One stop for all your NI-VISA Support
GPIB Support has a new homepage

Similar Messages

  • Counting TTL pulses from 10 Hz to 3000000Hz with LAB-PC-1200

    I want to count TTL pulses from an electron analyser. How can I use the DAQ wizard to connect the analyser to the PC-1200 and look if it works?

    Augerspectro,
    The counter chip used on the Lab-PC-1200 is the 8253. Thus, you will be able to use any of the 8253-counter examples available in LabVIEW. To count pulses, I would suggest that you examine the Count Events (8253).vi example. With regards to the required hardware connection, this is discussed in the device's user manual (link available below).
    Lab-PC-1200/AI User Manual
    Good luck with your application.
    Spencer S.

  • HT4993 my first iphone; how do I sync my iCal from entries made with my ipod touch to my iphone 5.

    my first iphone; how do I sync my iCal from entries made with my ipod touch to my iphone 5.

    In iTunes 11 go to View>Show Sidebar.  You can then view you phone as you could with previous versions.  To register your phone go to https://register.apple.com/cgi-bin/WebObjects/GlobaliReg.woa.

  • TS3276 How do I open an attachment from my email with macbook pro on aol?

    How do I open an attachment from my email with macbook pro on aol? It keeps flipping back?

    Wirth an iOS device you have to first go to the app that has the item you want to attach. When in that app you then select the email option for sharing.  You can't start from the Mail app.

  • How do i sync my contacts from my iPhone with my macbook pro for messaging purposes?

    How do i sync my contacts from my iPhone with my macbook pro for messaging purposes?

    Hey dthompson2108, 
    Thanks for participating in the Apple Support Communities. 
    You can sync contacts between your iPhone and MacBook Pro using iCloud or iTunes.
    See this link for help with setting up iCloud on your computer and device(s):
    Apple - iCloud - Learn how to set up iCloud on all your devices.
    Instead of turning on iCloud on your iPhone and Mac, you can sync using iTunes as explained in this article: 
    Sync your iPhone, iPad, and iPod with iTunes using USB - Apple Support
    All the best,
    Jeremy 

  • How to disable certain form fields from a calculation with a check mark fields.

    How to disable certain form fields from a calculation with a check mark fields.
    In Canada we have to taxes
    I create a form that calculate them to a total
    I need to be able to turn off any of those to taxes to participate to the calculation and their visibile field should become 0
    I was thinking using a checkbox (when checkbox is on (Yes) the tax is calculated, Not ticked (Off) the tax is not calculated and the visible field should show 0 or nothing....
    I really need help on this one — I’m a complete newbie....
    Remark that the second tax is calculated on the sum of what the first tax add (first tax is pan-canadian tax (all provinces).
    The second tax is never use alone (Quebec only (on top of the Canadian one)
    Sometime for outside Canada sell - No tax at all is calculated....
    What should I do?

    I want to tank you to help, really appreciate —>
    This is the code and order... I just trow the checkbox in there (they have, so far, no purpose...)
    The code use is
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 7.25) / 100
    I guess -If the checkBox are check - The tax should be calculate — If “Off” the tax should be not calculated and PriceHST and /or PriceQST should show zero or be empty — The HST is always calculated in Canada, but the QST is added only in Quebec.
    I need to turn both to Zero for international sale.
    Message was edited by: Chacapamac

  • How to get string (specified by line and column) from txt file with labview

    Hi everyone
    How to get string (specified by line and column) from txt file with labview
    thx 
    Solved!
    Go to Solution.

    As far as I know, a text file has no columns.  Please be more specific.  Do you mean something like the 5th word on line 4, where words are separated by a space, and lines are separated by a newline character?  You could the Read from Spreadsheet String function and set the delimiter to a space.  This will produce a 2D array of strings.  Then use index array and give the line number and column number.
    - tbob
    Inventor of the WORM Global

  • How do i erase my photos from my iphone with my computer?

    how do i erase my photos from my iphone with my computer?

    Plug in phone to computer and uncheck boxes for photos or albums you don't want synced in the Photo tab in iTunes.

  • How to use counter output pulses to trigger analog input?

    Hello all,
    I hope the kind people using this forum can help me, a lowly beginner LV programmer! I have been attempting to create a VI that produces a user defined number of TTL pulses, separated by every n seconds. Each TTL would be outputted to a stimulator, which in turn generates its own TTL. Using the stimulator-generated TTL, I would like to trigger finite analog data acquisition (e.g. for every TTL, trigger the collection of a data sweep that contains 4000 samples (collected at 4000 Hz), with 1000 samples collected pre-trigger. I would like to also be able to see each data sweep as it is triggered on a chart. As I understand things (lots of online/book/forum reading), I should be using the counter output to generate my TTL pulses, and syncing each counter produced TTL with analog input, as well as using a reference trigger. Also, the AI part should be started first, so that I don' t miss any counter outputs. If it matters, I also need to use one of the AI channels to acquire the TTL, so I can see my stimulator-induced responses to the stimulator in time.
    I am able to generate the TTL pulses from the counter output, but I am having a problem with the AI part. I am unsure how to sync the counter output with AI. Also, since I need to acquire pre-trigger samples, I would be needing to acquire samples continuously, but when I set 'continuous samples' on daqmx timing, the VI doesn't work (hence why's its set to 'finite samples').
     I hope someone out there can help, as I have been at this for what seems ages, with limited success. I am using a USB-6259 and LabView v8.2. Thanks!
    Attachments:
    RC001 v_1.vi ‏49 KB

    Hello,
    Due to the fact that analog tasks themselves are not retriggerable, a
    pulse train produced by a counter is always used as the sample clock
    for the analog input task in order to recreate a retriggerable effect
    for analog input. This can be done by creating a finite pulse train set
    to retriggerable using the DAQmx Trigger Property Node, or the pulse
    train could be continuous and just be gated by another signal. Neither
    of these methods can be properly applied in hardware to create a
    retriggerable reference trigger. You can however implement something
    similar in software by just stopping and restarting your reference
    triggered analog input task within a loop. There will be some delay
    between when the task is stopped and restarted, as these events require
    software intervention, but if there is enough time between when each
    trigger signal is generated, there should not be any noticeable delay
    or missed samples.
    I have attached an example of this!
    Mark B
    ===If this fixes your problem, mark as solution!===
    Attachments:
    RC001 v_1mod.vi ‏25 KB

  • How can I count events during a given time with 2 counters (6025 E)

    Hi, How can I count events during a given time (1 sec for example) with 2 counters:
    what is the best way?
    how should i configurate both counter?
    i have done the 1st counter in ev_counter with the gate being the output of the 2nd; and how can i say to the 2nd to trig the first after 1 sec counting? (trig at start and at end) what are the functoins calls in NIDAQ. i am using Visual C++

    Greetings,
    When you perform event counting a gate signal can be added such that if a low signal occurs on the gate, then the counter will pause. When a high signal is seen, the counter will continue counting edges. When you install the NI-DAQ driver you should have installed the examples for Visual C++. The counter examples are found in \Program Files\National Instruments\NI-DAQ\Examples\VisualC\Ctr. Take a look at STCeventCount.C. Be sure to only use STC examples with your hardware. The E-series boards contain the DAQ-STC chip.
    Now, all you need is a gate signal with a width (high time) of 1 second. You could use an external frequency or pulse generator to do this. Or, you could just use the second counter found on your PCI-6025E board. In this
    case you could configure the second counter to generate a single pulse. Take a look at the STCgenerateSinglePulse.C example. As long as the pulse is in a high state for one second you can use it to gate (or time) your counting of events.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • How to select all the colomns_names from a table, with their datatypes ..

    hi :)
    i would like to know, how to select in SQL all the columns names from a table with their datatypes so that i get something like this :
    Table 1 : table_name
    the column ID has the Datatype NUMBER
    the column name has the Datatype Varchar2
    Table 2 : table_name
    the column check has the Datatype NUMBER
    the column air has the Datatype Varchar2
    and that has to be for all the tables that i own ! ..
    P. S : i m trying to do this with java, so it s would be enough if you just tell me how to select all the tables_names with all their colums_names and with all their datatypes ! ..
    thank you :)
    i ve heard it can be done with USER_TABLES .. but i have no idea how :( ..
    Edited by: user8865125 on 17.05.2011 12:22

    Hi,
    The data dictionary view USER_TAB_COLUMNS has one row for every column in every table in your schema. The columns TABLE_NAME, COLUMN_NAME and DATA_TYPE have all the information you need.
    Another data dictionary view, USER_TABLES, may be useful, too. It has one row pre table.

  • How do I prevent iTunes 11 from syncing apps with my devices?

    I want to be able to sync music to my iPad and iPod but I do not want to store their apps on my computer. Since iCloud remembers which apps I own, this is (in my mind) unnecessary. How do I prevent iTunes 11 from syncing my apps? This did not use to be a problem because in iTuens 10 it was an option. Now it seems that it isn't.

    Cate Kurtis wrote:
    Well, in fact the application stopped opening automatically for no reason that is clear to me. For about 5 days after I updated the software it opened automatically when I plugged in or unplugged my phone. Then it suddenly stopped. All I did between the last automatic open and the time that it ceased was, in the options window, uncheck the "manually manage music and videos" option and then check it again without clicking "apply" and also checking "sync only checked songs and videos" and unchecking again without clicking apply.
    I can't really recall now, but I thought that I played around with those settings and no matter what, I never saw the Option for Automatically Sync when Connected in iTunes.
    I can think of no reason why this would halt the automatic opening but it has definitely stopped. Yet I still don't have the option listed in the options window to "prevent itunes from opening automatically when device is connected."
    This is all very strange to me but I can think of nothing to pursue it further.
    I can't think of any reason why it would trigger that behavior and of the other 170+ views that this discussion has received, I suppose that nobody else had anything to offer either.
    I can't think of anything else to pursue it further either and as long as it is working the way that you want it to work now, I can't think of any need to pursue it further.

  • How can I restore my data from a backup with different Phone name?

    I recently had to restore my iphone which erased all the data. I have a backup of that data in iTunes and I want to restore it to the phone. However when I connected the phone to iTunes the first time after resetting everything, I accidently chose to create a new phone instead of restore settings and data from the backup.
    My question is, how can I restore the iPhone from this previous backup? My iPhone is currently called "untitled playlist" and the backup is called "JC's iPhone".
    Thanks,
    Jeremy
    ps. Sorry for posting twice. Nobody responded the first time, probably because I had a poor subject.

    Jeremy,
    If you restore again, you will be prompted to choose a backup or setup as a new phone again. Then you can just choose your old backup.
    Hope this helps,
    Jennifer B.

  • How to get the file name from downloads folder with the applescript??

    Hi All..
    I am downloading an application to downloads folder, I need to install the same application after downloading programatically.
    So how do I get the filename in runtime while downloading or after downloading from downloads folder with Applescript or Java?
    Also my download URL link doesnot contain full name of the download file.
    Pls suggest.

    Hi,
    The best method is to use curl.
    Other methods are not reliable, but can work, it depends on several factors (what the script does, what the user does).
    Here is an example with the curl command:
    set tUrl to "http://sourceforge.net/projects/vlc/files/2.0.4/macosx/vlc-2.0.4.dmg/download?ac cel_key=60%3A1350656196%3Ahttp%253A//www.videolan.org/vlc/download-macosx.html%3 A7233e4e9%245818d66f39b0576e1e9c4a0f3b46b1991180bfdd&click_id=976a88ee-19f7-11e2 -9a21-0200ac1d1d8e&source=accel"
    set dFolder to path to downloads folder
    tell application "Finder" to set newFolder to (make new folder at dFolder) as string
    set f to quoted form of POSIX path of newFolder
    do shell script "cd " & f & " && curl -L " & tUrl & " -o 'vlc.dmg'" -- download  to file "vlc.dmg"
    set downloadedFile to newFolder & "vlc.dmg" --<-- HFS path
    --do something with the downloadedFile

  • How to check list of users from OS level with type and validity AIX+DB2

    Hi,
    We have 40 clients in our ECC -PRD system. we do not have authorizations to login all clients , only we have 000 accessonly.
    we need to check all users type and validity in the system. can any one please help me this script.
    regards,
    balarami

    Hello,
    Yes you can check the user validity and tye from OS level with DB script.
    ORACLE SQL scripts : I assume that schema for your system as sapr3.
    First you check the table fields by desc sapr3.usr02;
    then can select these fields for user as select <field name1>, <field name2> from sapr3.user02 where uname=<required user name> and mandt=<client>;
    check exact details before you execute script @ ORA level*
    If you want to see logged on users - you can see them with your '000' ID for all 40 clients.
    Hope this helps.
    Thanks,
    Amit Thombare

Maybe you are looking for

  • How do I share my music database with other users on my mac Lion OS, How do I share my music database with other users on my mac Lion OS

    I just purchased a new Imac desktop and it has Lion installed.  The Itunes Folder from my Old Vista PC was imported and works fine but on this computer I have two other users (my wife)and(Daughter)  it is currently in my login.  Is there anyway the o

  • Java.sql.Timestamp and the Epoch

    Hello all according to the JavaDoc for Timestamp, the long parameter of the constructor represents "milliseconds since January 1, 1970, 00:00:00 GMT". However, running class Main   public static void main (String [] args)     System.out.println (new

  • Displaying output data to a DAQ

    Hi, I'm writing data (8 bits) to a DAQ, but at the moment it's in a unlikeable format. I need to write individual bits as in binary, but can only work out how to do this in decimal, e.g 127 instead of the preferred 0111111. I would also like to arran

  • Installing Neospeech in Captivate 5.5

    I continue to get an error saying that I haven't installed Neospeech or Loquendo, even after downloading both from the Adobe site. The osftware appears to be from Macromedia, which is now owned by Adobe. So what is the problem, that it does not show

  • RAC re-install error

    I have deleted everything in app/crs and app/oracle after uninstalling it throgh installer. But when i try to install the clusteware it gives the following error: Checking local Cluster Synchronization Services (CSS) status Error In details it says o