08-16-2020 08:40 PM
I am attempting to enable a continuous peer-to-peer stream between The PXIe-5122 Oscilloscope and the PXIe-7846R R Series Reconfigurable I/O Module. The PXIe-5122 is currently reading measurements from a PXI-5412 arbitrary waveform generator. At the moment I am just trying to send the read values from the waveform to the PXIe-7846R where I can see just to make sure the peer-to-peer stream is working before I move onto something more advanced. No error is returned but when I view the "element" output from the FIFO read in the 7846R VI no values appear. I have attached the LabVIEW Project below and a screenshot of the host VI (wires leading off screen are for the waveform generator).
08-16-2020 09:56 PM
The first thing I see that looks wrong is that within the loop, you are opening connections, reading, and closing connections every iteration of the while loop. Both for the oscilloscope and with the FPGA
You said you want "continuous" peer-to-peer. That implies opening connections before the loop, doing the communication within the while loop .... continuously...., and only closing connections when you are done after the while loop.
08-16-2020 10:25 PM
I see, so should I just have the "niScope Initiate Acquisition" VI inside the single-cycle timed loop then and everything else outside of it?
08-16-2020 10:32 PM
I'm talking about the regular while loop in the picture you attached. That is not a single-cycle timed loop.
08-16-2020 10:47 PM
Right, sorry, mixed it up with the FPGA VI, so I'll keep only the "niScope Initiate Acquisition" VI inside of the while loop?