Signal analysis for DAQ

Hello,
what is the easiest way in performing signal analysis on a signal from a DAQ device?
For example if i can obtain a sine wave signal from a DAQ ,how can i program labview to give me a indication if the signal is correct ie. sine wave, ampltude, frequency, etc etc
 with the option of setting the error of eg. 3%
and also if the curve is unorthordox, can you plot points if the ideal signal, to determine and compare it to the signal obtained from the DAQ and say if it is ok ? with the option of error.

Hi Labviewwuser3,
Good afternoon and I hope your well. Thanks for your post.
You have many options to analyses your signal.
The easiest is maybe an express VI called Equal, it allows you test if two waveforms are the same, greater, less and within tolerance (error).
More in depth you could use some of the VIs in the maths>> Signal processing >>Signal Operation such as peak detection. You could then compare the locations of peaks and amplitude. 
You could also do this on a point by point basses or on a complete waveform...
Hope this helps to get you started, 
Message Edited by Hillman on 12-18-2008 01:31 PM
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help!

Similar Messages

  • Variable scale for daq signal

    I hope this is not painfully simple to most of the people on this forum but I have an application where I set up a test bench to do testing on a component that have varying reponse piece-to-piece. For example, one component might have a voltage of 0.6 to 3.75 for the desired range while another can be 0.5 to 3.9.
    Being a noobie, I heavily rely on DAQ Assist and this is not an option (user-input slope, etc.)  Do you know the best way to go about this?   I looked at creating a virtual channel through daqmx but it seems that it will only take a predefined scale you set up as opposed to allowing the user to define that scale.
    Please help!
    Thanks
    KM

    You seem to be mixing up some terms. It seems you are talking about range of the signal that you are measuring and not the scaling.
    If it really is the range, then based on your example, you probably don't need to change anything. When you provide the range values, what you are telling the DAQmx driver is what actual range of the daq device to use to best measure the signal. For example, if the device has actual ranges of +/- .1V, +/- 1V, +/- 5V, and +/- 10V, then it will use the +/- 5V range as the best fit for the signal you anticipate. So, in your example, the actual range used by the DAQ device is going to be the same. You can check the manual for the DAQ device to see what ranges are supported. If you actually do need to switch ranges, then the best thing to do is use the lower level DAQmx functions. The DAQmc Create Channel has inputs for min and max.

  • What is the best achitechture for DAQ?

    Hi all,
    I'm using lv 8.5 winXP, and I'm trying to control a custom-made camera by DAQ card. Attached is a state of the top level state machine, which is the core of my program. On the top part there is DAQ funciton, containing synchronized AI and DO tasks. In the middle there is logging function, and the bottom part is displaying function (convert the raw data to visible images). And I used a queue and a notifier totransfer the data. I think that's the typical achitechture for DAQ.But as the program grows, I found it is hard to handle. I wanna develop an achitechture like queued state machine for this program. And I may need to add some data analysis function and return the result to DAQ as feedback (close-loop control).
    Is it a good idea to put DAQ in a state machine? Did some one do that or could you give me any example?
    At this moment, all I can do is to split the whole program into 'states'. and I want to create subvi for each state (to make code clearer). I found it weird putting queue and while loop in a subvi. Any suggestion?
    Best wishes,
    Bo
    My blog Let's LabVIEW.
    Attachments:
    state_run DAQ_BD.png ‏60 KB

    Most of the previous replies are focus on the low level, so here is a top level reply.
    MVAS - is the top level app and loads the other components. When acq time comes it loads and starts the acq process (Collect).
    Collect - Starts up the logging process (Logger) then the acq code (Collector) then sits back and keep the GUI updated with data coming from the "Collector".
    Logger - Start by creating a queue through which it will recieve updates and then watches for updates and commands to start/stop logging.
    Collector - Acepts queue refs from "Collect" to tell it who should be updated and respondse to commands.
    I prefer to send commnads to explicitly tell loops to shut down (rather use an error to signal this) and I let the reciever of queue data to kiil the queue.
    I hope this gives you another way of looking at your code.
    have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • The Signal analysis functions of the DIAdem-CAL can not use.

    I use a DT3003 board for Data Acquisition in my system. My data is signal of Electromyography,and it needs the DIAdem-CALC "Signal Analysis" such as FFT.But these functions in my DIAdem are disable, Why?
    Attachments:
    10min.rar ‏194 KB

    Yes!
    We do need Frequency Analysis.The EMG is some kind of time-voltage signal.DIAdem do us great help in data sampling.We need to get information such as Average Amplitude, spectral parameters like Mean Power Frequency,Median Frequency from the raw EMG. Is "Signal Analysis" function of the DIAdem standar version able to full fill our demands?
    Re:Thanks for your advice again.Your helps are important for us.
    Cediland

  • Can we demodulate the signal recieved at DAQ card without using any hardware interface(by only using labview)?

    Hi all,
    Can we demodulate the signal recieved at DAQ card without using any hardware interface(by only using labview)? if yes then how? please give brief idea.
    Regards,
    Amit

    There is probably a way to do it, but it it may be easier to use an X-series board for the job.   They support a new counter capability for count reset on a digital edge without needing to be configured in encoder position mode.  I am not sure exactly how that feature's been implemented however, so maybe it won't make things easier after all.
    The plan based on the hoped-for behavior: 
    1. Configure an X-series counter for pulse generation based on "ticks" of your clock channel.
    2. Set both initial delay and low time to the critical # of ticks.
    3. Configure for count reset on a digital edge (if possible in pulse generation mode)
    4. Configure the count reset value to be the critical # (or possibly 1 less, if possible in pulse generation mode)
    5. If you want the output to remain high indefinitely, configure the counter task to use its own output as a
    pause trigger, and pause while high.
    The way pulse generation works is to preload a # of "low time" ticks into the count register.  Then every source edge will decrement the count.  When the count reaches terminal count (0), the counter's output is toggled (or can be configured to pulse).  The register is then loaded with the # of "high time" ticks and the process continues.
    You would be perpetually interrupting the count-down process as long as you got your triggers in time.  The count would keep getting reset to the # of low counts, keep decrementing toward 0 without reaching it, and so on.  If ever you did reach 0, the output state would toggle high, then the high state would prevent subsequent clock signals from decrementing the count.
    You can conceivably do a similar thing with a 6601, but I'm pretty sure you'd need 2 counters working together to get it working.
    -Kevin P

  • Looking for DAQ Hardware

    Hello,
    I have been using LabView 5.0 for a few years to program, control
    & retrieve information from the GPIB bus. I want to get into DAQ
    programming. Where I work, we do not have much in the way of DAQ
    hardware, so I am going to attempt to purchase what I need to play at
    home in my spare time.
    Looking for:
    ** DAQ card, preferably PCI for Windows 98: (PCI-MIO-16E-4 or 10)
    ** Signal conditioning hardware that will work with the PCI-MIO series
    card I am looking for.
    Please reply to: [email protected]

    Chip,
    If you are planning on using a breadboard for experimenting with you'e DAQ
    board take a look at http://www.vicsys.com/pcbprods/bbdaqcvt.htm. It is an
    inexpensive way to easily connect you're DAQ board to you're breadboard. I
    also have some older used DAQ boards for sale at
    http://www.vicsys.com/usedbrds/usedbrds.htm if you want to save a few bucks
    on you're DAQ board.
    Best Regards,
    Neal Pederson, President, VI Control Systems
    1923 Mendius Lane, Los Alamos, NM 87544
    TEL: (505) 662-1461, FAX: (603) 388-4969
    [email protected], www.vicsys.com
    Chip Henkel wrote in message
    news:[email protected]..
    > Hello,
    > I have been using LabView 5.0 for a few years to program, control
    > & retrieve information from the GPIB bus. I want to get int
    o DAQ
    > programming. Where I work, we do not have much in the way of DAQ
    > hardware, so I am going to attempt to purchase what I need to play at
    > home in my spare time.
    >
    > Looking for:
    > ** DAQ card, preferably PCI for Windows 98: (PCI-MIO-16E-4 or 10)
    >
    > ** Signal conditioning hardware that will work with the PCI-MIO series
    >
    > card I am looking for.
    >
    > Please reply to: [email protected]
    >

  • NI-4461+Signal Analysis

    Hi,
    We have a NI-4461 Dynamic Signal Analysis card.I need to plot a Freq Spectrum & Bode Plot(Gain Vs Freq & phase Vs Freq).I am able to acquire data using DAQmx functions,but the DAQmx library does not support Signal  Analysis functions such as FFT,gain and phase plotting.I would like to know if a DSA library is available for this card and how do I download it and use it with the card?
    Thanks in Advance
    G.Bhaskar

    Hi Bhaskar,
    There's a difference between studying a signal's frequency response and a signals frequency spectrum. For example if you are interested in the response of Vo/Vi as the frequency changes, you would use a Bode plot. A Bode plot is the amplitude vs. frequency or the phase vs. frequency. Usually frequency is logarithmically scaled and the two plots are stacked so you can see their relationship to each other. Phase will change with frequency as well as the amplitude. This is useful in studying transfer functions and how circuits respond to different stimuli.
    If you are interested in the spectrum of frequencies that are contained in a signal, you would use an FFT. The highest amplitude would correlate to the fundamental frequency of your signal. This is not the same as phase. If you take an FFT, you will be specifying the frequency resolution (which may not be apparent but your parameters and array length, amongst other things, will set your resolution). So if you're resolution is 10Hz and you're FFT(Vo) = [.2, .2, 51, .2, .4, .3], your fundamental frequency would be 30Hz. Any other peaks above the noise floor will represent harmonics or other tones in your signal. A musical chord, for example, could contain 3 tones but many harmonics.
    Please take a look at these documents
    The Fundamentals of FFT-Based Signal Analysis and Measurement in LabVIEW and LabWindows/CVI
    http://zone.ni.com/devzone/cda/tut/p/id/4278
    An Overview of Frequency-Domain Measurements
    http://zone.ni.com/devzone/cda/tut/p/id/3011
    PBear
    NI RF

  • Result analysis for sub-items on SD-order

    Hello,
    I would like to know, whether also the document flow for subitems is being checked while executing result analysis.
    Example:
    We have got an SD order, a higher-level item and a sub-item.
    Both of them have assigned the same result analysis key. Within this key it is defined in customizing (OKG3), that the Sales Order Structure is A-"Summarize Plan and Actual Data of Subitems on Highest Item"....so the result analysis for the sub-item is being performg via the higher-level item.
    The higher-level positions is already completed - the delivery is made and also the invoice is created.
    The sub-item is not completed - neighter delivery is made nor the invoice.
    While executing the result analysis for the higher-level item, the status FNBL (final billing) is recognized and all cost are settled from WIP to CO-PA.
    As far as I know, the document flow should be checked withitn the result analysis and based on this the status should be recognized.
    Therefore It seems, that only the document flow from the higher-level item is being checked. If also the document flow from the sub-item is checked, there would be no way to get the status FNBL as the sub-item is not complete.
    Is it SAP standard delivered behaviour?
    Thanks in advance
    Peter

    Thanks Waman,
    I have tried to delete the result analysis key from the sub-item, but still the same result in result analysis...
    Could you tell my the consequences from the 1A setup from the note? It is adviced withitn the note to not use the 1A setup. But we use this and it works fine. Just some messages during the result analysis, that it could not be performed for sub-items, but this has no influence on the values.
    Regards
    Peter
    Edited by: Peter Jankech on Jun 9, 2010 8:57 AM

  • FBL5N & S_ALR_87012168 - Due Date Analysis for Open Items

    Hi,
    As per the above mentioned i could find the that there is differene in the account balances in FBL5N report and due date analysis for customers. Where as FBL1N and the vendor due date analysis figure in the report are same.
    Just want to know why is difference in customer related.
    Require a immediate reply.....please help me
    Thanks in advance.
    jai

    Hi
    I could not understand which report you compared with s_alr_87012172.
    Have you tried matching FD10N and FBL5N.  If not matching, then there could be problem with authorizations in FBL5N.
    From report S_ALR_87012168, you can also drill down to view the line items.  Hence if you drill down and list the line items, it will give you some clue.
    Try whether if any parked documents are included in FBL5N.
    Also ensure that in report S_ALR_87012168, Database is selected in Data sources.
    Regards

  • Drill down report for due date analysis for customer open items

    Hi, in transaction FDI0 i am using report 0SAPDUEAN-01 Due Date Analysis for Open Items .The reason i am using this is that s_alr_87012178 caters for only 6 intervals. With this report , i get 8 intervals:
    daily intervals Due Not Due Total OI
    0 - 30 0,00 0,00 0,00
    31 - 60 67.000,00- 0,00 67.000,00-
    61 - 90 0,00 0,00 0,00
    91 - 120 20.020,86 0,00 20.020,86
    121 - 150 3.270,00 0,00 3.270,00
    151 - 180 0,00 0,00 0,00
    181 - 210 0,00 0,00 0,00
    211 - 99999 0,00 0,00 0,00
    Total open items 43.709,14- 0,00 43.709,14-
    Is it possible to change the intervals through custo? i need intervals:
    0 - 30
    31 - 60
    91-120
    121-150
    151-365
    >365

    Hi AA
    refer this link where in I have given the screen shots
    http://img233.imageshack.us/g/86081486.jpg/
    The 1st screen shot is COPY of the Std Form
    The 2nd scren shot shows how to add new interval
    Br, Ajay M

  • Time-dependent BW hierarchies in Analysis for OLAP

    Hi all,
    We are using time-dependent hierarchies in combination with a key date variable.
    Tools used: Query designer based on SAP BW 7.4 and BO 4.0.
    The following steps are executed:
    Report is executed and key date is prompted
    According to the key date, the correct time-dependent organisation hierarchy will be used in drill-down
    Bring up variable screen again and select different key date
    The drill-down changes according to the now correct time-dependent organisation hierarchy
    The above scenario works for BEx Analyzer, BEx Web, Analysis for Office - but not for Analysis for OLAP.
    Whenever I run through this scenario and confirm the updated key date, the following error is displayed:
    cube.get.dimension.info.runtime.error : java.lang.IllegalStateException: There is no default hierarchy for dimension [ORG].
    In the user guide I don't find any specifics about the hierarchies and since it works in all the other applications, I wonder where the error is coming from. I also could not find it anywhere else in the forum.
    Has anyone experienced the same error or any suggestions?

    Hi Peter,
    This issue is captured in SAP Note 1941865. Resolved in 4.0 (8.5, 9.2 or SP10) and 4.1 (1.6 or SP03).
    Symptom
    In BI 4.1, Analysis for OLAP returns errors similar to:"An error occurred in the MDAS service while processing a request from Analysis, edition for OLAP. Try the operation again. If the problem persists, please contact your administrator. (AOC00041)" and/or "cube.get.dimension.info.runtime.error: java.lang.IllegalStateException: There is no default hierarchy for dimension [DIMENSIONNAME]"
    The BW Query the AOLAP workspace is created against has 2 different hierarchies that have the same text description
    Environment
    SAP BusinessObjects Business Intelligence platform 4.0
    SAP BusinessObjects Business Intelligence platform 4.1
    Analysis, edition for OLAP
    Reproducing the Issue
    In CMC, create an OLAP BICS connection to a multi provider
    Connect to BI launchpad and launch Analysis, edition for OLAP.
    Use the connection to create a new workspace.
    The error is observed
    Cause
    This issue has been logged as a defect under ADAPT01720287 for BI4.0 and ADAPT01713663 for BI4.1
    Resolution
    A fix for this issue is included in the following maintenance releases:
    BI4.0:
    Patch 8.5
    Patch 9.2
    Support Pack 10
    BI4.1:
    Patch 1.6
    Support Pack 03

  • BO Analysis for Excel – How to connect to SAP BW

    Hi Gurus,
    We recently upgrade to BO 4.1 (from 3.1).  And want to start to use Analysis for Excel.
    We are little unclear how to connect from Analysis for Excel to SAP BW 7,3.
    From Analysis select “Select Data Source” Then get a pop-up “Logon to SAP BussinessObjects BI Platform” with User, Password and Web Service URL.  All those are blank.  For the Web Service URL there is a message “Error while checking availability of SAP BussinessObjects BI Platform system”
    If choose “Skip” then get SAP Logonpad and can log on to BW.  From there I can choose the BW queries directly.
    What is the best practice to connect from Analysis for Excel to SAP BW?
    Is it not possible to connect to the BO server?  And choose OLAP connection from there to connect to BW?
    If so, is something missing in our setup?
    Regards,
    Reynir

    Yes you need to define an OLAP connection of you are connecting to BW through the BIP - see tutorial http://scn.sap.com/docs/DOC-20625
    You can also connect directly to BW without going through BIP
    I also recommend searching before you post per SCN rules - there are many posts about creating OLAP connections
    Tammy

  • S_ALR_87012168 - Due Date Analysis for Open Items - How to add a column?

    Hello,
       I am trying to add a characteristic to the output of this report. I am trying to add the Reference field from BKPF to the list of available characteristics to choose from. It is available in the dynamic selections list so the field should be available in the program, I am just not sure how to get it onto the char. list.
    S_ALR_87012168 - Due Date Analysis for Open Items
    Any help would be greatly appreciated!

    Sorry but had to go in a different direction...
    Thanks!

  • S_ALR_87012168 - Due Date Analysis for Open Items - Add Characteristics?

    Hello,
    I am trying to add a characteristic to the output of this report. I am trying to add the Reference field from BKPF to the list of available characteristics to choose from. It is available in the dynamic selections list so the field should be available in the program, I am just not sure how to get it onto the char. list.
    S_ALR_87012168 - Due Date Analysis for Open Items - SAP delivered Report Painter report.
    Any help would be greatly appreciated!

    Try:
    Go to -> Line items
    You can change the display variant there to include the reference.
    Rob

  • Due date analysis for G/L account

    Hy!
    I need to make a report that makes due date analysis for G/L accounts similar to S_ALR_87012078 Due date analysis for open items
    for Account payable.
    Has any one experience with that and can help me with that?
    Regards,
    Marina

    Hi Marina,
    its a bit surprising why you require due date analysis for GL accounts as GL accounts are used for realtime posting and no credit involved. Only AR and AP accounts contain credit, so they may be even over due and thus we require ageing or due date analysis.
    If transaction is on a cash basis should be posted to GL not to Subledger. Since there is no due date system for GL posting due date is not possible which makes sense too.
    Hope this gets a better clarity for you.
    Regards
    Bharat

Maybe you are looking for