06-22-2011 02:59 PM
I have a PXI-5406 which I am using to generate sinewaves in the frequency list mode. I use a software trigger to step through the frequency list (see shipped example "Fgen Sweep Generator.vi"). Now I would like some way of reading which frequency the hardware is generating from the frequency list. In the standard mode it appears you can use niFgen.Frequency to pull it off. This, however, does not seem to work in frequency list mode. Does anyone know of a good way to read that frequency value from hardware without manually indexing through the original list passed into the create list vi?
06-23-2011 05:38 PM
Hi manjagu,
Unfortunately, there is no easy way to read the frequency that is comparable to the property node found in the standard function mode. However, you can create a software workaround to display the correct index of the array that is being output based on the number of times you send the software trigger. For example, you could place a software trigger in a while loop and use the index number of the while loop to index your frequency array.
06-23-2011 05:46 PM