Resources
Policy
Links
Tasks
Calculators
Support Documents

Calculators | Science | Data Analyser Basic Programming

Basic Programming to Control Data Analyser

By Dave Moulden & Chris Watts, Collie SHS
If you use or quote from the following publication, please acknowledge the authors above.

This involves typing in lists of commands into the calculator and then sending them to the Data Analyser, either individually or as a complete program.

Sample Program

{1, 0} List6 Enter {1, 0}   clears all channels, settings and data already in the Data Analyser.
List6 Enter  puts the command into list 6.
Send (List6) Enter Send (List6) Enter   this sends the commands in list 6 to the Data Analyser.
{1, 1, 1} List6 Enter {1, ,}   tells the DA that the commands to follow relate to channel set up.
{ , 1,  }   tells the DA that the data will be collected through channel 1.
{ , , 1}   tells the DA that the probe will have auto ID. (ie it's a smart probe)
Send (List6) Enter  
{3, 1, 20, 1}) List6 Enter {3, , , }   tells the DA that the commands to follow relate to sample and trigger set up.
{ , 1, , }   tells the DA that the sample time will be 1 second (you would put 0.5 for half a second, the time between each sample).
{ , , 20, }   tells the DA that there will be 20 samples taken.
{ , , , 1}   tells the DA that the time will be recorded in absolute time (0 is for time recording off, 2 is for relative time recording - the time between samples).
Send (List6)   this halt command must always follow a trigger set up and sample command (3). It tells the DA to wait until sampling data is finished. Once sampling the data is finished, pressing EXE on the calculator restarts the program.
Receive (List 3) Enter Receive (List 3)   this collects the time data from the Data Analyser and records it in list 3. The first data transferred is the time data if collected, then channel 1, then channel 2 and so on.
Receive (List 4) Enter Receive (List 4)   this collects the channel 1 data from the Data Analyser and records it in list 4.

This is probably the most basic program you need to be able to use the Data Analyser effectively.

Controlling the Data Analyser can also be achieved by sending list or matrix data. You should consult your DA user's manual for this. We find programming just as easy and more fun and impressive.

 

[ TOP ] [ HOME ] [ SITE MAP ]
Copyright © Department of Education, Western Australia. All Rights Reserved.
updated January 2002