Capture a sample only after analog triggering on a PXI4461 in Labview SignalExpress

-Repost on LabView forum where this thread belongs.

Hello

I capture two waveforms (external excitations) with my PXI446, one on each HAVE. I use one of them as an analog trigger (rising edge @ some tension), let's say AI0. I need the value of AI1 on time (or a fixed number of dt later) when the trigger occurs. I need just a sample.

(I almost use the 4461 as sample & hold circuit with AI1 as an input signal and the AI0 as the sign of "sample".)

Currently, I use a "subset and resample" step with a very small dt and it seems that it works, but I don't like.

The above procedure is in a conditional loop that collects 100 of these samples (acquire signals triggers 100 times) and produces a statistic of this set (using the step statistics).

Is there a better way to do it?

Thank you

Aleksandar Andreski

Hi Peter,.

Thanks for your reply.

I also think the same: do better in LV, rather than SE - LV. I tried the "subset and resample" function before, but as you say, that it cannot be made to select only a single sample. Moreover, the overhead IS are more bigger than in LV and so it slows down other parts of the measure that I have (e.g. a conditional loop).

I'll probably do a task of LV.

BTW, if I use LabView Realtime, can he run said fastest loops?

Greetings,
Aleksandar

Tags: NI Products

Similar Questions

  • iTunes can't sync music only after that I have change my id

    iTunes can't sync music only after that I have change my ID?

    Hi there Mehta_pooja90,

    Welcome to Apple Support communities.

    As I understand it, there is a problem syncing of music on your iPhone from iTunes on your PC after changing your Apple ID in iTunes.

    Can you still play the songs that aren't able to sync in iTunes on your PC? If iTunes is not allowed to play the tracks, then you will not be able to synchronize the songs to your device. Try allowing the computer with the account that was used to buy the pieces as shown here:

    Allow your computer in iTunes - Apple Support

    The article below provides a lot of information on what to do after changing your Apple ID.

    What to do when you have changed your Apple ID email address or password - Apple support

    Take care.

  • The computer hangs at "Shutting Down... "only after the installation of the updates for Vista Ultimate x 64 Windows

    Hello.  Recently, I have reinstalled the 64 bit version of Windows Vista Ultimate on my computer.  I allow all automatic updates (worth about 450MO) and let it do its thing.  Afterwards, I had to reboot my computer.  He was going smooth until he hit the "Configuring updates... "or something like that.  The circle stopped going around smooth and pauses every second or two.  After about 30 minutes, he went to "Shutting down...". "and I let this go all night.  After 4 p.m., he was still at "Shutting down...". "therefore I kept the button and made a closed hard.  After that I started it up, it would get to the loading screen with the green bars that go everywhere.  It also was not smooth and stopping every second or two.

    After about 10 minutes of this, I restarted my computer again, and it still wouldn't work.  I tried to start in safe mode, but it would also stop during the loading of some drivers and not continue.  So I reinstalled Vista again and, of course, was able to get without updates.  I thought it may have been a one time thing, so I did the windows updates again.  This problem repeated itself.  So I reinstalled Vista and am refraining from doing the updates of windows.

    I restarted my computer without updates, and it goes well.  It is only after updates where it fails to turn it off and save.  No one knows what is the problem and if there is a solution to this?

    Hi JerryR9190

    Thanks for posting on the Microsoft Answers site

    Are you Vista to get Service Pack 1 automatically as well?
    If so, please try to download/install it yourself and see if that has any effect.
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=874A414B-32B2-41CC-BD8B-D71EDA5EC07C&displaylang=en

    Please try and post back if you have more question

    Ken
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Printer works only after the reboot or shutdown

    I use win xp sp3 computer. My only works only after the restart or shutdown. If I reinstall the printer driver, then it will work. I have reinstall win xp but similer happen again. I scanned my system with kaspersky. But no change. I need a permanent solution. Please help me...

    Hi Pierre,.

    1. what exactly happens when you try to use the printer?

    2. you receive messages or error codes?

    3. What is the brand and model of your printer?

    Method 1:

    You can try to start the fixit printer and check if it helps:

    Diagnose and automatically fix problems printing and printer

    Also see the article and check:

    Resources for the resolution of the printer in Windows XP problems

    Method 2:

    You can check the event viewer to learn more about the problem.

    Procedure to view and manage event logs in Event Viewer in Windows XP

  • GetAxisScalingMode is updated only after the graphic update

    Hello

    on a xy chart, I'm traced multiple xy plots and a few vertical lines (2 or 4) to indicate some areas of interest. For the development of these lines, I need to know the value of y minimum and maximum of the graph. That's why I thought using GetAxisScalingMode (autoscaling value), which returns the maximum value without the need to investigate individual data sets (large) of the xy plots ideally.

    In principle, this approach works.

    Now, to avoid flicker, I use the following sequence:

    (1) SetCtrlAttribute (Panel, graph_control, ATTR_REFRESH_GRAPH, FALSE);

    (2) plot new xy plots

    (3) obtain ymin, ymax, using GetAxisScalingMode

    (4) vertical lines using plot plot

    (5) SetCtrlAttribute (Panel, graph_control, ATTR_REFRESH_GRAPH, TRUE);

    Unfortunately, this does not work because the range of a chart axis is updated only after the display of the chart.

    First of all, this behavior seems a bit inconsistent for me because using for example. GetCtrlAttribute (Panel, graph_control, ATTR_NUM_PLOTS, & plot_handles) returns the correct number of plots before updating the chart.

    Second, you need a suggestion of how to achieve the goal of flicker free plot xy plots so many vertical lines, covering the range complete y?

    Thank you!!

    Wolfgang

    OK... Finally!

    Now, I can confirm that this behavior is weird (I would even call it a bug...)

    Here is a workaround:

    The fundamental discovery is that the axis interval is updated if a plot is set, even if the chart is not updated. The procedure is:

    (1) SetCtrlAttribute (Panel, graph_control, ATTR_REFRESH_GRAPH, FALSE);

    (2) plot new xy plots

    3) get ymin, ymax, using GetAxisScalingMode / / doesn't work here because of the CVI BUG

    (4) vertical lines using plot plot

    4A) GetCtrlAttribute (Panel, graph_control, ATTR_NUM_PLOTS, & plot_handles);

    4 (b) SetCtrlAttribute (Panel, graph_control, ATTR_PLOT_ZPLANE_POSITION, plot_handles - 1); These two lines are stupid here because the lines are subsequently demolished, but they update the chart axis range!

    4 c) get ymin, ymax, using GetAxisScalingMode / / now it works

    d 4) remove vertical lines

    4th) vertical plots using plot / / and now the lines have the right length

    (5) SetCtrlAttribute (Panel, graph_control, ATTR_REFRESH_GRAPH, TRUE);

    Wolfgang

  • Re-installing Windows XP (OEM - purchased version of njewspaper ad without mentioning it was OEM only) after the installation of the pirate Win Xp (full version). Can I retrieve pirate settings to not reinstall aps (have about 100). __

    Hello
    I'm trying to reinstall Windows XP (OEM - purchased version advertises in newspapers not to mention it was OEM only) after the installation of the pirate Win Xp (full version). Can I retrieve pirate settings to not reinstall aps (have about 100).
    (I guess I have to change registry to eventually replace OEM version with pirate version - it still would make it impossible to activate the automatic updates). Or I can just reinstall registry then replace edition OEM version? (Would still allow the applications to be installed without the re - install?) (A major pain).

    Visit the Genuine Microsoft software and click on Validate Windows.  After that validation fails, look for the Get Genuine button and click on it to find out how to acquire a Kit of WGA. Carey Frisch

  • Drive hard is not recognized and after fashion 'sleep'. Only after reboot it is recognized.

    I installed a Seagate Barracuda 1 TB internal hard drive.  He is recognized only after a restart or cold.  After "standby" mode, it does not appear in Windows Explorer or disk management.

    Hello Elkrib,

    Welcome to the Microsoft Answers Forum!

    I suggest to change the settings in power options and check if this can help, please follow the steps below.

    (a), click on start > in the search box, type in Power Options.

    (b) under scale (recommended), click on change Plan settings.

    (c) then click on change advanced power settings,

    (d) the tab option power click on hard disk, and then click enable disable hard drive after.

    (e) by virtue of disable the hard drive settings, set it as ever.

    (f) click on apply, OK

    You can check the link below the similar question.

    http://social.answers.Microsoft.com/forums/en-IE/w7hardware/thread/3be1b0c4-c0d1-4069-a0b9-76c259517a77

    I hope this information helps. Please get back to us if you have any other questions on this subject.

    Thanks and greetings
    Mir - Microsoft Support
    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads

  • I used to open all files including media files with a simple click of the mouse. Recently, I have reinstalled my OS. Now my files open only after double click

    I used to open all files including media files with a simple click of the mouse. Recently, I have reinstalled my OS. Now, my files open only after double click. Please someone guide me to set my mouse to open all my files with a single click.

    E-mail address is removed from the privacy *.

    Open Explorer

    organize

    folder and search options

    Click on "single click to open an item.

    and

    (I think that ;-)) )

  • XPS 8300 nine connects to the Broadcom Netlink Communication card only after restarting 3 - 4 times at cold start.

    Hello

    I just bought a new XPS 8300.

    After woeking OK a few days, now it connects to the Broadcom Netlink Communication card only after restarting 3 - 4 times at cold start.

    Someone has the same problem?

    All other computers in the House connect from the first shot. (two cell phones and another office.) They have much slower computers.

    In the beginning, I have re-installed the driver (DVD and downloaded), but not that's the problem.

    The computer must have a little hot.

    When it does connect, Test the Dell tool DOES NOT SHOW (does not appear in the list of tests) Broadcom NetLink Gigabite Ethernet card.

    I'm a little disappointed, it's a brand new computer, I was expecting more problems from the beginning.

    Thanks, Cristian, Montreal, Canada

    All,

    According to the received update, please call Support technical and would take appropriate action.

    The fix is based on case to case, so I would ask all those who face this problem to call tech support for your region.

    The technical team sent details to the technical team and the TS process for this issue should go smoothly.

    FYI: I was not provided with a patch, please contact Dell Technical Support for more details.

  • I reside in the UAE UNITED from now, but in 6 months, I can move to another country, so my plan of photography 1 year will be? I need to buy only after getting a response to my request. Thank you

    I reside in the UAE UNITED from now, but in 6 months, I can move to another country, so my plan of photography 1 year will be? I need to buy only after getting a response to my request. Thank you

    Oh, one last thing, or is - it possible to buy sitting in the UNITED Arab Emirates, but giving details on the country that I will propose to (Canada) (connecting to Adobe, Canada)

    Hello

    You are fine as long as the country of your Adobe ID and country of your credit card match; and the country is one that we support for a creative cloud subscription. The fact that you are in a different country now is ok.

    Kind regards

    Sheena

  • I bought the plan for photography and still pay each month. but I can't use photoshop only after update. and they need to join a plan. How can I do? I can only use for the trial version even I never tell months.

    I bought the plan for photography 6 months ago and still pay every month.

    but I can't use photoshop only after update. and they need to join a plan.

    How can I do?

    I can only use for the same test version that I pay every month.

    Hi yejik42305752,

    Please see the following article: https://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    Kind regards

    Tanuj

  • How to remove only after the passage of the Tween is finished

    I want last removeChild (dropBall1); statement, in this script to be executed only after the move from Tween is completed. How do I do that? right now it is, it is removed immediately.

    function onClick10f1 (e: MouseEvent) {}

    addChild (dropBall1)

    removeChild (bigBall1)

    dropBall1.x = 356.10.

    dropBall1.y = 28;

    var bigBDrop1: Tween = new Tween (dropBall1, "y", Regular.easeIn, 28, 156, 1, true);

    removeChild (dropBall1);

    do not take local interpolation function.  they are likely to be gc had completion and import the tweenevent:

    var bigBDrop1: Tween

    function onClick10f1 (e: MouseEvent) {}

    addChild (dropBall1)

    removeChild (bigBall1)

    dropBall1.x = 356.10.

    dropBall1.y = 28;

    bigBDrop1 = new Tween (dropBall1, "y", Regular.easeIn, 28, 156, 1, true);

    bigBDrop1.addEventListener ( fl.transitions.TweenEvent.MOTION_FINISH , tweenFinishF);

    }

    function tweenFinishF(e:TweenEvent):void {}

    removeChild (dropBall1);

    }

  • I have an action occur only after a button / box is clicked and held three seconds?

    In Captivate, I am trying to simulate touch and now button for three seconds of a button get a second window to come.  I have a picture of the touchpad and an image of the second window.  Now, I need to set up the interaction.  Is it possible for me to have an image 'show' - in this case, the second window - only after a click box or button is held for three (or more) seconds?

    Thanks for any help!

    Ryan

    You could put the script in the template files, I usually do it once my script works.

    This script will do what you want:

  • PDF file opens only after refresh

    I have problems with our version of Adobe Reader 10.1.2.

    The pdf file opens when opening a pdf file on the internet, the page remains blank and only after a refresh (F5). Anyone know what to do with it?

    I thought safe mode would have been the problem but it's not.

    Welcome them

    You use Internet Explorer to open PDF files? If so, here is a link to a technical note that includes a hotfix, PDF file opens as a gray screen in the browser. Reader, Acrobat 10.1.2.

  • Make all the text fields to read only after signing form

    Hello

    I have a form of direct cycle that must have all the defined text fields as read only after the signing.

    The java script has been placed in the sign post to a digital signature field event.

    for (var i = 0; i < this.numFields; i ++) {}

    NJC var = this.getNthFieldName (i);

    If (cNm.type = "text") this.getField (NJC) .readonly = true;

    }

    After signing the following the error in console form appears:

    this.getNthFieldName is not a function

    Can someone advise please how to change the script so that when the form is signed all text fields become ready only?

    Any help will be most appreciated.

    Thank you.

    You don't need any JavaScript to do this.

    In the designer, you can configure the field signature in this way, that all fields will be locked after the signing.

    Look here:

    http://forums.Adobe.com/message/3121870?TSTART=2

