Can I send a voltage out of my serial port with Matlab?

6 次查看(过去 30 天)
Hi,
I was wondering if it's possible to access the serial ports using Matlab to send out high/low voltages to trigger external devices (e.g. Motion capture cameras).
I know it can be done with Data Acquisition Toolbox, but I'm not sure if I am going to have access to a supported DAQ card for the project I'm thinking about.
Thanks, J

回答(2 个)

Walter Roberson
Walter Roberson 2013-11-22
If you need more than the pulse of a serial bit, then all you have control over is DTR and RTS. The exact levels cannot be controlled.

Image Analyst
Image Analyst 2013-11-22
Yes. You don't need the Data Acquisition Toolbox. I talk to my Measurement Computing box all the time just through the serial port (USB). They have analog devices too. http://www.mccdaq.com/usb-data-acquisition/USB-3100-Series.aspx

类别

Help CenterFile Exchange 中查找有关 Analog Input and Output 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by