I have an NI PXI-5122 and want to look at frequency, gain in db and phase margin to test out it's capabilities. I have no DUT. Using a frequency synthesizer to generate a 10MHz signal to channel 0 of the 5122 Is there a canned vi to start from?
As mentioned above, the NI-SCOPE examples are the best place to start. Particularly for measuring frequency, you can start with "niScope EX Measurement Library.vi" and "niScope EX Advanced Measurement Library.vi". Good luck! Josh