Skip to content

Commit

Permalink
DAP_CheckSettings: Prevent Random Acq together with Indexing
Browse files Browse the repository at this point in the history
This does currently bug out in DC_CalculateChannelColumnNo.

Original-CommitID: 101e96777f974d0feb4f484a0726cda84881eba1
  • Loading branch information
t-b committed Oct 19, 2016
1 parent 07064cb commit 74bfea4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Packages/MIES/MIES_PanelITC.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -4863,6 +4863,12 @@ Function DAP_CheckSettings(panelTitle, mode)
endif
endfor

if(GetCheckBoxState(panelTitle, "Check_DataAcq1_RepeatAcq") && GetCheckBoxState(panelTitle, "check_DataAcq_RepAcqRandom") && indexingEnabled)
printf "(%s) Repeated random acquisition can not be combined with indexing.\r", panelTitle
printf "(%s) If you need this feature please contact the MIES developers.\r", panelTitle
return 1
endif

if(GetCheckBoxState(panelTitle, "Check_DataAcq1_DistribDaq") && GetCheckBoxState(panelTitle, "Check_DataAcq1_dDAQOptOv"))
printf "(%s) Only one of distributed DAQ and optimized overlap distributed DAQ can be checked.\r", panelTitle
return 1
Expand Down

0 comments on commit 74bfea4

Please sign in to comment.