njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology njit-etd2003-081 - New Jersey Institute of Technology

archives.njit.edu
from archives.njit.edu More from this publisher
20.01.2015 Views

247 As an example, the procedure of the cross-spectral analysis using a data file of a COPD subject in text format acquired using the National Instrument data acquisition system, saved as file name agu1baseline.txt is presented below: 1) Find the data acquisition sampling frequency, sf, of the data file. Use WinEdit or Notepad to open the data file. A single integer number on line 1 of the data file is the sampling frequency of the file. Record this number for reference. In all studies used for this dissertation, the sampling frequency is 200 samples per second. 2) Next, the information of what signal on what channel is needed. Click on the LabVIEW icon to start running LabVIEW. The National Instrument LabVIEW dialog box opens. Click on Open VI bar to select the data file to load. The Choose the VI to open: dialog box opens. Click on the down arrow of the Look in: bar to navigate the windows directory and select the VI program. Double click to select 4dsp.vi. The 4dsp.vi front panel is displayed. Click on the right arrow on the command bar to run the LabVIEW (4dsp.vi) program. The choose file to read dialog box appears. Use the down arrow button in the Look in: bar to navigate the directory to select the data file to be analyzed (in the example, the data file is agu1baseleine.txt). Double click on the data file name to run the program. 3) In a few seconds, the plots of all four data signals are displayed. Resize the x-axis on each plot to zoom in to a small section of the signal. Record the signals and their channel numbers for reference. (In the example, the channels are shown below) Signal Channel CO2 0 BP 1 Resp 2 ECG 3

248 4) Click on file, close to exit the 4dsp.vi program. Click No when the save changes dialog box appears. 5) Click on open VI of the LabVIEW dialog box. Use the down arrow button of the Look in: task bar to select partcoh3.11b library of LabVIEW programs. Use the mouse to move the up/down bar until the partial coherence betwn HR, BP & RESP vi file appears. Double click on this file to run the LabVIEW program. 6) Enter the SF, ECG, BP and RESP in the text boxes on the front panel with the information obtained in steps 1 and 3 above. Click the right arrow on the command bar to run the program. 7) The Choose file to read dialog box appears. Use the down arrow button of the Look in: task bar to select the data file (agu1baseline.txt) to be analyzed. 8) After a few seconds, the heart rate IIBI and the ECG plots of the Correct.vi appears. Move the yellow cursor inside the }IR IIBI plot to the end of the HR IIBI signal then click the MOVE button to see any missed or false R wave detection. Use the blue cursor inside the ECG correction plot to manually remove or correct the false R wave detection indicated by the white bar under each ECG R-wave. Click the round green Done button when done. 9) The Choose HR IIBI file to write dialog box appears. Enter the HR IIBI ASCII file name (agu1baselineHR.asc) in the file name field then click the save button. 10) The Choose BP IIBI file to write dialog box appears. Enter the BP IIBI ASCII file name (agu1baselineBP.asc) in the file name field then click the save button. 11) The panel partial coherence HR-BP-RESP.vi appears. Move all the red cursors (Cur 0) to 0.04 Hz positions and all the blue cursors (cur 1) to position 0.15 Hz of the

247<br />

As an example, the procedure <strong>of</strong> the cross-spectral analysis using a data file <strong>of</strong> a<br />

COPD subject in text format acquired using the National Instrument data acquisition<br />

system, saved as file name agu1baseline.txt is presented below:<br />

1) Find the data acquisition sampling frequency, sf, <strong>of</strong> the data file. Use WinEdit or<br />

Notepad to open the data file. A single integer number on line 1 <strong>of</strong> the data file is the<br />

sampling frequency <strong>of</strong> the file. Record this number for reference. In all studies used for<br />

this dissertation, the sampling frequency is 200 samples per second.<br />

2) Next, the information <strong>of</strong> what signal on what channel is needed. Click on the<br />

LabVIEW icon to start running LabVIEW. The National Instrument LabVIEW dialog<br />

box opens. Click on Open VI bar to select the data file to load. The Choose the VI to<br />

open: dialog box opens. Click on the down arrow <strong>of</strong> the Look in: bar to navigate the<br />

windows directory and select the VI program. Double click to select 4dsp.vi. The<br />

4dsp.vi front panel is displayed. Click on the right arrow on the command bar to run the<br />

LabVIEW (4dsp.vi) program. The choose file to read dialog box appears. Use the down<br />

arrow button in the Look in: bar to navigate the directory to select the data file to be<br />

analyzed (in the example, the data file is agu1baseleine.txt). Double click on the data file<br />

name to run the program.<br />

3) In a few seconds, the plots <strong>of</strong> all four data signals are displayed. Resize the x-axis<br />

on each plot to zoom in to a small section <strong>of</strong> the signal. Record the signals and their<br />

channel numbers for reference. (In the example, the channels are shown below)<br />

Signal Channel<br />

CO2 0<br />

BP 1<br />

Resp 2<br />

ECG 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!