IIR filter for multiple ATD data

I have 3 ATDs simultaneously sampling. The digital IIR filter works on the first board data of 16 waveforms. The second and the third ATD data do not get filtered at all. They just output zero for all the channels. I tried different instances of the IIR filter to be used with different ATD data and the result is the same. If I turn off the digital filter, then the data shows up correctly.
Please help.
Thanks,
Narayana

Hello Nadim,
Thank you for replying. In fact I just came from the lab after solving the problem. Yes, it is an analog-to-digital board - with 16 inputs. All these boards are tied together with respect to sampling-using a synchronization cable. the ATD board is what NI used to call PCI-MI0-16E-4. During my troubleshooting, I realized that the data coming from the first board has a t0 and dt value in the waveform attributes. The other two boards did not have these two attributes - they were zero. Once I gave the waveforms the proper dt and t0 value, the IIR filter could operate on the waveforms. So the problem was solved.
But thank you for replying. If I did not make myself clear above, I can post an image of the code.
Thank you,
naroowal

Similar Messages

  • How to design a stable IIR-Filter for FPGA?

    Hi, I´m new to Labview for FPGA and currently trying to design a lowpass-filter (for a digital mixer, more or less). It should work with a sample-frequency of 200kHz, a passband edge frequency of 3Hz and a stopband edge frequency of 8Hz. An FIR-filter would have a too large order to be implemented, an IIR one seems more practicable. For the design of the filter I'm using the digital filter design toolkit, refering to its manual and the casestudy with analyzing, modeling, simulating and generating a fixed-point filter. Now, I have problems to get a stable filter. While the manual states to adjust the coefficents by trial and error, the designed filter never matches the floating-point reference. Does anyone have experience in creating such filters? Or a hint, how to optimize the coefficient finding process?
    Thanks in advance!
    thilo

    LabVIEW FPGA 8.20 does include a Butterworth filter function (1st, 2nd and 4th order) in the FPGA palette. You can configure it directly using a dialog on your FPGA diagram. The cutoff may not be quite as sharp as you want but it could be an option for you to consider. Once you have configured the filter VI, you have the option of opening up the subVI with the code that is generated based on your filter parameters, which would allow you to further configure the code directly.
    I have attached the configuration dialog with the settings you specified.
    Message Edited by Christian L on 11-16-2006 09:27 AM
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
    Attachments:
    filterdialog.JPG ‏44 KB

  • DAQ_START FOR Multiple Channel Data

    Hi dears ;
    Normally we use Scan_start DAQ API to get multiple channel data but i want to get data using Daq_start for multiple channel
    but i dnot want to use this api like Scan_start by giving its second parameter -1 for all channels
    i want to use this api in seperate thread for each channel and i want to get the data from 8 channels simultaneously  using this api.
    plz send code in vc++.if the solution is not possible then send me alternate way.
    Detail:
    There are 8 threads they are running simultanously and every thread want to acquire data from their corresponding channel i.e thread one from channel one thread 2 from channel 2 and son...all the threads goes at the same to acquire the data and come back after one minute and this process continue untill quit the application
    please tell is possible or an altenate solution for this requirement.I donot use Scan_start to get the data of all the channels in one buffer i want to get the data of each channel in its own buffer.
                                     please tell as soon as possible
                                                                             thanks
                                                                                                    ajmal

    Hello ajmal,
    There are a couple reasons why your idea probably won't work.  First, it looks like you are using Traditional (legacy) NI-DAQ functions.  The Traditional NI-DAQ driver is not multi-thread capable.  Meaning that only one thread will be able to access the driver at a time.  Also, it is not possible with Traditional NI-DAQ or NI-DAQmx to have multiple analog input tasks running simultaneously.  Is there a particular reason that you don't want to read all the channels in the same task and separate the array into a different sub-arrays for each channel?
    -Alan A.

  • Use a High Pass Filter for multiple connections

    Hello, you can check this site: http://www.cableboxfilters.com
    You can find the best filter and these are newly designed and is a super mini size high pass filters. They have excellent specifications, dimensions of only 13mm x 40.5mm and a weight of only 18g. These filters are best suitable for use in many communications applications, such as CATV, Cable Internet and other RF systems. Hope that this info can help your problem.
    With too many connections as you mentioned, you must install a High Pass Filter. These are newly designed and is a super mini size high pass filters. They have excellent specifications, dimensions of only 13mm x 40.5mm and a weight of only 18g. These filters are best suitable for use in many communications applications, such as CATV, Cable Internet and other RF systems.

    Hi, Graham,
    You wrote: "...There is a Lowpass filter writen within LabVIEW (IMAQ LowPass) this has been optimized for multicore prosessing and runs pretty efficiently..."
    Sorry, but I can't recognize any advantages of IMAQ LowPass on the DualCore system. See attachment. When this VI running, then I have approx. 50% CPU load, and no any effect when I set 2 cores with IMAQ Multi-Core Options. This take always approx. 60 - 70 ms for 5x5 low pass on 1024x1024 8 bit image.
    I'm missing something?
    Upd:
    Sorry, forgot technical data:
    LabVIEW 8.6f1; Vision 8.6.1; WinXP Prof SP3; Intel Core2 6700 CPU
    Andrey.
    Message Edited by Andrey Dmitriev on 11-19-2008 02:21 PM
    Attachments:
    Benchmark.vi ‏16 KB

  • Filter for two dynamic dates

    Hi all,
    I wanted to create a report such that i can see only last 20days of data. Basically i wanted to use a date filter, what is the exact syntax for the filter?
    The data in the table is in DD-MON-YYYY format.
    I am trying with the following query
    to_date(day_name,'DD-MON-YYYY') > trunc(current_date)-15 and to_date(day_name,'DD-MON-YYYY') <= trunc(current_date).
    Is this syntax correct?
    Thanks in advance.

    TIMESTAMPDIFF(SQL_TSI_DAY, Date.Date, CURRENT_DATE) will calculate the number of days between the Date column and the current date.
    Replace Date.Date with the Analytics column reference of your choice.
    You can also replace CURRENT_DATE with another date expression to calculate the difference between tow date columns.
    SQL_TSI_DAY defines the unit of measure (days)... other options are
    SQL_TSI_WEEK
    SQL_TSI_MONTH
    SQL_TSI_YEAR
    SQL_TSI_HOUR
    SQL_TSI_MINUTE
    SQL_TSI_SECOND
    Mike L

  • Library Filters: Filter for multiple values in a single column and Wildcards

    If you have a multi-value column in a library, can you filter to show only results where two (or more) specific values (terms) are applied? E.g. Year 2014 and Month January? Seems this would be particularly useful for Enterprise Keywords columns.
    Similarly, is there any way to filter on one value OR another value in a single column (e.g. Document Type Memo OR Fax)?
    Any way to use wildcards in searches (would be REALLY useful in the Title and Name columns when naming conventions have been followed).
    I'm guessing the answer is going to be 'move to SharePoint 2013' - if that is the case, please confirm whether all the scenarios mentioned above are catered for.

    Thanks for your replies !
    Is there any other way to achieve this ?
    There is 1 InfoObject which has 2 fields Employee and Department.
    Employee     Department
    001                A
    001                B
    001                C
    In the report there should be 1 row for Employee 001 with all the Departments displayed in the same cell separated by commas.
    Can this be done in the backend through a ABAP code?

  • Script to Filter for Multiple ComboBox

    Hello,
    I am trying to create two combo boxes, company and contact.
    When company selected only contacts for that company display in the
    contact combo box. I created the script below but it does not work.
    Please look at the script and tell me what if I miss out any thing?
    TIA,
    private function
    Jobs_CompanyIDLookup_result(event:ResultEvent):void
    this.Jobs_CompanyID.dataProvider = event.result;
    var compID:Object = new Object();
    compID.CompanyName = "Select one";
    compID.CompanyID = 0;
    this.Jobs_CompanyID.dataProvider.addItemAt(compID, 0);
    if (this._key == null){
    Jobs_CompanyID.selectedIndex = 0;
    }else
    this.Jobs_CompanyID.selectedItem = originalJobs_CompanyID;
    private function
    Jobs_ContactIDLookup_result(event:ResultEvent):void
    this.Jobs_ContactID.dataProvider = event.result;
    var contID:Object = new Object();
    contID.FullName = "Select one";
    contID.ContactID = 0;
    this.Jobs_ContactID.dataProvider.addItemAt(contID, 0);
    if (this._key == null){
    Jobs_ContactID.selectedIndex = 0;
    }else
    this.Jobs_ContactID.selectedItem = originalJobs_ContactID;
    Jobs_ContactID.selectedItem.CompanyID =
    Jobs_CompanyID.selectedItem.CompanyID;
    }

    Your script works perfectly well! However, I think that maybe it could be faster if modified as below (in bold), as recommended in the [AppleScript Language Guide|http://developer.apple.com/mac/library/documentation/AppleScript/Conceptu al/AppleScriptLangGuide/introduction/ASLRintro.html#//appleref/doc/uid/TP40000983-CH208-SW1] (at the end of [this section|http://developer.apple.com/mac/library/documentation/AppleScript/Concep tual/AppleScriptLangGuide/reference/ASLRclasses.html#//appleref/doc/uid/TP40000983-CH1g-BBCDBHIE] about lists) for larger lists:
    set theListOfTitles to {"John", "John and his mother", "Mary and me"} -- just an example
    *set theTitles to a reference to theListOfTitles*
    tell application "iPhoto"
    repeat with currentTitle in theTitles
    set currentListOfPhotos to (photos whose title is currentTitle)
    repeat with k from 1 to the length of currentListOfPhotos
    set rating of item k of currentListOfPhotos to 2
    end repeat
    end repeat
    end tell
    The same for the script I sent to you:
    set theListOfTitles to {"John", "John and his mother", "Mary and me"} -- just an example
    *set theTitles to a reference to theListOfTitles*
    set theListOfPhotos to {}
    set thePhotos to a reference to theListOfPhotos
    tell application "iPhoto"
    repeat with currentTitle in theTitles
    set currentListOfPhotos to (photos whose title is currentTitle)
    repeat with k from 1 to the length of currentListOfPhotos
    set theRating to rating of item k of currentListOfPhotos
    set theDate to date of item k of currentListOfPhotos
    copy currentTitle & " (" & theDate & ") — " & theRating to the end of thePhotos
    end repeat
    end repeat
    end tell
    theListOfPhotos --> {"John (Thursday, April 24, 2008 5:55:07 PM) — 4", "John (Saturday, August 12, 2006 3:41:45 PM) — 3", "John and his mother (Tuesday, July 8, 2008 12:43:17 PM) — 4", Mary and me (Friday, August 14, 2009 12:36:00 AM) — 3"}
    Message was edited by: Pierre L.

  • How to use one dynamic connection managers for multiple parallel data flow tasks

    hi there:
       I have 6 databases residing on the same server. What I want to do is  call a store procedure with identical name on each database dbo schema and transport results to a centralized place. The key is to have those SPs run in parallel instead
    of in sequence as each SP may take around 10 mins to finish. 
    The simplest way is to create 6 OLE DB connection managers and create 6 DFT tasks. However, I do not want to maintain 6 OLE DB connection managers as there is a chance to have more connection  managers.
     What I did so far is to create a OLD DB connection manager and use expression to set up connectionString properties so that it will get populated by variables at run time. It is fine when running all SPs in a Foreach Loop Container. However, it takes
    around 60 mins to finish.
      When I try to run it in parallel ( basically created 6 DFTs but use only one Dynamic Connection Manager), the connection string gets confused therefore all DFT tasks failed.
       Does anyone here have some experience on this topic?
    Thanks
     hui
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Yes, basically, on the connectionString property of ONE OLEDB, you are using an expression to supply value and this expression is pointing to a variable. 
    In this case , you can update this variable from a table which contains many connection strings. It's good if you want to execute Store procedures in a sequential order. When in parallel mode, this will cause issues as connectionString gets overwritten. 
     I am thinking about using script task to exec sp.
     The whole idea is that I do not want to maintain a large number of Connection Managers. 
    Hope it helps
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --
    So you are not able to run parallel executions using same conn mgmr, even with dynamic connectionstring, is that correct? Yes, script task will be a way to go if you wish to execute it in parallel, you may connect to SS and query the proper conn string with
    SELECT/WHERE clause in each script > pass it to a script variable > use that script variable and execute the proc. This will require only two things to change in each script, the WHERE condition to get the conn string and the proc name (you may even
    get the proc names the same way you get conn string) and everything else will be same. Let us know how that goes. 
    Hope no two or more procs doing insert/update/delete on the same tables.

  • Manual Bank Reconciliation Statement for multiple dates

    How can we enter ONE manual BRS for multiple posting dates?
    Below is the scenario for which we need multiple posting dates in one bank statement.
    We receive and enter in SAP the Bank reconciliation statement at the end of every month.  The system considers Posting date as end of the month ( the entry date or a single date what we enter).  The transactions however belongs to many dates of the month.  So while posting the bank statement system considers only one posting date and picks up the exchange rates of one date ( that is the posting date).  It results in undesired exchange rate differences.
    To elaborate more please check the following example:
    1. Incoming Payment on 01-12-09 in USD (USD = Foreign Currency, AED = Local Currency ) with Exchage rate 3.8.
    2. Incoming Payment on 06-12-09 in USD with Exchange rate 3.9
    3. Incoming Payment on 09-1209 in USD with Exchange Rate 3.7
    If all of the above transactions are posted at one posting date the system picks up only one exchange rate at the posting date.  However the system should pick up the respective exchange rates on the transaction date.
    I hope I am able to communicate properly.
    Waiting for your expert opinion forks.
    Amir

    How can we enter ONE manual BRS for multiple posting dates?
    Below is the scenario for which we need multiple posting dates in one bank statement.
    We receive and enter in SAP the Bank reconciliation statement at the end of every month.  The system considers Posting date as end of the month ( the entry date or a single date what we enter).  The transactions however belongs to many dates of the month.  So while posting the bank statement system considers only one posting date and picks up the exchange rates of one date ( that is the posting date).  It results in undesired exchange rate differences.
    To elaborate more please check the following example:
    1. Incoming Payment on 01-12-09 in USD (USD = Foreign Currency, AED = Local Currency ) with Exchage rate 3.8.
    2. Incoming Payment on 06-12-09 in USD with Exchange rate 3.9
    3. Incoming Payment on 09-1209 in USD with Exchange Rate 3.7
    If all of the above transactions are posted at one posting date the system picks up only one exchange rate at the posting date.  However the system should pick up the respective exchange rates on the transaction date.
    I hope I am able to communicate properly.
    Waiting for your expert opinion forks.
    Amir

  • Security filter for multip^e users

    Hi All,
    I created the security filter for 1 user ok its working fine but i want to give that filter for multiple users so we have so many users so how can we do that
    we have to creat the users manually is there any other way in ASO
    Plz help me on this
    Thanks in Advance

    Thanq for ur reply
    Im creatin in EAS i dont access for shared services thts not available in my desktop so i hav to creat in EAS so how can we create filters for multiple users
    can i create groups for multiple users is this the corect way plz tell me how can i create the groups explain me clearly
    it would be appriciated
    Thanks

  • Reset an IIR Filter with new data

    hello one and all,  i am creating waveforms and pumping them into an IIR filter.  at times the parameters of the experiment change and i want to reset the data that the IIR filter is drawing off of so that it is calculating from scratch.  i know about the reset input of the IIR filter, however, it is for redesigning the filter coefficients, etc., as stated in the labview help file.  so how do you tell the IIR filter that the waveforms coming in are now a new set of waveforms?
    thank you in advance.
    lucas

    Hi Lucas,
    I assume you are using the Digital IIR Filter.vi.  The logic is not immediately obvious on the diagram of the instances of this VI, but there are two sorts of reset that can happen, namely a coefficient redesign, and a filter state reset.  The coefficient redesign happens when either:
    1.  It is the first time the VI has been called
    2.  The reset control (on Digital IIR Filter.vi) is true
    3.  The dt value of the waveform changes from the previous iteration
    4.  The design specifications change from the previous iteration.
    The filter state reset (which is what you want I think) will happen:
    1.  If there has been a coefficient redesign
    2.  If the timestamp of the last point of the previous waveform does not match the timestamp of the first point of the current waveform + dt.  This is basically an assumption of continuity of the waveforms over consecutive calls to the VI.
    I think you have two choices to get the behavior you want.  First, you can use the continuity of the waveforms as a way of controlling the reset of the filter state.  When you want a reset, then make the current waveform discontinuous.  The second option would be to use the lower level VIs on the signal processing->filters->IIR palette.  This allows you to explicitly separate the design and implementation of the filter on your diagram, with explicit reset control on the filter states.

  • Interactive report filter for date not working correctly

    Hi,
    I am having an interactive report. I tried to give a filter for a column(created_on) as created on>29-oct-2009 17:17
    but i am getting the row containing created on as *29-oct-2009 17:17* in the report result. How can i correct this
    problem
    Thanks,
    TJ

    Hi,
    I think it is because seconds.
    So it is 29-oct-2009 17:17:00 and your record is e.g. 29-oct-2009 17:17:02
    br, Jari
    Edit
    You can use trunc function in your select so that it round date to minutes
    TRUNC(created_on,'MI') AS created_onBr, Jari
    Edited by: jarola on Nov 5, 2009 3:02 PM

  • Multiple MM schedule lines for the same date

    Hello All Gurus,
    I am facing a problem where the MM schedule lines are divided into various quantites for the same date. For example on 02/11/2010 the total quantity is 120, it is appearing in the below form in ME38:
    02/11/2010 - 40
    02/11/2010 - 40
    02/11/2010 - 40
    Although this is not an error, but my client is not happy with this. Can someone tell me why I am getting this error? Is it because of the rounding value that we maintain in MRP 1 view of material master record? Or is there any other setting that I am missing?
    Please let me  know. I would be very much thankful to you.
    Thanks and Regards,
    Umakanth

    Hi,
    Before changing the setup, note that sometimes it is beneficial to split one demand into multiple delivery schedules. Especially if the demand is bigger than equipment type (container/truck etc.). If you want to manage inbound transportation for such delivery schedules, it is much simpler to do this when each delivery schedule is not bigger than one equipment.
    Regards,
    Dominik Modrzejewski

  • Legacy asset data upload for multiple line items

    Hello
    Legacy asset data upload for multiple line items- for example Building is an asset which is having different line items for purchasing of land,constructaion or renovation etc.........now to upload the legacy data what should be consider...only one line item for Building or numbers of line item.........
    which one is the proper way to do this exercise?
    regards

    Hi,
    It completely depends on clients requirement. but following are few approaches:
    1. Define Building as Asset Class.
    2. Create a Building at specific location at asset code and
    3. create asset sub numbers for other components.
    other approach would be:
    1. Define Building as Asset Class.
    2. Create a Building at specific location at asset code and
    3. create further asset codes for other components where field description will be used for relating each other.
    Regards,
    Sayujya

  • Filter for an 2D array of data, to obtained and defined range of data

    I am generating data from a ultrasonic sensor at 1K Hz, and its a lot of data (data points range from 0-10). However, in some cases when I know data should be around 7 (for example) I get outliers (about 9 and around 10). Is there a way to set a filter to obtain data in defined range.
    I will be average the data obtained to get a mean value, and the outliers are spoiling it. In worst case, my outliers are 30-40% of the data generated. I created a filter to sort the data and taking data starting from lowest value. I stop the loop when data hits a higher value then 9. But this seems to take a lot of time (since the loop checks for each data point and there are 1000s of them).
    Is there a better way to filter this data and set a pre-defined range for array to be collected?
    I am attaching my filter.vi.. and a sample data set from my previous run. The data ranges from 10 -8, and would like to have range set to 7.5 to 8.5 to be considered. The sensor is recording voltage here, and the problem can be solved in installing a different type of sensor, but a if a filter in LabView can due it, the sensor we are using now is absolute great.
    I am in kind of emergency, my design in stalled due to this problem, if anyone can find sometime to share few suggestions, I will be grateful.
    Thanks in advance.
    Solved!
    Go to Solution.
    Attachments:
    US filter.vi ‏14 KB
    Ultrasonic raw data.xlsx ‏119 KB

    See attached.  I embedded the data you posted into the vi.  It didn't seem like any data was less than 8.7 or so, so I modified the range so there would be some points to average.  Some sets were completely out of range so the mean came back as NaN (not a number) because of a divide by zero.
    Randall Pursley
    Attachments:
    US Filter mod.vi ‏72 KB

Maybe you are looking for

  • How many macbooks can you install an app on, how many macbooks can you install an app on

    I want to know if it is acceptable to install an app purchased on one macbook on a second macbook?

  • Oracle Apps Forms

    Hi, I am trying to build a form using the bean area to display the records in the form of a grid. Instead of using the multirecord block I am using the bean area to display the records in the form of a grid table. I have a jar file that I have used a

  • What are the white spots that are showing up on screen?

    I have a mid 2009 unibody and have noticed recently that I have 2 white spots on the screen. One is almost centered and the other is half way up on the rigth hand side. They are only noticiable on light backgrounds. I can also see on at the bottom ri

  • Security token testing with soapUI

    Have anyone managed to test the tutorial: [url http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1]Securing Services Using the ALSB with SoapUI ? We had a hard time calling the WS without BEA specific libraries, and ended up making

  • Change properties to multiple clips?

    Hi, I was wondering if I could change the reel name of clips in an entire bin? I thought there was a shortcut? thx! ea