<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://e-mode.phas.ubc.ca/mcewiki/index.php?action=history&amp;feed=atom&amp;title=Basic_mce_script_configuration</id>
	<title>Basic mce script configuration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://e-mode.phas.ubc.ca/mcewiki/index.php?action=history&amp;feed=atom&amp;title=Basic_mce_script_configuration"/>
	<link rel="alternate" type="text/html" href="https://e-mode.phas.ubc.ca/mcewiki/index.php?title=Basic_mce_script_configuration&amp;action=history"/>
	<updated>2026-08-13T12:47:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>https://e-mode.phas.ubc.ca/mcewiki/index.php?title=Basic_mce_script_configuration&amp;diff=6450&amp;oldid=prev</id>
		<title>Dvw at 00:26, 31 August 2016</title>
		<link rel="alternate" type="text/html" href="https://e-mode.phas.ubc.ca/mcewiki/index.php?title=Basic_mce_script_configuration&amp;diff=6450&amp;oldid=prev"/>
		<updated>2016-08-31T00:26:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 00:26, 31 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l68&quot; &gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That should acquire 100 frames of data into the file &amp;quot;test_data&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That should acquire 100 frames of data into the file &amp;quot;test_data&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Software&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;MCE Script&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dvw</name></author>
		
	</entry>
	<entry>
		<id>https://e-mode.phas.ubc.ca/mcewiki/index.php?title=Basic_mce_script_configuration&amp;diff=6265&amp;oldid=prev</id>
		<title>Dvw at 21:50, 30 August 2016</title>
		<link rel="alternate" type="text/html" href="https://e-mode.phas.ubc.ca/mcewiki/index.php?title=Basic_mce_script_configuration&amp;diff=6265&amp;oldid=prev"/>
		<updated>2016-08-30T21:50:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:50, 30 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l67&quot; &gt;Line 67:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 67:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That should acquire 100 frames of data into the file &amp;quot;test_data&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That should acquire 100 frames of data into the file &amp;quot;test_data&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Software]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dvw</name></author>
		
	</entry>
	<entry>
		<id>https://e-mode.phas.ubc.ca/mcewiki/index.php?title=Basic_mce_script_configuration&amp;diff=4570&amp;oldid=prev</id>
		<title>Mhasse: Created page with 'This is intended as a sort of quick start guide, picking up after the various installation steps to see if the system is ready for use.  The next step after this basic configurat…'</title>
		<link rel="alternate" type="text/html" href="https://e-mode.phas.ubc.ca/mcewiki/index.php?title=Basic_mce_script_configuration&amp;diff=4570&amp;oldid=prev"/>
		<updated>2011-12-09T20:48:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;This is intended as a sort of quick start guide, picking up after the various installation steps to see if the system is ready for use.  The next step after this basic configurat…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is intended as a sort of quick start guide, picking up after the various installation steps to see if the system is ready for use.  The next step after this basic configuration is to try to [[Series array setup | set up a series array]].&lt;br /&gt;
&lt;br /&gt;
= Check your configuration =&lt;br /&gt;
&lt;br /&gt;
== System configuration ==&lt;br /&gt;
&lt;br /&gt;
Is your environment set up?  Check that $MAS_ROOT is defined in your shell:&lt;br /&gt;
 echo $MAS_ROOT&lt;br /&gt;
 /usr/mce/mce_script&lt;br /&gt;
&lt;br /&gt;
Is your data folder set up correctly?  Make sure&lt;br /&gt;
 /data/cryo/&lt;br /&gt;
exists, and that your user can create directories there.  Then try running&lt;br /&gt;
 set_directory&lt;br /&gt;
&lt;br /&gt;
The only acceptable complaint is &amp;quot;There is already a config_mce_auto_setup file in this directory&amp;quot;.  Any other complaint should be addressed.&lt;br /&gt;
* If it complains about &amp;quot;array_id&amp;quot; not existing or being empty, just run&lt;br /&gt;
 echo default &amp;gt; /data/cryo/array_id&lt;br /&gt;
