Search the Community

Showing results for tags 'Waveforms'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 130 results

  1. Hi With the waveforms tool is it possible using python scripting in the Waveforms platform to do the following ?? Use the Digilent Analogue discovery 2 - Attach a device like a PMOD device eg accelerometer https://store.digilentinc.com/pmod-acl-3-axis-accelerometer/ using the Analogue discovery 2 ability to chat SPI & IC2 - pmod DEVICES SUPPORT 12-pin Pmod connector with SPI interface and 2×4-pin I²C interface - Then using the read information from the PMOD device treat it like an extra oscilloscope channel . Either as a Analog channel or Digital channel depending on the the signal type acquired from the PMOD device. This is possible with Labview but that would also require a lot of code writing. If this is possible this is outstanding feature when considering all the available PMOD devices available from the list https://store.digilentinc.com/by-function/input/ This would be a real product enhancement for Digilent and the Analog Discovery and help sell the AD2 in to many new places . Best wishes Simon
  2. I'm pleased with the digital discovery but zooming using the mouse wheel in the Waveforms logic analyzer works in the opposite way to virtually every other Windows application. Normally when the wheel is rolled towards the screen it zooms in and when it is rolled back you zoom out but in Waveforms it is the opposite way round. Is there any chance this could be changed. Every time I use the zoom I zoom in the wrong direction first. Also, does anyone have an example of the code for a custom trace that is the result of a logical expression on other traces? For example "New trace = /CS OR /WR".
  3. I have one of the older Cerebot boards which should be equivalent to the Diglent Pro MX7 Embedded Systems Trainer Board that is currently for sale. I would like to capture CAN traffic using an Analog Discovery module and Waveforms software. I have two basic questions. After studying related posts on this forum, I get the strong sense that Analog Discovery and Waveforms software are better suited for connecting to the "PIC side" of the transceivers (RX and TX), rather than CAN side, where CANH and CANL are differential signals. (1) Is this correct? After studying the Cerebot schematic and reference manual, it appears that I can't directly connect to RX and TX for either CAN1 or CAN2. However, it appears that if I short together all of three pins of JP1 and all three pins of JP2, then the RX and TX of CAN1 will be available on pins 1 and 4 of connector JF. As far as I can tell, shorting all three pins together will not create an electrical short, as nothing on the board is driving the outside pins of JP1 and JP2. (2) Is this correct? Thanks!
  4. Hi Guys, I'm new to the AD2 & Waveforms, and in the need of some help. I'm trying to import a csv file into a custom wavegen and then output it. Here is my code: if(!('Wavegen1' in this)||!('Scope1' in this))throw"Please open a Scope and a Wavegen instrument"; var filename = "/Users/PaulBritten/Documents/AFWorkMain/AFWork/Waveform/single_qrst_improved_twave_1khz.csv"; var file = File(filename); print("exists? " + file.exists()); var arr = file.readArray(); print(arr); Wavegen1.Channel1.Mode.text = "Custom"; Wavegen1.Channel1.Custom.Type.set("MyWave", arr); Wavegen1.Channel1.Custom.Type.add(arr); Wavegen1.Channel1.Custom.Offset.value = 0; Wavegen1.Channel1.Custom.Frequency.value = 1; Wavegen1.Channel1.Custom.Amplitude.value = 1; Scope1.Trigger.Trigger.text = "Repeated"; Wavegen1.run(); Scope1.run(); Can anyone explain to me why I'm getting this error: Thanks for any help in advance. Best wishes Paul
  5. The protocol options and features in WaveForms are great and do just what I need. The only issue it looks like Waveforms only supports one Protocol window, hence 1 UART. I need to monitor serial communications between two devices, which means I need two RX inputs. Is there a way to achieve this with the latest version?
  6. Is it possible to decode scope data using one of the "protocols"? I often need to analyze scope data as inverted UART data (e.g an RS-232 async serial signal).
  7. Hi, I use WaveForm 3.11.5 and I would like to be able to import a previously exported Scope FFT, Impedance Analyzer and Network Analyzer data. The exports work fine, and it's pretty good for working with other tools that can handle .csv. On the other hand, it would be great to have the ability to import these values later to compare them with the ones we are measuring. I could imagine it as a new reference type, so we could import even multiple files, name them and choose colors for them. What do you think, @attila? Regards, Andras
  8. Hello Digilent Forums, I have an Analog Discovery 2 + Impedance Analyzer board, and have been programmatically manipulating the board via the DWF library. I am now trying to plot Input Phase (∠) programmatically. The SDK for Python comes with a `dwfconstants.py`, which houses values of `c_int()`, corresponding with various measurement types. For example, `DwfAnalogImpedanceImpedance` measurement type corresponds to `c_int(0)`. I do not see a constant for Input Phase inside `dwfconstants.py`. Is it possible to get Input Phase? Thank you in advance for your help!
  9. Hello Digilent Forums, I am trying to write a Python script for the impedance analyzer. I am reading the WaveForms SDK and following examples. I noticed all methods in the examples that use the dwf (Ex: `dwf.FDwfDeviceOpen`) use positional arguments. In the SDK, it lists the parameter names/types for the method (Ex: `FDwfDeviceOpen(int idxDevice, HDWF *phdwf)`). I have tried and failed to figure out how to specify them using keyword arguments instead. Is it possible? Thank you in advance for your help!
  10. During device opening internal chips are enabled and configured. This results in consumption increases, specially when the 100 MHz clock (PLL) is started. The needed current increases from 100mA to 500mA. In case the USB can't provide enough current the voltage drops below the minimal required for the device to operate and communication fails. In case you get “Device configuration failed (PLL 1)" or "Communication with the device failed.” error message: The device needs at least 2W/400mA from USB cable. To satisfy this: - Try to use different USB cable and computer plug. - Use the USB plug on the back of the PC, not the one on the front panel. - Use short cable, do not use long cable or cable extender. - Use powered USB-hub, avoid un-powered hub. - Use USB-Y cable to load power from two plugs. Device not detected by WaveForms: Open Windows Device Manager then connect the device and wait up to one minute for a device to appear: - USB Serial Converter, with warning - Connect the device directly to the computer's USB plug without using external hub. - Restart the computer. - Reinstall WaveForms, including the Adept Runtime section. - USB Serial Converter, without warning - Restart the computer. - Reinstall WaveForms, including the Adept Runtime section. - Other application might have erased the USB controller EEPROM (FT_Prog, programming cable drivers...) Use the "My device is not listed" button in WaveForms application Device Manager to reprogram the EEPROM. - Unknown Device Check the Hardware IDs under device Properties, Details tab - USBVID_0403&PID_6014 The USB driver is not installed. - Restart the computer. - Reinstall WaveForms, including the Adept Runtime section. - USBVID_0000&PID_0000 Device not identified or malfunction. See "Nothing shows up". - Nothing shows up: - Connect the device directly to the computer's USB plug without using external hub. - Try to use different USB cable and computer plug. The device or its plug might be damaged.
  11. I downloaded the digilent.waveforms_v3.10.9_64bit.exe installer, and got to the window where it asked me where I'd like to install the software. But I can't change from the default C:\Program Files (x86) location. Is there some way I can get around this? I have very little space on my C: drive.
  12. Hello, I'm confused about some of the function descriptions in the WaveForms SDK Reference Manual. I want to set the analog output to dynamically, from the documentation for the function FDwfDeviceAutoConfigureSet it says to set fAutoConfigure to 3. However fAutoConfigure is defined as a Boolean value. There is a similar case for FDwfAnalogOutConfigure Is the documentation incorrect? Or am I misunderstanding how to set this value? Thanks in advance, Richard
  13. Hello, I think I need a bit of help. Then, here goes my case What do I need to accomplish? Read the TSL2561 sensor; ( Here is the help I need now ) Convert the values from the sensor using an exponential equation. (please, point me out some reading on doing so) Export the values to a CSV file; (please, point me out some reading on doing so) What is going on? I'm trying to use the instrument protocol in the custom tab, but I'm having a hard time to figure out why I'm having the output attached for that code. I see that if(!Write(adr, 0x80, 0x03)) return "Communication error."; Works just fine and outputs correctly But the lines Read(adr, [0xAC], 2); Read(adr, [0xAE], 2); Are giving me incorrect output as in the picture. What have I tried? If I run only one reading, I get it correctly: Read(adr, [0xAC], 2); Please, see in the picture that Forum_case_I2C_read_outpu.png that it tried to perform 4 readings while I passed only 2 as the parameter. Further question? Is that a way enable line number in the editor? What is my environment? Instrument: Analog Discovery 2 IDE: Waveforms 3.10.9 Thanks,
  14. Hello Digilent Forums, I am a new user of the Analog Discovery 2 + Impedance Analyzer instruments. I am using WaveForms 3.10.9. I am trying to understand the metrics for Input and Phase. In the docs, `impedance.html`, it lists: Input as showing the "DUT/reference resistor". The Y axis plot is "M Input Gain" with units in dB. Phase as showing the phase angle and Ref RLC input phase. I am assuming θ ("Phase") is the phase difference seen by the Analog Discovery 2's two scopes between V and I. Can you please explain more what the terms mean? M ("M Input Gain") ∠ ("Input Phase") For your reference, I have attached a plot generated using a 100 kΩ resistor and then a 0.1 μF capacitor in series. Thank you in advance for your help!
  15. I am a new user and am trying to understand what all the knobs in this program are for. I have an Analog Discovery 2 + Impedance Analyzer board. In `impedance.html` of the documentation, it talks about series resistance/reactance and parallel resistance/reactance. However, it never actually defines what these address. The same thing goes for the Meter's parameters for series model and parallel model. What do these terms refer to? Is it some hardware configuration within the AD2? There seems to be no documentation of these terms, despite me searching through this forum. Thank you in advance for your help! -James
  16. Hello, In my waveforms script I am trying to import and run a saved custom 7-bit bus pattern in csv format that I generated from the custom pattern generator. I am able to read the data from the csv, but when I do: Patterns1.Channels.Bus._custom = data all of the data is just written into the first channel of the bus. Is there another format or syntax that should be used when specifying patterns for custom busses?
  17. Hello, I just purchased a Discovery 2 board and am trying to familiarize myself with it and WaveForms (win 10). When I plug the board's waveform generator (pins 1+ and 1-) into the board's scope (pins W1 and GND) and deliver a sin wave, I can view it in WaveForms. However, when I plug the Discovery waveform generator into my Tektronix oscilloscope, I cannot detect any waveform. Similarly, when I plug my Tektronix waveform generator into the Discovery 2 scope and apply a sinusoid, the Discovery 2 cannot measure any waveform. Does anyone know why the discovery 2 board is able to generate/read its own waveform, but it can neither generate/read a waveform that can be detected by other instruments? I have included an image of my wavegen and scope setup windows within WaveForms (when the Discovery 2 waveform generator and scope are connected). Thanks for any suggestions! -John
  18. I see in the documentation that the ADG612 gain switch between high gain and low gain to the ADC. I see in Waveforms Spectrum analyzer that there are many gain options: 0.01x, 0.1x, 1x, 10x, 100x. Which hardware gain setting is used in Waveforms for those gain settings? Thanks!
  19. I want to record data on one channel using the scope tool from WaveForms using the Analog Discovery 2. Additionally, I need to record digital signals on 4 channels at the same time in order to delimit windows for post-processing. Even at a (very) low sampling rate, WaveForms displays "Samples were lost! Reduce sample rate." when I attach some digital channels to the scope tool. Even when the sampling rate is reduced to 1Hz, this error still happens. Is this a WaveForms bug? I put my workspace in attachment to reproduce the issue. scope-digital.dwf3work
  20. I'm using WaveForms (and Javascript) for the first time. My problem is really simple; I measure a voltage signal with the Analog Discovery 2, and want to get a "long" file with data over several seconds. When using the record-function and exporting data, I only get 1000.000 data points with the frequency required, and I can't seem to figure out how to save the raw data in the script. If anyone can help this rookie, I'll be very grateful! I think I'll need a whole new script, but it looks like this right now: ch = Scope.Channel1 var newfile = File("~/Desktop/scope/measure.csv") if(!nyfil.exist()){ var AllData = Date()+","+ch.data+" nyfil.appendLine(AllData) Index++
  21. I need to spy on an SPI connection for a long period of time which will require timestamps on the data to find approximate times of transmission. As this is not possible in Waveforms (which is a real shame) has anyone written any software that uses the SDK to do something similar to this? It would save me a bit a work if there was already an existing solution. - Callum
  22. I'm using the Analog Discovery 2 and on WaveForms 3.8.2 I cannot figure out how to send and receive SPI data. I can read SPI traffic fine through the Logic Analyzer, but I've had no luck with the Protocol analyzer. I have some hardware that I'm debugging that sends commands to a SPI device. The Logic Analyzer tool shows this just fine (below). What I'd like to do is send other SPI commands using the Protocol tab but I've had no luck figuring out how to send commands (properly). As a first step, I'd like to reproduce what I see below in the logic analyzer but do it instead in the protocol tab. As you can see, I just get 0xFFs back in the Protocol window, whereas I'd expect to get 0xD7 0x24 0x12 0x04... Any ideas? I have never been able to get the Protocol tab to work in SPI mode. Has anyone else?
  23. I am using Debian/Jessie on a AMD64 platform. I am unable to use my Analog Discovery because Waveforms does not function any longer. Here are the problems. 1) Both the available versions of Waveforms2 (version 2.9.4 and version 2.7.5) install without problems (using "dpkg -i"). However both versions fail to run because of a missing libdmgr.so.2 library. 2) Adept (version 2.16.5) installs without problem. However Waveforms3 (version 3.4.7) fails to install because it is missing a system menu definition. Is there an existing fix or work around for this ? Are these problems likely to be fixed in the near future ? Just my two cents : I am grateful that Digilent is supporting Linux users and providing Debian packages. However there is much to be desired in the quality of this packaging. There have been similar problems with the Waveforms previously. I do appreciate supporting the difference between multiple Linux distributions can be quite a problem. For software that is offered gratis, such as Waveforms the best solutions is to open source it, under a suitable license so it can be integrated into and customized for each Linux distribution by or with the help of, the maintainers of those distributions. Not to mention the cost savings and community support that Digilent will gain in the process. If this is not a possibility then the next best thing is to create source packages (.spec for rpm and debian directory for deb) that confirm to the packaging policies of few chosen seminal distributions such as Fedora and Debian (stable) and then use build servers (perhaps using docker) that create builds for each version of those distributions on the distribution itself. On Debian, tools such as pbuilder and lintian eliminate a lot of these packaging problems. It seems like the above deb packages are not being built using the Debian packaging system on a Debian system. This is because in trying to included the package into a local Debian package repository (created using reprepro) corrupts the APT dependency metadata.
  24. I am new to the WaveForms software. In browsing the protocol section, it lists CAN. I'm happy and surprised to see this feature. How is this intended to be used? For example, using an external CAN bus transceiver to DIO 0 and DIO 1? A two wire CAN bus is a differential signal (similar to RS485) with clear limits on dominant / recessive states. I am using the Analog Discovery 2 hardware. What are the recommended connections? I'm hoping any responses to this will also apply to the logic analyzer as well. Having a CAN bus decoder would be awesome. WaveForms: 3.8.2 64 bit; Qt 5.6.3; Windows 7 Hardware: Analog Discover 2 Cheers, JMA
  25. Hi, I have been using the Waveforms in Mac to control digital discovery. And I am now familiar with using the scripts in Waveforms. I want to use Tool.start option to run python from Waveforms. Below is the command I am using based on the format. But I haven't been successful with running python. Tool.start("/Users/venkatap/anaconda2/bin/python", "/Users/venkatap/Waveforms_v1/py_files/run_file.py","/tmp/") As all the examples and discussions about this topic are related to windows machine, I wanted to know how to use the Tool.start option in Mac. Kindly assist me with this. Thank you, Praveen