04-23-2006 07:33 PM
04-24-2006 01:54 AM
04-24-2006
08:07 AM
- last edited on
11-25-2025
12:17 PM
by
Content Cleaner
Check out the tutorial Managing Large Data Sets in LabVIEW. It includes sample code for a couple of methods to do what you want to do. The examples are 1D arrays, but can be easily modified for 2D arrays. Let us know if you need more help.
04-24-2006 08:13 AM
04-24-2006 02:11 PM
04-25-2006 08:14 AM
05-27-2006 08:00 AM
05-30-2006
07:51 AM
- last edited on
11-25-2025
12:17 PM
by
Content Cleaner
You can find NI-HWS on the DriverCD that should have come with your hardware. Look under the Modular Instruments tab when you get to the list of elements to install. It will be the last one in the list. NI-HWS was added to the DriverCD about two years ago, so you may not have it if your CD is old enough. You can call your local NI representative and get one, if you need to.
However, given you can read your file back quickly, the file storage is probably not an issue. My guess is that you are make a few extra copies of data and the memory management is what is eating your time. The tutorial Managing Large Data Sets in LabVIEW contains a section on finding copies that should prove useful. I would also recommend you fetch and store your data as I16 binary. Save the scale and offset at the beginning of the file as a pair of doubles (NI-HWS makes this easy). This will cut your data size in half. However, it may make your analysis more difficult. Use the decimation routines in the tutorial for display. This will also save you a lot of time. Most displays don't have 32,000 pixels across.
One last point. Be careful in your analysis routines. Most LabVIEW analysis VIs use doubles. If you convert to singles, then use a LabVIEW VI, the data will be converted back to double before being analyzed.