my program for writing data to serial port is is not working..and the error it is showing is java.comm is not there on the system..so from where can i get java.comm...or any other alternative..and i...
Type: Posts; User: Himali
my program for writing data to serial port is is not working..and the error it is showing is java.comm is not there on the system..so from where can i get java.comm...or any other alternative..and i...
hey i am using java swing in my program.so this class File is not working in swing so what should i use in swing to get all files from a particular directory?
hey thanks Norm and copeg..i got how to do it!! :D
yes..OutputStream is the class name..and sorry for using shortcut language. :P hey Norm can you give me a simple code to send bytes from a file to serial port?
i want to get all the file names from a particular directory to a list..so how can i get it!!? :P
name of the class is outputstream and it has a write method which take argument of byte 2 b written on serial port
after finding serial ports and connecting to it, m making a file output stream for serial port.n passing ma hex file name to outputstream.
and 1 more thing , while sending a hex file i want 2 completely ignore the line feed..
no i dnt hav the code 2 send file..bt til now wat i kno is i cn send a file to serial port as a data or collection of bytes..bt nt as a whole file..so plz explain the way 2 do it!!
i want to send a hex file to a serial port in java..so i need code for it.as a example.i am a student so m new in dis field.plz help me asap.