06-17-2013 03:00 AM - edited 06-17-2013 03:01 AM
Hi all! I'm new in the LabVIEW world.
I recently joined a research group and we are considering working with LabVIEW. But before we make our final decision on buying LabVIEW and the necessary hardware components, we would like to know if it fits our project.
We intend to processing an analog EEG signal (available via BNC cable) in real time, in order to detect specific events. So our major concern is whether LabVIEW is able to perform the following operations fast enough:
1. Signal filtering between 11 and 17Hz.
2. Calculation of the envelope, i.e. the hilbert transformation or root mean square, over 100 or 200 ms windows
3. Sending a TTL trigger based on a threshold criteria.
The corresponding hardware we have in mind are the NI PCIe-6320 board with a BNC-2020 connector block. And we would be using LabVIEW 2012 Professional on Windows 7.
06-17-2013 02:59 PM
You don't mention the sampling rate (I presume 1KHz is sufficient), but LabVIEW 2012 should have no difficulty with this. Are you aware of the LabVIEW Biomedical Toolkit, which I believe has EEG algorithms included?
06-18-2013 03:02 AM
Right, I forgot the sampling rate. We will be working around 200Hz, so that should be no problem then.
I think we won't need the Biomedical toolkit, but we will definitely check it out.
Thanks for your answer!
06-18-2013 03:26 AM
The major challenge on your stated information is that you are going to work with Windows.
Windows is not a deterministic OS. That means that you can have any kind of timing jitter at any time. The common jitter does not exceed 1-10ms in average, but you can have spikes of up to even several seconds at any time (e.g. if virus scanner scans or hard drive is indexed, ...)!
So regarding the hard limits of your timing requirements, you might want to switch to a deterministic system, either Real Time (RT) or even FPGA (which seems to overblow the requirements....).
Norbert
06-18-2013 04:32 AM
Thank you, Norbert.
I expected Windows might be a problem. We are going to check the necessity of a real time system in the early stages of testing our project.
06-18-2013 08:39 PM
the issue will be the trigger signal delay and jitter under windows. if you are trying for real time, you must determine what your real time requirements are. how much jitter and delay can your application stand?