Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Acquring Analog Inputs with absolute timestamp (in msec) using 9221

Hi All

 

I am using a cRIO-9221 AI with a 9104 chassis. I need to acquire Analog Inputs along with absolute timestamp (in msecs) and log them into an excel sheet and also plot them.

 

I have developed the FPGA and HOST Vi's for the same, but the problem i am facing is that, "The timestamp and the analog input data are not synchronized!!"i.e.,they are not being logged at the same rate. The analog input data is getting logged at a faster rate than the time stamp!!

 

i have attached screenshots of my VI's!!

 

Please help me out!

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

Why don't you use the Scan interface and enable timestamping on the I/O variable. That will solve all your problem.

0 Kudos
Message 2 of 2
(3,609 Views)