LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sinad

 I am finding sinad of signal. When I am using MATLAB function of sinad it gives its sinad to be 68dB and when I am using labview sinad block it gives its sinad to be 45dB. Can u please guide what could be possible reason ? I have changed export mode to every option available but it still gives the same. I have also changed advance search option. Still no change. 

0 Kudos
Message 1 of 5
(918 Views)

You have not show us how you are using LabVIEW. We can't even tell what result (68 or 45) you consider correct.

 

Can you attach your VI and some typical data?

0 Kudos
Message 2 of 5
(909 Views)

Actually 68db is much closer and better result. What actually I am doing is. I have the file of data acquired saved as excel format. Now I uploaded that file in MATLAB and used a function X= sinad(y,Fs) . And same I am doing on labview . I am uploading the excel file and getting it's waveform and then using sinad block simply to get the sinad. Now in labview I am not setting any Fs before getting the sinad because I don't know how to set that. 

0 Kudos
Message 3 of 5
(892 Views)

Since you are a new member of the LabVIEW Forum, you might not know how best to help us help you.

 

Please:

  • Tell us about the operating system of your computer and the version of LabVIEW you are using.  A typical example would be "Windows 10, 64 bit, with LabVIEW 2023, 32-bit".  [Note that many, perhaps most, LabVIEW users, myself included, use 32-bit LabVIEW].
  • Attach the code that you want us to help you create or "improve" (i.e. do what you want it to do, not what you tell it to do).  Since many of the long-time LabVIEW developers who try to provide help/advice on the Forums do not upgrade (or purchase) LabVIEW every year, and "old LabVIEW versions" cannot open "new LabVIEW" code, if you are using LabVIEW 2022 or 2023, you should go to the File menu and "Save for Previous Version", using LabVIEW 2019 or 2021.
  • "Pictures" (.PNG)  of your Front Panel and/or Block Diagram are not as helpful as LabVIEW .vi files.  We cannot "edit" a picture, nor can we "test" it.  [This isn't strictly true, but I'm "keeping it simple"].
  • If your question involves processing data, a file (or other example) of typical data can be helpful.

Bob Schor

0 Kudos
Message 4 of 5
(888 Views)

@77hybbr wrote:

Actually 68db is much closer and better result. What actually I am doing is. I have the file of data acquired saved as excel format. Now I uploaded that file in MATLAB and used a function X= sinad(y,Fs) . And same I am doing on labview . I am uploading the excel file and getting it's waveform and then using sinad block simply to get the sinad. Now in labview I am not setting any Fs before getting the sinad because I don't know how to set that. 


Depending on your implementation the Fs is set as dt when you read the signal as Analog Waveform.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 5
(847 Views)