Commits

Richard Gerkin  committed d1cdca7 Merge

Merged

  • Participants
  • Parent commits 02b263d, 0b2bdfa

Comments (0)

Files changed (1)

File Acquisition/Acquisition Settings.ipf

 			endswitch
 			break
 		case "channelConfigs":
+			InitChan(chan)
+			Core#CopyInstance(module,package,instance,name)
 			Core#SetStrPackageSetting(module,package,name,"DAQ",DAQ) // Set the DAQ for the current channel, e.g. ch0.
-			InitChan(chan)
 //			do // Use the default channel label, or a pick a new one if it is already taken.  
 //				string label_ = Core#StrPackageSetting(module,"channelConfigs",name,"label_")
 //				duplicate /free/t GetChanLabels() labels
 //			if(!DataFolderExists(GetChannelFolder(label_))) // If there is no channel folder corresponding to this label...
 //				InitChanContainer(chan) // ... create one.  
 //			endif  
+			//string adc = Core#StrPackageSetting(module,package,instance,"adc")
+			//string dac = Core#StrPackageSetting(module,package,instance,"dac")
 			acqMode=Core#StrPackageSetting(module,package,instance,"acqMode")
 			SetAcqMode(acqMode,chan)
 			string stimName=GetStimulusName(chan) // Get the stimulus for this channelConfig.