Dante
-
Posts
18 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by Dante
-
-
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. -
-
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!
-
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. -
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]) -
-
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.
-
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? -
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. -
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? -
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. -
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.
-
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. -
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. -
Hello,
Is there a way to add buttons/knobs to AD2? my goal is to add knobs to adjust the time base/range settings of the scope. I came across this tutorial : Adding Knobs To The Analog Discovery 2 – Digilent Blog . but I would like to take advantage of the waveforms software/scripts.
Thank you. -
Thank you. Is it possible to achieve this without an external feedback loop? (Without wiring the waveform generator 1 to scope 1).
note : I am using Analog Discovery 2 -
Hello all,
I am having a similar issue. I used the information in the thread below but it is not working for me.
https://forum.digilent.com/topic/4668-how-to-use-wavegen-to-trigger-scope/#comment-56424Any ideas on what I'm doing wrong?
Forcing Wavegen on Analog discovery 2 to display a certain number of cycles?
in Test and Measurement
Posted
Thank you! Do I have access to this menu through the script window?