-
Posts
6,469 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by attila
-
-
Hi @bobql See the following post:
- 1 reply
-
- digital discovery
- spi
-
(and 1 more)
Tagged with:
-
Hi @scorbetta
-
Hi @scorbetta The mentioned function should be in the latest adept.runtime Make sure the install succeeds, there are not errors listed sudo apt install ./digilent.adept.runtime_2.27.9-amd64.deb
-
DigitalDiscovery relation between DIN sampling rate and system frequency
attila replied to Roche's question in Test and Measurement
Hi @Roche The frequency adjustment is intended for the Pattern Generator and Protocols. The device can generate natural division signals of the system frequency, like from 100MHz, 50, 25... and with 80MHz 40, 20... The Logic Analyzer can sample at up to 8x of system frequency. -
Visual Studio SDK 32 vs 64 bit C project, and "readme.txt" errors
attila replied to gcb's question in Test and Measurement
Hi @gcb The instructions are the same or similar for newer VS versions. You can build app for x86, x64, arm64 or arm64ec, just use the corresponding dwf.lib dependency under project/Properties/Linker/Input -
Coninuous (streaming) arbitrary waveform output
attila replied to gcb's question in Test and Measurement
-
Discovery 3 with Raspberry Pi Zero 2W over current error
attila replied to rjratnip's question in Test and Measurement
Hi @rjratnip See the following post: -
Assistance Needed with Oscilloscope Integration Using Waveform SDK in Qt
attila replied to Fausto's question in Test and Measurement
Hi @fahiz The amount of data may be too much for the graph function used. You may need a different method for drawing. -
digilent adept runtime package header is not signed
attila replied to aminoh's question in Test and Measurement
Hi @malexander Only the new builds are signed, since 3.22.14, with the same key as adept. -
Hi @AndayLe The FDwfAnalogImpedancePeriodSet is for different purpose.
-
Hi @CAM C The record mode uses data streaming. Since it doesn't know when the trigger will arrive it starts streaming immediately and stop after the given 'length'. This is why the samples collected in the software buffer need to be aligned at the end, see AnalogIn_Record_Trigger.py example. With position 0 the streaming starts with the trigger. The acqmode single returns a buffered aligned capture, up to maximum sample rate and device buffer size.
-
Question about phase between digital output and analog waveform
attila replied to liu's question in Test and Measurement
Hi @malb Currently the latest build for ARM Linux is 3.22.15 -
Assistance Needed with Oscilloscope Integration Using Waveform SDK in Qt
attila replied to Fausto's question in Test and Measurement
Hi @fahiz @Fausto Why are you limited to 0.2 sec ? with 1.5M samples and 1.5MHz capture rate the span in 1sec If you are interested in peaks you can use min/max sampling mode (FDwfAnalogInChannelFilterSet), less samples and lower frequency. The sampling rate should be at least 4 times than signal frequency, otherwise you see aliasing. https://www.ni.com/docs/en-US/bundle/labwindows-cvi/page/advancedanalysisconcepts/aliasing.html -
Error: ...either not designed to run on Windows or it contains an error
attila replied to tyoung_google's question in Test and Measurement
Hi @tyoung_google license.txt -
Hi @AndayLe The above should work. Make sure the device opening succeeded, the function return is 0 and/or hdwf is not 0. What are you doing after starting the generator ? If your the program quits the device is closed and outputs are by default stopped. Use software wait or use: dwf.FDwfParamSet(DwfParamOnClose, c_int(0)) # continue running after close
-
DIO selection limitation with I2C, SWD
attila replied to jostikas's question in Test and Measurement
Hi @jostikas I added information to the Help. -
Hi @philip.mcconnell You can use the Script tool or View/Logging for this purpose. Scope.single(); Scope.wait(); var ch1 = Scope.Channel1.fftmagnitude; var ref = Scope.Ref1.fftmagnitude; var hz = Scope.Ref1.fftfrequency; var c = ref.length; clear(); for(var i = 0; i < c; i++){ if(ch1[i] > ref[i]+2.0) print(hz[i],ch1[i],ref[i]); }
-
Hi @AndayLe You can set FDwfAnalogOutRunSet to 15.0 and FDwfAnalogOutRepeatSet to 1. You may also want FDwfAnalogOutIdleSet DwfAnalogOutIdleOffset
-
Digital Discovery - How to enable power supplies in python
attila replied to bobql's question in Test and Measurement
Hi @bobql You can also use the newly added DwfParamDigitalVoltage with FDwfParamSet or FDwfDeviceParamSet -
DIO selection limitation with I2C, SWD
attila replied to jostikas's question in Test and Measurement
Hi @jostikas The I2C master (with clock stretching) and slave mode is implemented using state machine, 'ROM logic' feature of Pattern Generator. Since both the clock and data lines are inputs for machine, these need to use the least significant bits, up to the log2 of Patterns device buffer size. The default configuration for AD3 allocates 2k samples for Patterns so DIO 0 to 10 can be used. With the 5th configuration 32k samples and DIO 0 to 15 can be used for I2C. The no clock stretching implementation is not recommended since it simply generates clock/data pattern, is is kept for backward compatibility, since this was the first implementation. -
Hi @Oscar A There is no interpreter in the application for this protocol, but it could be implemented with Custom interpreter.
-
Digilent Discovery 2 can't hit 100Ms/s
attila replied to Ayesha Zaman's question in Test and Measurement
Hi @Ayesha Zaman Make sure the acquisition time / sample rate is not more than the device buffer size, 8192 for AD2, otherwise it will try to use record/data streaming which is limited to a few MHz for AD2. Time (s) - mso/1 Amplitude (V) - mso/1 0 3.97984m 10n 3.97984m 20n 3.97984m 30n -10.8283m 40n 7.68187m 50n -14.5303m 60n 3.97984m -
Hi @David Aurora Corrected in the latest:
-
SPI Pressure Sensor - need help reading data
attila replied to fr.bernardo's question in Test and Measurement
Hi @fr.bernardo It should be something like this: var reg = Read0(8,4); // read 4 bytes from DQ0, SISO, var ss = reg[0]>>6; var bd = ((reg[0]&0x3F)<<8) | reg[1]; var tp = (reg[1]<<3) | (reg[2]>>5); if(ss!=0) return "SS"+ss; return bd; // or scale it to unit