# Change port address for parallel out

**URL:** <https://discourse.psychopy.org/t/change-port-address-for-parallel-out/25902>\
**Category:** Builder\
**Created:** [November 10, 2021, 6:14pm UTC](https://discourse.psychopy.org/t/change-port-address-for-parallel-out/25902 "2021-11-10T18:14:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henning\_Holle](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/henning_holle/32/7689_2.png) [@Henning\_Holle](https://discourse.psychopy.org/u/Henning_Holle)\
**Post date:** [November 10, 2021, 6:14pm UTC](https://discourse.psychopy.org/t/change-port-address-for-parallel-out/25902/1 "2021-11-10T18:14:50Z")

</div>

Hi,  
I want to send out pulses via a parallel port to trigger a TMS pulse. The cable is connected to LPT1 which is mapped to the internal addres 0XD050. I have tried in a different software (Presentation) and am able to trigger TMS pulses there using their port output function

I have now been trying to do the same in Psychopy by adding a parallel out component to my routine. My problem is that my LPT1 address does not appear in the drop down menu of available options. How can can I change the port address to 0XD050 in Psychopy?

Many thanks in advance,  
Henning

---

<div class="post-metadata">

**Author:** ![Henning\_Holle](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/henning_holle/32/7689_2.png) [@Henning\_Holle](https://discourse.psychopy.org/u/Henning_Holle)\
**Post date:** [November 10, 2021, 7:02pm UTC](https://discourse.psychopy.org/t/change-port-address-for-parallel-out/25902/2 "2021-11-10T19:02:13Z")

</div>

just to let you know that I have now solved this. In case someone else has this problem

1. If the address of your parallel port is not in the drop-down menu, you can add it in the preferences (File =\> Preferences =\> Hardware)
2. the next problem I encountered was that Psychopy complained about a missing parallel port driver. This can be fixed by installing one from the source mentioned in the thread below

> [@Problem with psychopy.parallel](https://discourse.psychopy.org/t/problem-with-psychopy-parallel/8857/5):
>
> Came across similar situation with the following error in Python 3.8.5 [64-bit] with psychopy.\_\_version\_\_ == 2020.2.10 installed (via conda install psychopy): from psychopy import parallel p = parallel.ParallelPort('0x0378') Solved by putting the inpoutx64.dll file in the [Windows]/System32 directory. The dll was downloaded from the following address: [InpOut32 and InpOutx64](http://www.highrez.co.uk/Downloads/InpOut32/) After copying the file into System32, I had to quit and restart python (or ipython) to make it work. Simply by “r…

Nice to have solved something at the end of a long day 🙂
