-
Posts
6,450 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by attila
-
Logic and Scope viewed at same time
attila replied to Wayne Contello's question in Test and Measurement
-
Some math on scope channels behaves strangely
attila replied to Anthocyanina's question in Test and Measurement
Hi @Anthocyanina Use BNC or twisted wires (like 1+/1- and W1/GND) to reduce the noise. I don't know what is your derivative function but the following M1 for me looks like this: -
Failure to connect MATLAB to AD2 on MacOS 12
attila replied to JonasD's question in Test and Measurement
Hi @JonasD The dwf.framework should be installed to and used from /Library/Frameworks/ or bundled with custom app. I don't know which WF version are you using but the newer ones are combined build with native M1 support: -
Hi @andrewsmol For warranty and replacement contact the support.digilent at ni.com specifying the Date of Purchase, Seller and Purchase Order/ Web order Number. Before this it would be good to try using the original cable or other cables you have at hand to make sure it is not a contact issue, and a Windows or Mac computer to make sure the problem/conflict is not with the Linux/driver.
-
Hi @Bayu A Like this: FileWrite("~/Desktop/ia/impIM_"+freq+".csv", ""); // clear file for(var i = 0; i < dataImp.length; i++) FileAppendLine("~/Desktop/ia/impIM_"+freq+".csv", [dataImp[i], dataPhase[i]]);
-
Hi @Gal Port B is used for UART and Port A for JTAG.
-
Analog Discovery Pro Logger with script
attila replied to Albertu95's question in Test and Measurement
Hi @Albertu95 For start use Scope.Export(file), the other arguments are optional to customize what to export and the other option as you have these in the Export dialog. -
How to get frequency of waveforms measured through the SDK
attila replied to arnavguptagenerac's question in Test and Measurement
Hi @arnavguptagenerac The FDwfAnalogOutNodeFunctionSet specifies the AWG signal frequency in Hz, except for random and play mode the update/sample rate, and the FDwfAnalogInFrequencySet the Oscilloscope sampling frequency/rate in Hz. -
Measurement or Math Channel VRMS (LVDT / Resolver Demod)
attila replied to mkj's question in Test and Measurement
Hi @mkj Measurements/Add/CustomGlobal the default example is Phase -
Hi @Bayu A Create a loop and use FileAppendLine, or File.appendLine... or build the string in JS and use FileWrite...
-
Hi @PPPlllld Are you looking probably for something similar to the WF SDK/ samples/ py/ AnalogOutIn_PlayRecord.py AnalogOutIn_PlayRecordStereo.py AnalogOutIn_RecordPlay.py ?
-
Hi @andrewsmol Are you using the latest software versions? https://digilent.com/reference/software/adept/start https://digilent.com/reference/software/waveforms/waveforms-3/start With older software version there was a similar problem on Linux: What computer are you using? Is it Intel CPU or ARM ? Which operating system are you using? To see if the problem is with the device, you could also try using an Intel CPU computer, preferably with Windows or Mac.
-
Analog Discovery Pro Logger with script
attila replied to Albertu95's question in Test and Measurement
Hi @Albertu95 There are many ways of doing it, depending on the exact requirements. You could perform a long capture/record, process the data and save it, like this: if(Index>Maximum) Scope.stop(); const div = 100; for(var c = 0; c < 4; c++){ var rgc = Scope.channel[c].data; var n = rgc.length; var rgr = []; var v = 0; for(var i = 0; i < n; i++){ var j = i%div; if(j==div-1){ rgr.push(v/div); v = rgc[i]; }else{ v += rgc[i]; } } FileWrite("~/Desktop/test/cap"+Index+"ch"+c+".csv", rgr); } Index++; -
Hi @Ben Burns Yes. You can use the View/Event with its filter options or the File/Export where you can select export source (like SPI for its events), and uncheck comment, header and labels if you only want the values.
-
Measurement or Math Channel VRMS (LVDT / Resolver Demod)
attila replied to mkj's question in Test and Measurement
-
Hi @Ben Burns The Receive option in Protocol is intended for lower average data rates. It does not support streaming over USB at such rate. For this purpose use the Logic Analyzer. You can capture up to 256MiS at 8bits, like 4sec at 50MHz, ~5.3M ADC samples. With taller SPI row you have an analog representation, use Event view, Export Source: SPI (events)... To squeeze out the max it can fit, ~7.9M ADC samples, you can use Sync mode like this:
-
Hi @Ben Burns Could you send me a logic analyzer capture (like a saved workspace or project) to generate similar signals, to reproduce what you are seeing in Protocol/SPI? Which software version are you using? Here you can find the latest one:
-
Hi @PPPlllld On AD2 recording/streaming over USB works up to about 1MSps. For high rate and lower latency the ADP3X50 embedded Linux can be used. For real-time processing the EclypseZ7 development board.
-
Is this compatible with WaveForms Beta v3.18.21?
attila replied to proyo's question in Test and Measurement
Hi @proyo Yes, this is Analog Discovery (1) -
Hi @andrewsmol Probably the device does not get sufficient power, there is high resistance/high voltage drop on the USB supply cable/contacts. Try using the original cable or other cables you have at hand, try other USB connector, other computer, powered hub, 5V DC auxiliary power supply if you have...
-
Hi @RayHaynes Uncheck "Position as Division", use position as time. The "Position as Division" is intended to be used for oscilloscope/timing analysis mode when you change the time base but you want the position to remain fixed on the screen. I see no point in using this mode for huge captures but the division range will be extended in the next sw version.
-
Hi @sleepanimal With custom signals and 0V offset would be the quickest way to return to zero. You could also use a Script like this but the offset on AD2 has relatively long settle time:
-
setting trigger source to analog out without level
attila replied to M. Hamza Öncüer's question in Test and Measurement
Hi @Hamza Oncuer See the following: AnalogInOut_Trigger.py -
Hi @Venu 1. Above 50V is a different device class. You could use probe or 1M series resistor, with few pF cap or trimmer for compensation. The app instruments let you specify attenuation, like it would be 2X with 1M. 2. Currently it is not supported for TM products. Hope to have such feature with newer and next gen devices. 3. The AD2's Scope inputs/ADC is differential but not floating. 4. For AD2 LVCMOS3V3 but provides configuration for 0.5V input logic threshold. On Digital Discovery and ADP3X50 the DIO voltage is adjustable. 5. Se the Eclypse Z7 Zmod development board.
-
Hi @Ben Burns The Protocol tool logging performance is limited by the text editor library, that is why the default history is set to 1k lines. I've added some tweaks for the next version to prevent blocking for huge amount of data. I will add "Receive to File" option just like the UART and I2C have.