ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Waveform Graph

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. 

Download All
0 Kudos
Message 1 of 3
(1,481 Views)

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.

 

Pater_Mater_Filius_0-1629359514670.png

 

Best regards

0 Kudos
Message 2 of 3
(1,440 Views)

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.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(1,436 Views)