# Examples to be copied in the command line interpreter # choose one of the line, copy it and execute # NB: In this directory you'll find : # 'testInterpreter.xml' is a default config file for testing the BoardConfigure # 'testHVON.xml' and 'testHVOFF.xml' are a default config file for testing the HV ON/OFF # 'InterpreterDialog.cs' is a scripting example for testing interraction with the user through the script #HELP BabyMind.Console /? BabyMind.Console /?s #MISC --------------------------------------------------------- BabyMind.Console /d 0 BoardLib.GetUsbDevices() BabyMind.Console /d 0 BoardLib.GetStatus() #CONFIGURATION --------------------------------------------------------- BabyMind.Console 0 BoardLib.BoardConfigure("G:/TEMP/AIDA/HW_TEST/CFG/testInterpreter") BabyMind.Console 0 BoardLib.BoardConfigure("G:/TEMP/AIDA/HW_TEST/CFG/testInterpreter", 7) BabyMind.Console /d /bid:0 0 BoardLib.SetDirectParameters("G:/TEMP/AIDA/HW_TEST/CFG/testHVON") BabyMind.Console 0 BoardLib.SetDirectParameters("G:/TEMP/AIDA/HW_TEST/CFG/testHVOFF") BabyMind.Console 0 BoardLib.SetDirectParameters("G:/TEMP/AIDA/HW_TEST/CFG/testHVON", true) #ACQUISITION --------------------------------------------------------- BabyMind.Console 0 BoardLib.BoardConfigure("G:/TEMP/AIDA/HW_TEST/CFG/PDdiscri-A0-CH0-5-25-31, 15") BabyMind.Console 0 BoardLib.SetDirectParameters("G:/TEMP/AIDA/HW_TEST/CFG/PDdiscri-A0-CH0-5-25-31") BabyMind.Console 0 BoardLib.StartAcquisition("G:/TEMP/AIDA/HW_TEST/TEMP/test.daq") #SCRIPT --------------------------------------------------------- BabyMind.Console 0 Sync.RunScript("G:/TEMP/AIDA/HW_TEST/InterpreterDialog.cs")