Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa IDE-Questions Java Serial Communication

Have Programming Question? Ask it here!
 
 
 


satej
Java Serial Communication
3 Answer(s)      4 years and 2 months ago
Posted in : IDE Questions


Does Netbeans support serial port communication for windows???

because netbeans doesnt support javax.comm package .
I tried my program with notepad for rxtx. It worked properly &
same with netbeans gives exceptions while opening port.

Does any one have any idea? pls help.thanks in advance.

Its giving Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: gnu.io.LPRPort cannot be cast to gnu.io.SerialPort
at code
serialPort = (SerialPort) portId.open("JavaApplication5", 2000);

Advertisement
View Answers

February 20, 2010 at 3:57 PM


Hi Friend,

Which version are you using?

Thanks


February 20, 2010 at 4:19 PM


I have checked it on both netbeans 5.5 and 6.8.


February 20, 2010 at 4:28 PM


if u have program for this. can u send me for reference?


Related Tutorials/Questions & Answers:
Java Serial Communication - IDE Questions
Java Serial Communication  Does Netbeans support serial port communication for windows??? because netbeans doesnt support javax.comm package . I tried my program with notepad for rxtx. It worked properly & same with netbeans
serial port communication using bluetooth in j2me
serial port communication using bluetooth in j2me   how to make serial port communication using bluetooth in j2me ? what r prerequisites
Advertisements
serial port communication using bluetooth in j2me
serial port communication using bluetooth in j2me   how to make serial port communication using bluetooth in j2me ? what r prerequisites
how to create month wise serial number in java?
how to create month wise serial number in java?  Ex: For 1)January-serial number is 1/001,1/002,1/003 etc
Interthread Communication in Java
Interthread Communication in Java As you know about producer-consumer problem... wasting of cycle or polling, interthread communication is a good way.  Given below some function helpful in interthread communication : Methods
Wireless communication - Java Beginners
Wireless communication  I want to send and receive data(message/data) between 2 lappys which are connected in wireless lan. can u plz expalin how to start the JAVA source code
SERIAL data type
SERIAL data type   hello, What is SERIAL data type in MySQL?   hii, SERIAL is an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
Serial COM Port Value in to database
Serial COM Port Value in to database  How save the serial COMport value in mysql databse. Following code is here. package simpleread; import...(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL
Interthread communication
Interthread communication       Java implements a very efficient way to interprocess communication among threads which reduces the CPU?s idle time i.e. A process where
Communication Tube
Communication Tube       Communication Tube - web messenger chat client for the popular IM (instant messaging) networks: ICQ , MSN Messenger, Google Talk (GTalk) , IRC Read full
Communication Portal
Communication Portal       A communication interface desinged with Web 2.0 technology, mission is to help peolpe communicate easily over a comfortable web interface Read full Description
jar file not reading input from serial port
jar file not reading input from serial port  i used a coding for getting data from serial port. JOptionbox with "port not found" message is shown...() == CommPortIdentifier.PORT_SERIAL) { if (portId.getName().equals(defaultPort
jar file not reading input from serial port
jar file not reading input from serial port  i used a coding for getting data from serial port. JOptionbox with "port not found" message is shown...(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { if (portId.getName().equals
Interthread Communication
Inter-Thread Communication       Java implements a very efficient way to interprocess communication among threads which reduces the CPU?s idle time i.e. A process where
Inter Thread Communication
Inter Thread Communication  what is inter thread communication?   hi friend, Inter thread communication is a process of communication... : http://www.roseindia.net/java/thread/InterthreadCommunication.shtml http
Communication Effectiveness in Outsourcing, Communication Techiques in Outsourcing
Communication Effectiveness in Outsourcing  Introduction A good part of the communication in outsourcing relationships is achieved... to communicate, the success of communication increases in the order of email, telephone
about value taken in java database - JDBC
about value taken in java database  how to take value from Serial port communication Hyperterminal to the java database
digital communication system
digital communication system  A digital communication system capable of interconnecting, a large number of computers, terminals and other peripheral devices within a limited geographical area is called- a) LAN, B) WAN, C
applet servlet communication - Applet
communication by creating a webproject in eclipse. I am creating a web... into WebRoot it is working. So my problem is when I made some changes in any java... in java file will reflect without copying into WebRoot.  Hi Friend, We
Data over Voice Communication
Data over Voice Communication  I just Want to know that Data Over Voice communication is possible in India or Not, If not then Why. and If Yes then Why Please anyone give the answer
servlet to applet communication
(servletConnection.getInputStream()); g.drawString("Applet Servlet Communication",50,50); String str...;body> <h1>Java Applet Demo</h1> <applet code
Inter Server Communication - Struts
Inter Server Communication   Hi In my project I am using Struts2.0 ,I have 2 server one is web-logic server and another is Tomcat server. In web-logic server , there is link to call tomcat server for call struts application
What is the general flow of Hibernate communication with RDBMS?
What is the general flow of Hibernate communication with RDBMS?  Hi, What is the general flow of Hibernate communication with RDBMS? thanks
Communication Website Development
Communication Website Development We provide high quality Communication... team will help you in developing websites for Communication industry. We... for communication industry. A website is the virtual representation of a company
Need of Communication Management
Communication management is the systematic process by which any organization planned, implement, monitor or revision the all channels of communication for better output. It is the wide use of communication technology within
Communication: Marketing tools
Communication has become an inseparable part of modern life and the same is true for the survival of any business organization where communication... be a guarantee for its success if there is a gap of communication among its other
Parent - child jsp communication - JSP-Servlet
. its a distance master display with 4 columns like: Serial No Fromcity...=no,resizable=yes,menubar=yes'); } Serial NoFrom CityTo CityDistance 2)edituser.jsp Serial NoFrom
Parent - child jsp communication - JSP-Servlet
. its a distance master display with 4 columns like: Serial No Fromcity
Outsourcing Communication Tips,Useful Cultural Tips in Offshore Outsourcing,Communication and Culture Tips
Communication and Culture Tips in Offshore Outsourcing Relationships... into difficulties due to communication problems. The trend is very prominent in both... communication arrangement? Or is it due to poor communication skills of the people
Inter-Thread Communication
Inter-Thread Communication       Java provides a very efficient way through which multiple-threads...; This technique is known as Interthread communication which is implemented
Get IP Address in Java
Get IP Address in Java In this example we will describe How to get ip address in java. An IP address is a numeric unique recognition number which is assigned to the devices participating in the network for communication
Java UDP
Java UDP       TCP and UDP are transport protocols used for communication between computers. UDP... with a short response. Read more at: http:/www.roseindia.net/java/example/java/net
Confermation for use of API - Java Beginners
an application for wireless communication between mobile and pc. Let me know which api... Jawad  Hi friend, PC and mobile phone communication can be established by three ways: 1. serial port (requires a data cable). 2. infra red
Communication Tube - web-based messenger!
Communication Tube - web-based messenger!       CommunicationTube - It's a free web messenger chat client for the popular IM (instant messaging) networks: Windows Live Messenger (MSN
Java example program to get IP address of own system
Java example program to get IP address of own system       java get own IP address An IP... is assigned to the devices participating in the network for communication. To get IP
java - Java Interview Questions
java  What are interthread communication mechanism avialable in java. with example.   Hi Friend, Please visit the following link: http://www.roseindia.net/java/thread/InterthreadCommunication.shtml Thanks
java
java  Hell Team, I am totally new to java, from net am setup in my machine netbeans, mysql and tomcat server. I am working in a small enterprise... serial no. of that invetntory, then I prescribed my machine problem and submit
CodeSkin for TI C2000 DSP
CodeSkin for TI C2000 DSP        The Eclipse plug-in provides an error parser for the C2000 compiler as well as serial flash programmer (equivalent to C2oooProg
core java - IDE Questions
core java   what are the functions and mechanisms used to write and read from serial port
bill - Java Beginners
bill  WAP in java to create a bill using the information given below... of the buyer there should be five columb with heading serial number ,item prize...://www.roseindia.net/tutorial/java/core/calculateSalesTax.html http://www.roseindia.net/tutorial
SAX Parser
SAX Parser       The Simple API for XML (SAX) is a serial access parser API for XML. It is used to read, update, create and manipulate an XML document. Whenever the XML document
java
need to insert serial No and other details of an employee.At the same time i need... of serial number of table staffing and place its value in the reference column of User table. My Problem is that i am able to get the serial number(value
Advertisements
 

 

 

DMCA.com