<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.besa.de/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.besa.de/index.php?action=history&amp;feed=atom&amp;title=Inserting_Triggers_Relative_to_Existing_Events</id>
		<title>Inserting Triggers Relative to Existing Events - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.besa.de/index.php?action=history&amp;feed=atom&amp;title=Inserting_Triggers_Relative_to_Existing_Events"/>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;action=history"/>
		<updated>2026-05-02T04:32:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.10</generator>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;diff=5238&amp;oldid=prev</id>
		<title>Mateusz at 19:31, 5 May 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;diff=5238&amp;oldid=prev"/>
				<updated>2021-05-05T19:31:09Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:31, 5 May 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# You are interested in a certain epoch that precedes the trigger event that is already coded. So, instead of entering a new trigger code, you could just add a new condition that works on the existing trigger code, and merely changes the epoch of interest. Presumably you have defined a condition where you are looking at the activity around the trigger event: some baseline before and then the activity that follows the trigger. Now, you can use the ERP-&amp;gt; Edit Paradigm to insert a new condition (CURRENT.code IS ... ). Then click on the “Epoch” tab and modify the epoch of this new condition – e.g. -1000 ms...-200 ms, also change the baseline epoch accordingly, then highlight the new condition in the list, and assign the epoch to the new condition. This condition will now average over the defined epoch that precedes the trigger.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# You are interested in a certain epoch that precedes the trigger event that is already coded. So, instead of entering a new trigger code, you could just add a new condition that works on the existing trigger code, and merely changes the epoch of interest. Presumably you have defined a condition where you are looking at the activity around the trigger event: some baseline before and then the activity that follows the trigger. Now, you can use the ERP-&amp;gt; Edit Paradigm to insert a new condition (CURRENT.code IS ... ). Then click on the “Epoch” tab and modify the epoch of this new condition – e.g. -1000 ms...-200 ms, also change the baseline epoch accordingly, then highlight the new condition in the list, and assign the epoch to the new condition. This condition will now average over the defined epoch that precedes the trigger.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;#If you really need a new trigger code, you can export the trigger codes as event file, using the menu ERP-&amp;gt;Save Events As...&amp;#160; This will save events as a text file. Then open this “*.evt” file in a text editor or e.g. in Excel. The file lists the elapsed time in microseconds, and the event type. Now, for all event types that you want to replace, subtract 1000000 from the number in the first column. Change the code of the trigger to a new value, e.g. 511. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Get rid of &lt;/del&gt;the events that you don’t want to change. Save this file under a different name in text format, and open it again in BESA using ERP-&amp;gt;Open Event File... (For example, you can use Excel in the following way: Open the file. Select all columns, and sort by the “Comnt” column. Delete all rows that contain trigger events that you don’t want to change. In cell E2, type the formula “=A2-1000000” and apply to all rows. Then copy this and paste values back into the A column. Delete column E. Change column C values (TriNo). Then save as text file, and re-load in BESA.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;#If you really need a new trigger code, you can export the trigger codes as &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Event File Format|&lt;/ins&gt;event file&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;, using the menu ERP-&amp;gt;Save Events As...&amp;#160; This will save events as a text file. Then open this “*.evt” file in a text editor or e.g. in Excel. The file lists the elapsed time in microseconds, and the event type. Now, for all event types that you want to replace, subtract 1000000 from the number in the first column. Change the code of the trigger to a new value, e.g. 511. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Remove &lt;/ins&gt;the events that you don’t want to change. Save this file under a different name in text format, and open it again in BESA using ERP-&amp;gt;Open Event File... (For example, you can use Excel in the following way: Open the file. Select all columns, and sort by the “Comnt” column. Delete all rows that contain trigger events that you don’t want to change. In cell E2, type the formula “=A2-1000000” and apply to all rows. Then copy this and paste values back into the A column. Delete column E. Change column C values (TriNo). Then save as text file, and re-load in BESA.)&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ERP/ERF]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ERP/ERF]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mateusz</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;diff=5168&amp;oldid=prev</id>
		<title>Robert at 12:52, 5 May 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;diff=5168&amp;oldid=prev"/>
				<updated>2021-05-05T12:52:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:52, 5 May 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|title = Module information&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|title = Module information&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|module = BESA Research Basic or higher&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|module = BESA Research Basic or higher&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;|version = 5.2 or higher&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;|version = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BESA Research &lt;/ins&gt;5.2 or higher&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Robert</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;diff=2880&amp;oldid=prev</id>
		<title>Andre: line break fixed.</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;diff=2880&amp;oldid=prev"/>
				<updated>2016-05-12T14:15:06Z</updated>
		
		<summary type="html">&lt;p&gt;line break fixed.&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:15, 12 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# You are interested in a certain epoch that precedes the trigger event that is already coded. So, instead of entering a new trigger code, you could just add a new condition that works on the existing trigger code, and merely changes the epoch of interest. Presumably you have defined a condition where you are looking at the activity around the trigger event: some baseline before and then the activity that follows the trigger. Now, you can use the ERP-&amp;gt; Edit Paradigm to insert a new condition (CURRENT.code IS ... ). Then click on the “Epoch” tab and modify the epoch of this new condition – e.g. -1000 ms...-200 ms, also change the baseline epoch accordingly, then highlight the new condition in the list, and assign the epoch to the new condition. This condition will now average over the defined epoch that precedes the trigger.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# You are interested in a certain epoch that precedes the trigger event that is already coded. So, instead of entering a new trigger code, you could just add a new condition that works on the existing trigger code, and merely changes the epoch of interest. Presumably you have defined a condition where you are looking at the activity around the trigger event: some baseline before and then the activity that follows the trigger. Now, you can use the ERP-&amp;gt; Edit Paradigm to insert a new condition (CURRENT.code IS ... ). Then click on the “Epoch” tab and modify the epoch of this new condition – e.g. -1000 ms...-200 ms, also change the baseline epoch accordingly, then highlight the new condition in the list, and assign the epoch to the new condition. This condition will now average over the defined epoch that precedes the trigger.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;#If you really need a new trigger code, you can export the trigger codes as event file, using the menu ERP-&amp;gt;Save Events As...&amp;#160; This will save events as a text file. Then open this “*.evt” file in a text editor or e.g. in Excel. The file lists the elapsed time in microseconds, and the event type. Now, for all event types that you want to replace, subtract 1000000 from the number in the first column. Change the code of the trigger to a new value, e.g. 511. Get rid of the events that you don’t want to change. Save this file under a different name in text format, and open it again in BESA using ERP-&amp;gt;Open Event File...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;#If you really need a new trigger code, you can export the trigger codes as event file, using the menu ERP-&amp;gt;Save Events As...&amp;#160; This will save events as a text file. Then open this “*.evt” file in a text editor or e.g. in Excel. The file lists the elapsed time in microseconds, and the event type. Now, for all event types that you want to replace, subtract 1000000 from the number in the first column. Change the code of the trigger to a new value, e.g. 511. Get rid of the events that you don’t want to change. Save this file under a different name in text format, and open it again in BESA using ERP-&amp;gt;Open Event File... (For example, you can use Excel in the following way: Open the file. Select all columns, and sort by the “Comnt” column. Delete all rows that contain trigger events that you don’t want to change. In cell E2, type the formula “=A2-1000000” and apply to all rows. Then copy this and paste values back into the A column. Delete column E. Change column C values (TriNo). Then save as text file, and re-load in BESA.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;(For example, you can use Excel in the following way: Open the file. Select all columns, and sort by the “Comnt” column. Delete all rows that contain trigger events that you don’t want to change. In cell E2, type the formula “=A2-1000000” and apply to all rows. Then copy this and paste values back into the A column. Delete column E. Change column C values (TriNo). Then save as text file, and re-load in BESA.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;/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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; 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: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ERP/ERF]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ERP/ERF]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Andre</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;diff=2879&amp;oldid=prev</id>
		<title>Andre: Slight alteration of text copied from support email by HB &quot; inserting triggers relative to existing events &quot; .</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Inserting_Triggers_Relative_to_Existing_Events&amp;diff=2879&amp;oldid=prev"/>
				<updated>2016-05-12T14:14:33Z</updated>
		
		<summary type="html">&lt;p&gt;Slight alteration of text copied from support email by HB &amp;quot; inserting triggers relative to existing events &amp;quot; .&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 5.2 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Say you are interested in studying neural activity that precedes an existing trigger. This can be addressed in the following ways:&lt;br /&gt;
