This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC81416EVM: Programming Method

Part Number: DAC81416EVM

Hi TI,

I have bought your evaluation board DAC81416EVM and its interface USB2ANY. I am confused about how to program the DAC outputs through USB2ABY. The GUI provided may not be suitable for us to modulate the output in a fast scanning process and synchronize with a data acquisition system. Our system was built up on LabView. I know you may not have a Labview interface for this evaluation board. Could you guys offer some advice on how to program the DAC outputs in a way which is supported by LabView? Is it possible to send my own commands to DAC81416 through USB2ANY?

Best,

Siyuan 

  • Hi Siyuan,

    Can you try to use the python scripting tool in the software? You can write and read registers using that.

    Thanks,

    Paul 

  • Hi Paul,

    Thanks for your reply! I tried to call python script for another system before. That device could be directly controlled by python script. Can DAC81416EVM be directly programmed by python without using its GUI software? If it could, that would be perfect! Do you have some sample scripts which can utilize its basic functions, like adjusting its DC output?

    Best,

    Siyuan

  • The GUI would need to be running in the background, as the script only interacts with the register maps.  If you launch the script window, you can record a macro while configuring the device manually.  You can then recall that script or edit the script externally.  I recommend you record a script from the gui to get an idea of how the tool interacts with the EVM.

  • Thank you! Your advice helps a lot. I will try and let you know if I can make it work.

    Siyuan

  • Hi Paul,

    This is GUI's log txt file I found which is recording all the manual configurations. Is this the macro you were talking about? The "wrote data" line recorded exactly what I did for each action. If this is the script you were talking about, how can I recall it?

    Best,

    Siyuan

  • Hi Siyuan,

    I was mistaken about the Python Scripting functionality.  Most of our labVIEW GUIs have a python scripting tool, but apparently this GUI does not have it.  This means that it would be pretty difficult to get outside control of the GUI.  Even with the scripting tool, it would not be totally transparent to your software.  

    I would recommend that you use some kind of generic SPI controller to automate this.

    Thanks,

    Paul

  • Hi Paul,

    Thanks for your recommendations! Maybe we'll try NI's SPI interface device to program this evaluation module.

    Best regards,

    Siyuan