Jump to content

PARESH

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

135 profile views

PARESH's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Fausto, the screen capture is from a Windows 7 machine. As suggested, I also tried a faster Windows 10 machine but the same delay occurs. Out target system performs handshaking as follows: a) A single 1.5 us pulse is sent to the target system by the computer. b) The target system responds within 50 us seconds of receipt of the pulse and send the computer back a 1.5 us pulse. c) After that the computer sends data of various number of words, and each word is responded to by the target system with a 1.5 us pulse. Communications between the computer and target system have to be rather fast and occurs continuously. The specifications of USB-DIO32HS should have stated that there will be a large delay between consecutive outputs. It just seems abnormal. When using cbDOut(), there is no delay but we cannot adjust the rates. As of now I have no faith in the recommended product "Digital Discovery: Portable USB Logic Analyzer and Digital Pattern Generator" as I am not sure it will not behave the same way. We bought three of the USB-DIO32HS expecting them to get us moving in the right direction but this unexpected issue just threw us a huge hurdle to overcome. Is there a way to elevate this issue to your design / programming team to have them investigate the reason of why the cbDOutScan() function does not return back to the calling program once all output is processed. Per documentation of the help file it should return, but instead just delays for such a long time. In addition it seems like cbStopBackground() function does not perform as documented since because it will not also not terminate once the output is processed (essentially not useful). These seem like major flaws in the firmware of the USB-DIO32HS, and if not then the product documentation should state that consecutive outputs (writes) are 100 ms apart and cannot be performed any quicker and the program is locked up for that duration. Please let me know if this is something you can elevate to your design / programming members and provide further feedback to us. Your help is appreciated and thanks for taking a look at it. Paresh
  2. I am trying to implement three consecutive outputs using cbDOutScan() using the Windows UL (in C) where each output consists of 20 patterns (DataArray is size 20 elements). While the pulses being generated have the correct rate and count, there is always a large delay between each output. The first 20 patterns can be seen, the second 20 patterns can be seen after a big delay, and the third 20 patterns can be seen after another big delay using an oscilloscope. It seems like there a 100 ms constant from when one output starts to to the time when the next one starts and not sure why this is the case... I have used the BACKGROUND option but it does not help. Even when stopping the background operation using cbStopBackground() function does not seem to do anything. It is always 100 ms between the start times of each outputs scan. I have coded this for a simple command window program, and also a WinAPI 32 bit program with the same results. Strange thing is when using cbDOut() without the Scan part, the three sets of 20 patterns each come out immediately one after another. Of course I cannot adjust the rate using this function so my only option is to use cbDOutScan() function. Any help or recommendations are appreciated. TestIO.c
×
×
  • Create New...