DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

diadem graph based on one channel resulting in multiple lines

Hi!
I'm new to diadem and have a question regarding creating graphs in diadem 10.2. I have created a channel and viewing results from the channel in a graph. The graph has text as x-channel and numeric results as y-channel (Pareto?). Now I want each new result corresponding to one label in the x-channel to be a new line in the graph, i.e. ten labels with 2 different results at each label (corresponding to two samples) should result in to lines in the graph. How can this be done in Diadem?
Please help
Thanks,
Eirin
0 Kudos
Message 1 of 5
(4,132 Views)

Hi EirinLei,

I'm afraid I'm not quite sure what you mean.  Is there any way you could send a picture of what you want and/or post the data set you are talking about?  You say that you already have Text on the X axis and numeric values on the Y axis, but what you want is one "line" on the Y axis for each X value.  Is this line vertical, like a Histogram, or is the line horizontal and connected to the other lines to make a single trace/curve?  What is different between what you already have and what you want?

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 5
(4,121 Views)
Hi!
I'll try to explain my problem better: I have a channel with 20 results, the results are linked to two different samples, sample1(repeated ten times)=ten results, one for each parameter(parameter = x-axis), sample2= new ten results for the same parameters. I need to generate a new curve in the graph per sample, resulting in two curves. The problem I have is that I generate two curves (I think...) but the results on each curve are identical, the graph plots only the ten first values for both curves. I need a loop that writes the correct values for each sample to the curve, so when the samplename changes value a new curve in the graph is generated plotting the next ten values. I have added my code so you can look at it.
Thank you 🙂
Eirin
0 Kudos
Message 3 of 5
(4,116 Views)

Hi EirinLei,

Thank you for the data file-- that helped a lot.  Here is a VBScript I wrote which breaks the data out into multiple Groups based on the value of one of the channels.

Ask if you have additional questions,
Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 4 of 5
(4,093 Views)

Hi Brad!

Thank you so much for your help (clever solution by the way) Smiley Very Happy

Eirin

0 Kudos
Message 5 of 5
(4,085 Views)