Script Examples list: #1 - ScriptExample1.cs This example shows how to access different config variables #2 - ScriptExample2.cs This example shows how to wait for a device to be connected or disconnected #3 - ScriptExample3.cs This example demonstrates how to catch exceptions and continue normal execution of the script #4 - ScriptExample4.cs This example check for HvOn, load a config file and does a serie of acquisitions #5 - ScriptExample5.cs This example launches a simple acquisition (1 board) and then converts the output file into a CSV file #6 - ScriptExample6.cs This example shows how to display an input message box # - advanceDAQ.cs Thsi exampel shows how to launch an asychronous DAQ and get some Xfer informations # - testCom.cs This example shows how to handle a port COM for general read/write communication with external equipement # - testHVon.cs This example shows how to executes HV ON/OFF through a port COM handling communication with HV-ON microcontroller # - testUsbDevices.cs This example shows how to sleect a usb devices within the list # - GetCounterToLog.cs This example shows how to use an update device for reading counters periodically and append read values to a custom log file # - Monitoring.cs This example shows how to use the real time monitoring with the script # - PlotToFile.cs This example shows how to generate Plot to TIFF Image file # - DaqToCSV.cs This example shows how to generate a partial CSV file (from a starting word and with a limited numbers of words to be converted) # - FCTtest directory Contains the 2 scripts used for the functionnal test of the FEB (initial test & additionnal SYNC&Gbit test) These examples shows how to use the input dialog boxes with the user interraction, set file name & directory accordingly, start DAQ and popup messages... # - daq_slot0.cs This example launches an acquisition (1 board) with file limit or time limit auto stop # - Housekeeping.cs This example displays B-MIND housekeeping measurement with HVON & OFF # - ScriptMainArgs.cs This example shows how to use the ScriptMainArgs entry method which can be used for Socket & Command Interpreter to pass arguments to the script On socket, send : Sync.RunScriptArgs("Mydir/ScriptMainArgs.cs", 12, "\"Hello World (from Socket)\"") On cmd interpreter send : BabyMind.Console 0 Sync.RunScriptArgs("MyDir/ScriptMainArgs.cs", 3, "\"Hello World (from cmd)\"") # - ErrorCounter.cs Need FPGA >= v6.2 & Host >= 1.0.1.679 This example allows to read SYNC/CLK errors counters of B-MIND # - MCB.cs Need FPGA >= v6.2 & Host >= 1.0.1.679 This example allows to configure and start B-MIND readout on MCB by scripting and using App functions # - MCB-serialCom : not recommended (use windows COM API), prefer MCB.cs Need FPGA >= v6.2 & Host >= 1.0.1.679 This example allows to configure and start B-MIND readout on MCB by scripting and using directly port COM windows API ----------------------------------------------------------------------------------------------- DAQ example for FEBs CHAIN ----------------------------------------------------------------------------------------------- NEED HOST VERSION >= v1.0.1.717 for the following scripts => The next scripts CAN BE USED on a single MCR only while configuring MCB & all MCR slave boards within the same script # - daq-fbw-Applib.cs Ffull bandwidth mode using App.FBW & App.Chain scripting utilities routines # - daq-tdm-Applib.cs TDM mode using App.TDM & App.Chain scripting utilities routines # - daq-tdm-Applib-slotArray.cs TDM mode using App.TDM & App.Chain scripting utilities routines on a slot array of non consecutive slots (eg. CTA boards) => The next scripts CAN BE USED on MULTIPLE MCRs while configuring MCB 1st, then all MCR slaves except MCB, finally MCR Slave containing MCB (the latter will start the DAQ) # - daq-tdm-MCBonly-Applib.cs MCB configuration preparing for TDM mode using App.TDM & App.Chain scripting utilities routines 1-TO BE called 1st before any multiple MCR new DAQ start # - daq-tdm-SlaveOnly-Applib.cs Slaves configuration preparing & slaves+MCB DAQ start for TDM mode using App.TDM & App.Chain scripting utilities routines 2-TO BE called after 'daq-tdm-MCBonly-Applib' script on all slaves EXCEPT MCB MCR 3-TO BE called FINALLY ON MCB MCR after 'daq-tdm-SlaveOnly-Applib' script(s) launched on MCR slaves NB : timeout must be set in order to let the time to launch all scripts of 2- since they will wait for DAQ start launched by script of 3-