I'm working on a vibration application using CVI. Once ICP is turned ON for a channel, it seems to remain on and only switches OFF on power down, my dll is removed from memory, or if power is turned OFF on that channel and data is resampled. In this project, one of the things that I do is use a strip chart component to show input data in "real time" during sampling. To set a satisfactory full scale value for the chart, I first get a short sample to get the peak input value to set full scale on the following "real" data and, at the same time, allow for some settling time. In any case, if you are concerned about settling time, you need to discard a first sample block if ICP power is OFF. You might take a short DC coupled measurement on ano
ther channel, if available to sense whether ICP power is already on but doing so on the same channel isn't useful because the 447X board also has some settling time when switched from DC to AC coupling. In the dll that I'm working on, I can save the channel status between measurements and, if the input ICP accelerometer hasn't been switched between measurements by external hardware, the saved status will determine whether a delay is necessary. Since the default state for the ICP power is OFF, it always must be turned ON at least once after power up.
Another possible solution that comes to mind is to test the average value of successive small blocks, the size of which would be determined by the measurement application and the board input time constant, during preliminary sampling and see if settling is occurring. If settling exceeds some preset value, you could repeat the process until acceptable settling has occurred.
Some older accelerometers have settling times as long as
10 seconds.
Thanks for asking the question as it prompted me to improve what I'd already done on my own current project.
Duncan