enliteneer

Members
  • Content Count

    8
  • Joined

  • Last visited

About enliteneer

  • Rank
    Newbie

Recent Profile Visitors

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

  1. 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;
  2. 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.
  3. 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?
  4. 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!
  5. 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?
  6. 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?
  7. 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.
  8. 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?