01-06-2011 07:06 PM - edited 01-06-2011 07:07 PM
I'll add, that if AI and AO are going at the same rate (e.g. with a shared sample clock) then you would only have one sample per AO transition so you wouldn't have the problem of being off by half of the period of your AO update.
01-06-2011 10:46 PM
okay. sorry to complicating the matters as this is my first experience using the LabVIEW.
Based on my DAQ card capability with 10kS/s for generating rate and acquiring rate at 250kS/s, I want to create 320Hz sine wave as a reference signal internally for my lock-in LabVIEW amplifier.
The problem now, I cannot used shared sample clock scheme because the lock-in LabVIEW need at least 50kHz sampling rate to avoid the status error of that lock-in LabVIEW. It means that I cannot used the same rate for AI and AO for this case.
If my DAQ card have a capability to support at least 50kHz sample rate for both AI & AO, then I think it is okay to shared sample clock.
Your help is very much appreciated.
01-07-2011 10:43 AM
Take a look at your parameters again, you can still bump up the AO rate by an order of magnitude. The rate is currently set at 1k instead of 10k.
Nonetheless, it's important to realize that a DAQ card is not the same thing as a function generator. The "sine wave" output is really just a series of voltage updates which probably isn't clean enough to use as the reference for a lock-in amplifier. The recommended hardware for this would be a DSA card.
Best Regards,