05-12-2012 04:37 AM
Dear Sir
I am using LabVIEW8.2 and USB1208FS for data acquisition. I have successfully configured hardware with LabVIEW and get real time data using universal library VI AInScBg.vi. When I plot my signal on waveform (frequency vs amplitude) then on x-axis frequency is from 0~0.49 hz. I change the sampling rate from 1000hz to 4000hz but on x-axis no change of frequency occours and it is fixed 0.49hz. Can you please guide me how can I get frequency of my own interest on x-axis.
I am attaching LabVIEW fille for reference.
Kind Regards
Muhammad Irfan
Student
UTP Malaysia
0060149087570
Solved! Go to Solution.
05-12-2012 12:33 PM
Simply changing the text label of the x axis to frequency does not automatically make the calculation correct. You are not passing in any sampling information into the spectrum function so you are not getting any frequency information out. You can see the coercion dot on the input . The function expects a waveform data type as an input. Without it, the dt is going to default to 1. So, use the Build Waveform function and add the dt information to it as well as your Y array.
05-13-2012 12:15 AM
Dear Sir
I am very much thankful to you. My problem is solved.
Kind Regards
Muhammad Irfan
05-13-2012 10:23 PM
Then please mark Dennis' message as the solution to your question rather than your own thank you message. First you will need to go to the options menu to the upper right of your message and click Unmark as Solution.
05-13-2012 11:24 PM
Dear Sir
I have already mark it as accepted solution
05-13-2012 11:36 PM
You marked yours Unmark your post and Mark Dennis Post as solution that would be helpfull for others to spot out the solution easily.
05-14-2012 12:02 AM
Dear Sir
I do it. Thankyou very much for guidence