Maybe you are looking for

  • Remove the cloud an iPhone without the phone

    Hello Recently, my iPhone 6Plus was damaged without repair possible. It will be a while until I can replace it, if im using my old phone in the meantime. The problem is the old phone is an Android device. When someone tried to text me from their iPho

  • HP pro 3515

    With the office on the I don't see the network adapter on motherboard, "Realtek RTL8171E Gigabit Ethernet Controller" and on the HP site, there is no driver. Can someone help me? Thank you Giorgio

  • Right click on my mouse button no longer works

    My operating system is Windows XP and I have a Dell PC. It seems that the right click stopped working after the latest windows update. Not sure about this, but it did not work and I can not understand how to get the menu to appear on anything (Web pa

  • Problem of PC keyboard laptop Compaq Presario CQ60-224NR after the upgrade from Vista to Windows 7

    I have recently upgraded the OS on my laptop PC Compaq Presario CQ60 224NR Vista Service Pack 2 to Windows 7 Home Premium 32 bit Service Pack 1.  I updated the drivers before upgrading and checked for the latest drivers after upgrade also.  After the

  • Download file from the database server, through application server.

    Nice dayI use Jdeveloper 11.1.2.3.0.I have a requirement to download a file that already exists on the database server Directory. Now my current scenario is that user is connected to the application server, and the user has no direct access to the da