I have a question on a very similar topic. I have a camera that spits out a 1D array every second. I can plot this easily, and it changes every second as expected. I use an optical chopper to block the laser every other shot so that one shot has signal while the next is just background (and this repeats over and over again). Can I store two pictures at a time in a double array so I can subtract one from the other?
I attached a simple VI that generates a sequence of spectra where each spectrum with a signal is followed by a background spectrum. This VI also shows my feeble attempt at subtracting the two. I deally, in the end I will add the subtracted spectra together.