07-07-2013 09:13 AM
Hey Brad,
You read between the lines (of my questions) 🙂
07-08-2013 07:21 AM - edited 07-08-2013 07:49 AM
Hello,
I'm currently using DIAdem 11.0 and I do not know what CTRL-A remarks are. CTRL-A selects everything I wrote, at least with my computer.
Other than my previous questions with the multi plot, I would have another one. The purpose of this thread is to plot 1 curve, then plot 2 (or more) cross-marked points above it. That's why I asked you how to to draw 2 curves. But it just occured to me that, in order to draw 2 points somewhere om the graph, I need to use a Waveform Channel, because the x values are not 1 and 2 but 56 and 307 for instance. So I tried to convert my Channel into a Waveform Channel thanks to the ChnWfPropSet command, but I do not really know what to put in argument 2 and on. Besides I do not even know how to modify x-values with Waveform Channels. You do not need to give me the right script for this, but a link / tutorial dealing with this would be much appreciated !
Thank you for the help you already provided 🙂
Edit : oh wait, I think I found it.
Call ChnAlloc(ChanXValue, 14, 1, , , 0) 'Creates a Channel for x values. Call ChnAlloc(ChanYValue, 14, 1, , , 0) 'Creates a Channel for y values. [. . .] Call ChnToWfChn("ChanXValue", "ChanYValue")
07-08-2013 09:00 AM - edited 07-08-2013 09:30 AM
Actually I've managed to dodge the problem> I'm using a normal Channel and put NoValue most of the time, but on particular x values> Now I would only need to know how to put cross markers.
07-08-2013 10:23 AM
Sorry for posting again and again but since I cannot modify my previous messages, I am forced to do so.
So my script works perfectly well thanks to you 🙂 but the cross marker thing. It actually does not need to be cross-marked, maybe bigger points would be enough. The goal is to see them, that's all. If you know any way to deal with that, feel free to tell me, because so far I can hardly see them as they are very small. The only thing that lets me see them are actually their color, which is different than the color of the curve.
Thanks
07-08-2013 11:03 AM
If your amount of channels to be plotted is fixed, then the easiest approach would be to modify the Report Layout (so that it shows markers) and save it.
In your script you would just have to make sure you load the right Report Layout (.tdr) file and it should do the trick.
How to load a report layout in DIAdem 2011 can be found over here:
http://zone.ni.com/reference/en-XX/help/370859J-01/comoff/picload/