How do you find the current value of each sample when collecting a finite number of samples

My program works with an external clock with no constant pulse intervals and acquires a value of voltage on the front of these impulses.  Is there anyway to get the value of the voltage at each pulse without having to wait until all samples are taken.  I would Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 cm 0 cm 5.4pt 5.4pt; mso-para-margin: 0 cm; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} programmatically raises an event when the voltage reaches a certain level during the scan if so why I need to constantly monitor the voltage. "}

Any help would be great

Hi JED1986

I have two solutions for you, for your problem.

The first idea I would recommend creates the code below:

Remembeer to define the sources correctly, including the clock to read source as your external clock. The above code will be permanently read 1 single sample with a rising edge, write to the disk, clear and will continue to read the following sample.

Another way to proceed is to use an express VI and set the mode of acquisition as ' on demand ' with 1 sample currently playing. This is illustrated below and highlighted in red:

I hope this helps. Please let me know how you go.

Tags: NI Hardware

Similar Questions

  • How do you find the average value of all the data between two points on a single channel

    I'm tring to calculate the average value of all data points in a single field between two distinct points

    I rasthaus an illustration.

    Hi smoothdurban,

    I thought you wanted to specify the area of interest with the sliders of the band.  If you rather automatically define the area of interest based on thresholds, etc., we cannot see the interactive nature of the example I sent.

    What are the criteria used to determine the start and end of the region of interest lines?

    I would be able to type this out for you if you sent a representative data set ([email protected])

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • How do you define the current-time indicator to return to the point that he started on an audio overview?

    in the most recent version of the software, how do you define the current-time indicator to return to the point that he started on an audio overview? He did it in the old version. I don't find a setting for this in 2015 software. Thank you

    You can use the zero on the numeric keypad key. See the sixth in this article:

    known issues in after effects CC 2015 (13.5). After the effects of interest area

  • How do you find the number on a mid 2009 MacBook AIR

    How do you find the number on a mid 2009 MacBook AIR

    Serial number? Model number?

    https://support.Apple.com/en-us/HT201665

    https://support.Apple.com/en-us/HT201300

  • How do you find the modellers in Power Pro v11?

    How do you find the modellers in 11 Power Edition Pro version?

    Thank you!

  • How do you find the name of the Group and channel your TDMS file name?

    How do you find the name of the Group and channel your TDMS file name?

    Nevermind, I've used the file viewer.

  • How do you find the range that a function belongs?

    If you discover a function and want to use it, how do you find the range that a function belongs?  I know how to find a function, but don't tell me how to find his range.

    Thanks in advance.

    When you search for a function and double-click on the result, it will bring to the top of the tree of range of features and show you how to get to this function:

  • How do you find the last time that an address older Windows Live Hotmail has been used if you don't remember the password?

    How do you find the last time an old hotmail address was used... especially if you can't remember the exact password?

    original title: old hotmail address

    How do you find the last time an old hotmail address was used... especially if you can't remember the exact password?

    Good enough if you can't on the account and you can't prove it is yours in order to regain access (via password self-service reset, etc)-then you won't know anything about the account.

  • How do you get the numeric value of an image

    How do you get the numeric value of an image

    This in a small example

    var Red = ' \u00FF\u00D8\u00FF\u00E1\x05oExif\x00\x00MM\ '.



    Here is a link to a script open source that generates a string that represents the data of a file binary, especially useful to integrate a small image in a script or file patterns in a JSON structure, for example:

    Get the data from binary string

    HTH,

    Domestic-

  • How can I find the current drivers for Windows Media Player?

    When I try to open a file, I often get the message: your device uses an outdated driver is no longer supported by Windows Media Player.  Then, the file may or may not play.  How can I find the driver update.  I use Windows 7 Home Premium on an HP laptop.

    The drivers you want are not for Media Player, they are for your laptop until you get all the details of your model and go to the HP website and download the latest drivers especially to render sounds and display adapter.

  • JavaScript: How do you pass the currently active doc to a dialogue in a menu item?

    I use Adobe Acrobat 11.0 Standard on Windows 7, and I have a problem with the menu item that I create.  The menu item calls a dialog box that prompts the user to select a page in the active document.  The problem is, I can't find a way to send the currently active document in the dialog box.  I went through the rest of the documentation, did some research on Google and here in the Adobe forums, but do not have whatever it is turned upward.  The AcroJS API gives the following solution (which is under app/methods/execDialog):

    This function attaches the Doc object to the dialog box, then past the dialog box to the app.execDialog method. The dialog4 object and this function may be at the level of the document.

    function dotheDialog (dialog, doc)

    {

    Dialog.doc = doc;

    retn var = app.execDialog (dialog)

    }

    Finally, the following script can be run an action of mouse-to the top, for example.

    dotheDialog (dialog4, this);

    I did this exact thing, but in the dialog box, the value of this.numPages still comes out as indefinite, indicating that the current document has not yet been adopted.  My own code looks like this:

    function dotheDialog (dialogue, thisDoc) {}

    Dialog.doc = thisDoc;

    retn var = app.execDialog (dialog);

    }

    app.addMenuItem({)

    cName: 'Testbox Dialogue. "

    cParent: "change."

    cExec: "dotheDialog (templateDialogue, this);"

    });

    where templateDialogue is the name of my own dialog, rather than dialog4.  I'm not sure of what concerns the variable retn that they declare in the documentation, but I have tried with and without this part, and it doesn't seem to make a difference.  Does anyone know how to do this?

    The reference to the document is a property of the dialog box, so that you access the inside like this:

    This.doc

    And if you want to access the number of pages, like this:

    this.doc.numPages

  • How do you find the IP address in windows 8?

    I am currently running windows 8. How can I find my IP address?

    You can use the IP config for this command.

    Open the command prompt by pressing Windows key + X, select CMD (admin) and type in the following command it:

    ipconfig
    You list all network adapters and the IP corresponding Internet works.

  • #apexir_SAVED_REPORTS find the current value

    APEX, Version 4.1.0.00.32

    I have read and tried various solutions on how to detect a user selects a report IR saved from the drop-down list of the builtin report.

    I find the same question, where it might work once on the PRIMARY selection / DEFAULT and once again 1 selected report is saved, but it does not detect the changes after that.

    Ex: (after previous messages):

    Dynamic event

    Event: change

    Selection type: Jquery

    Selector value: #apexir_SAVED_REPORTS

    Conditions: no

    Then I just added a REAL action of an alert.

    Fire on the loading of the Page = True

    The alert is triggered once (I think because of the fire on loading the Page = True), the page displays the default (main report).

    He fires again as I select a saved report.

    But it does not shoot again, even if I select the report by default/primary.

    I noticed the behavior even if I changed the right-click event; Selection type: Jquery; Selector value: #apexir_SAVED_REPORTS

    That's all! Thank you very much for your time and an excellent explanation!

  • How can you specify the default value for the undefined array elements

    According to aid LV, the tables have two default values, the normal default value and the default value for the undefined array elements.

    I assume that there must be a way to specify the default value for later, but I can't find it anywhere.  Any ideas?

    I know that you can drag the item out of the table container.  Change the default value on this scalar element.  Then drag the item in table tank.

  • How do you find the "Windows Word" on Windows 7?

    Original title: I don't know how to 'find' Windows Word on my Windows 7 program. I'm used to the windows XP with microsoft word. Help

    I now have windows 7.  But the lack of skills with computers, I do not know how to find the windows on this one word.

    I still have my disk for windows XP, but someone told me that they are not compatable. ???

    I want to take the paintings, etc. in the documents.  I have something on my computer that says OpenOffice but he does not seem to "word".

    Now my trash can tells me he's corrupt!

    Saturday, July 3, 2010 17:06 + 0000, kindergarten teacher wrote:

    I now have windows 7.  But the lack of skills with computers, I do not know how to find the windows on this one word.

    You don't think, if she isn't here.

    Windows 7, nor any other version of Windows has never included
    Excel, Word, PowerPoint, Access, or any other important application
    software. These programs must be purchased, either by themselves, or as
    part of Microsoft Office.

    If your old computer running an earlier version of Windows, came
    with Word, it is because the seller who sold it he delivered in the context of
    the package that he has sold, no not because this version of Windows came with
    it. sellers of some, but not all, do the same with Windows 7 computers (but if they do, it is very likely that a trial version).

    I still have my disk for windows XP, but someone told me that they are not compatable. ???

    Sorry? What Windows XP disc? Do you mean Office XP? If so, it's
    least in part right. It is not completely compatible with Windows 7.
    You may be able to use it, but some things will not work, or do not work
    correctly.

    I want to take the paintings, etc. in the documents.  I have something on my computer that says OpenOffice but he does not seem to "word".

    OpenOffice is a free office suite which is quite similar to Microsoft
    Office (which is far from free).  You won't find one word, but you
    try to use its processor, which looks a lot like Word.

    Now my trash can tells me he's corrupt!

    Sorry, I don't understand that. Please clarify what you mean, and
    provide the text verbatim correct any error message.

    Ken Blake

