Search Engine

59 Threads found on Open Serial Port
Don't want to harp on about the broken interrupt code. Possible reasons why the PC terminal is behaving different on two computers: - trivial explanation. You don't manage to open the right COM port with correct baud rate. - similar problem level. The terminal software has different settings on both computers. - less obvious. You are using U
Hell I have local host wamp server. I want to Control serial port on Windows via php program. I Googled I looked that we need to configure port, we need to open and then close. but still I am not getting starting point. Please tell what should be in php to send data to serial port
Why someone should push you to provide detailed explanation of your problem to us? You should open COM port and readout input buffer. That's how it works. And don't forget to close the port before close application.
is it possible to access the same serial com port simultaneously? i.e one in visual basic and the same (COM1) in proteus virtual terminal In general when one opens a COM port in VB etc it will lock so other programs cannot access it it may be able to open it as a shared file??? never tried it though?? oth
Hi all, I have a Embedsky 2440 and I want to open it's serial port and send some hex data' i don't know what is the name to open. I open "/dev/tq2440_serial0" and write my hex data but there is no response . any suggestion will be appreciated.
have you got the COM port open in another program such as hyperterm or TeraTerm?
No Hyperterminal is present in Windows 7, so i am doubting your technique to use software. HW Hercules, and in serial tab, open the Desired COM port. Apart from that, try using module with different baud rates. Maybe it is configured for some other baud rate
ok you just connect the max in to system via serial port,connect MAX Tx pin to MAX Rx pin and open hyper terminal in to your system. Type the character from your keyboard .Check,whether the character is displaying or not in hyper terminal. if yes your MAX is Good.otherwise you have to replace MAX,before that connection checking is (...)
You need to decide the medium of communication between the controller and your PC. Then the software running on PC should open that particular port and wait for command. When the command arrives, process it and initiate some task or anything else.
Solution: open device manager -> ports (COM & LPT) then Right click the port you want to change then select "Properties", on "port" Settings tab click on "Advanced" and select a free port in COM port number list. In my case I changed "Device application Interface" from com4 to com 12 then (...)
Hello! There is no ComX on Linux. Basically if you want to open a port, you do: fd = fopen("/dev/ttyS0", RDWR); or something like that (google is your friend), and then you can read and write in your file handle. Of course you have to set the bit rate. Dora.
I am unable to open serial port in WinXP using C. It is returning error even though the correct COM port has been specified. The code is given below: #include #include #include void main () { HANDLE hserial; hserial = (...)
You may try the control called "openFileDialog" in toolbox Ex:
hi, you can access to ur device through UART by opening the device driver. in c it wud be like this: int fd; // file descriptor fd = open("/dev/YOUR_DRIVER", OPTION); //OPTION can be read only or write only, take a look at open system call if (fd < 0) { // couldnt open driver, exit(0); } write("some byte"); // send or (...)
I use a virtual serial port like: Eterlogic - VSPE: tool for serial ports emulation Run that, then open up a terminal emulator like: Terminal Software Once the two are connected, I can test the concept. Then write another VB program to talk on the v
Is there any VB 6 based software template available which communicates with controller via serial port. or code template for serial port communication with VB. Please send the links. I am new to VB. I tried serial port complete pc code with out success. Thanks in advance.
I've used Xport (from Lantronix, about $45 US). It has a simple serial port that you just read and write to; the device takes care of the ethernet stuff. On the other end you just need a simple program to open a socket and read or write to it. Basically this is no different than using any serial (...)
In communication settings, The serial port status is closed instead being open when it is connected to the computer. what may be the probable reason?:roll:
Hi sri, it is posible with matlab to make communication with com port all u need to do is open the port and send what ever data you want to send. ---------- Post added at 05:16 ---------- Previous post was at 05:11 ---------- here find the code for that Var=open("serial"); (...)
If you have a recent version of Visual Studio 2008 or 2010, it is fairly straight forward. To find the current port assigned to the device, open your Device Manager, in the Control Panel in the System Dialog Window, look under ports in the device tree. You'll see your USB/serial device and port number if the (...)