<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Data Acquisition on Andrew Walsh</title><link>https://www.awalsh128.com/tags/data-acquisition/</link><description>Recent content in Data Acquisition on Andrew Walsh</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Andrew Walsh</copyright><lastBuildDate>Wed, 25 Jul 2012 13:23:00 -0700</lastBuildDate><atom:link href="https://www.awalsh128.com/tags/data-acquisition/feed.xml" rel="self" type="application/rss+xml"/><item><title>Converting thermocouple voltages to temperature.</title><link>https://www.awalsh128.com/converting-thermocouple-voltages-to/</link><pubDate>Wed, 25 Jul 2012 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/converting-thermocouple-voltages-to/</guid><description>&lt;h3 class="relative group"&gt;Background&#10; &lt;div id="background" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#background" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;Unlike most sensors used in data acquisition, thermocouples do not have a linear mapping between their voltage&#10;and celcius values. This means that instead of factoring some scalar value against the data, in order to scale&#10;it to engineering units (eg. volts to acceleration), an&#10;&lt;a href="http://en.wikipedia.org/wiki/Thermocouple#Voltage.E2.80.93temperature_relationship" target="_blank" rel="noreferrer"&gt;experimentally derived equation&lt;/a&gt;&#10;must be created to approximate the temperature at specific voltages. This non-linearity is primarily due to&#10;the materials being used to discover the temperature difference.&lt;/p&gt;</description></item><item><title>Writing a TEDS (IEEE 1451.4) parser.</title><link>https://www.awalsh128.com/writing-teds-ieee-14514-parser/</link><pubDate>Wed, 17 Aug 2011 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/writing-teds-ieee-14514-parser/</guid><description>&lt;p&gt;I was tasked recently with writing a parser for TEDS bit stream data. There is an&#10;&lt;a href="http://standards.ieee.org/develop/regauth/tut/teds.pdf" target="_blank" rel="noreferrer"&gt;IEEE published paper&lt;/a&gt; with an overview of the&#10;standard but it doesn't give any examples for implementation. I was finally able to find a&#10;&lt;a href="http://standards.ieee.org/develop/regauth/tut/tdl.pdf" target="_blank" rel="noreferrer"&gt;paper&lt;/a&gt; that gave examples but still had trouble&#10;parsing the data. I finally realized there is not only 2 selector bits after the basic TEDS block but selector&#10;bits inside the standard template (2 in the case of template 25). Here are my main findings:&lt;br&gt;&#10;\&lt;/p&gt;</description></item><item><title>Representing scientific units in code.</title><link>https://www.awalsh128.com/representing-scientific-units-in-code/</link><pubDate>Wed, 13 Jul 2011 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/representing-scientific-units-in-code/</guid><description>&lt;p&gt;I have been working on implementing a stream reader for&#10;&lt;a href="http://standards.ieee.org/develop/regauth/tut/teds.pdf" target="_blank" rel="noreferrer"&gt;IEEE 1451.4 TEDS&lt;/a&gt; and came across this interesting&#10;&lt;a href="http://www.hpl.hp.com/techreports/96/HPL-96-61.pdf" target="_blank" rel="noreferrer"&gt;paper&lt;/a&gt; regarding representation of scientific units in&#10;code. It provides solutions to determining unit equivalency (eg. V/(m•kg/s²) = m/(s•A)). Also discovered some&#10;indivisible base units that can represent any unit (amp, candela, kelvin, gram, meter, mole, radian, second).&#10;With a bit to represent the placement (high for numerator, low for denominator) and a bit for presence, a unit&#10;storage type can be derived that only occupies 2 bytes.&lt;/p&gt;</description></item></channel></rss>