07-03-2011 01:47 AM
The signal coming from the microphone input of the DSP module, displayed on Waveform Graph, is "slipping".
How can I syncronize the analog input?
Thank you!
07-03-2011 08:17 AM
Synchronization can be done in hardware (usually) and software. However, you have not given us enough information to help you. Please tell us what hardware you are using and how you are using it (wiring, software, drivers, etc.). Also tell us what you mean by "synchronization." Then we can help you properly.
LabVIEW has a variety of ways to trigger waveforms, if that is all you need. Search for "trigger" in the palettes.
07-06-2011 12:01 PM
Hi DFGray!
I have uploaded a video, hopefully it showes my problem.
Here it is: http://www.youtube.com/watch?v=DVgv3WH3Y2U
I use Speedy 33 module, external signal generator, and microphone.
I would like to have a "standing" picture.
I do not know how I should adjust the 'trigger', I do not find it.
Thank you very much for the help!
07-06-2011 01:15 PM
I have never used the Speedy 33 module, so cannot comment on its capabilites, but would not be surprised if there is no trigger on the microphone input. Most hardware does not have one there. However, you can use the Trigger and Gate Express VI to do what you want to do in software. See the LabVIEW help for details. Let us know if you run into problems.
07-07-2011 01:05 AM
The "Trigger and Gate" I can not use.
Block diagram error: SubVI is not exetutable!
The trigger problem exists on both inputs.
Is there another solution?
07-07-2011 08:44 AM
That's odd. What version of LabVIEW are you using? And do you have the base, full, professional, or student version of it? It sounds like you are either missing something or not generating the code for the Express VI correctly. If you have the base version of LabVIEW, this could be why. Did you get a configuration dialog when you dropped the Express VI? In any case, please post your code so we can have a look.
Basic Level Trigger Detection will also allow you to find a particular start point of a waveform. However, if you want a particular length of signal or pretrigger data, you will need to buffer it yourself (the Trigger and Gate Express VI does this for you). If you go this route and need to know how to buffer things, let us know.
07-08-2011 04:27 AM
In DSP project such opportunities are not!
If this is not a simple solution, it's a big problem.
Without any timing will not work.
07-08-2011 07:47 AM
Ahh! You are doing this on the DSP itself. That would explain the Express VI problem, since you probably do not have floating point available. A simple level trigger is not hard to code using integer math. You can use the VIs I mentioned above as a guide (the algorithms should work well with integers as well as floating point) or just do it yourself. A possible algorithm for a positive going edge trigger is the following:
If you run into issues, let us know. Remember that shift registers are your friend.