attila

Technical Forum Moderator
  • Content Count

    2409
  • Joined

  • Last visited

  • Days Won

    170

attila last won the day on November 20

attila had the most liked content!

About attila

  • Rank
    Prolific Poster

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

6693 profile views
  1. Hi @kkubik For 2V input signal the 5V pk2pk range should be used. With 50V range you loose more than 2 bits.
  2. Hi @DanielF The auxiliary supply of the AD2 has under/over-voltage protection. The USB 2.0 port voltage should be around 5V. Higher voltages, above 6.5V could damage the device. Defective HUBs or using unregulated/defective supplies for this could output higher voltages killing the USB devices. In the following posts you can find troubleshooting tips:
  3. Hi @Ondrej 1. You can find in the newer software version numeric option for Protocol/ UART TX RX https://analogdiscovery.com/download/ https://forum.digilentinc.com/topic/8908-waveforms-beta-download/ 2. You can find rich text editor under View/ Notes in most of the instruments, Scope, Spectrum, Network, Logic Analyzer... For simple notes you can also use the Script editor.
  4. Hello, Sorry but I don't have LabView installed. You can use the Python examples as pseudo-code.
  5. Hello, See the examples in WF SDK/ samples/ py/ DigitalOut_Clock.py AnalogOut_Sync.py AnalogOut_Sine.py To trigger digital-out on analog-out use: FDwfDigitalOutTriggerSourceSet(hdwf, 7) trigsrcAnalogOut1
  6. Hi @S.Kagawa With the default acquisition mode when the FDwfAnalogInStatus returns done it also rearms the instrument. This is done to improve the capture rate.
  7. Hi @vinodcxlv You have functions to read data from binary and text file, see the examples and Help tab. The Script tool supports JSON if you want to use it, but it does not apply settings from such data.
  8. Hi @thoriam On the BNC adapter the Scope inputs are single ended. The negative inputs are connected to the same ground as the AWG GND/shield. For high frequency or low amplitude signals it is recommended to connect the scope probe ground clip too. When measuring other devices/circuits, with separate supply, the ground connection is mandatory. The trimmer on this scope probe is on BNC side, in parallel. When you have connected this side to the AWG it didn't count because of the low impedance of the AWG output. Other probes which have the trimmer in series on the 9M, on the tip side, the direction is less essential but important Picture source: https://www.electronics-notes.com/articles/test-methods/oscilloscope/scope-probe-compensation.php
  9. Hi @vinodcxlv The 'sensor' tab is for sensors, ADCs. The timing of the loop function is precise, given by the device and it is identical in each cycle. The software reads the response of the devices. You can use the 'custom' tab or the Script tool to read the file and send it over SPI. See the examples and Help tab.
  10. Hi @Lesiastas Public Shared Function AD2_RecordStart(ByVal hdwf As Integer, ByVal fReconfigure As Integer, ByVal fStart As Integer, ByVal fReadData As Integer, ByRef sts As Byte, ByVal cSamples As Integer, ByVal cBuffer As Integer, ByRef cAvailable As Integer, ByRef cLost As Integer, ByRef cCorrupted As Integer, ByRef rgData() As Byte) As Integer 'Record Parameters ReDim rgData(cSamples) Dim fOverflow As Boolean : fOverflow = False Dim iSample As Integer : iSample = 0 Dim cIdle as Integer = 0 Dim nIdle as Integer = 3*100 ''''' 100 bit long idle If cSamples > cBuffer Then ' record While iSample < cSamples If FDwfDigitalInStatus(hdwf, fReadData, sts) = 0 Then Return 0 End If If sts = DwfStateDone Or sts = DwfStateTriggered Then FDwfDigitalInStatusRecord(hdwf, cAvailable, cLost, cCorrupted) If cLost <> 0 Or cCorrupted <> 0 Then fOverflow = True End If cAvailable = Math.Min(cAvailable, cSamples - iSample) Dim rgTemp(cAvailable) As Byte ' in other programming languages use pass pointer to rgData[iSample] FDwfDigitalInStatusData(hdwf, rgTemp, 1 * cAvailable) For i = 0 To cAvailable - 1 rgData(iSample) = rgTemp(i) iSample = iSample + 1 If (rgTemp(i) & 3) = 3 cIdle += 1 Else cIdle = 0 End If Next If cIdle > nIdle Exit While End If End If If sts = DwfStateDone Then Exit While End If End While Else While True If FDwfDigitalInStatus(hdwf, 1, sts) = 0 Then Return 0 End If If sts = DwfStateDone Then Exit While End If End While iSample = rgData.Length FDwfDigitalInStatusData(hdwf, rgData, 1 * rgData.Length) End If End Function
  11. Hi @enliteneer The ROM logic has 60-70ns pipeline delay and the software read/write would have about 1ms delay, variable due to USB/OS.
  12. Hi @Jared The compensations are stored in project/workspace. You can save such for each device and/or circuit setup. The IA module uses generic resistors 0.1% 0603. This is not a metrology device. The measurement accuracy depends on the scope input voltage, but the math gives good results. Here is a ceramic cap of 39pF nominal, trace is compensated and ref 1 is not.
  13. Hi @piotrp The Network Analyzer uses FFT to measure the gain and phase in each step. I don't think you need any additional filter for this.
  14. Hi @enliteneer You can use the ROM logic in Pattern Generator for such purpose, see:
  15. Hi @thoriam You probably have the AC/DC coupling jumpers on the BNC adapter board in AC position, set this to DC.