Using Matlab to send triggers via parallel port
Vous suivez désormais cette question
- Les mises à jour seront visibles dans votre flux de contenu suivi.
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails.
Une erreur s'est produite
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
0 votes
Partagez un lien vers cette question
Réponse acceptée
0 votes
Partagez un lien vers cette réponse
- Run MATLAB with Administrative Privileges:
- Try running MATLAB as an administrator. Right-click on the MATLAB shortcut and select "Run as administrator." Sometimes, access to certain hardware resources like the parallel port requires elevated privileges.
- Ensure Parallel Port Driver and Compatibility:
- Make sure that the parallel port driver is correctly installed and compatible with your computer's operating system. Check for any driver updates or compatibility issues.
- Check Parallel Port Settings:
- Confirm that the parallel port settings in your BIOS are configured correctly. Parallel port modes (e.g., SPP, EPP, ECP) should match the mode expected by your code.
- Verify Parallel Port Access:
- Ensure that no other application or device is using the parallel port while MATLAB is trying to access it. Sometimes, other software or drivers may claim ownership of the port.
- Use 32-Bit MATLAB:
- If you are using a 64-bit version of MATLAB, try switching to a 32-bit version. Some parallel port interfaces may have compatibility issues with 64-bit MATLAB.
- Check Parallel Port Address:
- Verify that you are using the correct parallel port address in your code. The address may differ between computers, so make sure it matches the actual address of your parallel port.
- Check for Parallel Port Hardware Issues:
- Inspect the physical parallel port and cables for any hardware issues. Loose connections or damaged cables can prevent proper communication.
- Update Psychtoolbox:
- Ensure that you are using the latest version of the Psychophysics Toolbox. Check for updates or patches that may address compatibility issues with your hardware.
- Test with Alternative Code or Toolbox Functions:
- Try using alternative functions or code examples within the Psychophysics Toolbox for parallel port communication to see if the issue is specific to your code.
- Use Third-Party Libraries:
- If the problem persists, consider using third-party libraries like InpOut32 (for Windows) or libparport (for Linux) for parallel port communication. These libraries may offer better compatibility.
- Operating System Compatibility:
- Ensure that your operating system is compatible with parallel port access. Newer operating systems may have limitations or security restrictions on hardware access.
- Contact Technical Support:
- If none of the above solutions work, consider contacting technical support for the Psychophysics Toolbox or your hardware manufacturer. They may have specific guidance or updates related to your hardware configuration.
- Technical Services and Consulting
- Embedded Systems | Firmware Developement | Simulations
- Electrical and Electronics Engineering
7 commentaires
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Plus de réponses (0)
Catégories
En savoir plus sur Installation and Operational Settings dans Centre d'aide et File Exchange
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
