Jump to content

lokobob99

Members
  • Posts

    44
  • Joined

  • Last visited

Recent Profile Visitors

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

lokobob99's Achievements

Frequent Visitor

Frequent Visitor (3/4)

3

Reputation

  1. Hey everyone, I wanted to ask, whether you could tell me the main differences between the Analog Discovery 2 and the Analog Discovery 3. In other words, when would you consider an upgrade and why? Thanks in advance! Kind regards,
  2. Hello everybody, I'm currently using the Analog Discovery 2 and was wondering, if you could help me with a question: The official specs of the Analog Discovery 2 list, that the Analog Discovery 2 has a Sample Rate of 100 MS/s. Now my task is to record a digital signal and send the data via sockets to a website. For that, I need to make calculations on the required bandwith. Now for that I have to know, how big the size of one sample is. Is it 1 Bit (because digital signal can only be 1 or 0)? And what would be the size of an sample of an analog signal? Thanks in advance! Kind regards,
  3. Hello everyone, I have a simple question about the DigitalIn_ScanScreen.py inside the WaveForms SDK for the Analog Discovery 2. Inside the code there is a variable called hzAcq. Is that the sample rate of the recording? Or is it the divider for calculating the sample rate? So for example if you set the variable hzAcq to 1000 it doesn't mean that the signal sample rate is 1 kHZ? Appreciating any help! Kind regards,
  4. Hey everyone, I just read in my newsletter, that you guys are about to release the Analog Discovery 3. Now my question is: Is the WaveForms SDK, which is used for the Analog Discovery 2, compatible to the Analog Discovery 3? So basically, is it possible to use the functions, which I have wrote for the Analog Discovery 2, for the Analog Discovery 3? Thanks in advance! Kind regards,
  5. Hey @attila, thanks for the fast reply! It's not that I want to measure the sampling frequency of the signal. I would like to measure the signal in realtime and for that I would like to obtain one value at a time. Now when you use the record function of the logic analyzer instrument, you save an great amount of values into a buffer of a specific size. Would it be possible to set the buffersize to one, so that I would always obtain one value from one recording?
  6. Hey everybody, I wanted to ask, whether there is an available function in the WaveForms SDK to measure one sample of a digital signal (e.g. a PWM-signal on a LED). Thanks in advance! Kind regards,
  7. Nevermind, I found a simple solution: I'm just passing in the device_handle as a parameter to the module, where I want to link it to the Analog Discovery 2.
  8. Hey everyone, let's say I have two python modules: A module called 'A' and a module called 'B'. Now let's say for instance, that I establish a connection to the Analog Discovery 2 in module 'A' (device_data/handle). Now I would like to use some functionalities written in module 'B'. But if you establish a connection in module 'B' to the Analog Discovery 2 it obviously throws an error, since the device is already connected through module 'A'. So is there a way to transfer the device_handle to make it usable over multiple python modules? Any help would be appreciated! Kind regards
  9. Hello everyone, I was wondering, if someone could help me with this problem: I'm currently trying to record a PWM-Signal (digital signal) and display it on a dynamic chart on a website. For that, I'm currently using the Scan-Screen-Mode (see the gif below, how the signal is displayed at the moment) and send every single value through sockets to the frontend. Unfortunately, this method does not display the signal in realtime, since it is first recording the signal into a buffer. Now I wanted to ask, if there is an opportunity to measure the signal in realtime using the waveforms sdk. Thanks in advance! Kind regards,
  10. Hello everyone, I have a simple question: Is there a possibilty to check, whether the Analog Discovery 2 is already in use by another application/server using the WaveForms SDK? For example, if you open the Waveforms Software and then try to run a python script you get an error, since the Analog Discovery is already used by the software. This is the log of the error message: raise error(err_msg, err_func, err_inst) WF_SDK.device.error: Error: PythonSoftwareFoundation -> generate -> Invalid device handle provided Any help would be appreciated! Kind regards,
  11. Hey @attila, thanks for the reply! So you mentioned data processing: I would assume the first step is to measure the signal and save the values in a buffer of a certain size (e.g. 4096 values). Do you have a hint of what to do next? I would also assume you also need the sampling rate/frequency. Kind regards,
  12. Hey @attila, thanks for the answer. I'm using an Analog Discovery 2 would, that be possible with this device? :) Kind regards,
  13. Hello everyone, I have a simple question: Lets say for example you have a simple LED, which runs with a pwm-signal and a frequency of 100kHz. Is it possible to use the waveforms sdk to get the frequency (100kHz) of the LED and save it in a variable (e.g. in Python). Thanks in advance! Kind regards,
  14. Edit: This also happens, when I first start the script. After some time (like about 4 seconds), it changes to the correct values.
  15. Hello everyone, I have created a function, which reads out a digital signal on one of the 16 DIO-Channels of the Analog Discovery 2. I have used the Scan Screen Mode of the API and used the AnalogIn_ScanScreenMode.py example as a starting point. Now I have a problem: When I try to read out channel 3 for example, it shows the corresponding example. But sometimes it just reads out the value: 34754 and other values, which are not logically explainable. Normally I expect values to either be 1 or 0 (since it is a digital signal). Maybe you have an answer, why that happens. The Analog Discovery 2 has a ground connection to the connected circuit. Kind regards
×
×
  • Create New...