Hello Dave,

Sounds like you have quite the system to set up here.  It doesn=92t look
like you are doing anything terribly complicated.  You should be able
to modify different examples for the different parts of your
application.  Examples are always the best place to start.

For analog input, the =93Cont Acq&Chart (buffered).vi=94 example is a
great place to start.  You can set the scan rate (scans/second) and
how many different input channels you want to acquire.  This example
has its own stop button; it should be a simple matter to add a manual
start button.  To manually set how long the application runs, you
could add a 100 ms delay to each iteration of the while loop
(recommended anyway to allow processor to multi-task) and add a
control that sets the number of iterations of the while loop.

For logging data, a great example is the =93Cont Acq to File
(binary).vi=94 example.

For different sample rate for different input lines, you could use two
parallel loops both running the first example mentioned above.  The
data would not be able to be displayed on the same graph, however.

If you have more specific questions about any of the different parts
of your application, let me know and I=92ll b happy to look further into
it.

Have a nice day!

Robert M
Applications Engineer
National Instruments

Reply via email to