I can see the functions awvPlaceXMarker and awvPlaceYMarker, as well as awvCrossHairDeleteList.
How do I add a crosshair marker that's identical to what I get when I press M in a plot? I could use this in conjuction with value() and cross() functions.
There's currently no SKILL API to add point markers, unfortunately. Please contact customer support - I'm pretty certain this is in the list of things requested (we plan to tidy up the various SKILL interfaces to ViVA as there are a lot of legacy functions which date from the old AWD days, and also new functionality in ViVA which requires a clean API to access them; however, the first focus was to get the new ViVA graph solid and with a clean use model, and then add the SKILL interface afterwards).
This seems to still be an issue, 4 years later. Are there any plans to fix this? I just submitted another support request for it.
Actually, support pointed me to the following function that seems to work ok.
awvPlaceWaveformLabel( awvGetCurrentWindow() 1 list( 1.2u 200m ) "PointMarker %X %Y" nil)
I wish there was a way you could specify the marker according to the Y value, an option available when editing a marker in the gui. The function above will set the marker at x = 1.2u and Y = Trace1 Y Value (not 200m)