Jump to content


Technical Forum Moderator
  • Posts

  • Joined

  • Last visited

About attila

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

15,242 profile views

attila's Achievements

  1. Hi @diligent1 Use FDwfAnalogOutRunSet and FDwfAnalogOutRepeatSet if you want to run for limited time
  2. Hi @StefKay 1. Yes dwf.FDwfDeviceOpen(-1, byref(hdwf)) # the device will only be configured when FDwf###Configure is called dwf.FDwfDeviceAutoConfigureSet(hdwf, c_int(0)) ... dwf.FDwfAnalogOutFrequencySet(hdwf, 0, c_double(hzNow)) dwf.FDwfAnalogOutConfigure(hdwf, 0, 3) 2. Unfortunately no. The channels need to be restarted to be in phase.
  3. Hi @Mike_P See the following examples:
  4. Hi @Thomas1983 The FDwfAnalogInStatusSample return only one sample for each FDwfAnalogInStatus(hdwf, 0 or 1, &sts) Collecting data this way will be done at inaccurate software/usb timing, 0.125ms to 10ms depending on system, load... The FDwfAnalogInStatus(hdwf, 1, &sts) FDwfAnalogInStatusData(...) returns capture with the specified frequency. The spacing between samples will be very precise, down to picoseconds, and trigger position at sample period precision, or better if you use FDwfAnalogInTriggerPositionStatus. If you don't use trigger the first sample will be collected immediately, with software/usb latency with us-ms delay. So, the approximate timing will be start_time+j/hzAcq.value as it is in VoltageWithTimestamp2.py Just use proper data&time instead perfcounter.
  5. Hi @diligent1 See the following: AnalogOut_Devices.pydwfconstants.py Connect trigger IOs between devices for reference clock (supported by AD3, ADP2230, ADP3X50...) and trigger synchronization. First channel of first device will perform AM 256 steps. You change the device names to have an order or modify the (auto) connection. Run once if you want...
  6. Hi @JanEck Try the latest beta since this is notarized: Allow apps downloaded from: App store and identified developers
  7. Hi @Dinushka You could use a Wavegen channel or 10-50MHz reference clock output on Trigger IOs.
  8. Hi @MarchP My answer was for the following question: It was not clear to me if you need a simple pulse for an external modulator ('another signal') or you want to do something more (AM/FM...) in the device. If software control accuracy is acceptable, the Script tool or custom application/script may be an easier approach than using the EclypseZ7 as development board: https://digilent.com/reference/programmable-logic/eclypse-z7/star
  9. Hi @MarchP The symmetry is limited by the device buffer size, like ~0.002% for 64k samples. You can use wait-run with sync or independent modes for short pulse like this:
  10. Hi @towa You can use ScanShift, like here PID with 28 samples at 1MHz pid3.py Edit: The code uses custom sine which gives lower latency for newer devices (AD3...), since these try to generate more precise frequencies which takes a bit more time. For AD1,2 it doesn't matter if funcSine or custom sine is used.
  11. Hi @Thomas1983 The samples are collected at the specified rate, at system frequency / N. FDwfAnalogInFrequencyGet returns the actual rate. The perfcounter you have used usually returns high resolution 'CPU' counter value, useful for dt measurements, but not for date&time. With AD1,2 you can use software timestamp + sample index/rate Newer devices AD3, ADP2230, ADP3X50... have a high resolution counter used for trigger timestamp (8-10ns) which is synchronized on software connection. The FDwfAnalogInStatusTime returns this and can be used to annotate +/- sample index relative to T0.
  12. Hi @Thomas1983 See the following: VoltageWithTimestamp2.py
  13. Hi @Luca71 C2 up to 1.25V (12.5mA) is in low range and above it switches to high range which provides lower resolution, more noise. The next sw version will switch at 2.5V
  14. Hi @jostikas I originally intended the Script for simple automation tasks, someone requested support for multiple files, and then the include... The next sw version supports tab reordering and recursive include.
  • Create New...