Reading Signals from ABF Files
Downloads
Filename: simple_read_abf.zip
Requirements: View
This example shows how to read signals to LabVIEW or LabVIEW SignalExpress from Axon Instruments data file format (.abf). The example uses the library provided by Molecular Devices.
This example supports ABF file version 2.0. You must have the following software installed to use this example:
- LabVIEW 8.5 or later, Full or Professional Development System
- LabVIEW Advanced Signal Processing Toolkit 7.5 or later
- LabVIEW SignalExpress 2.5 or later
The attached ZIP file (simple_read_abf.zip) includes the following VIs that you can use to read ABF files.
- ABFImport_Open.vi
- ABFImport_GetChannelNumber.vi
- ABFImport_ReadChannel.vi
- ABFImport_Close.vi
The ZIP file also includes two examples showing how to use these VIs. The Read ABF File VI shows how to read signals form an ABF file. The Extract RR Intervals VI shows how to read an ECG signal from an ABF file and how to extract R-R intervals from the ECG signal. The Extract RR Intervals VI uses the WA Multiscale Peak Detection VI in the Advanced Signal Processing Toolkit.
The following figure shows the block diagram of the Read ABF File VI:
Figure 1. Block Diagram of the Read ABF File VI
In LabVIEW SignalExpress, you can add a SignalExpress step to load signals in an ABF file into LabVIEW SignalExpress by using the Read ABF File VI. Complete the following steps to add the SignalExpress step:
- Choose File»New Project in LabVIEW SignalExpress to create a new project.
- Click the Add Step button and choose Run LabVIEW VI»Run LabVIEW 8.5 VI in the Add Step dialog box.

Figure 2. Add a SignalExpress Step to Run LabVIEW VIs
- In the Settings page of the configuration panel that appears, click the Browse button and navigate to the Read ABF File VI that you get from the attached ZIP file.
Figure 3. Specify the LabVIEW VI to Run
- In the Configure VI page, click the Browse button and navigate to the ABF file from which you want to read signals.
Figure 4. Specify the ABF File from Which to Read Signals
- Run the VI to extract the signals. You can drag the signals to the Data View graph.
Figure 5. Extracted Signals
- (Optional) You can add more SignalExpress steps to analyze the signals.
Related Links
You can import ABF files with version numbers of 1.60 and 1.65 to DIAdem.
You can use the Extract RR Intervals VI to extract RR intervals from ABF files containing ECG signals. You then can use LabVIEW to perform heart rate variability analysis on the ECG signals.
Requirements
Filename: simple_read_abf.zip
Software Requirements
Application Software: LabVIEW SignalExpress 2.5, LabVIEW Professional Development System 8.5, LabVIEW Full Development System 8.5
Toolkits and Add-Ons: LabVIEW Advanced Signal Processing Toolset 7.5
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).




