Difference between revisions of "Acquisition Software"

From MEG Core
Jump to navigation Jump to search
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==<font size="4">'''Data Acquisition'''</font>==
==Data Acquisition==


'''The main function of the Data Acquisition (ACQ) program is to collect MEG and EEG data while providing the means for the user to set collection parameters such as sample rate, collection duration, patient information, data filters, synthetic gradiometer order, adaptive balancing, triggers and ADCs. ACQ allows the user to perform head localization to co-register the sensors to the head coordinate frame, save data and collection parameters for future use. Collection Parameters are set via dialog boxes prior to recording and stored in a protocol file. However, these parameters can be adjusted for a given study without permanently changing the stored protocol file and should always be reviewed before starting a collection.'''
The main function of the Data Acquisition (ACQ) program is to collect MEG and EEG data while providing the means for the user to set collection parameters such as sample rate, collection duration, patient information, data filters, synthetic gradiometer order, adaptive balancing, triggers and ADCs. ACQ allows the user to perform head localization to co-register the sensors to the head coordinate frame, save data and collection parameters for future use. Collection Parameters are set via dialog boxes prior to recording and stored in a protocol file. However, these parameters can be adjusted for a given study without permanently changing the stored protocol file and should always be reviewed before starting a collection.


<br>
<br>
'''Data can be collected in one of three modes:'''
::1. '''Data can be collected in one of three modes:'''
:::#'''''Continuous Recording''' - displays all data immediately while recording.'''''
::::a. '''''Continuous Recording''' - displays all data immediately while recording.'''''
:::#'''''Triggered Recording''' - stores individual or averaged sets of trials with specified time duration around some form of stimulus or external trigger.'''''
::::b. '''''Triggered Recording''' - stores individual or averaged sets of trials with specified time duration around some form of stimulus or external trigger.'''''
:::#'''''Un-triggered Recording''' - stores trials of a specified duration in response to the operator’s command without stimulus triggering.'''''
::::c. '''''Un-triggered Recording''' - stores trials of a specified duration in response to the operator’s command without stimulus triggering.'''''


<br>
<br>
The final preparation before recording is the localization of the subject’s head with respect to the standard coordinate system. This is done by localizing the position of coils placed on the fudicial landmark points of the subject’s head via the SQUID sensors after the subject’s head is placed in the dewar helmet. You can then either use continuous head localization to track the position of the head throughout the scan, or repeat the position measurement at the end of the recording.
::2. The final preparation before recording is the localization of the subject’s head with respect to the standard coordinate system. This is done by localizing the position of coils placed on the fudicial landmark points of the subject’s head via the SQUID sensors after the subject’s head is placed in the dewar helmet. You can then either use continuous head localization to track the position of the head throughout the scan, or repeat the position measurement at the end of the recording.




<br>
<br>


==== <font size="3">'''I. Running Acq'''</font> ====
====Running Acq====

'''This section describes how to perform an MEG / EEG scan.'''
'''This section describes how to perform an MEG / EEG scan.'''


:::::::::::::::::::::::::{| class="wikitable"
::::::::::{| class="wikitable"
|-
|-
| <gallery>
| <gallery>
Line 25: Line 26:
|}
|}


<div align="center">*********************************</div>
<br>


::1. '''Launch ACQ'''
=====<u>'''LAUNCH ACQ - From the Acquisition Console / Computer'''</u>=====
:::*Open the NIMH MEG Core Facility Acquisition Manager
::::a. From the acquisition console/computer: open the NIMH MEG Core Facility Acquisition Manager
:::*Select - '''''User'''''
::::b. Select - '''''User'''''
:::*Select - '''''Study Type'''''
::::c. Select - '''''Study Type'''''
:::*Enter '''''Subject Name''''' (first name first) and '''''MRN'''''
::::d. Enter '''''Subject Name''''' (first name first) and '''''MRN'''''
:::*Launch Acq
::::e. Launch Acq


::2. '''Create a Patient File/Directory:'''
:::::{| class="wikitable"
::::a. Create Directory? Click Ok.
|-
::::b. At the Acq Dialog Window (Run Information Dialog) enter:'''
| <gallery>
:::::i. Subject ID (subject initials & MRN).
ACQ Picture cropped.jpg| <center>'''Data Acqusition Manager'''
:::::ii. Procedure Description.
</gallery>
:::::iii. If applicable - Edit / Change Collection Parameters (as outlined below in Step #4) before clicking on Acquire Data
|}
:::::iv. Click on Acquire Data.


