Professional Documents
Culture Documents
Acquisition Commands
Acquisition Commands
% d(1) %samplingRate=2000;
%ai = s.inputSingleScan() %leemos las entradas de los canales analogicas a NI USB 6210
%m= fopen('event.Data','w');
%excelFileName= 'samplemalaga';
ch=s.addAnalogInputChannel('coronado','ai0', 'Voltage');%
ch.Range=[-5 5];
ch.Name='CANAL C0'
ch=s.addAnalogInputChannel('coronado','ai1', 'Voltage');
%created:d\v6\myfiles\myai.m %created:d\v6\myfiles\myai.mat
%m= fopen('event.Data','w)
%set(ai,'SampleRate',SampleRate); %set(ai,'SamplesPerTrigger',duration*SampleRate);
%set(ai,'TriggerType','Manual'); %s.Rate = 8000; %s.DurationInSeconds = 1; %[ai,triggerTime] =
s.startForeground(); %plot(triggerTime,ai); % Update the title of the graph
%set(titleHandle,'String',['Discrete Fourier Transform Plot (fft),Number of callback function calls:
', num2str(count)]);
%%rtwintgt -install %rtwintgt -uninstall %rtwintgt -version %rtwho
%rtwintgt -setup installs the Real-Time Windows Target kernel on your system. It performs the
same operation as rtwintgt -install.
%rtwintgt -install installs the Real-Time Windows Target kernel on your system. It performs the
same operation as rtwintgt -setup. On Windows Vista and Windows 7 systems, rtwintgt
-install requires User Account Control (UAC) to be enabled.
%rtwintgt -uninstall removes the Real-Time Windows Target kernel from your system. On
Windows Vista and Windows 7 systems, rtwintgt -uninstall requires User Account Control (UAC)
to be enabled.
%rtwintgt -version displays the Real-Time Windows Target currently installed on your system