-
Posts
6,469 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by attila
-
DD: Use Play Mode to generate periodic pattern
attila replied to Stefan-F's question in Test and Measurement
Hi @Stefan-F For "infinite play" fill the entire 256Mi Byte of device memory. See the following example: DigitalDiscovery_Play.py -
Waveforms Crashes when Open File or Save File are selected
attila replied to tr53's question in Test and Measurement
Hi @tr53 I'm wondering if you tried the latest beta version which uses custom file dialog and if this solves the problem you noticed? -
Hi @PeterCo I hope this works: dwf.FDwfDigitalInTriggerSourceSet(hdwf, c_ubyte(3)) # trigsrcDetectorDigitalIn # DIO 7 (DIO 31 for Digital Discovery) positve pulse 100ns-1us dwf.FDwfDigitalInTriggerResetSet(hdwf, c_int(0), c_int(0), c_int(1<<7), c_int(0)) # reset on rise (low, high, rise, fall) dwf.FDwfDigitalInTriggerSet(hdwf, c_int(0), c_int(1<<7), c_int(0), c_int(0)) # count while high (low, high, rise, fall) dwf.FDwfDigitalInTriggerLengthSet(hdwf, c_double(100e-6), c_double(1000e-6), c_int(0)) # min, max dwf.FDwfDigitalInTriggerCountSet(hdwf, c_int(1), c_int(0)) # count 1, no restart See the WF SDK/ samples/ py/ DigitalIn_PulseTrigger.py
-
Utilize Defined Measurements in Custom Measurements
attila replied to JWBo's question in Test and Measurement
-
Hi @Someone I recommend using the embedded Help Tab (or Help/Browse) and SDK manual since that is most up to date and correlated to the used app version. The online help is (or it should be) concurrent for the last public release.
-
Polarity Setting for UART Function Calls
attila replied to DavidLee1997's question in Test and Measurement
Hi @DavidLee1997 The next beta software version will expose polarity in a new function. Thank you for the feedback. -
Hi @angar The included Adept Runtime 2.21.2 and newer requires at least Windows 7. WaveForms 3.16.3 can work with older Adept Runtimes, downgrade this 2.19.2 https://digilent.s3.us-west-2.amazonaws.com/Software/Adept2+System+Installer/2.19.2/digilent.adept.system_v2.19.2.exe Next WF versions will require newer Adept versions which don't support Windows XP.
-
Hi @Someone The with/without acquisition refers to the Buffer data. Tabs, references... are always included.
-
Analog Discovery 2 - USB to Ethernet adapter usage inquiry
attila replied to longboard's question in Test and Measurement
Hi @longboard Exactly, the serial interface is not available with AD2. -
Analog Discovery 2 - frequency sweep resolution question
attila replied to longboard's question in Test and Measurement
Hi @longboard For AD2 in the 3rd configuration the Wavegen carrier buffer is 16k (16384) but the AM/FM buffers remain 2k (2048). -
Analog Discovery 2 - USB to Ethernet adapter usage inquiry
attila replied to longboard's question in Test and Measurement
Hi @longboard Unfortunately no. The USB controller supports UART but in this product it is only used in JTAG and parallel interface mode. -
Analog Discovery 2 - frequency sweep resolution question
attila replied to longboard's question in Test and Measurement
Hi @longboard The maximum number of AM and FM steps is given by the AM/FM buffer size. For AD2 with the default configuration is 2k. -
The Sync Mode in Logic Analyzer of Analog Discovery & Digital Discovery
attila replied to BDS's question in Test and Measurement
Hi @BDS In Sync mode the Rate is only used for representation. If the frequency of the Clock signal is specified correctly the time representation will be correct. -
Analog Discovery 2 losing connection.
attila replied to dave slagle's question in Test and Measurement
Hi @N_T I'm glad to hear that. Thank you for the feedback. -
Increase number of data points for custom waveforms
attila replied to SaschaA's question in Test and Measurement
Hi @SaschaA For me the reliable play over USB is about 1MHz and Ethernet 2MHz (in Standard mode). With custom application and system (less running apps...) you may get higher rates. In embedded mode I expect to get 10-20MHz, need to test... With ADP3450/3250 the Ethernet bandwidth could be better than USB, depending on the (1G) network setup. Here are some test I just performed, direct Ethernet and USB connection, without hub, switch... For embedded test a Python script running in the device Linux was used. -
Analog Discovery 2 - USB to Ethernet adapter usage inquiry
attila replied to longboard's question in Test and Measurement
Hi @longboard You could control AD2 from or through SBC. The following WebAPI may be useful: -
Impedance Analyser - Export consecutive passes
attila replied to AML's question in Test and Measurement
Hi @AML You could use a Script like this to automate analysis and export: for(var i = 0; i < 100 & wait(1.5); i++){ // wait 1.5 seconds Impedance.single() // start if(!Impedance.wait()) throw "Stopped" // wait to finish print(i) Impedance.Export("~/Desktop/imp/"+i+".csv") // see Help/Script and Impedance/File/Export for more info } If you are interested only for measurements at a specific frequency: set Constant frequency, specify required Steps and rate using the Settle under Options (or use Averaging). -
Analog Discovery 2 losing connection.
attila replied to dave slagle's question in Test and Measurement
Hi @N_T Do you get any error message? You could try the latest beta version. It brings some updates for the USB library. Please let us know if it helps. Thank you. -
Hi @Someone There is a graphical glitch when the record is force stopped with less than the preset number of samples. To overcome this, change the Buffer the back and forth, or add to Tab... or save/load as you have noticed. It is fixed for the next version. Thank you for the observation.
-
Visualize Scope and parsed protocol analyzer data in same plot
attila replied to david2's question in Test and Measurement
Hi @david2 You could use the Scope in mixed mode by adding Channel/ Digital/ UART Set Format depending on your temperature value like to Decimal or Two's complement Use a Script like this to translate UART data to temperature as Reference channel. You should adapt the data to temperature function... Edit: Also make sure the sample rate is more than double of the UART rate. var rg = [] var temp = 0 Scope.DigitalChannels.UART.data.forEach( function(val){ if(!isNaN(val)) { // convert data to temperature temp = 0.25*val } rg.push(temp) }) // clone to have correct time position Scope.Ref1.Clone(Scope.Channel1) // set data Scope.Ref1.data = rg // other options Scope.Ref1.Units.text = "C" Scope.Ref1.Range.value = 100 -
Hi @RobHe The configurations are not listed in the manual. See the WF app for the list or use the SDK. >python Device_Enumeration.py DWF Version: b'3.16.36' Number of Devices: 1 ------------------------------ Device 0 : Name: 'b'Analog Discovery 2'' b'SN:210321A680EF' ID: 3 rev: 3 Configurations: 0. AnalogIn: 2 x 8192 AnalogOut: 2 x 4096 DigitalIn: 16 x 4096 DigitalOut: 16 x 1024 1. AnalogIn: 2 x 16384 AnalogOut: 2 x 1024 DigitalIn: 16 x 1024 DigitalOut: 0 x 0 2. AnalogIn: 2 x 2048 AnalogOut: 2 x 16384 DigitalIn: 0 x 0 DigitalOut: 0 x 0 3. AnalogIn: 2 x 512 AnalogOut: 2 x 256 DigitalIn: 16 x 16384 DigitalOut: 16 x 16384 4. AnalogIn: 2 x 8192 AnalogOut: 2 x 4096 DigitalIn: 16 x 4096 DigitalOut: 16 x 1024 5. AnalogIn: 2 x 8192 AnalogOut: 4 x 4096 DigitalIn: 16 x 2048 DigitalOut: 8 x 256 6. AnalogIn: 2 x 512 AnalogOut: 2 x 256 DigitalIn: 16 x 16384 DigitalOut: 16 x 16384 7. AnalogIn: 2 x 8192 AnalogOut: 2 x 1024 DigitalIn: 16 x 16384 DigitalOut: 16 x 256
-
Analog Discovery 2 - USB to Ethernet adapter usage inquiry
attila replied to longboard's question in Test and Measurement
Hi @longboard The microUSB to Ethernet adapter is probably Micro-A (slave) to be connected to host or OTG device (like used in older phones). This is not suitable for AD2 being slave. The Analog Discovery Pro 3450/3250 can be used with WF SDK through USB or Ethernet. -
[Analog Discovery 2]Waveforms: export unwrapped phase data as csv?
attila replied to hugocoolens's question in Test and Measurement
Hi @hugocoolens Yes, see the latest beta version: -
Hi @Kannan I just notice you question. It was blocked by the spam filter for some reason. See the reply on a similar question here: