SVT Gain & Phase - no gain value output

Our application has been using the SVT Gain & Phase.vi from the Sound and Vibration Toolkit
add-on for Labview with no problems until we try to upgrade.
The original versions in use are: Labview 8.2, Testand 3.5 and the Sound & Vibration Toolkit 4.0.
Basically, the SVT Gain & Phase.vi is used to return a gain value back into Teststand.
I ran our application using Labview 2009 and the
Sound & Vibration Toolkit 2009, a test based on the SVT Gain & Phase.vi failed.
Stepping through the code showed that the VI was not returning a dB gain value, but "Nan" instead.
Also the function would generate an error, details are:
Error code: -1945
Basic detail: The fundemental tone was not detected.
I also tried our application with Labview 8.6 and
Sound & Vibration Toolkit 7.0, this also produced the same problem.
When I looked closely at the other output values of the VI, detected frequency
and amplitude of the signals, these values were comparable with all previous passed
tests, despite the error with the gain value.
In fact, because the detected amplitudes of the signals were correct,
I was able to manually calculate the gain value even though the VI couldn't.
On one hand the function is correct to complain about one of the input signals
because it's not perfect, but why should the VI from an earlier version of
the SVT not generate an error ?  Is the newer VI version less tolerant ? 
Thanks,
Gary.

Dominic,
Thank you for your reply.
With reference to your question about the phase, it's something I cannot answer at this
moment as the phase value is not something we monitor.
Looking closely at how we are using the SVT Gain & Phase.vi, I realised there is scope
to improve the response signal y [EUy] value that is passed in.  
By increasing the number of samples obtained from the output of the unit under test by
10 x, this gives a waveform with which the VI is happy to "detect the fundamental tone".
And so the gain value is returned as a number and not "Nan".
For the time being it's the solution we are happy with.
regards,
Gary.

