Using average a single point to start the acquisition.

Hi guys, I have a problem with the average. I do an acquisttion and that you want to use the average of the top 10 point a single point to start the rest of my test, but I can't stop the average calculation on 10 points, the vi continues. I want to use the fo average 10 points linke a single poit and continue acquiring normally 11 and after. Can someone help me?

Follow my VI in LV 2010

Kossmann says:

Hi guys, I have a problem with the average. I do an acquisttion and that you want to use the average of the top 10 point a single point to start the rest of my test, but I can't stop the average calculation on 10 points, the vi continues. I want to use the fo average 10 points linke a single poit and continue acquiring normally 11 and after. Can someone help me?

Your code is extremely difficult with all these interiors FOR loops and sequence in unnecessary structures, etc... Simplify!

Try to start first with some tutorials.

Using average-ptbypt for the top 10 values, add to the table you have 10 values, then start adding unique values. Here is a quick sketch.

Tags: NI Software

Similar Questions

  • DASYLAB: start the acquisition on front amount during a certain period of time

    Hello

    I would like to know how the Dasylab to start acquiring data on rising and during 0.6 s exactly.

    Secondly, I have a little problem with the module 'Integer '. I posted an acceleration and I wish I had the speed and the position with a double wide but I don't find how to do this on Dasylab...

    Thank you

    Morgane Charbonneau.

    Response, you will need to use a relay with control signal and to block the exit, the exit will then travel to the data entry module.

    It must store data only when the relay control signal is high (5).

    If I remember correctly, you will need to take the accel signal through a high-pass filter of 0.5 Hz and then through two modules of the Integrator.

    Have you tried this way?

  • WAP321 two Pat same SSID on the same piece with the installation of single point / cluster

    Hello!

    It has bought several WAP321.

    We have a room which has about 40 books, so I will deploy the two Pat in there (according to recommended 20 clients per WAP on specifications).

    I configured the first WAP, created a cluster and the SSID, then joined the second WAP to the same cluster with the installation of single point, he received the same cluster radio settings (SSID, WPA2 key, etc.)

    My requirements are:

    1: configure all laptops with the same unique SSID created on the WAP (which has spread to the second WAP via single point of installation/cluster)

    2: having the laptop connect automatically to one of the Pat.

    3: If a WAP fails, the laptop can connect automatically to the other.

    Is this possible?

    If Yes, are the measures taken are correct, or is there something else? (and how does the cell know what WAP to connect if two WAPS is configured with the same SSID?)

    Thank you very much!

    Hello

    Thanks for posting your question on the forums.

    Setup you had set up will work fine for your application, I highly recommend to make sure that you have two AP running on different statically assigned channels, you can put one on channel 1 and the other on Channel 6 or 11. This will prevent them to conflict with each other.

    Now, there is no real way to select what AP you connect or even know that you you already connected to without special software, in fact, when a device gets on the network and seeking to connect to the radio will connect to the first point of access that meets the demand, if it is no longer available then it forwards the request again and it will connect to one who works.

    I hope this helps. Please let us know if you have any other questions

  • Finished samples timed material vs single-point: different speed?

    Hi all

    Although I had several questions about this request before that separately have been resolved, there is one last thing that remains difficult.

    Shortly:

    My application acquires data from 2 analog and synchronous inputs on 2 channels of analog output.

    There is a trigger stop set on a PFI-pipe with a single switch. To make of this

    I had to switch from single-point over acquition timed work material.

    This set works very well when I read not less then a 100 samples once with a sampling of 1000 Hz. frequency (when I go below a sample of 100 to read--> E-200279)

    Ideally, I would like to read about 10 samples with a sampling frequency of 1000 Hz.

    However, using single-point timed equipment acquisition I can easily do that without a problem. Even just reading

    a single sample once with a sampling frequency of 1000 Hz does not have a problem. But impossible to use the block of relaxation of reference as a signal to stop with this setting!

    Question:

    For me, there are two solutions, but so far I could not work on one of them:

    (1) build a stop trigger in an single point of timed material acquisition

    (2) change something in the acquisition of finished so that I can read faster.

    Any suggestions, what causes the difference between the two speeds to be able to read the data and a way to solve it?

    Thank you

    Mark

    Mark,

    I mocked how I think I would like to address the issue and tied it to the top.  The general idea is that we use HWTSP for our analog I/o and counter looking edges on our signal "stop".  Each iteration of the loop, we check if we saw the stop signal.  If we have, then we write zero for the output channels and stop the loop.  If this isn't the case, write us the data of your comments, we have calculated.  I've added some comments on the block diagram that I hope are useful.  I have currently no any material of series E share, so it may not work properly out of the box, but I thought it would point you in the right direction.

    I offer this precaution:

    Windows is not a real-time operating system.  Therefore, it may take the liberty to give as much CPU time to other processes or applications as he likes.  As a result, it is likely that you will not miss a few samples (IE, your loop will not go faster hardware issues are examples of clock).  I configured DAQmx must return a warning you when this happens.

    Hope that helps,

    Dan

  • line chart with a single point of data not displaying not

    I work with the line chart and I am facing problem
    (1) if I get a data with a single point to draw, the graphic is not
    the graphic line required at least 2 data raising the graph appear
    How to make a graph to display when I get one record in my
    data provider.

    I'm housing one gettong point (x, y) in a single record.
    so this table does not appear I need two points, two points (x 1, y1) and
    (x 2, y2)
    y at - it a solutioin to draw the line chart with a point (x, y) and
    show some points in the chart?

    Looking forward to hear from you guyzz, thanks for looking into it.

    Thank you

    I tried in IE and Firefox - everything is OK.

    What version on FP for IE and Firefox are you using?

  • Start-up delay triggers real beginning of the acquisition of waveform on SMU-6535?

    How long does take a condition of trigger start happening to the actual start of the acquisition of waveform on an SMU-6535?  In my case, it takes ~ 70ms, who seems to be too long.  The delay times, I found in the manual are all down in one nano-second two-digit range.

    Here's a little history: I'm trying to measure a PWM signal to report cyclic verity, generation of total time, frequency, etc.

    The PWM signal is entering in the SMU-6535 on line Port3/3, and I rider Port3/Line3 to PFI5 on my map of derivation.  Start trigger is configured to fire on the PFI5 front, with the acquisition of waveform happening on Port3/Line3.  PFI5 and Port3/Line3 consider both the same waveform PWM, which is the yellow signal out of range.

    The task is configured to use a sample of 10 Mhz clock frequency and collect samples of 2 500 000, coming at a time of acquiring signals 250ms.  You can see on the scope probe that there is a gap in the PWM signal.  I want to collect just the first section, and I know that the article is (or should be) long 250ms.

    However, I am very clearly this gap and 70ms ~ the next wave PWM of the PXI system.  PXI signals is checked 250ms.  The problem is that it is delayed by ~ 70ms when the first time PFI5 goes high when it actually starts the acquisition.

    Ignore the ringing.  The probe is not the best reference.

    Here's the installation code:

          readPwmTask = new NationalInstruments.DAQmx.Task ("task of reading PWM");
    readPwmTask.DIChannels.CreateChannel ("PXI1Slot6, Port3/line 3", ", ChannelLineGrouping.OneChannelForAllLines);

    readPwmTask.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger ("/ PXI1Slot6/PFI5", DigitalEdgeStartTriggerEdge.Rising);
    readPwmTask.Timing.ConfigureSampleClock ("", 10000000, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples);

    Reader = new DigitalSingleChannelReader (readPwmTask. Stream);
    drive. SynchronizeCallbacks = true;

    drive. BeginReadWaveform (2500000, New AsyncCallback (DataReady), readPwmTask);

    Narrowed it down.

    This problem only occurs when it is the first acquisition of signals in the life of the application.  If I do a 'normal' acquisition before attempting to use the departure function acquisition, it works much better.

  • I want cRIO to start and stop the acquisition by push physical button on the cRIO, is this possible?

    When you use my cRIO 9024 on the ground, I prefer to be able to start and stop the acquisition with pressing a physical button on cRIO.

    I want to say I don't want it to be "as a start-up," I don't want cRIO to start the acquisition as soon as the power supply is ensured.

    Is this possible?

    Hi Cashany,

    you will surely find this switch status. But there are easier ways (but more expensive) for a button. Fiddling with a pen or a small screwdriver to switch USER1 is not what I call "user friendly"...

    -You have at least 2 voltage inputs on your module available. Use a switch voltage on the power inputs. Use a 'real' button!

    -You have an available serial port. You can set some pins on GND or voltage and check their status inside the cRIO/RT target...

  • BlackBerry classic classic blackBerry impossible to start the camera

    Hello. My camera was working fine but all of a sudden when I try to use it it says could not start the camera. The flashlight is not working either.

    1. reboot or restart classic.

    Try them both:

    Restart: with the phone smart BlackBerry power on, press on and press and hold the power button on top about 20-30 seconds, ignore the 3-2-1 timer and hold the button until the screen goes black and you see the red LED.
    or
    Reboot: with the BlackBerry device turned on, using the keys of volume of the edge side, press and hold both the Up and volume keys for about 20 seconds, ignoring the original message of screenshot... the screen go black, reboot.

    2 the camera and a flashlight are still not working, download it from BlackBerry World app BlackBerry virtual Expert and follow the instructions to run the test of the camera and a flashlight.

    Virtual expert from blackBerry - BlackBerry World

  • How can I use a custom tool easy to machine the same LabVIEW is the basis on average DC - RMS VI

    I use a cRio 9024 and read PWM with an analog input card 9205.  It was suggested that I use the basis on average DC - RMS VI to convert the voltage of the PWM signal into an analog signal (effective value) for use in my system.  The problem is that the 9024 can use LabVIEW models (it's VxWorks). I work through the device a custom tool easy and I wonder if someone can guide me in the right direction.

    I am running Veristand 2014, cRio-9024, 6modules, and run the scan engine.  It seems that's the reason why I can't read analog voltage (starting a PWM signal) since the signal is running at 200 Hz and the Scan Engine runs at 500 Hz.   I tried to avoid making a custom device or an FPGA and found a work around using the 9401 in counter mode.  I can get the numbers that I need, that's how I'm heading at the moment.  I would like to custom device approach, but not this sprint.

  • My mouse pointer moves in the opposite direction, I intend when I use the touchpad on my laptop. It works fine when I use my docking station and external mouse. How can I fix it?

    I'm using Windows Vista with a Sony Vaio laptop.  At the office, I have a docking station with keyboard and external mouse.  Everything works fine with this Setup.  But when I unplug the docking station and use the touchpad on the laptop, my mouse pointer moves in the opposite direction, that is my intention.  I move my finger and the pointer down.  I move to the right and the pointer goes left.  How can I fix?

    Go to start /Control Panel, and then double-click the icon '' mouse. '' When this window opens, select the tab "Touch Pad" at the top. There's a box near the bottom called "Touch sensitivity", click on that. Change the settings a little bit lower than what they are currently at.

  • I created a website with Muse using a slide show widget a little over a year.  I gave up Muse bur have recently re-enroll as a single Train to examine the use of Muse. The file for the my site is no longer on my computer or lea

    I created a website with Muse using a slide show widget a little over a year.  I gave up Muse bur have recently re-enroll as a single Train to examine the use of Muse. The file for the my site is no longer on my computer or at least I find and I want to make changes.  Is there a way to download the Internet Web site and bring Muse to make changes or I have to start all over again.

    Hello

    to copy entire websites is an arduous task in my eyes. Your sounds to me that you have access to your old site. If you could perhaps talk to your supplier at the time, to get it back.

    Hans-Günter

  • How best configuration connect display server and composer to limit the single point of failure?

    Hi all


    Just had a few quick questions:

    1.) how everyone is to limit the Connectoin Server view to a single point of failure.  All the reading I did looks that everyone puts in place two servers connectoin and doing DNS round robbin on it or put two servers behind a load balancer connection

    (2.) what happens if the mode to connect to the server disconnects while users are connected and actively using desktop computers?

    3.) how to protect View Composer of single point of failure.  It seems that most people are installing this on there vCenter server and everything by leaving it with VMware HA.

    (4.) what happens if View Composer breaks down and you have Active Desktop sessions used by users who are linked clones

    (5.) what is the login used for replication partner server view?  This is a new feature in display 6 that creats a form any cluster to the login server?


    Let me know,


    Thank you

    1. Yes. Need a load balancer. Something better than a round robin DNS since those who go ping (response from the host)-based and not necessarily whether the service is in place (port 80/443 replying with 404)

    2. the user disconnects. When the reconnection that they continue where they left off.

    3. just about everything. Also ensure that regular backups are performed by the login server. Don't forget that if you need to restore, to restore a backup SQL composer both AD LDS.

    4 should be fine. The only problem is during commissioning, a linked clone or create a delete. Then could be a problem. Updating should be ok

    5. a replication partner? Do you mean the replica server? It's just an identifier during the installation as to whether, during the installation of the connection to the server, create you a new instance of the view or expand an existing one. He ends by as a peer to other servers to connect in the same instance (POD).

  • Why can I not use hidden or display point only to store the value for insertion?

    Hi, gurus:

    I have a question:

    I implemented a form with the region of report in a page, the update works OK, but the add function has a problem:

    There is a column, offender_ID, which is a foreign key to another table, it must not be null during insertion. However, even I pass the ID of the author of the offence of master page when user click on the button create and he did watch in the form, it must be a text tabled for insert success, why can I not use hidden or display point only to store this value for insert? (If I use hidden or display single element insert will be successful, apex reports I tried to insert a null value for the offender_ID column.)

    Thanks in advance.

    Sam

    Hello

    There is a column, offender_ID, which is a foreign key to another table, it must not be null during insertion. However, even I pass the ID of the author of the offence of master page when user click on the button create and he did watch in the form, it must be a text tabled for insert success, why can I not use hidden or display point only to store this value for insert? (If I use hidden or display single element insert will be successful, apex reports I tried to insert a null value for the offender_ID column.)

    I think that both hidden and display elements have attributes that can cause problems because of different ways these function elements as the only non-display and feature no hidden items. The only items have a "Save Session State' yes/no 'control'? This can be a problem.

    Would you do that? Do these regular items instead and see if you can get those working. Then, we will try to change the fields back to hidden or display only.

    Howard

    Congratulations. I'm glad you found the solution.

    Published by: Howard (in training) April 11, 2013 10:26

  • 10.6.8 using.  With Safari I can view the Apple start page.  OK, using Firefox.

    10.6.8 using.  With Safari I can view the Apple start page.  OK, using Firefox.  What happens in the last 24 hours. How can I solve this?

    You can solve it using only not the OS X version 10.6, Apple Safari here on out!

    Over the years, there were no updating security for what be for OS X 10.6.8 Snow Leopard!

    This version of Safari is obsolete and has not been safe to use for many years.

    There is one more, last recommended Mozilla Firefox web browser update complete (worms) 48.0.0 that is always available, and probably will be more safe to use until the end of the year.

    https://www.Mozilla.org/en-us/Firefox/desktop/

    Mozilla is complete, at the end of the present in August, full support for Firefox on OS X 10.6 - 10, 8.

    OR

    Guaranteed ONLY (not more new web browser feature) support for an earlier version of th is permanent to Mozilla Firefox, web browser (worms. 45.0.0) through their program of Firefox ESR, (that you CAN download, install and use) which will continue to receive the support of a security update to Firefox until next April 2017 for OS X 10.6-10, 8.

    You can use these versions of the ESR. Ignore the notes support educational/business.

    https://www.Mozilla.org/en-us/Firefox/organizations/FAQ/

    OR

    See SeaMonkey.

    http://www.SeaMonkey-project.org/

    Good luck!

  • I have created a slideshow using Photos app. I wish that the images will appear in a random order (as they can in Power Point). I see no way to do it in the settings. Any advice?

    I have created a slideshow using Photos app. I wish that the images will appear randomly (as they can in Power Point), but I don't see where in the settings that allows this. Any thoughts?

    There is no option in Photos for MAc that allows you to randomly pull a slide show.

    You can create an album and have the album as an instant slide show in a random order using an Apple Script.

    See this link: Script: Shuffle Photos for an instant slide show in a random order

Maybe you are looking for