The process cannot access the port 'COM4' because it is being used by another process - vb.net

I am trying to send sms through gsm modem using vb.net winform application. But when i try to send sms it throws the error
The process cannot access the port 'COM4' because it is being used by another process.
i tried to check but there is no way i can find which process is using com4.
anyone else ever faced this problem? any solutions regarding this issue?
Regards

You can try this: How do I determine which process is using a serial port?
If that doesn't work, I had that happen before and basically I just renamed the device I was trying to access to another COM port number and then tried again. If it is actively being used by another process then you'll probably get an error from the application that was using it.

Related

TouchDesigner, WebSocket connection error

I'm trying to connect obniz which is a microcomputer board and touch designer(TD) via WebSocket but it's not succeeded.
I wrote the correct net work address on TD but responses were never returned.
What I have confirmed
settings of obniz : OK
realtime web test :web socket is seems to work
I also asked to a friend of mine to do the same things using his laptop and he was succeeded. It seems to some settings wrong on my TD. Do you know how to solve it? I really appreciate with your support!
enter image description here

Unable to record SAP BPC with loadrunner or fiddler

I have an issue while recording SAP BPC10 accessing with Netweaver with loadrunner 12.55. while recording, the event count is getting increased and I am able to navigate through application (excel sheet) but once the recording is stopped nothing is getting generated. similar issue with fiddler as well, it is not capturing any traffic. please let me know if anyone has faced this issue and how it got resolved. Thanks in advance.
I tried changing proxy settings and also there is no firewall placed in between my machine and server. I have followed sap document as well(https://www.sap.com/documents/2015/08/008b8186-547c-0010-82c7-eda71af511fa.html)
Record Winsock, see if you receive anything. If so, but not using Fiddler or an HTTP Virtual User, then you simply need to record a different protocol or use a different generation path, such as a Citrix/RDP/GUI virtual user to run excel.
Alternate path, grab Wireshark/Ethereal to take a look at the protocols expressed between your Excel add in and the next upstream architectural component for insight into how you should be developing your test code.

Sending AT commands to my internal UMTS modem

I have a thinkpad laptop and I would like to send AT commands to my modem once it is connected to the network. The interface that is used is '/dev/ttyACM0'. What is the best way to send my commands there? I tried gnokii but wasn't able to connect to my modem :/ I also tried echo'ing commands to the device, this worked, but it is not easy to get the output of the command to proceed with the computation. Maybe one of you guys has a better way to do this. TIA
Have you tried minicom? (assuming from your interface that you are using Linux)
Introduction to minicom.
Entering "minicom" in www.alternativeto.net gives a link to another terminal emulator for Linux called Cutecom, but I have no personal experience of it.

GPRS and GPS on embedded Linux

I've got an embedded linux and a Telit gprs/gps module ("GM862-GPS" on USB-Port). My current project requires it to be connected via gprs for sending data, while continuously asking the module for the gps position. I'm connected to gprs with a ppp-daemon and chatsripts, but when the connection is established, the module seems to be locked (no reaction on AT-commands through minicom).
I read, that 'AT+CMUX' could be one solution, which is provided by this device, but I don't know how to use it, since the 'CMUX User Guide' by Telit isn't really helpfull (and a program for automatic setup is only provided for windows).
Does anyone know, how to deal with this command, or even knows a better choice to handle this problem ?
My answer might be too late.
You need to use CMUX to create another COM port to talk to it. I played with CMUX once and I understand your frustrations. In my case, it worked for a while and then failed and I couldn't find out why. You might want to post your question at Roundsolutions.
I programmed the module by writing Python scripts and upload to the module. Their Python API provides two channels to send AT commands to the module: MDM and MDM2. I use MDM as the AT command and use MDM2 to create sockets. Initially, you use MDM2 to send AT commands to create a socket connection. Once connected, whatever data sent to it will be interpreted as data stream instead of AT commands. They allow you to send '+++' to switch back to AT command mode.

asyncsocket accepts socket but doesn't connect to host

I've just started running (what I thought was) a basic asyncsocket in my objective-c app and I'm getting the didAcceptNewSocket: message when connecting with telnet, but then I'm abruptly disconnected ("Connection closed by foreign host") without reaching the didConnectToHost: message. It works fine in the example and I've tried to replicate everything I see there to no avail.
Is there some simple pitfall I should be avoiding? Any other way I can debug this problem?
In this case, I was using the wrong delegate methods copied/pasted from some other site. Always check your headers!