Similar Messages

  • How can I get HyperTrend to display the numeric value output of a CHOOSE statement?

    I have non-linear values I need to display on a HyperTrend graph.  I'm currently converting the input raw signal to a Units (Engineering) value and then looking up the actual value (from a calibration chart) using a CHOOSE statement in order to display the actual value on a panel, but I need to display the values output by the CHOOSE statement on a HyperTrend graph, along with other similar values.
    How can I do this?

    I have non-linear values I need to display on a HyperTrend graph.  I'm currently converting the input raw signal to a Units (Engineering) value and then looking up the actual value (from a calibration chart) using a CHOOSE statement in order to display the actual value on a panel, but I need to display the values output by the CHOOSE statement on a HyperTrend graph, along with other similar values.
    How can I do this?

  • PID (FPGA) Gain Values

    Hi folks,
    i´m using a PID-Module on the FPGA level.
    Now i want to get the system stabil. Usually the I-gain is a very small value (i.g. 0.005). But you get 1,2,3,...
    With the P-Gain is everything ok. It´s working.
    If i increase the I-Gain, the system is freaking out. So, i need smaller values.
    And the D-Gain has no influence of the system at all.
    Well, i know that the the FPGA system doesn´t accept fluent point values.
    From my point of view i must change something in the default option.
    But i dont know exactly what and which values i have to change.
    Do anybody have an idea what to do?
    Thanks a lot
      Andi

    I have the same problem as you. In my case I think that the trouble is the sampling time (25ns) that is so small that almost any valour of the Ki constant make the system trip, and also because of that the derivative time is useless (also you can check to use 1/Ti, there are different ways of considering the PID constants).
    I started using other PID VI, I get it on a sample from NI (CRIO motor control, altough you don´t have a CRIO you can use that PID VI, it´s more complete). Maybe you have the same problems at the beggining with it, but you can change the values of the constant Ilim (this is the antiwindup value for the Ki constant) and things get much more better just with Ki=1. Things worked that way but I don´t really liked it.
    I finally decided to use my own PID algorithm, I´m still working on it, and by now I have the same troubles, but in the future I will scale the Ki, Kc and Td inside the FPGA module and decrease the PID sampling frecuency and hope everything starts to work fine at last.
    Best regards.

  • Adaptive tag for date value - output in milliseconds?

    I'm trying to add code to my presentation template, so when a page has multiple content items, I grab the most recent value of all 'last modified dates' for the content items on the page, so this would essentially display the page's last modified date. The approach I'm trying involves outputting the modified date for each content item into a format I can sort in a javascript function, then retrieve the most recent value to display at the bottom of the page's content. In this case, I figured the best manner to sort the items easily would be to display the date in milliseconds, then sort, and finally convert the most recent modified date into mmmm dd, yyyy hh:mm AM/PM format.
    I see there is a method to obtain this date in millseconds (since January 1, 1970) format in javascript, however, is there a way to do this using the adaptive tag <pcs:value expr="modified" format="____________">?
    If not, is there a better way to obtain dates for sorting in a javascript function, so can obtain the entire date, hours, and minutes? I did find one method that grabs the month, day, and year, but not the hours and minutes.
    Thanks!

    Hi Suman/Jeedesh,
    As per Pco notification, it will trigger whenever any of the tag value changes in Agent instance subscription items.
    For above issue, My suggestion
    1. Create DB table name TAGLIST with 200 tags as rows in columns (Tagname, TagValue)
    2. Based on notification trigger, create a transaction and update values w.r.t TagNames in above table
    3. Next time, when notification trigger with fresh value for any of the tag, cross check with existing TagName with Value and update in DB table.
    4. And in the mean time, send those Tag details vie mail trigger or as per requirement
    Instead of creating 200 notification, above is a just alternate way suggestion to achieve dynamic tag value change notification.
    Hope it might solve your problem
    Regards,
    Praveen Reddy

  • How to generate 3 phase sine wave to output on ELVIS

    Hi .I need to make a star or delta connected circuit on ELVIS board.2 make this circuit I need 3 wave generator( with 120 phase shift) and one common ground
    and because the ELVIS function generator can only generate one wave I decided to generate countionuos sine wave in Labview.
    Now I can generate 2 continuis sine wave in labview and output them on the analog outputs of ELVIS.Ao-0 and A0-1
    but I dont know what to do for the third signal.the elvis board just has 2 analouge output and when I use  Ao-0 and A0-1 I cant use ELVIS function generator after that.so would u please help me on this problem.how can I output 3 contious sine wave in Elvis.I have attached my VI to this post
    Attachments:
    new.vi ‏38 KB

    Hi, I am also having some problem in generating two signals from two AO. Could you please tell me how to generate two different signals from two AO. I have attached vi which generate square wave from one AO 0. I need the inverted signal in AO 1. 
    Attachments:
    Pulse Width Modulation.vi ‏48 KB

  • Determine phase shift ben input & output

    hello guys,
    I want to determine the phase shift between input and output signals. I want to measure the phase difference as lomg as I apply input. And save that to a file for reveiwing it later.Can anyone please help me with that. I am using Labview 7.1.
    Thanks,
      Jinal    

    Hi Jinio,
    Please take a look at the following KnowledgeBase article:
    How Can I Determine Phase Mismatch Between Two Channels?

  • XML value outputting

    I am not that familiar with XML outputs and can handle basic
    outputs, but am having issues with the child.
    I want the sub value of Picture Large Width and Height. How?
    Thanks in advance.

    > I want the sub value of Picture Large Width and Height.
    How?
    Have you tried reading the docs? That might clarify things
    for you:
    http://livedocs.adobe.com/coldfusion/8/XML_01.html
    It's all in there, but sing out if anything's unclear.
    Adam

  • Query value output should be positive

    Hello ,
    I am working on one finance query and requiremnt is that query out for that report must be positive value even it takes negative value.
    Is there any way to get positive value?
    Thanks
    CPY

    Kevin,
    I would definitely reinstall Lookout -- whether it be 4.5 or 5.0.  Uninstall 4.5 first.  Also, the following KB may be of interest.
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • ME81N - Analysis of Order Values - output format problem

    Hi all,
    In transaction ME81N, we are unable to change the output format to a different type of output such as a File Store, Excel file etc.
    All the options appear to be greyed out and it defaults only to SAP List Viewer.
    Do you know why we are unable to modify this option and whether there is an issue with this? Or whether this is restricted via other means?
    thanks and regards

    I think you are looking for diff one
    you are having the issue on the first screen it self.
    To resolve that issue go to header and click on GOTO-Variants- save as variant
    here you will see the std SAP variant SAP&BEWA
    go to the bottom screen
    Now scroll down the botton screen where you can find the all the fields you are looking as Protected and hide
    uncheck all the filels which you want as protected and hide
    and save the variant then go back to ME81N main screen and you will see that selectio is available.
    sorry for confusion

  • This is Regarding wants table values output into HTML formate

    Hello Experts,
    can you please help me regarding this,i want table valuees in to HTML formate,so can you please tell solution ,is there any FM or any other solution for geeting Table values in HTML formate.please suggest me
    Thanks and regards,
    durga.k

    dketcham wrote:
    cotton.m wrote:
    >
    2) I'm looking at how you called stuff, and you're trying to call the jsp file as an image? That jsp isn't the source of the image, just a page linking to an image. I think if you really want to do things that way you're going to need to just include that jsp within the jsp you're calling it from (or you can do it the easy way, and if you have the information to get the path of the image you want, you could simply call the image from the first jsp you posted)This is incorrect.
    There are two JSPs. The second when called will (if it worked) return the source of an image as stored in the database.even when called with <img src=xx.jsp>??
    Yes.
    If any of what I say next seems obvious or otherwise negative I apologize, just trying to explain and I don't know what you know vs what you don't.
    The link in the src is just a URL not a filetype. So just because it ends with JSP does not mean it has to return HTML. The content type is determined by the browser using the Content-Type header returned by the server in the HTTP response. In this case the header is set to be a jpeg so that's what the browser will attempt to interpret the content part of the response as.
    So in fact one is not limited to just HTML or images but whatever content type you would like to return (that the browser can understand anyway). This could be HTML or it could be an image of some type or it could be a PDF or it could be an Excel spreadsheet. All you have to do in the JSP is set the header appropriately and then send content that is actually in that format.
    This does not just apply to JSP by the way but all other web programming languages. You can do similar things to produce the same results in PHP, Perl, ASP etc.
    The only JSP/Servlet complication is whether or not doing this in a JSP is a "good" idea but I am not an expert enough at that to make a definitive statement. Mostly though JDBC in a JSP is a no-no.

  • How do I dynamically set channel gain(s) on an SCXI-1100?

    I am using a PCI 6036E with an SCXI-1100 to multiplex trough 25-32 channels with low current signals from a photodiode array. I tried using the DAQ Assistant Express to measure current, but it won't let me do the following (even when I convert it to a standard subVI):
    1) Select shunt resistor values greater than 1kOhm. (I am using 100MOhm resistors to get the highest gain possible from the low current photodiodes. I want to be able to programatically adjust the gain depending on the different low intensity light sources).
    2) Change the gain selection so I can programatically create an auto range select.
    John Feiereisen posted a question "Can I set dynamic gains on an SCXI-1100?" on 11/24/1999 wherein he stat
    ed:
    "In the past I used a single SCXI-1100 as a 'dumb' mux/amp by passing the OUTPUT and AOREF lines to the front panel connector (jumpers W7 & W8), controlling the SCXI with an MIO-16, and passing the mux'ed output to an A2000 with a BNC cable. I pulled CINs out of some LabVIEW-supplied VIs (v2.2?) to select channel and gain. This setup worked great and allowed me to march through a bunch of transducers and select an appropriate gain for each one. (And allowed much faster acquisition rates than if I did the A/D with the MIO-16.)"
    It says that he was able to do what I want to do, but I don't understand how he did it.
    Any suggestions or sample code? What is a MIO and a CIN anyways?
    Thanks

    Hey Biobartman,
    I tested creating a current global channel in MAX using NI-DAQ 7.1 and it did not have a problem using a 100 MOhm external shunt resistor. However, you do need to make sure that the current range is equal to or smaller than +/-100 nA. MAX calculates the voltage range by multiplying the shunt by the current range. The voltage range must be equal or smaller that +/-10 V.
    The gain for the DAQ device can not be programmatically changed. You must change the minimum and maximum range in order the change the gain settings used on the DAQ device in DAQmx. However, you can change the SCXI gain settings programmatically when the task is not running using the Channel Property Node. The property can be found under Analog Input: General Properties:
    Advanced: Gain: Gain Value.
    I hope this helps out.
    Joshua P.
    Application Engineering
    National Instruments

  • LWAPP/CAPWAP Antenna Gain Setting - label only?

    When configuring an AP external antenna gain (from a WLC), is the gain assigned purely a label to show its gain, or does it actually wind down the transmitter output by the dB amount that is input in to the gain field?
    For instance, my Tx power is set to 2 (17dBm), and I attached a 2.2dBi antenna.
    My ERP would now be 19.2dBm.
    Does the antenna gain value I enter (4 x 0.5) actually cause the AP to lower its output power by 2.2dB to cater for the fact that I have attached a 2.2)dB antenna and maintain its 17dBm output? (...OK, I know 4 x 0.5 will give 2dB, but lets talk in round numbers)
    So in summary:
    AP tx pwr = 17dB
    Physical antenna gain = 2.2dBi
    AP configured antenna gain = 4 x 0.5 (2dB).
    What is the effective radiated power? 19.2dBm, or auto-lowered to 17dBm?
    Thanks
    Nigel.

    This setting effects the heat map predictions in WCS. It also comes into play with the RRM calculations and with some AP's will be considered for controlling the RF power.

  • Trouble changing gain setting on SCXI-1122

    Attempting to change module gain using MAX 3.0.1 or the SCXI_Set_Gain function of nidaq32.dll with LabVIEW 6.1 generally has no results. Occasionally a gain change through MAX is accepted if the SCXI Chassis is turned off and back on after the gain change is made. The SCXI-1122 module is in slot 1 of an SCXI-1000 chassis and is connected to a PCI-6031E card. Operating system is Windows XP. Any ideas as to what might be wrong?

    Dear DTI1
    Thank you for choosing National Instruments Support!
    The SCXI 1122 does not allow you to choose the gain -- even though the documentation says "Programmatically Selectable". What this actually means is that when you specify a range to acquire, the NI-DAQmx driver will decide what gain to set.
    You can however get access to this gain value by using property nodes. Hence, if your range is constant, the gain will remain the same, no matter where you try to change it.
    Hope this helps!
    Thanks and Regards
    Shekhar S
    National Instruments

  • Antenna gain question

    We have a 1242 AP and an ANT2506 external antenna. From what I've read I want to use a gain value of 10 for this antenna. However, there will be a 50 ft cable (AIR-CAB050LL) between antenna and access point. Do we need to adjust the gain setting for the cable?                  

    Here is a link regarding low loss cable
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_tech_note09186a00801c12c2.shtml
    Online calculator:
    http://www.timesmicrowave.com/cgi-bin/calculate.pl
    Cisco uses LMR-400-DB for <50'
    Thanks,
    Scott
    Help out other by using the rating system and marking answered questions as "Answered"

  • SVT 3.1 FFT Spectrum Magnitude VI output is RMS or Peak (db OFF)

    Please help with my SVT problem:
    1. With db OFF, what magnitude EU value does the SVT 3.1 FFT Spectrum VI output?  More to the point, is the EU an rms value or peak value? I thought it was rms but now I'm not sure.
    2. When I double integrate acceleration values to get displacement then feed the displacement waveform to this FFT Spectrum VI, I seem to get high displacement values compared to other portable analyzers in our shop. If the output of the FFT Spectrum VI is for example, mils rms (single sided) I have to convert this to peak-to-peak values. So I multiply the each spectrum value by 1.414 (to get peak) then by 2 for peak-to-peak. Is there a more accurate way to get peak-to-peak displacement values from an acceleration waveform?
    thanks,
    Glen

    Hi Glen,
    There are several FFT-based VIs in LabVIEW and the output units of each function is different.
    The following table will give you a better idea of what each function does. In your case you might be better off using the FFT VI that comes with the Signal Processing toolkit since you are looking for Volts output instead of the Vrms given by the FFT Spectrum functions.
    If you have doubts about the units returned on a specific function I recommend using the Context Help in LabVIEW. As shown on the image below this gives you more information about the function and the variables used/returned by it. You can open Context Help by going to Help>>Context Help in LabVIEW.
    Hope this helps. Regards,
    Tica T
    Applications Engineer
    Message Edited by Tica T on 04-04-2006 10:38 AM
    Attachments:
    units.JPG ‏50 KB
    functions.JPG ‏85 KB

