필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

i'm acquiring data from ni9234 and at the same time i'm collecting values from xbee i want these two codes to execute at the same time in a single matlab file

조회 수: 1 (최근 30일)
clc; close all; clear all;
delete(instrfindall);
s = serial ( 'COM5', 'BaudRate', 115200);
set(s, 'Timeout',0.080482);
s.InputBufferSize =20;
tic
fopen(s);
data=fread(s);
this is xbee code
s = daq.createSession('ni');
s.addAnalogInputChannel('cDAQ2Mod1', 0, 'Voltage');
s.addAnalogInputChannel('cDAQ2Mod1', 1, 'Voltage');
s.Rate = 2000
s.DurationInSeconds = 20;
[data5,time] = s.startForeground;
ni code

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by