Millisecond Forums

port error

https://forums.millisecond.com/Topic15755.aspx

By Iskra - 3/12/2015

Hi,
I have troubles with sending signal to EEG (BIOSEMI program). I tried to communitate trough two porst and both times errors occured.

Code port1 :
<port neg>
/ port = lpt1
/ subport = data
/ items = ("00000001")
</port>

Error:
Unable to obtain the address for parallel port 1.

Code port 2:
<port neg>
/ port = lpt1
/ subport = data
/ items = ("00000001")
</port>

Error opening \\.\COM7: System error 5: Access is denied. Line 100, File win\SerialConnection.cpp

How to fix this?

By Dave - 3/12/2015

Both errors indicate that the port numbers you are trying to access are not available on the system. E.g. have you verified that your parallel port is actually registered as LPT1 on your machine? You can check that via the system's device manager (

<port neg>
/ port = lpt1
...
</port>

I would also recommend testing communications / proper settings via Tools -> Parallel Port Monitor... See the "How to Use the Parallel Port Monitor Too" topic in the documentation for details.
By Iskra - 3/12/2015

I checked ports in device manager- there is port COM7 and NBSPortDriver. And com7 isn't working neither in experiment nor in port monitor :/
By Dave - 3/12/2015

For testing a serial (i.e., COM) port, you need to use Tools -> Serial Port Monitor.

The <port> definition you posted pertains to a parallel (LPT) port, not a serial port.

The NBSPortDriver you mention is -- as far as I can tell -- a driver installed by Presentation (cf. https://www.neurobs.com/menu_support/menu_forums/view_thread?id=3711 ; https://www.neurobs.com/menu_support/menu_forums/view_thread?id=5529 ) and as such is unrelated to Inquisit or the system's available hardware interfaces. Whether that driver can cause interference, I do not know.