::::::::::{| class="wikitable"

<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>

<br>

=====<u>'''CREATE A PATIENT FILE / DIRECTORY:</u>'''=====
::::*Create Directory? Click Ok.

::::*At the Acq Dialog Window (Run Information Dialog) enter:'''
:::::a. Subject ID (subject initials & MIS#).
:::::b. Procedure Description.
:::::c. '''''*If applicable - Edit / Change Collection Parameters (as outlined below in Step #4) before clicking on Acquire Data '''''
:::::d. Click on Acquire Data.
::::::::::::::::::::::{| class="wikitable"
|-
|-
| <gallery>
| <gallery>
Line 61: Line 48:
</gallery>
</gallery>
|}
|}



<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>


<br>
<br>


::3. '''View/Edit Collection Parameters:'''
=====<u>'''VIEW / EDIT COLLECTION PARAMETERS:'''</u>=====
:::a. At the top left corner of the Acq Dialog Window (Run Information Dialog) - Click on Settings.
::::a. At the top left corner of the Acq Dialog Window (Run Information Dialog) - Click on Settings.
:::b. Select '''Channel Settings''' - Review or change MEG Collection Parameters, Filter Settings, ADCs, DACs or HLU (Head Localization Parameters).
::::b. Select '''Channel Settings''' - Review or change MEG Collection Parameters, Filter Settings, ADCs, DACs or HLU (Head Localization Parameters).
:::c. Click OK.
::::c. Click OK.


::::::{| class="wikitable"
::::::::::{| class="wikitable"
|-
|-
| <gallery>
| <gallery>
Line 81: Line 64:
|}
|}



<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>
<br>
<br>


::4. '''Impedance Check:'''
=====<u>'''IMPEDANCE CHECK'''</u>=====
'''''IF PERFORMING EEG''''' '''- an IMPEDANCE CHECK should be performed on the MEG system before recording:'''
::If performing EEG an IMPEDANCE CHECK should be performed on the MEG system before recording
::: Select EEG Settings.
::::a. Select EEG Settings.
::: Click on CHECK IMPEDANCE. The results are displayed in the appropriate columns.
::::b. Click on CHECK IMPEDANCE. The results are displayed in the appropriate columns.
:::: To check the impedance of all active EEG channels press the CTRL key on the keyboard at the same time as clicking on the impedance check button.
::::c. To check the impedance of all active EEG channels press the CTRL key on the keyboard at the same time as clicking on the impedance check button.
:::: Please note: The impedance check requires 3 electrodes: The electrode being measured and at least 2 other electrodes.
::::d. Please note: The impedance check requires 3 electrodes: The electrode being measured and at least 2 other electrodes.
::: Click OK / EXIT.
::::e. Click OK / EXIT.


:::::::::::::::::::::::::{| class="wikitable"
::::::::::{| class="wikitable"
|-
|-
| <gallery>
| <gallery>
Line 101: Line 82:
|}
|}



<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>
<br>
<br>


::5. '''Starting Data Acquisition - In Preview Mode'''
::::a. When you click the 'Acquire Data' button at the bottom of the 'Run Information Dialog Window' the Acquisition Monitor Window appears.
::::b. This monitor will display the MEG / EEG data in the preview mode only. '''You will not start to collect data until you click on '''START'''.
::::c. Head localization should be performed before data is collected.


::::::::::{| class="wikitable"
|-
| <gallery>
Main_Acquisition_Setup_Window_Pic2_cropped.jpg|<center>Main Acquisition Setup Window<div>
</gallery>
|}
<br>




::::::::::{| class="wikitable"
=====<u>'''STARTING DATA ACQUISITION - Preview Mode'''</u>=====
When you click the <u>'''Acquire Data'''</u> button at the bottom of the '''Run Information Dialog Window''' the Acquisition Monitor Window appears. This monitor will display the MEG / EEG data in the preview mode only. <u> You will not start to collect data until you click on '''START'''</u>.


''' PREVIEW DATA MODE:'''
:::*Click on the '''ACQUIRE DATA''' button from the main acquisition setup window to display the '''Acquisition Monitor Window''' which will then preview the MEG / EEG data.
::::::::::'''''Note: Head Localization should be performed next - see the following section for further instructions!'''''




:::::::::::::::::::::::::::::::{| class="wikitable"
|-
|-
| <gallery>
| <gallery>
Acquisition_Monitor_Window_picture_cropped.jpg|Data Acquisition Monitor Window
Acquisition_Monitor_Window_picture_cropped.jpg|<center>Data Acquisition Monitor Window<div>
</gallery>
</gallery>

|}
|}



<br>
<br>


=====<u>'''HEAD LOCALIZATION'''</u>=====
====Head Localization====
:::'''At the ACQ Computer:'''
::::*Instruct subject for task and Head Localization. (If applicable, at this time from the STIM Computer UNBLANK SCREEN to display the HEAD LOCALIZATION SCREEN as outlined below in Step 10.)
::::*Click on HEAD LOCALIZATION button located on the side bar.
::::*Click on OK at the Head Localization Starter TO START THE LOCALIZATION.
::::*Click on CONTINUE to accept the head localization results. (acceptable tolerance is < 0.5 mm)


::1. Instruct subject for task and Head Localization. (If applicable, at this time from the STIM Computer UNBLANK SCREEN to display the HEAD LOCALIZATION SCREEN as outlined below in Step 10.)
:::'''At the Stimulus Computer:'''
::::a. Click on HEAD LOCALIZATION button located on the side bar.
::::*Click the mouse to activate the “LOCALIZING HEAD” prompt. *If there is no head localization prompt, omit this step.
::::b. Click on OK at the Head Localization Starter TO START THE LOCALIZATION.
::::c. Click on CONTINUE to accept the head localization results. (acceptable tolerance is < 0.5 mm)


::2. At the Stimulus Computer:
::::a. Click the mouse to activate the “LOCALIZING HEAD” prompt. *If there is no head localization prompt, omit this step.
::::::::::::::::::::::::::::::::{| class="wikitable"
::::::::::{| class="wikitable"
|-
|-
| <gallery>
| <gallery>
Line 149: Line 125:
|}
|}
<br>


====Collecting Data / Starting the Stimulus====


::1. To start collecting data: at the Acquisition Computer click on START.
<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>
::2. If running a task, ensure that the task and acquisition are appropriately triggered to start simultaneously.
<br>


::::::::::{| class="wikitable"
=====<u>'''START DATA COLLECTION / START THE STIMULUS'''</u>=====
|-
:::*To start collecting data / DATA COLLECTION - at the Acquisition Computer click on START.
| <gallery>
:::::a. '''''IF TRIAL IS NOT TRIGGERED''''' - click mouse on the Stimulus Computer <u>'''simultaneously'''</u> with clicking start of Data Collection on the Acquisition Computer.
Acquisition_Monitor_Window_picture_cropped.jpg|<center>Data Acquisition Monitor Window<div>
:::::b. '''''IF TRIAL IS TRIGGERED''''' - click the mouse on the Stimulus Computer <u>'''after'''</u> clicking start of Data Collection on the Acquisition Computer.

<gallery>
Main_Acquisition_Setup_Window_Pic2_cropped.jpg|Main Acquisition Setup Window
</gallery>
</gallery>
|}
Acquisition Monitor



<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>
<br>
<br>


====Viewing Data/ADCs During Collection====
=====<u>'''VIEW DATA / ADCS &OTHER CHANNELS'''</u>=====
:::'''To select the ADCs and Channels to be displayed during collection:'''
:::*Click on the CHANNEL SET BUTTON which is below the group of Channel Scale Indicators.
:::*Click on the CHANNEL SELECTOR DIALOG:
::::::a. From the UNSELECTED Window click on the channels (i.e., Stim, ADC’s, EOG, EEG and/or MEG channels) to be displayed.
::::::b. Click on the ARROW to transfer those channels to the SELECTED window. *Make sure the ADCs have been set up correctly and document.
::::::c. Click on APPLY.
::::::d. Use Select Custom… to customize the channel selection using the Channel Selector dialog.


::1. To select the ADCs and Channels to be displayed during collection:
::::'''''Note: Fluctuating Red lights in the Collection Status Window during acquisition indicates that the data is being buffered; a failure condition is indicated only if the collection status buffer in completely red (full).'''''
::::a. Click on the CHANNEL SET BUTTON which is below the group of Channel Scale Indicators.
:::'''''*Solid yellow lights on the DSQ cards during acquisition indicate those channels are actively acquiring data; not a failure condition.'''''
::::b. Click on the CHANNEL SELECTOR DIALOG:
:::::i. From the UNSELECTED Window click on the channels (i.e., Stim, ADC’s, EOG, EEG and/or MEG channels) to be displayed.
<gallery>
:::::ii. Click on the ARROW to transfer those channels to the SELECTED window. *Make sure the ADCs have been set up correctly and document.
Example.jpg|Caption1
:::::iii. Click on APPLY.
</gallery>
:::::iv. Use Select Custom… to customize the channel selection using the Channel Selector dialog.
::::e. Adjust channel (display) scale.
Channel Selector Dialog
::::c. Note: Fluctuating Red lights in the Collection Status Window during acquisition indicates that the data is being buffered; a failure condition is indicated only if the collection status buffer in completely red (full).
::::d. Solid yellow lights on the DSQ cards during acquisition indicate those channels are actively acquiring data; not a failure condition.
::2. When done acquiring (at the end of the trial) when data collection stops, head localization will start automatically. Wait for the HEAD LOCALIZATION PROMPT.
::::a. To Print the Head Localization results: When Head Localization is done Click at the bottom of the screen and the Printer Icon will display. Click on the printer icon then click anywhere within the Head Localization dialog.
::::b. Click on “Continue” to accept the data. If localization fails click on the REPEAT button to re-try localization. At the General Information window, click OK.
::::c. When is done instruct the subject to relax and blank the screen.


:::*Adjust channel (display) scale.
:::*When done acquiring (at the end of the trial) when data collection stops, head localization will start automatically. Wait for the HEAD LOCALIZATION PROMPT.
:::*To Print the Head Localization results: When Head Localization is done Click at the bottom of the screen and the Printer Icon will display. Click on the printer icon then click anywhere within the Head Localization dialog.
:::*Click on “Continue” to accept the data. *If localization fails click on the REPEAT button to re-try localization. At the General Information window, click OK.
:::*When is done instruct the subject to relax and blank the screen.

::::'''''Note: When is done instruct the subject to relax and blank the screen.'''''

<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>
<br>
<br>


=====<u>'''TO BEGIN A NEW TRIAL'''</u>=====
====Ending the Recording Session====
*To begin another trial :
:::a. Click on FILE.
:::b. Click on CLOSE WINDOW.
:::c. Acquisition Manager window displays.
:::d. Edit the trial information in the Procedure area.
:::e. Click on OK.
:::f. Repeat steps.


::1. To end recording session click on CLOSE window.
::::'''''Note: When performing a new trial inform subject and unblank the screen.'''''


<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>
<br>

=====<u>'''END RECORDING'''</u>=====
*To end recording session click on CLOSE window.
::::a. EXIT Acq.
::::a. EXIT Acq.
::::b. Select Dataset to save.
::::b. Select Dataset to save.
Line 223: Line 170:
::::e. Click on Push Data.
::::e. Click on Push Data.


<br>

<div align="center">−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−</div>
<br>
NIMH MEG Core Facility Acquisition Manager

Latest revision as of 10:17, 18 August 2018

Data Acquisition

The main function of the Data Acquisition (ACQ) program is to collect MEG and EEG data while providing the means for the user to set collection parameters such as sample rate, collection duration, patient information, data filters, synthetic gradiometer order, adaptive balancing, triggers and ADCs. ACQ allows the user to perform head localization to co-register the sensors to the head coordinate frame, save data and collection parameters for future use. Collection Parameters are set via dialog boxes prior to recording and stored in a protocol file. However, these parameters can be adjusted for a given study without permanently changing the stored protocol file and should always be reviewed before starting a collection.


1. Data can be collected in one of three modes:
a. Continuous Recording - displays all data immediately while recording.
b. Triggered Recording - stores individual or averaged sets of trials with specified time duration around some form of stimulus or external trigger.
c. Un-triggered Recording - stores trials of a specified duration in response to the operator’s command without stimulus triggering.


2. The final preparation before recording is the localization of the subject’s head with respect to the standard coordinate system. This is done by localizing the position of coils placed on the fudicial landmark points of the subject’s head via the SQUID sensors after the subject’s head is placed in the dewar helmet. You can then either use continuous head localization to track the position of the head throughout the scan, or repeat the position measurement at the end of the recording.



Running Acq

This section describes how to perform an MEG / EEG scan.


1. Launch ACQ
a. From the acquisition console/computer: open the NIMH MEG Core Facility Acquisition Manager
b. Select - User
c. Select - Study Type
d. Enter Subject Name (first name first) and MRN
e. Launch Acq
2. Create a Patient File/Directory:
a. Create Directory? Click Ok.
b. At the Acq Dialog Window (Run Information Dialog) enter:
i. Subject ID (subject initials & MRN).
ii. Procedure Description.
iii. If applicable - Edit / Change Collection Parameters (as outlined below in Step #4) before clicking on Acquire Data
iv. Click on Acquire Data.


3. View/Edit Collection Parameters:
a. At the top left corner of the Acq Dialog Window (Run Information Dialog) - Click on Settings.
b. Select Channel Settings - Review or change MEG Collection Parameters, Filter Settings, ADCs, DACs or HLU (Head Localization Parameters).
c. Click OK.


4. Impedance Check:
If performing EEG an IMPEDANCE CHECK should be performed on the MEG system before recording
a. Select EEG Settings.
b. Click on CHECK IMPEDANCE. The results are displayed in the appropriate columns.
c. To check the impedance of all active EEG channels press the CTRL key on the keyboard at the same time as clicking on the impedance check button.
d. Please note: The impedance check requires 3 electrodes: The electrode being measured and at least 2 other electrodes.
e. Click OK / EXIT.


5. Starting Data Acquisition - In Preview Mode
a. When you click the 'Acquire Data' button at the bottom of the 'Run Information Dialog Window' the Acquisition Monitor Window appears.
b. This monitor will display the MEG / EEG data in the preview mode only. You will not start to collect data until you click on START.
c. Head localization should be performed before data is collected.




Head Localization

1. Instruct subject for task and Head Localization. (If applicable, at this time from the STIM Computer UNBLANK SCREEN to display the HEAD LOCALIZATION SCREEN as outlined below in Step 10.)
a. Click on HEAD LOCALIZATION button located on the side bar.
b. Click on OK at the Head Localization Starter TO START THE LOCALIZATION.
c. Click on CONTINUE to accept the head localization results. (acceptable tolerance is < 0.5 mm)
2. At the Stimulus Computer:
a. Click the mouse to activate the “LOCALIZING HEAD” prompt. *If there is no head localization prompt, omit this step.


Collecting Data / Starting the Stimulus

1. To start collecting data: at the Acquisition Computer click on START.
2. If running a task, ensure that the task and acquisition are appropriately triggered to start simultaneously.


Viewing Data/ADCs During Collection

1. To select the ADCs and Channels to be displayed during collection:
a. Click on the CHANNEL SET BUTTON which is below the group of Channel Scale Indicators.
b. Click on the CHANNEL SELECTOR DIALOG:
i. From the UNSELECTED Window click on the channels (i.e., Stim, ADC’s, EOG, EEG and/or MEG channels) to be displayed.
ii. Click on the ARROW to transfer those channels to the SELECTED window. *Make sure the ADCs have been set up correctly and document.
iii. Click on APPLY.
iv. Use Select Custom… to customize the channel selection using the Channel Selector dialog.
e. Adjust channel (display) scale.
c. Note: Fluctuating Red lights in the Collection Status Window during acquisition indicates that the data is being buffered; a failure condition is indicated only if the collection status buffer in completely red (full).
d. Solid yellow lights on the DSQ cards during acquisition indicate those channels are actively acquiring data; not a failure condition.
2. When done acquiring (at the end of the trial) when data collection stops, head localization will start automatically. Wait for the HEAD LOCALIZATION PROMPT.
a. To Print the Head Localization results: When Head Localization is done Click at the bottom of the screen and the Printer Icon will display. Click on the printer icon then click anywhere within the Head Localization dialog.
b. Click on “Continue” to accept the data. If localization fails click on the REPEAT button to re-try localization. At the General Information window, click OK.
c. When is done instruct the subject to relax and blank the screen.


Ending the Recording Session

1. To end recording session click on CLOSE window.
a. EXIT Acq.
b. Select Dataset to save.
c. Click on OK.
d. From the Acquisition Manager window select the dataset to push to the storage RAID SERVER (tako.nimh.nih.gov).
e. Click on Push Data.