&lt;br /&gt;
== Hardware configuration ==&lt;br /&gt;
&lt;br /&gt;
To check that your MCE works, and that [[ mce.cfg ]] is ok, run:&lt;br /&gt;
  mce_status -s | grep fw_rev&lt;br /&gt;
&lt;br /&gt;
You should see something like:&lt;br /&gt;
 cc fw_rev : 0x5000002&lt;br /&gt;
 rc1 fw_rev : 0x5000002&lt;br /&gt;
 rc2 fw_rev : 0x5000002&lt;br /&gt;
 bc1 fw_rev : 0x5000000&lt;br /&gt;
 bc2 fw_rev : 0x5000000&lt;br /&gt;
 bc3 fw_rev : 0x5000000&lt;br /&gt;
 ac fw_rev : 0x5000004&lt;br /&gt;
&lt;br /&gt;
The output will depend on your MCE and firmware revisions.  But if anything returns &amp;quot;0&amp;quot; or ERROR, that should be resolved before continuing.&lt;br /&gt;
&lt;br /&gt;
== mce_script configuration ==&lt;br /&gt;
&lt;br /&gt;
The [[ experiment.cfg ]] file is used by [[auto-setup (python) | auto_setup]] and the [[ Mce config template system]].  There are a couple of basic parameters that must be consistent with your mce.cfg file.  The ones that lead to the most problems are:&lt;br /&gt;
&lt;br /&gt;
 hardware_rc = [1, 1, 1, 1];&lt;br /&gt;
 hardware_rc_data = [1, 1, 1, 1];&lt;br /&gt;
 config_rc = [1, 1, 1, 1];&lt;br /&gt;
&lt;br /&gt;
These should be changed to reflect the RCs in use on your system.  E.g. if only RC2 is installed on your system, change all three of these variables to [0, 1, 0, 0].&lt;br /&gt;
&lt;br /&gt;
For users running [[fast SQ2 switching]], you should also set &amp;quot;hardware_fast_sq2&amp;quot; to 1 or 2 instead of the default of 0.  (Really this will only be a show-stopper if you are using a &amp;quot;biasing address card&amp;quot; in the BC2 slot.)&lt;br /&gt;
&lt;br /&gt;
You may, at this point, also want to tell the system your basic multiplexing parameters.  This is accomplished through the settings:&lt;br /&gt;
 default_num_rows = 33;&lt;br /&gt;
&lt;br /&gt;
And later:&lt;br /&gt;
 row_len = 100;&lt;br /&gt;
 num_rows = 33;&lt;br /&gt;
 num_rows_reported = 33;&lt;br /&gt;
&lt;br /&gt;
All three of these &amp;quot;num_rows&amp;quot; parameters should be set to the same value.  If you don't have any Squid-1s, that's fine.  You can leave num_rows at 33. &lt;br /&gt;
&lt;br /&gt;
After editing your main copy of experiment.cfg (which lives in $MAS_CONFIG, or possibly in $MAS_TEMPLATE), check that the system likes it by running:&lt;br /&gt;
&lt;br /&gt;
 rm $MAS_DATA/experiment.cfg   # remove the active copy&lt;br /&gt;
 set_directory                 # update the active copy from the main copy&lt;br /&gt;
 mce_reconfig                  # attempt basic configuration of the MCE&lt;br /&gt;
&lt;br /&gt;
If mce_reconfig succeeds, you're probably ready to start looking at SQUIDs.  This step will also put your MCE into a state where you should be able to read noise data from the ADCs.  E.g. try running&lt;br /&gt;
&lt;br /&gt;
 mce_run test_data 100 s&lt;br /&gt;
&lt;br /&gt;
That should acquire 100 frames of data into the file &amp;quot;test_data&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Mhasse</name></author>
		
	</entry>
</feed>