How do I trigger my parallel port?

Hello community I need to use the 25 pin parallel port (that one for the printer, to make it easy) to trigger some custom made devices (very simple led attached via cable to a parallel port to be plugged to the computer) I did it many time with older machines, now I have a Matlab 2018a, with a 64bit computer. I alsways uysed "digitalio" function and realted to switch the leds on
dio = digitalio('parallel','lpt1');
addline(dio,0:7,'out') %pin 8
putvalue(dio.line,[0 1 0 0 0 0 0 0]);
WaitSecs(.005);
putvalue(dio.line,[0 0 0 0 0 0 0 0]);
Now those functions are not working, and I'm trying to figure out how use the daq commands. The principal problem is that the computer doesn't allow me to see the parallel port
When i type
daq.getDevices
ans =
No data acquisition devices available.
Click here for a list of known vendors.
Click here for troubleshooting tips.
I obtain this error. I tried to update all the driver, i installed the National instrument support package for matlab but i'm still unable to solve my problem.,
Thank you!

3 件のコメント

Guillaume
Guillaume 2018 年 9 月 26 日
Does your OS sees the parallel port? If on Windows, is it visible in Device Manager?
For that matter, does your computer even has a parallel port? Modern computers don't tend to have one. Even serial ports are starting to disappear now.
Daniele Migliorati
Daniele Migliorati 2018 年 9 月 27 日
移動済み: Walter Roberson 2024 年 9 月 8 日
Yes, I can see the device since Ii updated the dirvers for it, via control pannel. And yes... Of course I have a parallel port... Otherwise this topic would be very strange... I'm a researcher, so we build the computer on our own because we need the parallel port (at least me)
Giulia Orioli
Giulia Orioli 2019 年 6 月 28 日
移動済み: Walter Roberson 2024 年 9 月 8 日
Hi Daniele!
Did you by any chance find a solution for this? Having the same problem here!
Thanks,
Giulia

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

回答 (0 件)

カテゴリ

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

製品

リリース

R2018a

質問済み:

2018 年 9 月 25 日

移動済み:

2024 年 9 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by