&lt;br /&gt;
# You are interested in a certain epoch that precedes the trigger event that is already coded. So, instead of entering a new trigger code, you could just add a new condition that works on the existing trigger code, and merely changes the epoch of interest. Presumably you have defined a condition where you are looking at the activity around the trigger event: some baseline before and then the activity that follows the trigger. Now, you can use the ERP-&amp;gt; Edit Paradigm to insert a new condition (CURRENT.code IS ... ). Then click on the “Epoch” tab and modify the epoch of this new condition – e.g. -1000 ms...-200 ms, also change the baseline epoch accordingly, then highlight the new condition in the list, and assign the epoch to the new condition. This condition will now average over the defined epoch that precedes the trigger.&lt;br /&gt;
#If you really need a new trigger code, you can export the trigger codes as event file, using the menu ERP-&amp;gt;Save Events As...  This will save events as a text file. Then open this “*.evt” file in a text editor or e.g. in Excel. The file lists the elapsed time in microseconds, and the event type. Now, for all event types that you want to replace, subtract 1000000 from the number in the first column. Change the code of the trigger to a new value, e.g. 511. Get rid of the events that you don’t want to change. Save this file under a different name in text format, and open it again in BESA using ERP-&amp;gt;Open Event File...&lt;br /&gt;
(For example, you can use Excel in the following way: Open the file. Select all columns, and sort by the “Comnt” column. Delete all rows that contain trigger events that you don’t want to change. In cell E2, type the formula “=A2-1000000” and apply to all rows. Then copy this and paste values back into the A column. Delete column E. Change column C values (TriNo). Then save as text file, and re-load in BESA.)&lt;br /&gt;
&lt;br /&gt;
[[Category:ERP/ERF]]&lt;/div&gt;</summary>
		<author><name>Andre</name></author>	</entry>

	</feed>