Maybe you are looking for

  • I have imac G4 with Mac OS 10.3.9 and need to reload Firefox copmpatible.

    Yahoo mail forced me to upgrade to the new version and then forced me to upgrade to the new version of firefox. This version of firefox is not compatible with my system, but it has replaced the firefox version that was compatible. I need to reload fi

  • 5 bad iPhone battery and restart itself IOS 9.3 Beta

    Hello, I have a few problems with my iphone 5. After I updated ios version Saturday, my iPhone 5 do not update the battery percentage. He remained at the same percentage every day, no matter how much I use and would change only if I would turn off th

  • How can I set a series of measure of time?

    Im trying to run a series of temporary measures, that should be done every 5 cm, how can I solve this kind of test?

  • no tab port in XP Device Manager

    Adding a printer to add a printer, and when it gets to the tab port selection, there is no sheer USB001, only Com and Lpt, port... where the selection of the USB port, There is no tab port in the Device Manager either... win xp pro sp3 HELP PLEASE

  • ID QBQKNM-5956QC-XD002K-60DD03 failure

    I have received a warning that Windows detected a hard disk problem I ran a diagnosis of hard disk and the next failure ID QBQKNM-5956QC-XD002K-60DD03 came, I can't find any reference to this failure. Before this warning I had not seen any signs or s