create serial obj commands 'serial' and 'fopen' takes very long time
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm using matlab(7.9.0)R2009b with a 64-bit win7 professional computer. I'm just simply trying to create a serial obj by using 'serial' and 'fopen', but it always takes more than 2 min to run each command line. So I'm wondering how can I find where the problem is.
Also, I'm using the Image acquisition tool box to control my 1394 camera.Though that have nothing to do with 'serial' but I'm thinking if the CMU 1394a camera driver will affect the performance of this serial command by any means.
Thanks, Nyx
0 件のコメント
回答 (1 件)
Walter Roberson
2013 年 1 月 27 日
If you use a program such as hyperterm, does the open take long?
Have you tried setting DataTerminalReady on the serial object before doing the open?
s = serial('COM1');
s.DataTerminalReady = 'on';
%also set speed
fopen(s)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Counter and Timer Input and Output についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!