LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help with serial

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:

0 Kudos
Message 31 of 46
(1,627 Views)

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

0 Kudos
Message 32 of 46
(1,611 Views)

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.

0 Kudos
Message 33 of 46
(1,603 Views)

which function in wave form do that

i cant connect string with any function or build digital waveform

0 Kudos
Message 34 of 46
(1,564 Views)

"You must specify the amount of time between the points in the array"

i think this will change frequency of input signal

0 Kudos
Message 35 of 46
(1,556 Views)

 


@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.

 

0 Kudos
Message 36 of 46
(1,552 Views)

i dont know how

0 Kudos
Message 37 of 46
(1,534 Views)

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

0 Kudos
Message 38 of 46
(1,513 Views)

yes i read it but an di tried to find solution .but i cant find any function do that

0 Kudos
Message 39 of 46
(1,509 Views)

Do a search on your function palette on the block diagram for "Build Waveform".

 

Or look on the Waveform palette.

0 Kudos
Message 40 of 46
(1,505 Views)