Maybe you are looking for

  • Duplicate Function Modules

    This is quite a complicated problem and Iu2019ve tried to simplify a bit. I created a custom FM (Z_FM_1) in a custom function group. When I try to activate it, I get a syntax error u201CINCLUDE  LZRB1$11 - A function already exists with the name Z_FM

  • ASSET COST ADJUSTMENTS 시 생성되는 분개

    제품 : FIN_FA 작성날짜 : 2003-12-02 ASSET COST ADJUSTMENTS 시 생성되는 분개 ================================== PURPOSE Cost Adjustment시 GL에 생성되는 분개를 소개하는 Note입니다. Explanation 자신이 취득된 Period에는 Jornal Entries 가 생기지 않습니다. 해당되는 Journal Entries는 취득후 첫번째 감가상각 Proecss 에

  • Level Base Hierarchy???

    Hi, I have two dimension tables which have join relation in physical layer, and now on top of this 2 tables i need to create Level Base Hierarchy in BMM Layer. By Maintaining single Logical table with all the required columns from 2 tables (using Mul

  • Footer for Adobe/PDF Form

    Hi, I have a requirement of designing a print PDF form which has two footers say Foot1 and Foot2. If data flows to subsequent pages than last page should display Foot2 and all other pages should display Foot1. If data doesn't flow then the only page

  • Cisco disaster recovery design

    Dears, I need helping for designing disaster recovery between two sites. The customer want 2 cisco catalyst 6500 series switch as core devices at each sites. designing physical and logical connection between two 6500 swiches at each sites?(solution1)