-
Posts
6,956 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by attila
-
Incorrect voltage readings for sample acquisition
attila replied to Thomas1983's question in Test and Measurement
Hi @Thomas1983 I don't understand the problem. Are you having trouble with Python plot? -
Hi @peter_a Please try a different cable, because such sudden errors are usually caused by contact problem, for example, loose connection, the plug is not fully inserted, slight difference is the socket dimensions, worn contacts in a way such the cable works with some devices but not with others... If it still doesn't work properly, for warranty and replacement contact the support.digilent @ ni.com specifying the Date of Purchase, Seller and Purchase Order/ Web order Number.
-
Hi @TanTAH The Network Analyzer can use the AWG channels to generate sine wave sweep, but you can also select the 'external' option and use external stimulus signal or custom signal sweep from the same device Wavegen interface. For white noise you probably want to use the Spectrum interface or Scope/FFT view.
-
Amplitude ratio in network analyser mode : relative to Ref + Vrms ?
attila replied to Xavier's question in Test and Measurement
Hi @Xavier Run the following script once to convert C2 from relative to absolute magnitude: (For the next software version I'll try to make the relative option dynamic) var c1 = Network.Channel1.magnitude; // in selected Unit var c2 = Network.Channel2.magnitude; var a = Network.Wavegen.Amplitude.value/sqrt(2); // for VRMS var n = c1.length; for(var i = 0; i < n; i++) c2[i] = c2[i]*c1[i]/a; Network.Channel2.magnitude = c2; -
Hi @Kirkhaan This is the effect of AC coupling acting as a high-pass filter.
-
Synchronizing pulses and cropping measurements times
attila replied to Alexa's question in Test and Measurement
-
What does the 4x4k output buffer do on the Discovery 2?
attila replied to maling's question in Test and Measurement
-
LIN bus / Bus Analyzer, Protocol Analyzer
attila replied to Jonas007's question in Test and Measurement
The Logic Analyzer is available in Scope interface. Here you can add any interpreter this supports on digital and digitized-analog signals. -
Hi @Ayesha Zaman See the following: https://digilent.com/reference/test-and-measurement/analog-discovery-2/hardware-design-guide#scope_spectral_characteristics https://digilent.com/reference/test-and-measurement/analog-discovery-2/hardware-design-guide#awg_spectral_characteristics
-
LIN bus / Bus Analyzer, Protocol Analyzer
attila replied to Jonas007's question in Test and Measurement
Hi @JSVENS Will be added soon. Thank you for the feedback. -
Do I understand correctly that you want for each software call to generate only one pulse on 5 channels synchronized ? So the sequence of pulses does not need to have precise timing, just the phase between the channels ?
-
Is it possible to receive UART TX and RX separately with WaveForms script?
attila replied to hrkzkb's question in Test and Measurement
Hi @hrkzkb Your code seems to be good, TX and RX should be returned in rx[0] and rx[1]. and additional UARTs when enabled in rx[2,3] For printable text use Receives (string list) and for raw values use ReceiveArrays (2d numeric array) Protocol.UART.Receiver(); if(1){ while(wait(0.1)) { var rx = Protocol.UART.Receives(); // text var d = new Date(); if (rx[0].length()) print("TX:"+d.toISOString()+":"+rx[0]); if (rx[1].length()) print("RX:"+d.toISOString()+":"+rx[1]); } }else{ while(wait(0.1)) { var rx = Protocol.UART.ReceiveArrays(); // numeric var d = new Date(); if (rx[0].length()) print("TX:"+d.toISOString()+":"+rx[0]); if (rx[1].length()) print("RX:"+d.toISOString()+":"+rx[1]); } } -
Power Supply with AD3's in Waveforms SDK
attila replied to Maxpfeiff's question in Test and Measurement
Hi @Maxpfeiff ... dwf.FDwfDeviceOpen(iDevice, byref(hdwf)) if hdwf.value == 0: dwf.FDwfGetLastErrorMsg(szerr) print(str(szerr.value)) dwf.FDwfDeviceCloseAll() sys.exit(0) rghdwf.append(hdwf.value) dwf.FDwfDeviceAutoConfigureSet(hdwf, 0) # the instruments will only be configured when FDwf###Configure is called dwf.FDwfAnalogIOChannelNodeSet(hdwf, 0, 0, c_double(1)) # enable positive supply dwf.FDwfAnalogIOChannelNodeSet(hdwf, 0, 1, c_double(5.0)) # set voltage to 5 V dwf.FDwfAnalogIOChannelNodeSet(hdwf, 1, 0, c_double(1)) # enable negative supply dwf.FDwfAnalogIOChannelNodeSet(hdwf, 1, 1, c_double(-5.0)) # set voltage to -5 V dwf.FDwfAnalogIOEnableSet(hdwf, 1) # master enable dwf.FDwfAnalogIOConfigure(hdwf) # apply ... -
Hi @peter_a Such sudden errors are usually caused by bad USB cable contact. This is probably the error message of reconnect. Please disable this option to see what the first error is.
-
Device config version miss match error after network configuration
attila replied to LuisP's question in Test and Measurement
Hi @LuisP 1. Are the devices on the same local network? If so, you can leave the default DHCP For a fixed setting or direct connection, make sure the mask is correct and the IP is unique. Maybe the system or network is blocking LAN autodetection messages, although I have never seen this happen. 2. Use \n or \r separator "ip:x.x.x.x\nuser:digilent\npass:digilent\nsecure:1" -
sync mode in Digital Discovery - providing a sample clock
attila replied to kevin vannorsdel's question in Test and Measurement
There is not much to explain about this. In sync mode the trigger detector is used as sampling conditioner. -
8bit format stores 8 DIOs or DINs, 16bit -> 16, 32bit -> 32, 64bit -> all 48 channels With FDwfDigitalInInputOrderSet 0 the samples bits represent: 8bit DIN[7:0], 16bit DIN[15:0], 32bit DIO[31:24]DIN[23:0], 64bit DIO[39:24]DIN[23:0] with 1: 8bit DIO[31:24], 16bit DIO[39:24], 32bit DIN[15:0]DIO[39:24], 64bit DIN[23:0]DIO[39:24]
-
Hi @andyrooski17 You can find newer 'beta' version with new features and fixes here:
- 119 replies
-
- analog discovery
- waveforms
-
(and 1 more)
Tagged with:
-
I'm not sure I have all the details you want to achieve. Do you only need to run the pulse train once? If so, set the run to a burst length such as 2*256/hzFreq
-
Hi @andyrooski17 Please try the latest software version which fixes a device connection, PL programming issue.
- 119 replies
-
- analog discovery
- waveforms
-
(and 1 more)
Tagged with:
-
How to Use the AD3 Current & Power Adapter on an ESP32-H2?
attila replied to siatran's question in Test and Measurement
Hi @siatran With 3 you have set both DIO 8-9 high so the current sense amplifier uses highest gain. -
Hi @peter_a Please try the latest software version which fixes a device connection, PL programming issue.
-
sync mode in Digital Discovery - providing a sample clock
attila replied to kevin vannorsdel's question in Test and Measurement
Hi @kevin vannorsdel The Digital Discovery has not oscilloscope so FDwfAnalogIn functions can be used with this device. For Record with FDwfDigitalInTriggerPositionSet you specify how many samples to capture or 0 for unlimited streaming. -
-
Hi @diligent1 Not only the carrier but also the AM/FM are restarted with each Run cycle.