Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

FIFO status of PXLe 6537

Hello,

 

I wonder how I can monitor the status of FIFO on a PLXe 6537 DIO card. I just need to know if there is space in FIFO or if it's full?

 

Is there any command or function to clear the FIFO? Or what kind of operation can clear it? Can I DAQmx Read clear FIFO?

 

Also I would think if I power cycle the chassis that 6537 is installed on, then the FIFO should be cleared anyway. Am I right?

 

Any help would be appreciated! Thanks

 

Rgds,

 

Harry

0 Kudos
Message 1 of 4
(3,722 Views)

Harry, 

 

I believe you can look at the current fifo status using the DAQmx Read property node with the stauts: Available Samples per channel property.

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,705 Views)

Kyle,

 

Thanks for your reply! The reason we want to check the FIFO status is to make sure there is space in FIFO. The reason for that is, long story short, we wanted to use handshaking timing to acquire digital data using a 6537 HSDIO card. According to NI's handshaking timing diagram, the handshaking event line will jump to low as soon as there is space in FIFO. We've been having issues with handshaking timing as we found the event line always stay at high even without any data collection. So want to make sure there IS some space in FIFO.

 

So when I insert DAQmx Read property node RIGHT AFTER the start of Digital Read.vi, I got a "1" as the value of Available Samples per channel property. Does that make sense? It means there are plenty of space in FIFO, is it right? Thanks

 

Harry

0 Kudos
Message 3 of 4
(3,702 Views)

Harry,

 

What handshaking protocol are you trying to use, and I think we should focus more on getting that working properly than a workaround that may or may not be ideal. 

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,684 Views)