-
Posts
6,481 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by attila
-
Hi @bryan78 This jump is related to the newly added cross-tracking between the plot and Event view. It will be fixed in the next version.
-
Measuring the delay between two rising edges on Discovery 2
attila replied to maxwell_'s question in Test and Measurement
Hi @Albertu95 For falling edge set Hysteresis to zero or set level + hyst. This falling edge level +/- hyst will corrected in the next version. -
Hi @bryan78 This bug may be related to the recently added cross-tracking between the plot and Event view, and Data view in Logic Analyzer and Scope. I will try to reproduce and fix it next week. Thank you for the observation.
-
Running Self Created Executable File from Script
attila replied to CFalardeau97's question in Test and Measurement
Hi @CFalardeau97 It the application is in the PATH or next to the app then it can be called just by name (like: ping, cmd, ...) otherwise the full path should be used, like: Tool.start("C:/test/myapp.exe"). The argument array is optional, depends on your app. The work directory is also optional, it depends if you need this for your app or not. In some cases the app may need to be open like this: Tool.start("cmd", ["/c myapp.exe"], "C:/test/") -
Running Self Created Executable File from Script
attila replied to CFalardeau97's question in Test and Measurement
Hi @CFalardeau97 You can use Tool.start or Tool.exec like: print(Tool.exec("C:/Windows/System32/cmd.exe", ["/c", "pwd && dir"], "C:/temp")); -
-
How to choose digital channels to acquire
attila replied to Tamires's question in Test and Measurement
Hi @Tamires The bits in each sample represent DIO 15...0 There is no option to change this but you could use masking and/or shifting in your application as needed. -
Simulaneous AnalogIn Acquisition - AD2 w/ python
attila replied to Alessandro's question in Test and Measurement
Hi @Alessandro Exactly. The FDwfAnalogInStatus fetches information from the device, the FDwfAnalogInStatus... functions return the loaded values. -
Simulaneous AnalogIn Acquisition - AD2 w/ python
attila replied to Alessandro's question in Test and Measurement
Hi @Alessandro Yes, the analog-in samples are always synchronous. Trigger is needed for instrument (scope, AWGs...) and/or device synchronization. dwf.FDwfAnalogInStatus(hdwf, c_int(False), None) # fetch samples from device dwf.FDwfAnalogInStatusSample(hdwf, c_int(0), byref(voltage1)) dwf.FDwfAnalogInStatusSample(hdwf, c_int(1), byref(voltage2)) -
Measuring the delay between two rising edges on Discovery 2
attila replied to maxwell_'s question in Test and Measurement
Hi @Albertu95 Scope.run(); Scope.wait(); // wait for the capture to be done -
About measure Impedance range of Network Analyzer (AD2)
attila replied to Paul Chang's question in Test and Measurement
Hi @Paul Chang We don't have such specification but the IA Adapter module has 6 reference resistors ranging from 10R (limited by the AWG output drive 10-50mA) to 1M (500k taking in consideration the scope input impedance). The further away the tested impedance is from the reference the accuracy is reduced. https://digilent.com/reference/add-ons/impedance-analyzer/start Here are some extreme measurements ~1uH (mR with 10R) and 39pF (G with 1M ref) -
Hi @Sinaptec Looking at the code, the input phase always shows C1 - C2 phase, it is not modified based on mode/order. Edit: The Input Gain and Phase are raw values, may be useful for network analysis. All the other measurements take in consideration the probe/scope input impedance and open/short compensations when these are performed and enabled.
-
Solving a shortcircuit on Analog Discovery 1
attila replied to Virus's question in Test and Measurement
Hi @Virus Check for short at 1. The missing 1uF (2) should not affect since there is additional 0.1 and 10 on this rail.- 5 replies
-
- analog discovery
- short-circuit
-
(and 2 more)
Tagged with:
-
Hi @Sinaptec The warning threshold is set to Vrms/Irms/R exceeding 25x or x/25 (1-x/25=96%), indicating low measurement precision than can be improved with lower or higher reference resistor.
-
Solving a shortcircuit on Analog Discovery 1
attila replied to Virus's question in Test and Measurement
Hi @Virus The excessive consumption/heating of the USB controller probably indicates that it is damaged. Such could happen due to high USB voltage and in this case other ICs may be damaged as well.- 5 replies
-
- analog discovery
- short-circuit
-
(and 2 more)
Tagged with:
-
ADP3450 Digital and Analog record lenght
attila replied to AndreiH's question in Test and Measurement
Hi @AndreiH Up to 128Mi oscilloscope samples in shared buffer 128Mi@125MHz/1C, 64Mi@62.5MHz/2C, 32Mi@31.25MHz/4C, "unlimited" at rates below 1MHz For digital 64Mi samples buffering but with data compression it can fit much more for typical signals, "unlimited" at lower rates. -
How to detecting AD2 removed at usb port
attila replied to dragonLin's question in Test and Measurement
Hi @dragonLin If a device is hold open (FDwfDeviceOpen) by a process after disconnect, the information from this is kept in a shared table so it will be listed by enumerations. The applications/scripts should close the device (FDwfDeviceClose/All) after the task is complete or function failure (returning zero). For long running operation to periodically check if a device is available the FDwfAnalogIOStatus function can be used, this is also used by the WF app, like in AnalogIO_AnalogDiscovery2_SystemMonitor.py The return value of any other function can be used as well, like FDwfAnalogInStatus The connection attempt to a disconnected or already open/busy device will fail. It should work, see WF SDK/ samples/ py/ Device_Enumeration.py commenting: dwf.FDwfEnum(enumfilterAll, byref(cDevice)) and uncommenting: dwf.FDwfEnum(c_int(enumfilterType.value|enumfilterUSB.value), byref(cDevice)) -
Hi @FelixJ For ROM logic the first DIOs are use as address bits with a width of custom buffer size. For the first/default device configuration with 1Ki Patterns buffer the address space is 10bits so DIO 0 to 9 can be used as input for the ROM logic. With the 4th and 7th 16Ki DIO 0-14 https://digilent.com/reference/waveforms_-_rom_logic
-
Analog Discovery 2 Accessory Cable Pinout: PN 310-100
attila replied to InductorConductor's question in Test and Measurement
Hi @InductorConductor See: https://digilent.com/reference/test-and-measurement/analog-discovery-2-breadboard-breakout/start https://digilent.com/reference/test-and-measurement/bb-adapter-board/start -
Measuring the delay between two rising edges on Discovery 2
attila replied to maxwell_'s question in Test and Measurement
Hi @Albertu95 You can use something like this to measure the delay with higher approximation/interpolation : var trig = Scope.Trigger.Level.real; var c = Scope.Time.Samples.real; var v2 = 0; // T0 is aligned to trigger crossing for(var i = floor(Scope.Time.IndexOf(0))-1; i < c; i++){ var v = Scope.Channel2.Sample(i); if(v<trig){ v2 = v; continue; } var s = i - (v-trig)/(v-v2); var t = Scope.Time.TimeOf(s); print(i, t*1e9, "ns"); break; } -
ADP3450 Script use of the waveform generator
attila replied to Albertu95's question in Test and Measurement
Hi @Albertu95 See the other examples, the Help tab, use Ctrl+Space, see the script references in the status-bar, other posts... like the one below Use .text or .value to set/get a parameter. -
WaveForms in Demo mode generate dummy data for Logic Analyser?
attila replied to PhilipJ's question in Test and Measurement
Hi @PhilipJ The Repeated and Scan Screen/Shift modes work similar to oscilloscope, for short signals and timing investigation. The Record mode works as a traditional logic analyzer.