07-30-2007 02:54 PM
07-30-2007 04:35 PM
07-31-2007 06:58 AM
07-31-2007 09:18 AM
Andy-
When I looked at the example, I found that it operates differently than I thought. Allow me to be more specific on my application.
On the Tx side, I'm generating packets on a software script trigger. I also export that software script trigger to the PFI line...and use it to trigger acquisition of my Rx code.
The example code you provided allows making the delay longer between trigger and generation. I'd wish to make them shorter.
As you mentioned previously, there's a propagation delay that I won't be able to get around. This is fine...so...it looks like we need to have the Rx shorten up the time between trigger and data. The RFSA VI's have a "trigger delay" option which tells the A/D how long to wait between trigger and acquisition....which is ideal...however not supported with the 5420 A/D. I looked into trying to write a script that would receive the trigger...wait some...then start acquisition...but it seems like scripting is a generation feature only. Perhaps I'm wrong here.
In any case...it looks like the only way to do it is in software by detecting where samples with zero magnitude end, and the ones with >0 magnitude begin. Then of course is my question above...which is why the demod VI gets spoiled when I send in zero magnitude data.
A related question...for a long time...I thought the "Waveform Quantum" was a property of the modulation scheme (i.e. bits/symbol). While out of context this is partly true...it is NOT the same Waveform Quantum that the RFSG VI's consider...rather it's a hardware characteristic. I've been searching the help documents for some info on this other than "it's the number your data size has to be an integer multiple of". Anyway, the Waveform Quantum seems to suggest that each time LabView goes to the buffer...it grabs 4 samples at a time...so make sure there are always 4 samples there to get. My question is....why only 4?
Thanks.
BC