Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. OK, so the 96MHz is basically a base-clock. I'm trying to identify the difference between the sample rate input by the user (in your example 100 Hz), which seems to be a polling rate, and the sample rate at which the signal is sampled. For example if I input that 100Hz as a sample rate, and in between two consecutive reads (that were 1/100 sec apart) the signal had 3 pulses that were for example 10usec long each, I assume the count would be 3 when the last read returns, but in order to catch those three 10usec pulses, the rate at which the 3 pulse-signal was sampled would have to be at least 200kHz correct? How does the device know how fast the this raw signal has to be sampled?...or am I missing something?
  3. Please include details such as the name of your device and whether you are programming or using one of the Apps. If you are programming, please list out the section of code where you set the scan rate.
  4. Hi @bobql See the following: DigitalOutIn_SensorPmodACLB.py
  5. Could you try again, this time dropping Program Files from the path, for example, using D:\Measurement Computing?
  6. When I setup the scan rate as 64HZ, I can only collect 32 data points per second.
  7. Bip is bipolar or plus/minus. Bip5Volts is -5V to +5V. Uni is unipolar so Uni5Volts is 0V to +5V. The USB-1808X uses Bip10Volts, Bip5Volts, Uni10Volts, Uni5Volts.
  8. Today
  9. The MCC 172 maximum sample rate is 51.2k S/s. Two A/D chips are used for simultaneous operation, so the max data throughput is 102.4k S/s.
  10. dvb

    AD3 thd vs AD2

    @attila - can't stress enough what important will be any workaround related to "config. 2" up to 0.2MHz, even with marginal results! Of course, I don't know much about hardware restrains or cordic sine generator, but if helps only C1, C2, W1 and 0.2MHz "limit" should be considered in this new/improved config.
  11. Getting closer. Still having one issue. See attachment. I wonder if it has to do with install path? The DASYLab installation folder is here: D:\Program Files\DASYLab 2022.1_en The Measurement Computing folder installs here: D:\Program Files (x86)\Measurement Computing NOTE: I set it as part of the driver installation to put the MC folder here: D:\Program Files\DASYLab 2022.1_en but it does not. I tried to manually 'move' the Measurement Computing to here: D:\Program Files\DASYLab 2022.1_en\Measurement Computing But that did not help. I don't have much room on C:\ drive so this could be complicating things. Thank you.
  12. Oh nice! I didn't realize it was a recent feature and that I was running an older version. Thank You @attila!
  13. The features page for MCC172 page indicates that the sampling rate of the 24 bit ADC is 51.2ksps. However, the chip used on this board, ADS1271, has analog bandwidth as 51kHz and sampling rate of 105ksps. Question: which one is correct? Can MCC172 sample two channels simultaneously at 105ksps (or even one channel at the peak sample rate indicated by the ADS1271 datasheet
  14. This was picked up by a new user post. Thank you.
  15. From the USB-1808X data logger, analog input can support different voltage ranges. Ranges include 10 V, ±5 V, 0 V to 10 V, and 0 V to 5 V. Here is my code: // allocate arrays channelArray = new short[numberOfAnalogChannels]; channelTypeArray = new MccDaq.ChannelType[numberOfAnalogChannels]; gainArray = new MccDaq.Range[numberOfAnalogChannels]; for (int channelNumber = 0; channelNumber < numberOfAnalogChannels; channelNumber++) { channelTypeArray[channelNumber] = MccDaq.ChannelType.Analog; channelArray[channelNumber] = (short)channelNumber; gainArray[channelNumber] = MccDaq.Range.Bip5Volts; } Here are some constants from MccDaq.Range: namespace MccDaq { public enum Range { NotUsed = -1, Bip5Volts = 0, Bip10Volts = 1, Bip2Pt5Volts = 2, Bip1Pt25Volts = 3, Bip1Volts = 4, BipPt625Volts = 5, BipPt5Volts = 6, BipPt1Volts = 7, BipPt05Volts = 8, BipPt01Volts = 9, BipPt005Volts = 10, Bip1Pt67Volts = 11, BipPt25Volts = 12, BipPt2Volts = 13, Bip2Volts = 14, ... Questions: 1. Does MccDaq.Range.Bip5Volts correspond to plus/minus 5V ? 2. Which constant corresponds to 0V to 5V ? 3. What does "Bip" stand for? What does "Uni" stand for? 3. Are the constants for MccDaq.Range documented?
  16. Al B.

    Waveforms stalls

    Waveforms occasionally stops updating the display. Am testing with a simple loop from a Wavegen output to a scope input with single channel display. Have observed this with Version 3.21.3 and Version 3.22.2 on two ADP3450s using both NET and USB connections run separately or simultaneously. To restart requires changing an oscilloscope setting, changing a Wavegen setting does not fix the problem. The freezes appear random, sometimes hours between occurrences, though SN DB9D84E stops more often, both are stopping. If run overnight at least one has stopped by the next morning. The ADP3450 cases are designed to stack, but the heat build up between units is high and may be causing communication failures, which I have not seen after unstacking and inverting the units which appears to keep them from getting as hot. Am using a Windows 10 laptop to run Waveforms. The ADP3450 firmware is h342, serial numbers BD9D7DF and DB9D84E. I will try testing overnight with another laptop. Any help or information on this?
  17. dvb

    AD3 thd vs AD2

    @attila - I bought AD2 to get rid of soundcards :) ... which are totally unreliable except maybe "static" 1kHz Spectrum Analyzer. Try to get a "sweep" 10Hz-50kHz with WF Network Analyzer including THD and THD+N... Soundcards, even if you waste the time to "calibrate" them, have a very narrow in/out level, narrow and nonlinear bandwidth and flimsy drivers... maybe I'll open a topic with soundcard related issues in WF, compared with REW for example, but this is not a priority right now... However, check these taken with a Focusrite 2i2;
  18. Hi, I am working on a setup where I use the ZModAWG and the ZModScope (1410-105) on an Eclypse Z7. In a nutshell, I am doing some math, a signal is generated (ZModAWG) and go through an external device, the response of the external device is measured with the ZmodScope, some more math are done and finally the signal is downsampled. Everything has to be run at 100MHz, but I do not care if there is some delay (due to flipflops) because the external delay will anyway introduce some delay. To start with, I am trying to realize each separate task on their own. The first math part and the generation of the signal with the ZModAWG worked well at 100MHz. I am now simply trying to measure a signal at 100MHz with the ZModScope. For this purpose, I created a very simple diagram, where the content of one channel of the ZModScope is directly sent back to the ZModAWG (so that I check if the design is working). As I try to synthesis the design, one signal does not satisfy the clock constraints: DC_Data_0[13:0], although this is signal is directly connected to the external port. In this example, SysClk100 and ADC_SamplingClk are both connected to the same clock signal at 100MHz, and ADC_InClk is set at 200 MHz (90° of phase shift) and the clock divide ratio is set to 2. I have tried several other parameters (clock divide ratio of 1), the timing is only satisfied with 40MHz (which is not enough for my application). The constains file is similar to what I could find online. What can I do to solve this error? Should I just ignore it? Is there a template diagram to run the Scope at 100MHz? I am working with Vivado 2023.2. Many thanks for your help. Marc demo100MHzTcl.zip
  19. Hello everyone, I have the analog discovery pro 5250 and I am trying to correlate two digital channels (DIN0 and DIN1) one respect to the other. I want DNO0 to be the trigger and to measure the temporal delay of the pulses in DIN1 respect to that trigger. Then I want to accumulate the delays measured in a histogram, so I can get the second order correlation function of the signal. I am trying to use the Logic Analyzer directly so I can have the measurement faster and in real time, so I could see the histogram forming itself when I run WaveForms. I am learning to use the device and I have no idea if this is possible. The final result should be some sort of histogram with the pulses in DIN1 accumulated, showing how mane pulses are detected in a certain delay time respect to the trigger DIN0.
  20. You can use the following installation program and install InstaCal version 6.74. https://files.digilent.com/downloads/InstaCal/icalsetup.exe Next, enable .Net framework version 3.5, as shown below. After doing this, run the DASYLab Configurator utility, and in Packages->Data Acquisition, enable the Measurement Computing driver. Note that the Measurement Computing driver installer will look for a folder named ...\DASYLab\. Press the Change button and change the path to ..\DASYLab 2022.1_en\. If all goes well, DASYLab will be ready to use a measurement computing device.
  21. Looking over the comments in the file you've shared above, they look mostly good. A couple things I'd note: The interconnect may also give you AxPROT pins to ignore. These pins have the same stability requirements as the AxADDR pins. You could choose to try to do "smart" things with these pins if you wanted to--like return bus errors if a CPU's instruction prefetch ever tries to access your slave, although I tend to ignore them. AWADDR is an input to the slave, not an output BRESP and RRESP are also a required outputs. I typically just tie these to zero. WSTRB is a required input. Be prepared for writes where WSTRB==0--writes where you shouldn't do anything. Two approaches to this are 1) Only adjust the slaves registers when WSTRB==4'b1111, or 2) adjust sub-words as appropriate when WSTRB != 4'h0. Dan
  22. Hi @dvb I'm not sure if you are aware of but WaveForms can be used with sound card too, last device in the manager.
  23. Installed .NET version 6, the MCC driver install for DASYlab still complains that .Net is required. 5/8/2024 - found when trying to install DASYlab that .NET was not on my computer. Will try reinstalling after this. Using Windows 11 Edition Windows 11 Home Version 23H2 Installed on ‎3/‎20/‎2024 OS build 22631.3447 Serial number PF4HA070 Experience Windows Feature Experience Pack 1000.22688.1000.0 Tried installing a number of times different ways. Always same result. Any help here? Note I am not installing on C: drive but I tried that too. Complete error: Log Name: Application Source: Application Error Date: 5/7/2024 8:29:57 PM Event ID: 1000 Task Category: Application Crashing Events Level: Error Keywords: User: WILLAMAN-LENOVO\randy Computer: WILLAMAN-LENOVO Description: Faulting application name: DAQami.exe, version: 4.2.1.30000, time stamp: 0x5956af5a Faulting module name: KERNELBASE.dll, version: 10.0.22621.3447, time stamp: 0x3d876852 Exception code: 0xe0434352 Fault offset: 0x00000000000653ac Faulting process id: 0x0x26B0 Faulting application start time: 0x0x1DAA0DED9A5AADA Faulting application path: D:\Program Files\Measurement Computing\DAQami\DAQami.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: 29ad56aa-ca4f-43cc-95be-dcb60e5f6319 Faulting package full name: Faulting package-relative application ID: Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" /> <EventID>1000</EventID> <Version>0</Version> <Level>2</Level> <Task>100</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2024-05-08T00:29:57.5166154Z" /> <EventRecordID>5923</EventRecordID> <Correlation /> <Execution ProcessID="13604" ThreadID="9884" /> <Channel>Application</Channel> <Computer>WILLAMAN-LENOVO</Computer> <Security UserID="S-1-5-21-582327059-3479873153-403714039-1001" /> </System> <EventData> <Data Name="AppName">DAQami.exe</Data> <Data Name="AppVersion">4.2.1.30000</Data> <Data Name="AppTimeStamp">5956af5a</Data> <Data Name="ModuleName">KERNELBASE.dll</Data> <Data Name="ModuleVersion">10.0.22621.3447</Data> <Data Name="ModuleTimeStamp">3d876852</Data> <Data Name="ExceptionCode">e0434352</Data> <Data Name="FaultingOffset">00000000000653ac</Data> <Data Name="ProcessId">0x26b0</Data> <Data Name="ProcessCreationTime">0x1daa0ded9a5aada</Data> <Data Name="AppPath">D:\Program Files\Measurement Computing\DAQami\DAQami.exe</Data> <Data Name="ModulePath">C:\Windows\System32\KERNELBASE.dll</Data> <Data Name="IntegratorReportId">29ad56aa-ca4f-43cc-95be-dcb60e5f6319</Data> <Data Name="PackageFullName"> </Data> <Data Name="PackageRelativeAppId"> </Data> </EventData> </Event> Tried to reboot in safe mode. Still failed. Log Name: Application Source: Windows Error Reporting Date: 5/7/2024 8:53:12 PM Event ID: 1001 Task Category: None Level: Information Keywords: User: WILLAMAN-LENOVO\randy Computer: WILLAMAN-LENOVO Description: Fault bucket , type 0 Event Name: CLR20r3 Response: Not available Cab Id: 0 Problem signature: P1: DAQami.exe P2: 4.2.1.30000 P3: 5956af5a P4: ULx P5: 1.5.0.0 P6: 5956af35 P7: 927 P8: 112 P9: System.Exception P10: Attached files: These files may be available here: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_DAQami.exe_093e512986f65a814eac28fb7323187ca1b742a_d2ee142f_722cf5ee-809a-4aef-8aea-4ca009123f05 Analysis symbol: Rechecking for solution: 0 Report Id: b037488e-c33b-4844-9479-8d502dbc5786 Report Status: 100 Hashed bucket: Cab Guid: 0 Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Windows Error Reporting" Guid="{0ead09bd-2157-539a-8d6d-c87f95b64d70}" /> <EventID>1001</EventID> <Version>0</Version> <Level>4</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2024-05-08T00:53:12.4211988Z" /> <EventRecordID>5957</EventRecordID> <Correlation /> <Execution ProcessID="3124" ThreadID="4040" /> <Channel>Application</Channel> <Computer>WILLAMAN-LENOVO</Computer> <Security UserID="S-1-5-21-582327059-3479873153-403714039-1001" /> </System> <EventData> <Data Name="Bucket"> </Data> <Data Name="BucketType">0</Data> <Data Name="EventName">CLR20r3</Data> <Data Name="Response">Not available</Data> <Data Name="CabId">0</Data> <Data Name="P1">DAQami.exe</Data> <Data Name="P2">4.2.1.30000</Data> <Data Name="P3">5956af5a</Data> <Data Name="P4">ULx</Data> <Data Name="P5">1.5.0.0</Data> <Data Name="P6">5956af35</Data> <Data Name="P7">927</Data> <Data Name="P8">112</Data> <Data Name="P9">System.Exception</Data> <Data Name="P10"> </Data> <Data Name="AttachedFiles"> </Data> <Data Name="StorePath">\\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_DAQami.exe_093e512986f65a814eac28fb7323187ca1b742a_d2ee142f_722cf5ee-809a-4aef-8aea-4ca009123f05</Data> <Data Name="AnalysisSymbol"> </Data> <Data Name="Rechecking">0</Data> <Data Name="ReportId">b037488e-c33b-4844-9479-8d502dbc5786</Data> <Data Name="ReportStatus">100</Data> <Data Name="HashedBucket"> </Data> <Data Name="CabGuid">0</Data> </EventData> </Event>
  24. Hi @attila, Do you have an example in python to do this?
  25. Im stragling interface PMOD AD1 to CoraZ7 afrer genrate bitstream and create aplication it does not run but build sucessfully fllowing error display PMD AD1 got from git digilent library please help , any one can give me working aplication relly appriciate
  26. The DT DAQ Adaptor for MATLAB user manual shows how to configure an external trigger, starting on page 21. Note that the DT9816 supports a Negative external trigger—see page 63 in the DT9816 user manual.
  27. The 96 MHz clock drives the FPGA and is only remotely related to the sample rate. When you request a sample rate, a sub-clock is used to achieve the rate. If you were to request a sample rate of 100, the FPGA still runs at 96 Mhz, but data is recorded 100 times a second. When using the Totalize mode (counting), the count increases on each edge of the applied signal, whether you read it or not. Clear on Read does just that; after each read, the register is reset to the minimum value, typically zero.
  1. Load more activity
×
×
  • Create New...