Here are some code snippets on how to reuse the Yats communication port configuration control in your own application. This is a bare minimum required to configure and open any port type.
Here is an example of a test case that reads a stream of data from a port. It looks for a certain packet (“OK”) and logs all stream input. In this example we use a TextLineParser but any parser can be used. The trick is to set DiscardDataWithoutParsers to false so that no bytes are lost… Read More »
An updated version of Yats is available in the Downloads section. The main highlights: Implemented undo/redo for test scenario and parameter editors Released Yats.Ports and Yats.Utilities libraries as a NuGet packages Added support for Bluetooth serial ports. Also, a special PortEmulator class for testing parsers without making actual connections Refresh of various GUI trees without… Read More »
An updated version of Yats is available in the Downloads section. The main changes: A major refactoring of logging code. Clean interfaces were defined and implemented, previous workarounds removed; Source solution upgrade – now compatible with the free Visual Studio 2013 Community edition! Created solution folders, finally started to use NuGet; Bug fixes What’s next?… Read More »
This is a solution how to enable single-click Torrent streaming (view without download) in Linux. First, install Node.js and Peerflix: Then, create a helper script, let’s call it ~/stream.sh: Add executable permission: Right-click a .torrent file in a file browser. Do Open With and choose the stream.sh script. Next time, the option… Read More »
I have spent some time putting together a firmware to enable Power Down sleep mode in ATtiny441. The examples on the web did not do the trick out of the box. Here is my code with some leftover bits for enabling / disabling peripheral devices when they are used. The MCU goes to Power Down… Read More »
UPDATE 2018-11 My unit has developed a huge 6A DC current offset a while ago. This is my last sort-of-working Mastech instrument, certainly will not buy anything this brand again.. The warning of wrong banana input started misbehaving in my MS2115A meter. I opened the meter and before I even started to fix, it was… Read More »
Yats now supports composite test cases. A selected test sequence or part of it can be exported to a test case file: Be sure to save the file in a directory set up to contain test cases: The test case shows up in the Test Case window. Now it can be added to other test… Read More »