Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

DAQ Channel Won't Clear

Hardware: Digital I/O (DIO)>>High-Speed>>PCI-6534

Problem: I'm using CVI and trying to read from 3 channels simultaneously using your 6534 DAQ board. I clear and config my board with the appropriate calback functions at the beginning of the program. However, each time I end the program and re-run it, the channels still harbor the previous sampling info. What is going on?

Solution: In order to get around this problem you have to use the INIT_DA_BRDS call back function at the end of your CVI application. This re-initializes the board and in the process clears the channels preparing them for new values. One thing to note is that if the program is to run continuously in an experiment that can terminate anywhere in the program the channels won't clear because it may never reach the INIT_DA_BRDS callback function. To get around this you will have to create a mini program that runs in conjunction but before the main program that re-initalizes the boards using the aforementioned callback. This way the program can halt at anytime but the channels are guaranteed to be cleared.

Related Links:

Attachments:





Report Date: 11/09/2004
Last Updated: 11/10/2004
Document ID: 3F8BSJ40

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit