@@ -904,9 +904,6 @@ static Function DC_PrepareLBNEntries(string panelTitle, STRUCT DataConfiguration
904904 maxITIGlobal = maxITI
905905 DC_DocumentChannelProperty ( panelTitle, "Inter-trial interval" , INDEP_HEADSTAGE, NaN , NaN , var= maxITIGlobal)
906906
907- WAVE /T epochWave = GetEpochsWave ( panelTitle)
908- EP_SortEpochs ( panelTitle)
909-
910907 // index guide:
911908 // - numEntries: Number of active DACs
912909 // - i: Zero-based index of the active DACS
@@ -972,10 +969,6 @@ static Function DC_PrepareLBNEntries(string panelTitle, STRUCT DataConfiguration
972969 DC_DocumentChannelProperty ( panelTitle, "Stim set length" , headstage, channel, XOP_CHANNEL_TYPE_DAC, var= s. setLength[ i ])
973970 DC_DocumentChannelProperty ( panelTitle, "Delay onset oodDAQ" , headstage, channel, XOP_CHANNEL_TYPE_DAC, var= s. offsets[ i ])
974971 DC_DocumentChannelProperty ( panelTitle, "oodDAQ regions" , headstage, channel, XOP_CHANNEL_TYPE_DAC, str= s. regions[ i ])
975-
976- Duplicate / FREE/ RMD= [][][ channel] epochWave, epochChannel
977- Redimension / N= ( -1, -1, 0 ) epochChannel
978- DC_DocumentChannelProperty ( panelTitle, EPOCHS_ENTRY_KEY, headstage, channel, XOP_CHANNEL_TYPE_DAC, str= TextWaveToList ( epochChannel, ":" , colSep = "," , stopOnEmpty = 1 ))
979972 endfor
980973
981974 DC_DocumentChannelProperty ( panelTitle, "Sampling interval multiplier" , INDEP_HEADSTAGE, NaN , NaN , var= str2num ( DAG_GetTextualValue ( panelTitle, "Popup_Settings_SampIntMult" )))
@@ -1666,7 +1659,7 @@ End
16661659/// @param channelType type of the channel
16671660/// @param var [optional] numeric value
16681661/// @param str [optional] string value
1669- static Function DC_DocumentChannelProperty ( panelTitle, entry, headstage, channelNumber, channelType, [ var, str] )
1662+ Function DC_DocumentChannelProperty ( panelTitle, entry, headstage, channelNumber, channelType, [ var, str] )
16701663 string panelTitle, entry
16711664 variable headstage, channelNumber, channelType
16721665 variable var
0 commit comments