08-18-2021 06:25 AM
Hi I created a VI that acquires a PPS signal from a GPS module. I correctly transferred the signal from the fpga to the host using the FIFO. I should display the PPS signal using a digital waveform graph, but the signal doesn't appear in the graph.
08-19-2021 02:51 AM - edited 08-19-2021 02:52 AM
Hello Loop3r_III,
I hope you are doing well. I would suggest you to read the data from the "Read/Write control" node in the For loop and then use the "DWDT boolean array to Digital.vi" and Digital Waveform indicator in the while loop. As I don't have an RT target near to me I tried to use the random generator function and it worked well. To be more clear I'm also sending this code so you can change yours like this and I hope it will work fine.
Best regards
08-19-2021 03:18 AM
Hi Loop3r,
@Loop3r_III wrote:
but the signal doesn't appear in the graph.
That's because you are missing to "THINK DATAFLOW!"…
Your loop will NEVER stop and so the graph will NEVER receive any data - THINK DATAFLOW!
When you want to transfer data from your FPGA to your host continuously (as indicated by your code image) you should think about using a FIFO instead of reading a control from your FPGA code.