09-11-2009 09:43 AM
The problem with doing a loop within TestStand calling the standard Ivi FGen function is that it takes 0.3 seconds approx to call the step within each loop. I am therefore unable to perform a smooth fast sweep (typically 300 Hz/sec, 1Khz to 2Khz) & record accurately the frequency where a i/o point switches within this sweep.
09-11-2009 10:25 AM - edited 09-11-2009 10:26 AM
I'm not sure why calling a single step would take so long but I have no way to test it right now. Perhaps you should forget about IVI and use the NI-Fgen functions instead. That allows you to load an array of frequencies and is documented in the example that comes with LabVIEW.
If you absolutely have to use IVI, then
1) you can see whether you can use the RFSigGen class with a driver written for a different class. This would have to be done in a code step since there is no RFSigGen step in TestStand.
2) Do a loop in TestStand calling the IVI Step.
3) Petition the IVI foundation to add a sweep function to the class. Since they are not noted for speedy decisions, you might have to wait a couple of years before this happens.