An application for control of data acquisition (DAQ) devices. It allows you to
Note: DAQ-server has nothing to do with m-Profiler – it’s just another application allowing advanced control of DAQ devices. You don’t need to run it when running m-Profiler. In fact you should not run it simultaneously.
Any DAQ device from National Instruments, such as
are written here.
DAQ-device connected to the DAQ-server can also be controlled remotely using ASCII commands. Commands can be sent by any client connected to the DAQ-server through the TCP/IP protocol (e.g., with G-client).
|id N;||set the device ID to N; (check with MAX before!)|
|type T;||set type of DAQ to N, where|
|N=0 for a dummy device; N=1 for DAQ-16XA-50 PCMCIA card (traditional device); N=2 for DAQ-PAD-6015 (DAQmx device); N=3 for DAQ-PAD-6020E (traditional); N=4 for USB-6009 (DAQmx, min driver NIDAQ 8.0!)|
|con;||connect DAQ device|
|dis;||disconnect DAQ device|
|avg N;||set number of averages to N; this amount of readings will be read and averaged in order to acquire a data sample|
|sample N;||set the number of data samples to be read to N|
|dt N;||set the time interval of sample reading to N seconds. can be a real number (e.g., dt 0.5;)|
|setai ABC;||specify which analog channels should be read by the readai command|
|readai;||read samples from analog channels specified by setai|
|setdo Aa Bb Cc;||set ditigal channels A, B and C to output, and set their respective status to a, b and c;|
|getdi ABC;||set digital channels A, B and C to input and read their respective status|
|?;||inquire about the status of the DAQ device|
|pause N;||make a pause of N seconds, doing nothing|
|recfile F;||set the recording file name to F|
|recsamples N;||set the number of samples to be recorded to N|
|recdt N;||set the interval between sample recording to N (can be a real number)|
|start;||start data recording (open the data recorder window to see the progress)|
|stop;||stop data recording (when the data recorder window is open!)|