A couple of weeks ago I spent some time examining a fairly complex circuit board from my old, but still functional, clock radio/CD player. I was using the probe of my handheld multimeter to measure voltages at various IC pins and circuit traces. At one point during the process I thought, “Gee, wouldn’t it be nice if I had someone here to read the voltmeter to me as I test various points? That way I could focus on my probe and not accidentally short neighboring pins.” But then I realized that I did have someone to do just that: Microsoft Sam. I present to you the NI LabVIEW talking voltmeter:
For those of you without LabVIEW, here are a few screenshots of the subVIs shown in the video above. Don’t forget that you can always download a free, unrestricted 30-day trial of LabVIEW from the NI website (seriously, it’s awesome, you should try it).
First, the initialization VI, which opens the Microsoft ISpeechVoice reference:
Next, the blocks responsible for detecting new steady-state voltages:
Finally, the code which converts numbers into strings and sends them to Sam:
Many thanks to Grant Heimbach, whose sample speech VI saved me a lot of development time (his original code is available on the NI Developer Community).
Click here to download a simple example VI which utilizes the code shown above.
The full, unmodified IOBoard Voltmeter program, as well as all of its supporting components, can be located at the bottom of the Mobile Studio Downloads page.
Got questions or comments? As always, feel free to leave them below!