12-06-2011 11:57 AM
Hi is anyone watching here? I really need help
in this vi I don't know why multiply make error
error massege say "LabVIEW: (Hex 0xFFFFF8F6) Waveforms have different dt values." but both of them dynamic data
please answer me
12-06-2011 12:19 PM
It would have better to design this using a state machine with an enum to select between "Incoding", play, and demod.
Your three controls are locked in a while loop (with no delay none the less which will eat up processor time), and then execute the appropriate case structure based on the selection. The problem with your design is there is no way to go back and select another button. Label your buttons accordingly so they match what is on your FP.
From what I gather, your dt values of your dynamic data must match. Your dt for Sim Signal is 0.00001 and for the modulated signal is 0.000045.
12-06-2011 12:27 PM
@beramodo wrote:
Hi is anyone watching here? I really need help
in this vi I don't know why multiply make error
error massege say "LabVIEW: (Hex 0xFFFFF8F6) Waveforms have different dt values." but both of them dynamic data
please answer me
We gotta love those Dynamic Data wires. In this instance the muliply has to look into the Dynamic Data to understand what you want to do It sees that the data is a 1d Waveform of sine at a 100000 sample rate and a 1d waveform of data at a rate of 22050 samples per second. Multiply won't touch stuff like that. Try resampling your audio to 100000S/sec. The andvanced wavform annalisys library has a few functions that do this if your LabVIEW package encluded the advanced functions (not in Base or Student)
12-06-2011 12:33 PM
@Jeff Bohrer wrote:
The andvanced wavform annalisys library has a few functions that do this if your LabVIEW package encluded the advanced functions (not in Base or Student)
(I am pretty sure the student edition has those)
There is also the align and resample express VI.
12-06-2011 12:39 PM
I fixed to sample rate to 100,000 and this is working!!!
OMG What did i do for 36hours?
before fix 100,000 I fixed 44,000
I can't understand why it couldn't working in 44,000 sample rate
anyway thank you so much for answering