enliteneer

Members
  • Content Count

    13
  • Joined

  • Last visited

About enliteneer

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks, forgot about config! BTW, for the Analog Output / Wavegen.. is there a way to do a single-shot via the GUI?
  2. Ran into a little issue.. The data was captured at 10MSps , with 8000+ samples.. however, the custom pattern generator seems to limit the number of samples at 1024. (Although your screenshot shows 8192 samples.. how?!) Since the wavegen doesn't seem to have a limit, I modified the CSV for 0 / 3.3v, but I can't get it to output each sample at the 10Mhz rate, but stop at the last sample. There seems to be a way to do it progamatically, but I can't find how to do it via the Waveforms GUI! dwf.FDwfDigitalOutRunSet(hdwf, c_double(sec)) dwf.FDwfDigitalOutRepeatSet(hdwf, c_int(1))
  3. Using the Scope I captured/exported a CSV file containing a digital pattern, consisting of either approx 0v and 5v. Is there a way to output this pattern via the digital I/O lines (at 0v and 3.3v)? For example, since the file has values like "-3.08368e-05" and "5.01554,".. I was thinking the csv would have to be first cleaned up (programmatically/ regular expressions ) to convert all values below 2.5v to "0" and all values above 2.5v to "3". However, before embarking on this journey, is there any built-in way to output digital values based on a CSV that has floating point values captured with the Waveform's Scope? Any suggestions?
  4. Thanks! Any thoughts on performance between using the ROM logic vs a script or executable ? For example, I assume the Pattern Generator's 10Mhz is the best performance, but how much slower would a python while-loop or c executable run? # enable output on DIO7:4, Init to 0 dwf.FDwfDigitalIOOutputEnableSet(hdwf, c_int(0xF0)) dwf.FDwfDigitalIOOutputSet(hdwf, c_int( 0x00 )) # Loop until keypress while True: try: if ( keyboard.is_pressed('q')): print ("Exiting..") dwf.FDwfDeviceClose(hdwf) break; else: # Read Input dwf.FDwfDigitalIOStatus (hdwf) dwf.FDwfDigitalIOInputStatus(hdwf, byref(dwRead)) #print("I/O Status: ", "{0:#0{1}x}".format(dwRead.value, 4)) # Drive D7:D4 based on D3:D0 dwf.FDwfDigitalIOOutputSet(hdwf, c_int( ( dwRead.value << 4 )) ) except: # Any other Error, also close print("Exception!") dwf.FDwfDeviceClose(hdwf) break;
  5. I've run into a situation, where I'd like to drive a output DIO pin based on an input pin... basically a real-time pass-thru. The closest option in the 'Custom' menu on the pattern generator, is to read from a file and output with a fixed frequency.. and while the Logic Analyzer can save to a file, I don't see a way of connecting the two real-time.
  6. Would love to try out the AD2/Matlab capabilities.. but does it require a full matlab license? For example, Matlab has a 30 day trial, but according the email announcement, it seems the Data Acquisition Toolbox AND the AD2 Board Support Package are also needed. Anyone know if this can be downloaded as part of the trial, or if the toolbox/bsp requires a commercial license? If not, it looks like pricing info is not listed on the Mathworks website.. anyone know how much a non-business license would run in order to use with the AD2?
  7. Thanks, I was still getting errors, but I then downloaded version 3.8.8 and selected 'Don't Stop The Device on Disconnect' and then it worked! Thank you for the help!
  8. The power strip has a built-in 5V 1A regulator, and shows very little ripple when measured by the bench scope.. I don't have a 2.5A usb charger, but doubt that would make the difference since the top gif shows the AD2 only draws (briefly) 10ma via the aux power, when the application is executed. Is there a momentary peak draw of over 1A? Is there any suggestions for the phenomena of AD2 losing the usb connection (device manager removes the 'USB Serial Converter' entry), whenever the aux barrel power is inserted?
  9. Thanks, you are correct I was trying to supply power via the aux 5VDC. If I try to connect only to one of the laptop's usb3 ports, I get the error in this attached image: Although sometimes, I don't get that power error, but instead get the communication error shown in the previous gif. The usb shows to be drawing around 140ma-170ma.. using the cable that came with the AD2, but I've tried 3 others with the same result. Unfortunately, I don't have a powered usb hub to try, but I can order one... however, shouldn't the aux connector on the AD2 do the same?
  10. I hooked up a voltage/current monitor in-line with the AD2, and aside from a brief 10ma blip when I open the application, it doesn't seem to ever draw any power. Not sure what else to do at this point, is this the official way to get support for digilent products? I don't see any tech support email on the Digilient site.
  11. I recently received the AD2, but having terrible luck getting Waveforms (3.8.2) to see the hardware. I've installed/re-installed on numerous laptops (winxp, win7, win8, and win10), and the error is usually one of the following, 1) On the WinXp, 7, and 8 machines, I see the error : Post AVCC Device configuration failed and to try powering with the aux input When I plug 5V into the aux barrel jack, the AD2 usually loses the usb connection immediately (device manager removes the 'USB Serial Converter' entry). But even when it doesn't lose the usb, Waveforms still reports the Post AVCC error message 2) On the Win10 laptop, I don't get the AVCC error, however, when I click any of the functions (Scope, Wavegen, etc) it pops up with a "Communication with the device failed" Interestingly, in all cases the software lists the Serial Number and I'm able to select it, so I'm assuming the driver is ok. Also just plugging in 5v to the aux power, I'd expect *some* led activity, but I don't see anything. Only when the usb is plugged , and Waveforms has the error message, do I see an led blink (~500msec) near the center of the board. I'm assuming the hardware gets tested before it ships, so it's something on my end, but after a week of trying, I have no idea what the problem is... it shouldn't be this hard, right?