06-13-2012 10:34 AM
Theoretically we want the PXI 5105 (digitizer) have 302 recording with each recording have 1260 samples (the recording operation is inside a while loop) in about 30ms , however we found that in each period (30ms), the PXI5105 only carry out about 10 recordings. It is so wired. I am wondering if the operations inside the while loop consume longer time (e.g. 3ms), so that it cannot have 302 records even the PXI 5105 have 60M/s sampling speed. Is this true, you can find my labview code, and if possible can you give me some suggestion to shorter the time of loop operation.
Please find the enclosed labview code.
Solved! Go to Solution.
06-14-2012
07:16 PM
- last edited on
08-12-2024
02:31 PM
by
Content Cleaner
Hi g_l_g_s,
The PXI-5105 digitizer acquires data at the rate that you specify and stores the data in its onboard memory (up to 512 MB). The data is then sent to your computer when the Multi Fetch Cluster.vi is called. In the VI that you posted, you are only fetching one record during each while loop iteration. If you would like to fetch 302 records you will need to specify 302 records in the Configure Horizontal Timing.vi.