Jump to content

Dante

Members
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dante's Achievements

Member

Member (2/4)

1

Reputation

  1. Hi All, In Analog discovery 2 wavegen is it possible to force the waveform to be displayed for a specific number of periods? I would like to set it to one period so that when I export it one cycle is exported. For instance this is 50Khz sine wave displaying one cycle, And this is 100Khz displaying 2 cycles. Can I force it to make it display 1 cycle only? Best, Dante.
  2. Thank you @artvvb, with your advice I was able to successfully interface with the onboard flash.
  3. Still seeking assistance: I've turned my attention to interfacing with an off-board flash due to challenges in my initial approach. If anyone has insights or alternative suggestions, please share. Your expertise would be greatly appreciated!
  4. I am currently using the Digilent Arty A7-100T development board. I would like to use the onboard flash (S25FL128SAG) to store user data. From the schematic I can see the CLK pin of the flash is connected to the configuration clock of the FPGA (CCLK_0) and it is not addressable through the constraint file. Is it possible to control or access the CCLK_0 pin after the FPGA configuration phase for SPI communication? If direct control of CCLK_0 is not feasible, what alternative methods can I use to communicate with the SPI flash? Has anyone dealt with a similar situation and can offer insights or share their approach? Best, Dante.
  5. I have found that when using the script instrument, the 'Protocol.SPI.Write' function does not work without the brackets even for a single word. For instance: Does not work : Protocol.SPI.Write(8, 0xA1) Works: Protocol.SPI.Write(8, [0xA1])
  6. Hi all, Is it possible to open/close the scope views from the script? For instance, a line of script to add a new XY view? Best, Dante.
  7. Hi @attila, are there plans to make scope X/Y cursors accessible from the script instrument in the future versions? Even if I can turn them off/on through the script it would be helpful, this way I can define cursors for a specific workspace and turn them off/on through the script depending on my application.
  8. Hi all, Is there a way to include a script file in the script file other than selecting the file from the gear icon next to the filename? possibly through file name/path?
  9. Thank you for your effort please let me know if you find a working solution. One possible problem can be that the Protocol.SPI.Write() function doesn't behave exactly as SPI write through the protocol instrument. I have tested with another Display module with SPI interface and I get different results when using the function through the script instrument vs executing a master write through the protocol instrument.
  10. Thank you JColvin, After running the initialization sequence you provided(I have the power_off sequence commented out for this test), I still get 2.8V at VCC pin of DISP1(Referring to the digilent schematic PmodOLED.sch). Shouldn't I get more than 7Volts at this node if the initialization is working correctly?
  11. Thanks for you response JColvin, I have been looking at those libraries as reference as well as Digilent Pmod OLED reference manual and the datasheet of ssd1306. Currently I am using the script tool in waveforms to initialize the display but haven't had any success. I am not sure if I am connecting the Power pins correctly and would appreciate it if you can give me some feedback: VCC -> Positive supply pin of AD2 (3.3Volts) GND -> Ground pin of AD2 VBAT/RESET/DC/VDCC -> Digital IO pins When I run the attached script the voltage at VCC pin of display does not reach 7volts which makes me think something is wrong with my initialization/how I'm supplying power to the module. oled_Init.js
  12. Hi all, I am developing a test setup with Analog Discovery 2. I am trying to interface PmodOled with Analog Discovery2 to provide some visual indications for the tests. Are there any libraries/examples that you can provide? I have been trying with Waveforms Scripts as well as python using Waveforms SDK but I haven't had any success.
  13. Try using the export function. It takes multiple parameters for the settings which you can read on waveforms manual but for the default settings you can do this for data: Scope.Export("C:\My_dir\acquisition.csv") and this for the scope screenshot: Scope.Export("C:\My_dir\acquisition.png") best, Dante.
  14. Hello, I am trying to export Wavegen Channel1 data to a .csv file through the script. For my example I have a square wave as shown below: When I export this data manually it works as expected but I run this script : Wavegen1.Channel1.Export("C:/acquisition.csv") I get a .csv file with no data information as shown below: What do I need to change in my script so that the data is exported as well? Thank you.
×
×
  • Create New...