Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LPT-switch v2.0 "Reloaded"

Featured Replies

Greetings.If someone could give me a nudge in the right directing that would be great. I am useing the previous version and have no problems. I followed the readme and pasted my LPT1 .ini file in the folder that I made, and renamed it as required. The .dll file was put into system32...no joy. When I use test mode, all my switches show up. In the sim all switches cycle on and off continously. Is there a setting for the port that I can check change in XP? Are there files for LPT1 that need deleted or moved. My BIOS is set to auto and bidirectional for the parrallel port. I played with the settings...no joy. Is there a specific place the program needs to be? If someone could post how they have theirs set up, I may be able to learn something. This program is awsome and need to have it up and running.Thank you, Chris.

  • Replies 42
  • Views 4.1k
  • Created
  • Last Reply

Top Posters In This Topic

nopethe thing is that the current that will be "traveling" does come from 1 or more of the 8 wires and will cause "ghosting" via 1 or more of the other 8 wires.i'm quite sure that it should be like it is now .. with the 40besides, who cares :( how much do 40 of these diodes cost anyway ?

>My BIOS is set to auto and bidirectional for>the parrallel port. I think you should set it to "Standard Parallel Port" aka "SPP" or "normal" or something similar but not EPP or ECP.Bye

You are right! I've just spent two minutes watching at te schematics and understood why I need all the 40 diodes.The big news is that I made it! I've arranged it in a more traditional way on a test pcb, it looks pretty cool BUT I'm experiencing problems with the software. It suddenly closes without any error message! I use windows 2000sp4, if you know the cause please help me. (I'm going to try also the old version however)About the matrix scanning speed and the possibility to use knitter rotary switches: I think It's a no-no for now :( I found that inputs closer than approximately 1 second to each other are completely ignored. Even a single input is completely missed if it last less than approx 1 second, so I guess that also inputs from conventional push-button switche may be missed (can you confirm this or may be I have some problem?). So I think I have to wait untill you make that mod that allow to change the scannig speed (my task manager swows a CPU usage of 0% for lptswitch so I think that increasing the speed should not be a problem) bye!

OMG! I'm doing 200 things here at the same time :(Let me check how fast exactly the timer is set right now.exactly .. timer is set to read 1 time every 1 second.i'll add something right now to make it changable ..:(something wrong here :sthe program keeps hanging itself :/

##### !!??Can someone tell me why my program is hanging !!??? :/I tried on my laptop and it hangs as soon as I try to run the program. Then I downloaded on my game computer the .Net framework and the version of my own software from avsim and installed the dll. There, same thing !! :sI start the thing up, then check if 1 ini file is loaded and then either in "test mode" or not, as soon as I let it go .. bang, the thing hangs.Is there anyone using my new software without an error at this time !? Cuz this REALLY makes me wonder :s

seems one of the special characters in the "defaul" ini files is causing this :sOMG and now i get the exact same thing as the other guy .. it flicks all keys each timer tick ..let me show ya .. i'll let it run and then put the cursor in this window :gyqiafzrjbhfskchjtldffumeffvnfhfwogfgxphgyqiafzrjbhfskchjtldffumeffvnfhfwogfgxphgyqiafzrjbhfskchjtldffumeffvnfhfwogfgxphgyqiafzrjbhfskchjtldffumeffvnfhfwogfgxphgyqiafzrjbhfskchjtldffumeffvnfhfwogfgxphgyqiafzrjbhfskchjtldffumeffvnfhfwogfgxphgyqiafzrjbhfskchjtldffumeffvnfhfwogfgxphgyqiafzrjbhfskchjtldffumeffvnfhfwogfgxphlollooks funny but in fact is not at all .. :/ means there is something wrong wrong wrong somewhere ..no really, is there someone using this software succesfully ?? cuz i thought that my final tests here were succesfull and now this thing is going all weird all of a sudden ...

I did a final test here and it turns out that the program works fine IF and only IF you have the "LPT1" tab window shown ..(to be 100% correct, you need to have the tab of the "activated" LPT-port shown)Boy this is frustrating :s It turns out that the very much shortened code I wrote is +/- useless :'(What this means:Either you people ALWAYS run the program with the "LPT1" tab shown and no other .. (either in test mode or not, both work fine)Other option is that I leave it like so for now, and after the exams I'll check for a new version again.This also means that it is NOT possible to use more than 1 LPT. You can use LPT2 but only then if you're NOT using LPT1. But I guess no one has ever done the multiple LPT port yet so that shouldn't be a problem for now.

i was just thinking .. that's what you get when you don't take time for b

sorry I keep posting here 5 or 6 times in a row but i keep comming up with stuff :(I got an idea on how to NOT get ridd of the short-code-sollution I found ...If I re-arrange the GUI (graphic user interface) so that ALL pictureboxes (little round images that show if a switch is hit or not) are on 1 tab panel and not on 3. Then the program should work. Then I could make it so that whenever you hit the "test" or "run" button the program switches back to the tab-panel with all the pictureboxes on it ...Sounds good ?i'll give that a try as soon as I find time.

Oh dear, us poor lab rats :(

philippeI've just finished my lptswitch. I'm also experiencing all the problems you described, I've also noticed that when the program starts generating keystrokes as all the switches were continuously pushed, the memory usage of the program increases continuosly, and you have to stop it from task manager. Sometimes it works but I can't understand why. I've some programming experience if you want I can give a check at the code, may be I find the clue. If you want send me an email. I've also tried the old version 1.2 but I get runtime error 5 or 6 as I push a switch. To allow use of rotary switches I think that each input should be checked at least once every 40-50 milliseconds. However I think that once every second is not enough even for mnormal switches, indeed it misses many switch pushes. If I can I will send you a picture of my lpt switch so that you can put it on your web for those who prefer to build it in a more traditional way (pcb).bye

Ah, the problem here is that the data allocated to memory is not being cleaned up after it is used, you need to put a line in the code to clear the memory. The wording you're looking for is deallocating, usually with the end command. Check your reference materials for advice if this is the case.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.