Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA I/O Read/Write Time

I have a general question about FPGA digital I/O nodes.  I am using a cRIO module which does not support SCTL for DIO read/write, so I have placed the read/write in a while loop.  My question is how many cycles do these read/write commands take?  I can't find this information in any documentation I have searched.

 

The reason I ask is that I am using a Loop Timer vi to run the while loop at a certain rate, and I am concerned that under certain circumstances when my read/write commands are made near the end of the loop period that they might cause it to run over.  Here is a simplified version of my FPGA vi.  It is begin used to generate a centered-pulse PWM signal.  Thanks.cntrdPWM.PNG

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

You should just benchmark the code.  It will be super easy and then you will know for sure.

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 2 of 2
(3,987 Views)