LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring different Scan Rates for Channels using AI Start.vi

I am using AI Config.vi connected to a AI Start.vi which sets up the Scan Rate at 100 samples/sec. The AI Read.vi is used to read data from 12 channels on a Analog Input connected to a SCXI Chassis. 11 of the channels are to be scanned at 100 samples/sec, but one channel needs the scan rate set at 10 times that of the others i.e. 1000 samples/sec. How do I do this using the AI Start.vi? Is it possible to do this by configuring only one channel's scan rate to be faster than the others but only configuring the hardware once at start-up? (see attached file main.jpg for more on vi setup).
0 Kudos
Message 1 of 3
(2,763 Views)
All the channels on the same device must have same sampling rate. however, you can sample them all at 1000 samples/sec and pick an average value for other channels.

joe
0 Kudos
Message 2 of 3
(2,763 Views)
Greetings,

A single device does not support multiple scan rates. However, you can simulate this behavior in two ways:

1. Scan all of the channels at the highest required rate and discard data accordingly from the channels that do not require this rate.

2. Specify the channels that require a faster rate multiple times in the channel string. Thus, these channels will be sampled multiple times during each scan.

Good luck with your application.

Spencer S.
0 Kudos
Message 3 of 3
(2,763 Views)