Search the Community

Showing results for tags 'analogdiscovery2'.

  • 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 and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

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 12 results

  1. I'm a coding newbie trying to to use Javascript to produce a pulse of arbitrary length and capture the whole pulse (and a little bit before and after) in one csv file. To do this, I need to make Scope1's recording buffer size longer, and set Scope 1 to be triggered by Wavegen1, but get the following errors with both the Wavegen and Scope Windows open: Scope1.BufferSize.value = 1; RESULT: TypeError: Result of expression 'Scope1.BufferSize' [undefined] is not an object. Scope1.Source.text = "Wavegen 1"; //OR Scope1.Source.text = "Wavegen1"; RESULT OF BOTH:
  2. I am using the python API for Waveforms to interface an Analog Discovery 2 and are trying monitor a voltage. The problem is that the measurements on channel 1 are capped to about 2.7 Volt wile channel 2 can measure up to 12.5 (the voltage I am supposed to measure) just fine. When I open Waveforms and use the scope there everything seems to work just fine. I am using the example code from AnalogIn_Record.py whit some small cleanup/modifications. Does anyone have an idea what I might be doing wrong? """ DWF Python Example Author: Digilent, Inc. Revision: 2018-07-19 R
  3. Hi, I'm trying to acquire at 1MSample/s using WaveForms SDK (DWF Version: 3.10.9) I think that I should use acqmodeRecord mode with infinitum length so I use: FDwfAnalogInRecordLengthSet(hdwf, 0.0); But then in the while loop I'm a little puzzled due to the call if(!FDwfAnalogInStatus(hdwf, true, &sts)).... Shouldn't be done only once to reach Running state? According to section "5 Analog In (Oscilloscope)" in SDK documentation the AD2 should remain in Running state... So I change the example to do only once but I have always the same samples...any clue? Sho
  4. 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!
  5. Hello For a project I have to analyze two analog signals at a frequency of 78.4 kHz. Sampling rate must be at least 1 MHz. I have a Analog Discovery 2, I generate for now a signal square of 100kHz. I can observe this signal but only on a few periods. I wish I could get them back on a spreadsheet excel in order to treat them with Matlab. I can get a spreadsheet excel, but only with 8000 values, or I would need 1M values. Is it possible with a Analog Discovery 2 ?
  6. Hi all i am using Analog discovery 2 for communication purpose.(CAN) I tried using the sample code given same as attached. I am using PCAN to send/receive frames to analog discovery 2 , I am sending only one frame with Standard ID : 0x011 and Data: 0xaa 0xbb 0xcc 0xdd 0xee 0xff but i am receiving lot of Frames with the same ID sent, lot of extended remote frames with CRC errors ,etc. I have attached the console output for reference. Can I know why i am facing the issue? I tried same experiment with waveforms still having similar issue. I have attached the screen shot o
  7. I am using analog discovery 2 to send/Receive signals with PCAN using python. Do i need to have a CAN transceiver IC to convert from CAN-H/L to CAN-Rx/Tx? Also wanted to know if i use Waveforms software, what is the hardware connection?
  8. Hello all, I am trying to read data from an Analog Discovery 2, but I am a bit confused by the FDwfAnalogInStatusData16() function. I would prefer to have the raw integer data from the AD2, as I want to histogram them and I would have to convert back the doubles to integers. On the include file of the C API it is written DWFAPI BOOL FDwfAnalogInStatusData16(HDWF hdwf, int idxChannel, short *rgu16Data, int idxData, int cdData); and I do not understand the difference between idxData and cdData. I tried to guess from the buffer sizes with no success. Reading from the AD2 I
  9. It appears that the AD2 power supply selection does not automatically switch to external power when plugging it in after it has already been connected via USB. 1. Connect the AD2 via USB cable 2. Start waveforms2015 3. Connect external power supply(5V -3.5A) From time to time a failure appears like DptiIO failed ERC: 0xA. On Linux this issue is made worst by the fact that it appears a lot more often than on Windows even in the middle of operation of the device. This appears even without the external power supply. Something similar appears on Linux saying that the USB p
  10. We are currently using an AD2 as a data acquisition device in a configuration in which an external trigger is delayed by the DigitalOut device and then routed to one of the AnalogIn channels to trigger the latter. The DigitalOut generates its trigger on digital i/o line 0. We now wish to use some of the other digital i/o lines for simple i/o. The question is can we do both things at once: namely, trigger digital i/o channel 0 with the DigitalOut device while using digital i/o lines 1-15 as simple Digital I/O devices? Our guess is that we can use lines 1-15 for digital input but
  11. Working on Debian 8.6 in python 2.7, trying to figure out what the 'ready' state of the AD2 means and how I can get back to running mode. We configure the AD2 to run continuously, collecting multiple subtraces and combining them into a larger trace. The system happily runs, sometimes for hours or days, reporting states of 'arm', 'triggered', and 'done' repeatedly. But at some point with an unknown-to-me cause, it flips to a 'ready' state and our data collection stops. I don't know what FDwf python command to issue to get it back to triggering and taking data. As it is, I close and delete
  12. We're using the 64 bit packages for Debian, writing our own python 2.7 code to access the provided AD2 library using 'ctypes' module. I'm trying to track down a tricky bug and wondering what the library was compiled with: C or C++ ? Is the dwf.h definition file exactly correct with regards to parameter types (char vs unsigned char Trying to see if the size of the parameters, ctypes.c_bool() vs ctypes.c_int(), e.g., matters. Or c_byte() vs c_ubyte(). Since afaik C doesn't have 'bool' type, knowing if this is a C++ library would help me decide. Similar inconsistencies: Example c