How to access Additional Parallel Port using Matlab?

I have got USB to Parallel Converter, my Laptop detects it. But I can't access this Parallel Port using Matlab? Kindly tell me how to access this Parallel Port?

5 件のコメント

Walter Roberson
Walter Roberson 2012 年 5 月 17 日
Which MATLAB version are you using, and 32 or 64 bit? And which OS?
What are you hoping to be able to do with the device, and at what rate? Parallel port use is not recommended and will be removed in a future MATLAB.
Abdullah Tahir
Abdullah Tahir 2012 年 5 月 17 日
Actually I am trying to send parallel data to PT2262 used in Radio Transmissions. I just want to know the method how to connect to this parallel port.
Walter Roberson
Walter Roberson 2012 年 5 月 17 日
Is that the Princeton Technology Remote Control Encoder? If so then the chip does not support parallel inputs: the chip has tri-state inputs.
Neel Bhatt
Neel Bhatt 2015 年 6 月 22 日
Can you help me connect to a parallel port with matlab? My laptop doesn't have a port but I just want to check if I can send data via a parallel port.
Walter Roberson
Walter Roberson 2015 年 6 月 23 日
Neel, what do you need the parallel port to do for you?

サインインしてコメントする。

回答 (2 件)

Abdullah Tahir
Abdullah Tahir 2012 年 5 月 21 日

0 投票

ok... then can u please help me How to program a usb port?
Walter Roberson
Walter Roberson 2012 年 5 月 21 日

0 投票

USB ports are serial buses with a master/slave polling protocol. One does not "program" a USB port: one makes requests of a USB controller device. Making custom requests of the controller is beyond what MATLAB can do without additional programming with a low-level system language such as C.
There are USB-compatable devices that, with appropriate driver software installed, USB controllers know to present to the operating system as if the devices were serial ports or parallel ports. Programs do not need to do anything special to use those virtual serial ports or virtual parallel ports, just access the devices with the same code that would be used for [inferior quality] serial ports or parallel ports.

カテゴリ

ヘルプ センター および File ExchangeCommunications Toolbox についてさらに検索

質問済み:

2012 年 5 月 17 日

コメント済み:

2015 年 6 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by