DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Plot

Solved!
Go to solution

Hey Brad,

 

You read between the lines (of my questions) 🙂

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 11 of 15
(2,712 Views)

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")

 

0 Kudos
Message 12 of 15
(2,704 Views)

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.

0 Kudos
Message 13 of 15
(2,695 Views)

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

0 Kudos
Message 14 of 15
(2,689 Views)

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/

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 15 of 15
(2,687 Views)