I have developed an embedded application which requests status information from a device down a communications channel. My customer requires that these will be sent with a specific time period, so what I am looking for is a PC terminal application which can send a text string command repeatedly at a set interval over a period of time. I currently use a serial device tester which can immediately send back a set string when something is sent to it, but I need to control the time period and number of repititions.
Are there any applications (for Windows) out there which can acheive this?
9 Answers
Docklight / Docklight ScriptingFor testing applications communication over the serial port it is the best tool for the job.It listens for user defined sequences on serial port and can then trigger a transmission with parameters derived from the input message or function in a script.
I wrote a C++ program to test a embedded serial application and it was +/- 1000 lines of code. I was able to replace this with about 20 lines of vb script in Docklight Scripting.
Docklight is definitely worth the money.
I would tend to implement a short python script to do this (it can be compiled to a standalone executable with py2exe if that's what you need). Install python and pyserial. Then use a script like this:
However, if you want a more conventional Windows application, then you can probably do it with Docklight, possibly combined with Docklight Scripting (available from the same site).
The serial terminal emulation application Tera Term, has a scripting language which will be capable of setting up timed loops.
I use RealTerm. You can write scripts for it and have it send that file repeatedly. You can add delays between characters or delays between lines. It's a little buggy sometimes, but it's great for the price (free).
Although answered already, i use http://www.hw-group.com/products/hercules/index_de.html . Their app is free and in the serial tab, i can send and receive data from rs232. works like a charm.
ScriptCommunicator (open-source, cross-platform) is the right tool for you. It has many features and a very useful script interface.
You can use the built in windows task scheduler to run a simple batch script that writes texts to a the com port some think like
But I've not done this is in yers so my syntax is rusty. Otherwise you could use a simple 'termulator' program that supports scripting - again I've not done this in a decade I think.
I'd write a C# program to do this. They have libraries to open the COM ports and timers to time when to send data.
GModLab - cross-platform, scriptable (JS) terminal: https://github.com/tardigrade888/gmodlabYou can write scripts that do anything.
Not the answer you're looking for? Browse other questions tagged windowsterminalembeddedserial-port or ask your own question.
using python on the Raspberry PI I use similar code to what is shown below to read data from the serial port:
Essentially I just want to be able to read a message off the serial port and perform an action based on that message.
How can this be achieved using Windows 10 Core and c#, Can anyone point me in the right direction or provide a code sample?
Thanks in Advance for any help received.
Apr 26, 2017 Watch all scenes compilation of superhit blockbuster Marathi movie Duniyadari directed by Sanjay Jadhav. The film stars Swapnil Joshi, Sai Tamhankar, Jitendr. Duniyadari full movie. Watch Duniyadari (2017) Full Movie Online, Free Download Duniyadari (2017) Full Movie, Duniyadari (2017) Full Movie Download in HD Mp4 Mobile Movie. College buddies play cupid for a couple whose love story is destined to end in tears – yet, when they reunite years later, the college pals find their memories to be mostly sweet. Duniyadari (Gujarati) is a Gujarati movie a remake of Marathi movie Duniyadari produced by Tajdar Amrohi and Riyaz Balooch and directed by Shital Shah. Duniyadari is a story of love, friendship, relationship and destiny based in the period of mid 70s. Shreyas discovers the magic of love and friendship in college days; only to be perplexed with the choices to be made. Download Duniyadari (2013) Full Movie on CooLMoviez - Shreyas Talwalkar gets admitted to a college where he meets DSP, a rookie guy in the college who is the leader of a gang, after sometime they become good friends. There is also another gang leader Sainath who has rivlary with DSP.
2 Answers
it turns out that the Serial Port on the PI is not supported yet, which is very frustrating: https://www.raspberrypi.org/forums/viewtopic.php?t=109047&p=751638
Here is the supported way:
It is supported as of Windows 10 IoT Core version 10.0.10586.0. See: https://ms-iot.github.io/content/en-US/win10/samples/SerialSample.htm