WINIO.SYS and Parallel Port on Windows 7 (64 bit)

16 ビュー (過去 30 日間)
Anna king
Anna king 2016 年 12 月 24 日
コメント済み: Gem Gem 2017 年 8 月 14 日
Hello
I have several laboratory software programs that use a parallel port to access equipment. We just got a new Windows 7 (64-bit) computer and I am trying to move all of our equipment to this machine. We are using MATLAB 2015a.
When I run the matlab scripts, I use the following code:
daqhwinfo('parallel','LPT1')
and get the following error:
??? Error using ==> Error using daqhwinfo (line 122) Could not get information for parallel. PARALLEL: Could not start the WINIO.SYS device driver.
When I open up the Device Manager and look for non-plug and play drivers, winio.sys does not show up. I am an administrator on the computer running Matlab from an admin account.
How can I fix this?
Thank you in advance for your support.
[In a duplicate question, the line of code is given as
daqhwinfo('parallel')
]

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 12 月 24 日
WinIO appears to be from internals.com whose web site is not available at the moment. I find 32 bit downloads of it in various places, but at the moment I do not see 64 bit downloads of it (at least not places I would immediately trust.)
It appears that the driver needs to be signed to be usable, and that is a problem. See the discouraging discussion at https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/ad3f8e40-20fc-45b2-b74e-bde80f8dfb6f/using-winio-to-readwrite-port-value-on-win7-x64-os?forum=wdk
... Ah, it appears the 64 bit version is WinIO64.SYS
So you likely have two issues:
  1. You might need a signed version of the driver; and
  2. If you only have the 32 bit version of the driver then you would need to use 32 bit MATLAB. (R2015a did support 32 bit, with R2015b being the last 32 bit version of MATLAB.)
  1 件のコメント
Gem Gem
Gem Gem 2017 年 8 月 14 日
Hi This is a link for both 32 & 64 versions http://www.internals.com/utilities/WinIo.zip hope u like it

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

Community Treasure Hunt

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

Start Hunting!

Translated by