From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

datarate measurement of 5781 adapter module

Solved!
Go to solution

Can anybody guide me how to measure datarate of PXI having NI-5781 adapter module.

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

Hello josephkirmani,

 

Can you please elaborate on what exactly you are looking for? Are you trying to benchmark the data rate of the PXI chassis bus (i.e data transmission speeds between the Host controller and FPGA)? Are you trying to benchmark the data rate between the FlexRIO and the 5781 adapter module? Are you trying to determine the input\output rate on the adapter modules’ channels?

 

Best Regards,

j_bou

0 Kudos
Message 2 of 4
(3,591 Views)

I am trying to determine the input and output datarate on the adapter modules’ channels.

 

0 Kudos
Message 3 of 4
(3,583 Views)
Solution
Accepted by topic author josephkirmani

Hello josephkirmani,

 

The NI-5781 allows for analog input up to 100 MS/s (14-bit) and analog output of up 100 MS/s (16-bit). In the FPGA portion of your FlexRIO application, you will need to place the input\output FPGA I\O Nodes in a Single Cycle Timed Loop (SCTL). Each iteration of the SCTL must execute within one clock cycle of the IO Module Clock. By default, IO Module Clock is 100 MHz and is sourced from the NI 5781 CLIP.  At a very basic level, this setup will force the FAM to sample\output a value every 1us. Thus, that would be your datarate. 

 

You could correlate the data rate of the inputs\outputs of your FAM based on the rate of the SCTL loop as long FPGA code is built correctly. However, I do not believe there is a way, in software, to verify data rate directly. I would recommend taking a look at the LabVIEW example finder and searching for the following three examples:

 

NI 5781 – Clock Select.lvproj

NI 5781 – Getting Started.lvproj

NI 5781 AO with Clock Division.lvproj

 

Alternatively, you could use an oscilloscope to verify if the outputted waveform is output at the frequency you specified in the code.  

 

Best Regards,

j_bou

Message 4 of 4
(3,561 Views)