Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

AMC7836EVM LabView control

$
0
0

Hello all,

I'm trying to build an interface around the AMC7836 ADC/DAC combo device from Texas Instruments. This evaluation module has the AMC7836 board and supporting circuitry, and then a computer connection via a "SDM-USB-DIG" dongle, which appears to be a USB serial port that speaks ASCII @ 9600N1. The evaluation module comes with a demo GUI which is written in LabView, but unfortunately compiled and the VIs are not accessible. I've had some limited success reverse engineering the GUI and was able to extract the serial control codes that are being sent to the USB-DIG, of which I've posted about on the TI e2e forums.

I'm a complete beginner to LabView, and have been struggling to design an instrument in a reliable way. I'd essentially like to be able to recreate the basic functionality of the demo GUI (here's a screencapture of the interface), but as a LabView controllable instrument, so I can wrap my own application specific interface around it. I've worked out the serial strings I need to send to the device to initialise it and read and write its registers over serial, it's just LabView programming part that I'm somewhat stuck on - not knowing best practices.

I'd like to have sliders to control the ADC output voltages, and I've played with some event blocks to try and achieve that, but I cannot achieve anything working reliably.
Is there a best practice for creating a responsive GUI that might contain a few sliders, and then when those sliders are moved, a command to set the voltage is sent out over serial to the device, then another read command is sent and processed to display the readback voltage (the specifics of these commands is not important, they can be considered as just ASCII strings to be sent over to the serial device).


Attached is the code that I've been working on so far as a source distribution. If anyone could take a look at that and give me some advice, that would be much appreciated.


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>