DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

autosequence (Classification data)

Hello.
 
I am beginner in the Diadem Scripts ans I am facing some trouble. I started the recording mode to performe several data classification in the differents data channel. The problem is that the result channels overwrite each other !!! Only the last classification appears in the data matrix.
What am I doing wrong ?
attached is the script I've recorderded as weel as a sample data with the result channel overwritten.
 
Thanks in advance
0 Kudos
Message 1 of 6
(4,633 Views)

RMOZARD,

Could you please send the files ? I couldn't find any attachment in your recent message. Thanks

Andreas

0 Kudos
Message 2 of 6
(4,625 Views)

Hello Andreas,

I just found the problem. I re-named the instructions "Class Mean" and "Sample Count" for each channel I have classified. So the script became like this:

Call CHNCLASSSAMPLE("c_n_Mot","Class mean1","SampleCount1","BeginEndWidth","relative",1) '... Y,E,E,CLASSMETH1,FREQUENCYTYPE,CYCLEVAL

Call CHNCLASSSAMPLE("c_v","Class mean2","SampleCount2","BeginEndWidth","relative",1) '... Y,E,E,CLASSMETH1,FREQUENCYTYPE,CYCLEVAL

This way the result channels do not overwrite each other.

Is there anything easier ??

Regards

Rodrigo

 

Message 3 of 6
(4,619 Views)

RMOZARD,

That's sounds like the exact right thing to do. Please let me know if you have further questions.

Andreas

Message 4 of 6
(4,609 Views)

I have a question about classification. I have some datas whic are between 0 and 60. I turned them into 0 and 1. Now i need to make a graphic with zeros. But for example my datas are 0,0,0,3,6,9,23,0,0,0,etc. and i need to show zeros in graphic like firs zero group has 5 second has 20 like this.

Thank you

0 Kudos
Message 5 of 6
(4,137 Views)

Hi ringa,

 

Please restate your question.  You say that you have a data channel with values between 0 and 60, which you have converted to a data channel with values 0 or 1 (digital channel).  Then you say that you want to display this channel in a REPORT graph.  Won't you just get 0's or 1's on the REPORT graph?  You say that you need to show zeros on your graph-- don't you get zeros on your graph?  What DO you get on your graph?

 

It would help to submit this data set,

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 6 of 6
(4,125 Views)