I am programming a high speed & low speed data system for a customer.
I have an application that reads and records the DSA (PXI-4472 modules) channels (up to 160) at 30,000 scans per second without errors.
The low speed data is comprised of strain data from eight SCXI 1520 modules in a 1001 chassis. The data enters the PXI chassis via a PXI 6052E MIO device. I have an application that reads and records this data up to 4,000 scans per second without errors.
My problem occurs when I try to read both systems with the same application. I have tried both parallel while loops and placing both AI reads in the same while loop, but I get the same error either way. One of the systems (PXI or SCXI)
generates an overflow error (-10846), even though I am running both at a quarter the successful stand alone rate.
The error manifests itself when the scan backlog from the SCXI AI read reaches zero. The scan backlog on the PXI data either goes to zero and stays, or climbs to very high values, and the waveforms stop updating.
I have experienced situations where either system has the error and the other system continues to acquire data, or where both lock up.
I am using continuous acquisition at AI start so I can monitor signals real time and periodically record 15 seconds of data from each system to a separate file.
Acquisition synchronization on the PXI chassis is via a timing module in each PXI chassis and the star trigger line. I am not so much concerned at this time with synching the data bettween the chassis.
If anyone has suggestions, I'd love to try them!