DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

comapre 2 same channels from two different dat filea

Hi ,

I want to compare the wave forms of two same channels names (in my sample data which is in attachment, the same channel names are S1KNSLLE00H3DSZP) from different dat  file(S2100044 and S2100041) .

 

Load the 2 dat files from navigator.

Come to report and open two 2d axis systems to see the wave forms of two different channels ( Like in attachment result.jpg)

 

I need an autosequence to do the same for all the channels for 2 dat files automatically.

Download All
0 Kudos
Message 1 of 3
(3,650 Views)

Hi RSH,

 

I appreciate you posting 2 data files and the jpg, but I'm afraid I still have lots of questions before I can advise you.  You sent 2 *.dat files which each had 1 channel in them named "Data", which is different from your email text and the jpg you posted.  Will your data sets typically have many channels in them?  Your posted *.dat files had no time channel and the "Data" channel was not a waveform channel, yet the 2 different "Data" channels were different lengths.  Do you want to plot your channels vs. the array index all the time (as is shown in your jpg)?

 

Do you want to have N sheets in REPORT, one for each channel?  Why don't you want to have both "S1KNSLLE00H3DSZP" channels as curves with different colors on the same graph-- wouldn't that make it easier to compare them?

 

When you drag over the data channel onto a REPORT graph, you will get a reference like "[1]/Data" or "[2]/Data", which is exactly what you want to compare the "Data" channel from 2 arbitrary data files (note that the file name does not show up in the channel references).  So it seems to me that the REPORT layout you sent a jpg of already satisfies what you're asking us to create for you.  Why do you need a script at all?

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 3
(3,620 Views)

Hi Brad,

 

Exactly, I want to have N sheets in REPORT, one for each channel.  And as you said,make it easier to compare them if I have both "S1KNSLLE00H3DSZP" channels as curves with different colors on the same graph. So I want to do like this instead of 2 different axis forms which is shown in my jpg.

 

I need a script for this because each dat file has number of channels in it and each time i have to compare them manually(go to channel name , drag them n all). Instead if i have a script which does it automatically would save my time. 

 

000000000000TI00 is the time channel I believe which is shown in attachment. 

 

0 Kudos
Message 3 of 3
(3,588 Views)