Professional Interests: Instrument automation
Top 1% contributor
Software used for controlling and data logging lab equipment.
5 months ago
Don't use while loops - use timers instead.
5 years ago
Nope. Nothing else is accessing COM5. I have had issues before with Windows picking up the device (since it is continuously br...
Anyone seen these errors before? (MATLAB R14 with the serial fix applied) The device I am communicating with sends regular stat...
5 years ago
Reads and writes information to Eurotherm controllers via Modbus RTU protocols.
10 months ago
Files to connect, query, and disconnect from the Pico Technology USB TC-08, using DLL's.
1 year ago
Hadn't checked this in a while because I wasn't e-mailed when there were updates. Anyway, I got it to work in the end by turnin...
I'm making a GUI at the moment to access several different types of serially-connected instruments, each having a different conf...
That's fantastic! I didn't think of doing it that way, I'll remember that technique for next time. Thanks Tristram!
I hope this lot helps, I've given you two sets at different levels so you might be able to get something out of it. I'm not sur...
Firstly, those numbers I gave you were wrong, since I had some extra processing turned on in the software. Secondly, I've done ...
Hi everybody, I'm trying to reverse engineering an instrument at work (University). Using a serial spy cable I've figured out w...
5 years ago
Alright! SLMtools worked a treat with the piece-wise linear fit - I got exactly what I wanted out of it. Thanks!
I've been using MATLAB for around 6 months now, and only now have I needed to do something that is actually mathematically-relat...
Retrieves data from a running instance of PicoLog Recorder via DDE.
6 months ago
Commands for communicating with Rheodyne valves via RS232
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input vector, output true or false whether it is a colu...
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32).
Input a = ' singular value deco...
Tell me the slope, given a vector with horizontal run first and vertical rise next.
x = [10 2];
Given a "counting sequence" vector x, construct the original sequence y.
A counting sequence is formed by "counting" the entrie...
Given an amount of currency, return a vector of this form:
[100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01]
Input a = ...
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99.
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...
This is a basic MATLAB operation. It is for instructional purposes.
You may already know how to <http://www.mathworks....
If you have two small strings, like 'a' and 'b', return them put together like 'ab'.
'a' and 'b' => 'ab'
For extra ...
Join the conversation