07-14-2010 01:32 PM - edited 07-14-2010 01:33 PM
Well, you're still not saying what the error is. What was the message? What was the code? We are not mind readers.
As for the frequency measurement you need a timebase. Otherwise you just have an array of numbers. You would need to create a waveform datatype:
07-14-2010 04:02 PM
when im put tone to measure frequency it give me the wrong read (.01)
i dont know how to adjust it
for error message
the program stoped and say "visa cant read hex file "i think this message appear if any error happened
dont care about it i used basic read and it work well
but the frequency not true what is timing
07-14-2010 05:15 PM
I never heard of that error message. Are you sure you read that right?
You can't "adjust" the Tone Measurement VI. You have to provide timing information for your array of values. Think about it: Frequency is a measure of how fast something is changing. How can you calculate how fast something is changing, if you have no timing information to specifiy the amount of time between consecutive points in your array? Answer: you can't. You must specify the amount of time between the points in the array. The waveform datatype contains timing information. You can use the Build Waveform to build a waveform datatype. An example ships with LabVIEW showing you how to create the waveform datatype. You can open the example directly from the help page for the Build Waveform function.
07-16-2010 02:50 PM
which function in wave form do that
i cant connect string with any function or build digital waveform
07-16-2010 03:06 PM
"You must specify the amount of time between the points in the array"
i think this will change frequency of input signal
07-16-2010 03:10 PM
@sfhj wrote:
"You must specify the amount of time between the points in the array"
i think this will change frequency of input signal
That's the whole point. Without the time between samples information, there is no way to determine the frequency of the signal. If you do specify it, then your frequency measurement will be accurate.
07-17-2010 01:55 AM
i dont know how
07-17-2010 10:29 AM
Have you tried using the information Smercurio gave you in message #33?
Have you taken any time to do any LabVIEW tutorials?
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
07-17-2010 10:47 AM
yes i read it but an di tried to find solution .but i cant find any function do that
07-17-2010 10:53 AM
Do a search on your function palette on the block diagram for "Build Waveform".
Or look on the Waveform palette.