How to do averaging N samples for several channels?

Dear members,
I got the Routine for averaging N Samples from One channel's data from the forum. I would like to
do for several channels. How to go about it?
Regards,
G.Kousalya

You can do it in a way that is very similar to the approach you would use for a single value (see attachment).
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Attachments:
example.vi ‏38 KB

Similar Messages

  • OID: how to store employees who works for several companies

    Hi All,
    we estimate possible ways how to store employee records into OID. Our OeBs instance serves company group (several companies). If I understand it rigth thees companies should be translated into several 'o'-nodes in terms of LDAP under common 'dc' base node (we use single domain for all).
    How to store persons who works for several companies inside our group at the same time?
    Should we load such type of employees simultaneously into several appropriate branches of LDAP-tree (an employee will be represented as a number of 'cn' nodes)
    or
    should we consider some another way to insist on one-to-one relationship between employee and its 'cn' node?
    Thanks

    Hi,
    I have faced the similar problem while maintaining master data of few employees.
    You may go ahead a make the last name as optional in Screen modification for international employees.
    Hope this solves the issue.
    Regards, AB

  • I am sampling a signal at 1kHz for every 1 second. How do i average the signal for N seconds?

    I am sampling a signal at 1kHz for 1 second. After one second of pause, i sample again for 1 second at 1kHz. If i do this for Nth time, how do i average the signal over the 1 second period?

    Anyway you need to have the data to compute the average... and usually you don't get the data point-by-point unless it is very low frequency acquisition.
    If it is the case, you have to update your 2D vector point by point and then compute the average after each new point (much slower process indeed). You keep say 20 vectors of data and fill in the data (1, 2...20) and then( 1,2..20), so you compute the average on the last 20 acquisitions
    (don't forget the rating)
    Doc-Doc
    http://www.machinevision.ch
    http://visionindustrielle.ch
    Please take time to rate this answer

  • How do I find the digitizer for a channel?

    I am trying to make a VI that is generic and is configured via a single config file.  The file currently lists all the physical channels along with other things like the name and red/yellow limits for each channel.  Currently, the sample rate is hard-coded in the VI but that should be in the config file too.  The issue is that there can be only one sample rate for a given DAC card, so it doesn't make sense (to me) to add a rate column for each channel in the config file (I think it would be misleading to the operator).  Instead, I'd like to create a task list that gives the name, DAC card, sample rate, and other parameters for each task.  Then I should be able to figure out which channel is on which DAC by looking at the physical channel name ("Dev1/ai0").  The problem is that SCXI conditioner cards show up in the device list just like PXI ADC cards.  The user could have named them anything in MAX, so I can't tell which ones are DAC cards.  Is there a property node trait for channels that can tell me what its digitizer card is?  I've looked around and can't see anything appropriate.
    Thanks.

    Hi,
    I have attached a simple program that can extract the device details on a PC. The code only currently tells you what type of device you are querying. You can easily extend it to find out which device is the digitizer(M series/E Series). I have saved it in LV 8. Not sure which version you are using.
    Amit
    Attachments:
    Get Device Details.vi ‏10 KB

  • Simultaneo​us sampling for 12 channels of SCXI-1531

    1) I have a SCXI-1000 chassis, with 1 acquisition board SCXI-1600 and 3 signal conditioners SCXI-1531.
    Is it possible to acquire with simultaneous sampling the first 12 channels (8 from the first SCXI-1531 and 4 from the second) and then, the next, simultaneously again, 12 channels, (the remainning 4 channels from the second SCXI-1531 and the 8 from the third)?
    2) Lets say I had 2 identical chassis (same boards), like the one described before, both connected to a USB switch, and this switch connected to a host PC.
    Is it possible to acquire simultaneously the first 12 channels from "Chassis 1", then, the next 12 channels from "Chassis 1", then, the first 12 channels from "Chassis 2" and finally the 12 remainning channels from "Chassis 2"?
    Thanks,
    Gonzalo Soteras L.
    SPM Ingenieros Ltda.

    Gonzalo,
    Unfortunately, you can only run one analog input task at a time on your
    SCXI-1600. To do what you want, I would suggest acquiring at twice the
    rate you desire, and discarding alternating samples for the first half
    of the channels, and discarding the opposite samples for the second
    half. This would give you the data you need.
    The good news is that if you had 2 chassis, with 2 SCXI-1600s, you
    could run 2 identical tasks on each of these. Instead of a USB Hub,
    however, I would plug them both into your computer. This will give you
    better performance.
    Hope this helps,
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • How to create a default Style for several Content Areas

    Hello,
    I have not been able to figure out how to create default styles/nav bars/etc... that can be used between SEVERAL Content Areas, and/or for any new Content Area. It seems to me that what is created in one Content Area, is not available for use in any other Content Area.
    Being that I'd like to keep the Administrative overhead as low as possible, I wonder if anyone has and/or knows how to create a default style, etc.. and use it with each Content Area across an Enterprise site???
    Many thanks for any information you may have!!
    null

    Kahli,
    check out the Shared Objects node in the Content Area navigator.
    Good luck, Tony

  • Using one plug in for several channels - How to?

    Is there a way to use for example one reverb setting for a selected group of tracks or all of the tracks globally? I'd also like to do a fade out for the entire song but am not sure how to do all the tracks at once?

    Actually, there are 2 kinds of effects. Ones inserted in the channel I think called "serial", and ones called "Parallel", which normally benefit from being on the Bus. Each is always best used in their intended manner. EQ and Compression also Gating are examples of Insert "serial" effects. They generally NEED to be inserted into the channel because they affect the entire signal, thereby changing the character of the whole signal. Inserting into a channel sends the entire signal through the effect and a purely affected signal comes out after the insert. The compressor controls dynamics, so the whole signal must be affected for this to work. If you compress at the bus, you still have your dynamic peaks coming from the direct signal and you are only compressing the portion of the signal being fed through the bus. Eqing is the same. Say you have a muddy sound and want to clear out some 250hz. Inserting the EQ into the channel will run the signal through the EQ, where you have your cleaner, less muddy sound coming out. If you ran the EQ through the bus, you would probably percieve no audible difference as the frequencies you are cutting, still remain at your original signal. The exception would be if you were to mute the channel outputs and only monitor the bus returns, then that might work, but Compressing multiple signals will not get the best out of the device. Each instrument will benefit from its own kind of settings and in the bus in this scenario, you are either compressing all or nothing. Wah, and Distortion also are far more effective when the whole signal is affected.On the other hand,Parallel processing happens when you "borrow" some of the dry, unaffected signal and send it to an effect, and the bus returns the affected signal, running parallel to your original un affected signal on a complete separate channel. Reverb is the best example of this kind of effect. Delay works very well this way too. You have a sonic advantage to leave the original dry signal unaffected (though perhaps compressed and Eqed), because from the return of the bus, you are "adding" some effect to taste, without altering your original signal. This gives a much bigger sound because for instance, with a single mono vocal track, you now have that single mono track, plus you have the effect filling in on the stereo sides. You can place the mono (or any dry) signal wherever you want in the mix, and with the bus fader, add effects in stereo to taste. It is just delightful.

  • How to keep look of JTable for several models

    Hi,
    a (probably easy to answer question). I have a JTable, change the size of columns or remove columns. How can i keep the look of the JTable, when i assign a new model (same type) to the table?
    Thanks!
    Andrej

    Hi,
    provide an own TableColumnModel - otherwise the TableColumnModel will be autocreated using the data of the model - i.e. column names, column count - and setAutoCreateColumnsFromModel(false);
    greetings Marsian

  • How to change the country code for Wireless channel usage

    My MacBook country code is set by Japan.
    In this case, I can use only 5.15~5.25 channels from ch#36 to ch48 at 5GHz Band.
    I'd like use the other channels..by other country code.
    How can I change the Wireless card country code?

    The country code is automatically detected and set by your router. Wireless routers use the frequencies specified by the regulatory agencies in the countries in which they are sold.
    There is nothing to change in your MacBook.

  • Using one packing instruction for several materials

    Dear Friends,
    I need some inputs on how to use one packing instruction for several materials.
    The scenarion here is :
    Many materials are packed in a similar way. If certain materials differ in only one characteristic (for example, construction), having to maintain a packing instruction for each of them results in a considerable time and efforts.
    Need some valuable inputs to complete this requirement.
    Regards,
    Harsh

    Hi.
    Try with reference material for packing (MARA-RMATP). Same material number must be entered on all materials which are packed through same packing instructions.
    Then you have to create/use access sequence for determination of packing instructions that contains that characteristic (RMATP).
    Best regards
    Milan

  • How to make a good UI for channel selection using DAQmx

    A lot of my Labview programming was with earlier verisons of labview (pre Labview 7), and there are a ton of new features that I'm trying to digest (currently using Labview 8.2).
    My question is (in general terms), how are people programming their UI for selecting channels and such when using DAQmx hardware?  What I have in mind is a compacDAQ system with a number of modules.  The user would be able to pick and choose which channels to monitor.  Using MAX as part of that process seems counter intuative, and somewhat static (yeah I know you can change it there, but it feels more like something you would use for something that really doesn't change much).  I'd like all the UI to be within the VI.
    Are programmers using the create task VIs for that or something else?
    Thanks in advance.
    Solved!
    Go to Solution.

    I wholeheartedly second the motion to keep MAX out of the picture as far as users are concerned.
    Setting up UI's for channel selection is a breeze in DAQmx when you create channels on the block diagram. The control you create off the Channels input will populate itself with the inputs that it knows are capable of performing the desired task...
    <<< My configuration knows that my Module 5 is capable of doing Analog Input.
    So... Just create a panel that waits for the user to select the proper channel. I also run a quick check of the user's selection before creating / starting the task. For example, if they choose ai30 or higher, and I know that the system isn't wired for those inputs, I'll not allow that selection. Also check for using two of the same input, etc.
    Richard

  • How to calculate Average balance for an account

    Hi,
    How to calculate average balance for an account for a particular period say for JAN-12 period and after the end of that period for another two days 01-feb-12 and 01-feb-12 ?
    I'm using the following query :
    SELECT cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6 "Account_XX",
    nvl(sum(l.accounted_dr - l.accounted_cr),0) "Balance"
    FROM gl_code_combinations cc,
    gl_je_lines l
    WHERE cc.code_combination_id = l.code_combination_id
    AND l.set_of_books_id ='XX'
    and code_combination_id = replace it with code combination_id for account_xx
    AND l.effective_date <= '31-Jan-12' (january period end ??)
    GROUP BY cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6
    There are some discrepancies in "average balance" after end of month (Jan-12)?
    How to calculate average balances for a particular account (Account_XX above)from end of month of Jan to first two days of february?
    Thanks,
    Kiran

    Kiran,
    Please let me know first, is Average Balancing feature enabled in your GL Ledger?
    Regards
    Muhammad Ayaz

  • How to use the LAN NetStream for peer transmission, please help, write a sample code

    How to use the LAN NetStream for peer transmission, please help, write a sample code

    No reply, I reply, Oh

  • Is anyone else having issues with "skipping" while the songs are playing?! It is very aggravating to us... and we've had it going on for several months now.  Any ideas at all how to fix it?

    Is anyone else having issues with "skipping" while the songs are playing?! It is very aggravating to us... and we've had it going on for several months now.  Any ideas at all how to fix it?

    So, don't use youtube.
    http://www.the-top-tens.com/lists/best-alternatives-youtube.asp
    http://www.youtubealternative.com/

  • I just updated my iPad to OS5 and all of my apps are gone. What did I do wrong and how can I get them back? Several were paid for. Thanks

    I just updated my iPad to OS5 and all of my apps are gone. What did I do wrong and how can I get them back? Several were paid for. Thanks

    If you have failed to make sure that any apps purchased on the iphone were transferred to your computer before updating, then you will have to redownload.
    Open itunes store, click Purchased, under Quick Links.

Maybe you are looking for

  • Can I upgrade for iCloud

    I have a G4 ruuning 10.4.11 I want to get iCloud but I'm having problems. I don't want to chane my email address for many reasons but don't have the money to get a MacPro or Lion operating system.

  • Lost my IPhone5-did not have IFind engaged-Can I use my old 3GS for temp use.

    Lost my IPhone5 looks like i did not have my find iphone engaged. So no way in tracking the phone are  any of those third party apps able to locate my device beside the NSA or apple. who are unwilling I have my  icloud syncronzied with my contacts, i

  • Networking problem after a zone is created and installed

    Hi all, I've got a networking problem after a zone was created and installed on a Solaris 10 box. The box was configured with two NICs, one (e1000g0) with a public IP address, the other one (e1000g1) with a private IP address and connected to a local

  • What are the systems variables in oracle

    Hai All In oracle what is called system variable and types of system variables Good answer hepls me Thanks & Regards Srikkanth.M

  • Strange Bug in iBook Author?

    Last year I created an iBook lab manual for my students.  The file size of the final book was around 750MB.  The file size proved to be too large and cumbersome to download and took a while for it to show up in iBooks. This year I decided to chop up