I have a few questions regarding the picoscope 6404b and matlab.
1. When acquiring data from more than 1 channel in rapid block mode, how is the data stored in the digitizer? Do they alternate segments, or are they concatenated into a single segment. For instance, If I am acquiring 1000 segments with channels A and B enabled, is the data stored as:
seg. 1 A
seg. 2 B
seg. 3 A
seg. 4 B
or is it stored as:
seg. 1 AB
seg. 2 AB
seg. 3 AB
or in some other way?
Do I need to take this into account when allocating memory segments? For instance, if I want to acquire 1000 traces of 2000 points on 2 channels do I need to allocate 1000 memory segments of length 2000, 2000 memory segments of length 2000, or 1000 memory segments of length 4000 (if A and B are stored in same segment). Or is all of this taken care of by the driver.
2. Is there a more streamlined way to prepare the libpointers in matlab when using the 'setdatabufferbulk' than running it in a for loop. If I am acquiring ~65000 segments of 1000 pts. each on two channels, this process takes about 20 min. I am not sure if this is due to the overhead of communicating with the card, or if matlab doesn't like changing the size of large arrays. Would it help to create the an array of libpointers first, then iterate through the channels and segments call 'setdatabuffersbulk' in nested for loops?
3. Once the the libpointers have been defined and populated with data from the picoscope, is it considered poor hygene to reuse the structures for future (identical) acquisitions, or should they be cleared once the data has been extracted from the?
4. I have not been able to set the aux port for triggering using the 'setsimpletrigger' command. Is it possible to use this command for setting a trigger on the aux port, or do i need to set a advanced trigger?
5. If I use one of the 4 channels on the front panel of the scope for a trigger do I have to acquire the trigger signal aswell, or can I just trigger off of that channel without acquiring.
6. When using the picoscope 6 software, I notice a significant ammount of jitter when triggering off of the aux port compared to triggering off one of the channels with the same trigger signal.
Sorry for the barrage of questions.