Hello,
I have the need to be able to add a cursor to a graph programmatically. I have a waterfall frequency-time display that I would like to quickly add/delete cursors in order to measure symbol rates of incoming IQ data. Using the graph cursor palette takes too long. After browsing around the forums I have found several examples on how to programmatically add a cursor using the cursor list property node but none of them use a keyboard shortcut. Preferrably I would like one key, say "c", to create a cursor at the center of the plot and another key, say "d", to delete the active cursor. I found one example that uses the mouse down event in order to programmatically move the cursor as well as to set a cursor active if the mouse is directly on it. So, using the mouse to add/delete a cursor probably won't work since I would like to combine all of the above functionality. Has anyone tried this with cursors before?
Thanks,
Tim S.
Tim Sileo | RF Apps Engineer | NI/Emerson | ADG Business Unit