Dear Sir,
We are acquiring data from a channel of 6052E card; we are using matrix switches for switching to different sources, which can be programmed using VISA-GPIB commands.
Acquisition will be done by closing the matrix, measure the value from analog input channel and then opening the matrix switch which are closed earlier. This Sequence will repeat for 8 times and the results are written to RT FIFO with the time taken for total scan. All this is done in Time critical VI, which will be running in RT. The RT side also contains The RT Communication part, which writes to TCP\IP by reading from RT FIFO.
The host side will read from TCP\IP and update the front panel and also logs the data to file once user press stop button.
The scan time that is taken during the total scan is around 16msec and it will suddenly rise to 527msec for one reading and then again continues with same 16msec and same loop will repeat. In between all the three values will become 0. Please find the text file for more clarity.
So I want now why the scan time is varying drastically from 16 to 520 msec. It is critical issue please help me out in sorting out this problem. This will be a great help if you put some light on this issue.
Instruments used.
1. PXI-8176 RT controller.
2. PXI-6052E Analog Input card.
3. Racal Instruments 1256-145B Matrix switch Module.
Please find the attached VI’s and test result file in ZIP format, the VI’s are similar to NI example developed using labview 7.0.
Multiple DAQ Board Real-Time Control Example Featuring RT FIFOs, VI Server, and TCP/IP Communication
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E12856A4E034080020E74861&p_node=174827&p_submitted=N&p_rank=&p_answer=&p_source=External