vinodcxlv

Newcomers
  • Content Count

    3
  • Joined

  • Last visited

  1. Hello @attila I've provided a screenshot of the logic I want to implement and a screenshot of the script I have came up with. However, I am receiving "undefined." Am I implementing to code correctly or is there something I am missing? If there was an issue with my syntax then the window would output something along the lines of "Syntax Error" correct?
  2. Thank you for the feedback. To read the file in the custom tab would I just need to comment rgData variable and provide the path? Does the file need to be JSON or can I just have my configurations (clock, select and data) in a text file?
  3. Hello, What is the difference between the "custom" and "sensor" tabs on the Protocol Analyzer in Waveforms? Are they used together? Where the custom tab gives the user the ability to write their own custom SPI Protocol and use it in the Sensor tab? And can I use them to develop a script that would control an SPI compatible 12-bit DAC. The goal is to read the 12 bit digital data from a file, with data ranging from 0x0000 to 0xFFFF (16 bits technically since the 2 MSB determine the DAC Power Modes and the 2 LSB are don't cares) and outputting that data from the Analog Discovery 2 to the 12-bit DAC