Aggreagation Labview on 3s or 10 min

Hi forum,

I use a NI9220 with 100ks/s/ch so you can track where I am calculating the RMS values THD of a wave of current and votlage with Fr. and thd live. I woulde wishes to implement an aggreagation 3S and 10 minutes and write the values to file whenever the average is calculateted.

Is it possible to do this in labview with the example of moving average mabye?

Thank you

Martin

Hello

you set up the blocks to simulate to produce as many data points you want per second, then you add a timing loop to run every seconds.

http://www.NI.com/white-paper/4120/en/

Concerning

René

Tags: NI Software

Similar Questions

  • Windows 7 takes 15 min to start after installing Labview 2012

    Hello

    I need help on this, is this a bug?

    The problem is that on my laptop after installing Labview 2012, it takes about 15 minutes to start, this happens every time a restart or start my laptop.

    At first I thought something with my laptop, but then my colleague also installed Labview 2012 on his laptop and has exactly the same problem, the difference is that his new laptop and is running windows 7 Professional 64-bit, mine is older and is currently running windows 7 32-bit professional.

    I tried to disable the services NOR, but has not solved the problem, but when I disable all windows services that start at startup, the startup is fast.

    Also note that I had Labview 2011 installed before and I didn't have this problem before.

    Tried also to find something in the registry, but nothing.

    Any who have this problem, or a solution to this?

    Thanks in advance

    This problem seems to be resolved, but then he come back again a few days later

    I did many tests in my laptop and found it to be in the "Service of Network Store Interface" service (INS). Disabling this service, you have your problem solved, but there is another problem, you lose the network.
    This happens because the "DHCP Client" service depends on the national statistical institutes.

    Also, this issue seems to occur only when the PC is in a domain and I'm in a windows server (Windows SBS2008) domain.

    Then I found that if you set manual this services which depend on national institutes of statistics (DHCP Client, DNS Client, IP Helper, network connections, local awareness network) and also put INS manual
    You must also disable the "Workstation" service that also depends on national institutes of statistics (why turn off? Because there are 3 services that depend on the workstation service, they will require to start, and then it will force NSIS to start, then long boot, if you really need of the dependent services on workstation, do the same as for them)
    Not also need uncheck this services in msconfig window if they are checked, and then the PC will boot normally without a network.

    When you start, you should go to services and start the DHCP Client for the network (and the other if you really need)
    This will force also NSIS to start and other services that depend on the national statistical institutes.
    The first time the PC restarts, you may need to reset these services to manual in the services window, I had to do, and then in sebsequent boots, they have been already set to manual
    If you leave right on the dependent services in automatic or automatic (delayed start) it will force NSIS to run and start time will go to + - 15 min

    Because you must manually start "DHCP Client" for the network, here's a solution to do it automatically after have connected you:
    1 - Go to control panel, and then open administrative tools
    Task 2-open Scheduller
    3. on the right click "Creat fundamental task.
    4. in the first window give a name ("DHCP" for example) and press next
    5 - Click on "When I Logon" and press next
    6 - click on "Start a program", and then press next
    7. in the "program/script" insert: net
    8. in the "Arguments" insert: start "DHCP Client".
    9 - Press 'Finish' and you're done

  • lack of LabVIEW MathScript commands for control systems

    I look at these:

    It comes with LabVIEW control system engineering.

    I have 2015 LabVIEW MathScript RT and a trial license for the library control and Simulation.  I also installed MatLab license, but it doesn't have the toolboxes of the control system.

    They both use the command 'SS' in MathScript.  I can't find.  I get errors.  I am looking for help and he's not here.  It is not in the examples.  When I look at the block schema of VI of the video HAS I have fewer controls on mine.  I get the PID, fuzzy and System Identification.  I do not have "SISO.

    I have several assumptions about what is wrong:

    • It has been removed from the MathScript RT module.
    • I need a package of different tools or demo.
    • It has a new name that is not intuitive.

    You can help me find the "ss" command so I can reproduce what they do?

    You have installed the wrong version of the Control Design and Simulation module - version must match the version of LabVIEW (i.e. 2015, in your case).

    Download/install the older version and you should be good to go.

  • LabVIEW for control unlimited, a camera and a light meter (Minolta T - 10A)

    Hello world

    I'm totally new in the use of data acquisition software, but I found out, I use LabView for continuous measures (intervals of 15 min for 1 month or maybe more), the thing is that I need to get pictures simoultanously (Canon camera EOS) and illumination (in lux) device: Minolta T-10 a vision series T-10MA. My question is what software LabVIEW do I need to buy (or my institution actually) in order to get this. I look at the options of LabVIEW software and cannot understand what is needed. Subsequently, I guess that I need controllers for each of the devices (minolta and canon). Can you please tell me if this is possible and how to do it. I would really appreciate it.

    Steph.

    The following items are required: LabVIEW full, all drivers of devices (including DAQmx and pilots of the Vision) and the Acquisition of Vision software package.

    The Minolta luxometer has a connector for a PC and some communication software (which I did not inspect) which, I suppose, would allow you to take readings.  There is a comment about current if the USB cable is connected - I don't check if there is a power connector on the luxometer (since you will need to leave it plugged in for a month, the same problem with the camera).  As far as the camera is concerned, I don't know if it is controlled from a PC - my experience has been with (the size of 640 x 480 pixels) video cameras, which are probably controlled by LabVIEW.

    As for simultaneous readings, it is something that LabVIEW did pretty well.  I advise you to consult a professional if it's anything other than a school project, maybe even hire someone to work a few week of.

    Bob Schor

  • VI LabVIEW Report Generation Toolkit elements in a TestStand sequence does not work with a LabVIEW 8.5 run-time engine

    Hi all

    I'm using LabVIEW 8.5.1 and TestStand 4.1. I did a sequence TestStand with a VI in this document, which uses items Report Generation Toolkit. On my machine I use LabVIEW and TestStand development system license. On another machine I use TestStand with basic deployment license and I chose the LabVIEW 8.5 run-time engine in the Configuration of the adapter. Everything works well except this VI with elements of Report Generation Toolkit. The error message shows that the VI is not executable. It works well only after I installed with a trial license and selected LabVIEW LabVIEW 8.5 development system in the Configuration of the adapter.

    I found other posts and a document in the knowledge base with a similar problem: http://digital.ni.com/public.nsf/allkb/8A0E6274D9BD7B1986256F62006AD402?OpenDocument but I am not no EXE files in my sequence, so I do not know how to fix mine. Someone has an idea?


  • Fluke Hydra 2625 with NI LabVIEW drivers: can not read the output data

    I work with a Fluke Hydra data logger 2625 have downloaded the drivers from NI LabVIEW, crossed the config., initialize and modes files and now trying to read data from a thermocouple.

    Initially, I was getting an error message ("17" I think) but now, after correcting the port numbers, the recorder data and LabVIEW seem to communicate without error. I would like to know where I should look (in the panels before different drivers) for temperature data output.

    Any advice would be appreciated at this point. Thank you.

    There is a driver not supported here. I have the instrument and you have not used one in quite a few years, but if using the example, the function can be set to temperature temperature with the 751 RTD or thermocouple. The results indicators min/max/last.

    The pilot could really benefit from a full rewrite, but it seems that most of the basic functions are there.

  • Need to find installers DAQmx and LabVIEW. Lost installation CD.

    I have LabVIEW full edition and the Application Builder.  I am trying to build a stand-alone application with the application builder and I need the following additional installers:

    OR LabVIEW Run-Time Engine 2010

    NOR-DAQmx Base Runtime 9.1.5

    I lost my CD to install LabVIEW 2010.  These installers are available on the Web?  I tried without success.  Thank you for your help.

    RogerK wrote:

    I have LabVIEW full edition and the Application Builder.  I am trying to build a stand-alone application with the application builder and I need the following additional installers:

    OR LabVIEW Run-Time Engine 2010

    NOR-DAQmx Base Runtime 9.1.5

    I lost my CD to install LabVIEW 2010.  These installers are available on the Web?  I tried without success.  Thank you for your help.

    Hello

    You can download the run time of the website NOR, as also the DAQmx

    LabVIEW:

    2010SP1

    http://Joule.NI.com/nidu/CDs/view/p/ID/2292/lang/en

    2010 min 32 bits

    http://Joule.NI.com/nidu/CDs/view/p/ID/2088/lang/en

    2010 standard

    http://Joule.NI.com/nidu/CDs/view/p/ID/2087/lang/en

    DAQmx Base:

    9.5.1

    http://Joule.NI.com/nidu/CDs/view/p/ID/2934/lang/en

    9.1.7

    http://Joule.NI.com/nidu/CDs/view/p/ID/2206/lang/en

    Just search in blogs or any time of the performance you need.

    You can even download drivers daqmx if needed

    http://Joule.NI.com/nidu/CDs/view/p/ID/2934/lang/en

  • update drivers for LabVIEW 5.1.1 to 10.0 (or a compatible version)

    Hello!

    I can't read the files in the attachment (CCD drivers), because they are written in a version of LabVIEW (5.1.1) is not compatible with mine (10.0).

    Anyone know how to make them readable by my version?

    Thank you very much

    Eleonora

    Attached.

    In the future, please report this type of request in the Upconvert requests Thread. The link he is indicated in the announcements section on the first page of the LabVIEW forum.

  • How do you make thermocouples to read below-200 c? LabVIEW doesn't let me.

    I use the SCXI1102 thermocouple with the K type thermocouples.  This is an M series data acquisition card in a PXI chassis.  My problem is that I want to measure temperatures up to 35 K and LabVIEW won't let me.  When I try to set the value min minus-200 C, then I get the following error when I try to run my program:

    ... min temp falls outside the limits of polynomial precision scaling...

    ... define the scale of Thermocouple to Table Type property...

    How can I do this?  I'm more than willing to enter into the table of correspondence of the NIST values, but I don't know how.

    In addition, it does not when I try to use the Kelvin units.  But I don't mind everything by adding 273 to work around this problem.

    Hey, Astro.

    THE AI. Property ChanCal.ScaleType (Analog Input"General Properties" channel calibration' scale parameters' scale Type) differs from the AI. Thrmcpl.ScaleType Property (Analog Input"temperature" "scale of the Thermocouple Type).  THE AI. ChanCal.ScaleType property allows you to change the method that uses of the calibration scale, while I. Thrmcpl.ScaleType property allows you to change the method that uses the scale of thermocouple.

    If the AI. Thrmcpl.ScaleType is not in your list of properties, see this article in the knowledge base for more information about this missing DAQmx channel property.  After that you are able to locate this property DAQmx Channel, embed it in your code, as shown in the following screenshot:

    I would like to know if it works.  I hope that you are having a great day!

  • How TR/MIN-meter?

    Hello guys,.

    I want to measure my mini wind turbin RPM.

    I have a proximity sensor and I have a device of voltage-frequency.

    And my problem is, I want to use labview to make an RPM meter.

    How to do?

    Thank you

    Hutomo salvation,

    I just noticed that this post has been duplicated several times. I think it will be a better idea to just to keep this topic on a thread, so that we can unite our efforts to help you. Since people have already made the comments here, we'll just stick with this post. In the future, it will be better if you post just once by topic, at National Instruments like us each post, so don't worry your not issues.

    Jason L.

  • HOWTO fix Labview 2010 delays

    My Labview 2010 causing huge delays ~ 30-40 years compiling and when using the restore function.

    It blocks the (useless) pc for its time.

    I tried several times now, but the work of development with this break is not possible.

    System: MS XP32, Athlon 64 3800 + with 2 GB of RAM is not recent, but clearly within the min. requirements: Pentium 4 and 1 GB

    The app is first written as LV 6.4/8.0 and use very less stuff express vi.

    HOWTO solve the problems of delay with LV coming 2010?

    1. do I need to rewrite my whole program express screws...

    2. can I disable certain features to reach LV 8.0 performance...

    3 do I need a faster cpu and more RAM...

    ((4 can I I restore this program to OR because of) a lack of compatibility and b) minimum requirements of evil

    BTW... can Labview be completely uninstalled at all...?

    Sorry to ask a little aggressive but this "program OR" cost me a couple of days now for nothing

    Tips in particular to Question 2 would be much appreciated...

    read it twice, I discovered a very interesting aspect now your answer Putnam... Thank you

    I think this indicates that the solution...

    sound in this line here...

    > Currently using LV 6.1 - LabVIEW 2009, RT8.5

    I'll go and reinstall 8.0 and available banks of LV and recommend seriously

    for all LV users do not update to LV 2010.

  • Which is better: Labview for everyone or learning with Labview?

    I am a novice user of Labview, but I went through essentially through the 6 hours on Web site tutorial for NOR and that I'm currently going through the massive list of examples included in Labview. I heard the two Labview for everyone and learning with Labview recommended texts. I'd rather pay one, unless I really should bring both eventually. Thoughts and opinions by comparing the two?

    The two books are very good.  If your just starting, go to Amazon, buy a copy used learning with LabView 8 or 9.  I got mine for $18 shipped.  You can download all the vi.  Can also buy LabView for everyone $61.  LabView for everyone covers almost everything on LabView and brings you to some more advanced things, but learning with LabView has been better for basic stuff.

    Jerry

  • LabVIEW synthesizer: sound via his MacBook card output problem

    Hi all!

    First time posting here, I hope I'm in the right section of the forum. In any case, I am a part-time student and is currently studying a module on Labview at the University. Like a mini project I decided to build a synth using Labview. I built for the most part, but I'm having a little trouble out of sound for the sound card. I am also having a bit of trouble getting the waveforms to play for a long period of time.

    I was copying sort of the configuration of one of the example of screw (generation sound vi I think) and an another vi I found online, but I can't seem to get mine to work using my synth design. I have two problems, one is that the waveform only play for a very short time, but the main problem is that I am getting an error (error 4803) saying the sound card can not accommodate the specified configuration, but I can see my setup is more or less the same as the generation sound vi (which works on my thin macbook). Obviously I'm missing something, so I decided to come here and ask for help.

    I'm guessing that the type of data connected to my exit the configure vi would be a problem because it has a red dot on the input terminal. Any suggestions on how I should resolve this problem?

    I have my attached vi. Any help would be appreciated!

    See you soon!

    Edit: I have already corrected the error 4803. Had to change configure the entry to the audio output sub vi. Now, I just have to find a way to get the sound to play for more. Any ideas anyone?

    Ok. You have several problems.

    The order of cluster in your cluster size is rate, Bits, channels, while the order in the cluster 'sound format' on Configure.vi of output is the frequency of sampling (s/s), number of channels, bits per sample. LabVIEW connects clusters according to the order of cluster. How to avoid this: Pop up on the conpane format of its terminal on the icon Configure.vi to audio output on the block diagram, and then choose Create a control. This will put a control with the same names and the order of cluster on the front panel. You can change the name if you wish as long as you do not change the order of cluster. The alternate is to unbundle your cluster control data, and then package it to the cluster of entry. I watch this the change of your attached VI.

    The VI does not meet the Stop button until the structure of the event runs, which occurs when a key is pressed. FIX: Add a case of event for the Stop value change event. I watch this the change of your attached VI.

    The VI does not recognize changes in the Octave, Amplitude, Osc Select or filter frequency until the second keypress after changing one of these controls. Why? Stream. These controls are probably read in the microseconds after one iteration of the for loop starts. They do not play again until the next iteration no matter when or how many times they are changed. The loop will not iterate until the end of the structure of the event, which only occurs when a key is pressed. The Fix: Case of event for changes in value on these controls. Note that this does not work because now there is no set frequency. So you have also some registers at offset. Because of the problems mentioned, I did not it in modified VI.

    Then, the structure of the event freezes the façade has not completed the code inside. This becomes very apparent when you set the duration to 2 seconds, press multiple keys quickly. The solution to this issue and the problem in the previous paragraph is a loop parallel archtitecture, such as the design of producer/consumer model.

    Not a problem but another way to do something: use the scale of power of 2 in the digital palette instead of the case connected to Octave structure.  I watch this the change of your attached VI.

    Now to your question on the tone duration: the duration of a signal generated by the sinus Waveform.vi and others is determined by the sampling frequency and the number of samples. You are studying, you can do the math. You need to adjust the number of samples as the sampling frequency is fixed.

    The modified VI works fine on my iMac.

    Lynn

  • Create a table based on Max and Min

    Hello

    I found a thread fairly similar, but he has not answered my question.

    I'm building a Vi that simulates a cyclone running at high volumes of different admission. I need to generate a series of volumes of admission based on a user of max, min and interval/step input. These data must be used for the calculations and the x scale of a chart. What is the best way to do it? I could have the user specify each data point, but that only works if the user wants to only like 10 data points. I need to be able to say, start at 0 and 1 to 900. I know how to do this in matlab, but I can't understand it in labview.

    Thanks in advance for any advice.

    It's still there. Even back in LabVIEW 7.1, the range of functions had a search capability. Have you tried it?

    7.1 if you want as the inputs to be the stage of start-up/stop/then you can do something like this (the ramp model VI icon will be different for 7.1):

  • LabVIEW storage function

    Hello!

    I'm looking for advice on how to save a variable from time to time!

    For example. I have a value: current value of sensor 1. From the moment where labview program begins to run, my program must store the value of the sensor curent every min

    say 1 Minute: 5.46 A
    6.40 minute 2: has

    Then the program will average values, as for a long time the average value is not more than 7, programming will continue in average and comparing. for example (Minute 2 + 3) / 2...
    (Min 3 + 4) / 2.

    Once it is more than 7, an LED on the front will warn the user.

    Thanks in advance!

    1. you must move the Terminal for your gauge to be inside the loop.  This way you get the last value each iteration of the loop.

    2. you should son of the indicator value in the registry to offset so you the way with the next value.

    3. you should have the value in the shift register and the current value of her COLLEAGUE enter the Add function.

    4. no need to the structure of the case.  Just wire directly to the Boolean indicator.

    5. be sure to make the loop stops when your average is higher than 7.

Maybe you are looking for