Toon posts:

Java comm api

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hallo

Ik heb een electronische ontsteking die ik kan aanpassen met mijn PC. Ik heb daar een programma voor het werkt met java. dit Programma werkt maar ik krijg de com poort niet aan de praat. Je moet vanalles in bepaalde mappen zetten maar ik snap er de ballen van. Ik ben maar een mechanicien en geen electronicus of computerheld
Is er iemand die mij dat van naatje tot draadje kan uitleggen wat ik moet doen. _/-\o_ Wand zo moeilijk kan dat niet zijn,maar je moet het maar weten. Hier onder vind je een link waar je het kan downlaoden

http://java.sun.com/products/javacomm/index.jsp

Dank met voorbaat

Bart

  • momania
  • Registratie: Mei 2000
  • Laatst online: 15:24

momania

iPhone 30! Bam!

Heeft niks met Windows Operated Systems te maken, maar is een software kwestie dus move naar: Software Algemeen :)

Heb je ook een link naar de software zelf en kan je even aanvullend vertellen wat er mis gaat en wat je zelf al geprobeerd hebt en waar je vast loopt?
Zie ook Algemene regels hoe je op het forum te gedragen (Netiquette) ;)

Neem je whisky mee, is het te weinig... *zucht*


  • F_J_K
  • Registratie: Juni 2001
  • Niet online

F_J_K

Moderator CSA/PB

Front verplichte underscores

# Unzip the file javacomm20-win32.zip. This will produce a hierarchy with a top level directory commapi.

The examples in this document assume that you have unzipped the javacomm20-win32.zip file in your C: partition and your JDK installation is in C:\jdk1.1.6. If you have installed JDK in an other location or unzipped javacomm20-win32.zip in an other location modify the example commands appropriately.

If you are installing the Java communications API into a JRE (Java runtime environment) follow the same instructions as for the JDK except where noted. See the additional instructions for running using the JRE.

# Copy win32com.dll to your \bin directory.

C:\>copy c:\commapi\win32com.dll to c:\jdk1.1.6\bin

# Copy comm.jar to your \lib directory.

C:\>copy c:\commapi\comm.jar c:\jdk1.1.6\lib

# Copy javax.comm.properties to your \lib directory.

C:\>copy c:\commapi\javax.comm.properties c:\jdk1.1.6\lib

The javax.comm.properties file must be installed. If it is not, no ports will be found by the system.

# Add comm.jar to your classpath (do not do this step for a JRE installation).

* If you don't have a classpath defined:

C:\>set CLASSPATH=c:\jdk1.1.6\lib\comm.jar

* If you already have a classpath defined:

C:\>set CLASSPATH=c:\jdk1.1.6\lib\comm.jar;%classpath%


# Several serial port sample applications are provided with this release. One of them is BlackBox. To run BlackBox, first add BlackBox.jar to your classpath:

C:\>set CLASSPATH=c:\commapi\samples\Blackbox\BlackBox.jar;%CLASSPATH%

Now you can run BlackBox:

C:\>java BlackBox
Letterlijk uit de Installation Instructions --> waar gaat het fout want dit ziet er vrij eenvoudig uit :)

'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind' (Terry Pratchett, Eric)


Verwijderd

Topicstarter
sorry van de misplaatsing

Dus voor te beginnen had ik geen java.Deze heb ik dan gedownlaod en opgeslagen in de map program files, dan heb ik de software gedownlaod met het programma voor mijn ontsteking en deze heb ik in de java map gezet. Het programma werkt maar dan moet er nog software komen voor de communicatie met mijn poort. Deze heb ik ook gedownlaod maar daar loopt het mis. Deze software moet in bepaalde mappen staan of zoiets ,maar dat begrijp ik niet goed of wel moet er nog extra software gedownlaod worden

Hier in deze link vind je alles over de ontsteking
link naar java
link naar Comm API
link naar het programma PC Configurator

http://picasso.org/mjlj/configSoftware.php

Bekijk het maar eens en alvast bedankt

Sorry van het taal gebuik :'( 8)7

Bart