Jump to content

attila

Technical Forum Moderator
  • Posts

    6,477
  • Joined

  • Last visited

Everything posted by attila

  1. Hi @Dante Use newer version which generates trigger for every Wavegen signal period when run length is continuous: The 3.18.28 or older output high while running and the trigger is considered to be the rising edge. So it will only trigger when Wavegen is started or finite run used.
  2. Szia @Andras I was referring to device(s) with network support like ADP3250, ADP3450
  3. Hi @J.J. Please click on the device manager and Select then it should allow other DIN/DIOs to be selected. I will have to look why it is initially limiting to DIN0-7
  4. Szia @Andras Unfortunately I don't see having Android support any time soon. The WF app can be compiled for Android, I've tested it on my phone. The UI would need some tweaking for touch operation and small screen. The problem would be with the USB device drivers but it would be possible to support network devices.
  5. Hi @Tuan.Dinh The command and read/write are handled by separate function calls so there will be a few ms delay between these. You could reduce the frequency, like to 1kHz or below, to reduce the proportion of delays vs bit rate. The Read0 is for SDIO, where the data signal is bidirectional, ICs where the first bits are MOSI (command, address, write-data) and the following may be MISO (read-status, read-data).
  6. Hi @mnorth Did you set the master enable? as it is AnalogIO_AnalogDiscovery2_Power.py By default on app/script exit or device close function the outputs are stopped (disabled). Keep the app/running or set the onclose to run. # master enable dwf.FDwfAnalogIOEnableSet(hdwf, c_int(True)) # 0 = run, 1 = stop, 2 = shutdown dwf.FDwfParamSet(DwfParamOnClose, c_int(0))
  7. Hi @LarsB It is solved in newer version:
  8. Hi @LarsB With the arrow swapping I wanted to indicate the current navigation direction.
  9. Hi @JeromeBoateng The DD has 24 DIN and 16 DIO lines so it would be easier to handle all 20 by one device. Regarding device synchronization see the following post:
  10. Hi @LarsB It depends on the perspective, some people may expect to shift the signal while others the view. You change the Navigation option under the gear drop-down or right click:
  11. Hi @Kou You can use the WF SDK to control the ADP5250 as described in the WF pdf manual and it is compatible with most of the examples. This device can also controlled natively with dadp5capi like this: C:\Users\Public\Documents\National Instruments\VirtualBench Documentation\ C:\Users\Public\Documents\National Instruments\VirtualBench ANSI C Examples\ C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\lib32\msvc\ nivirtualbench.lib #include <stdio.h> #include <windows.h> #include "nivirtualbench.h" // change functions in nivirtualbench.h like: // typedef niVB_Status (__cdecl *niVB_Initialize)(uint32_t version, niVB_LibraryHandle* handle); int main(void){ HMODULE hNil = LoadLibraryA("dadp5capi.dll"); if(!hNil) return 0; niVB_LibraryHandle hLib; niVB_Initialize vb_Initialize = (niVB_Initialize)GetProcAddress(hNil, "niVB_Initialize"); niVB_Finalize vb_Finalize = (niVB_Finalize)GetProcAddress(hNil, "niVB_Finalize"); //.... if(vb_Initialize(NIVB_LIBRARY_VERSION, &hLib)) { FreeLibrary(hNil); return 0; } //.... vb_Finalize(hLib); FreeLibrary(hNil); printf("done"); return 1; }
  12. Hi @suke See the following script: AnalogOut_Pulse_Sync.py It generates the following and identical to the Wavegen configuration from the application.
  13. Hi @latot Use a ~500 Ohm series resistor when connecting it to low impedance to limit the current to 10mA and you can safely generate +/-5V signals. The device is protected and won't be damaged if you short the AWG output directly to anything between +/-5V, including GND. This is a protection and it is not recommended to be hold for long duration due to generated heat and unpredictable (temperature/time dependent) 45-65mA current. In regards to you heat/power question: The PTC is in the feedback loop and when shorting the output to GND the output amp will push it above +/-5V, so more than 5V will drop on the PTC, the worst is when connected to +/-5V, the drop will be above 10V.
  14. Hi @Kurt Blum 1. If you are referring to the Nyquist and Nichols plots, no, these are separate plots with different X/Y. You could eventually use custom plot in the Script tool or external application. 2. Yes, File/Export (Ctrl+E), select the Source you want and Save or Copy to Clipboard.
  15. Hi @JeromeBoateng See the WF SDK/ samples/ py/ DigitalIn_Trigger.py or other similar examples and the pdf manual. Remove or set to zero option to have DIN0... order: dwf.FDwfDigitalInInputOrderSet(hdwf, c_int(0)) Set sampling format to 32 bit and use c_uint samples: dwf.FDwfDigitalInSampleFormatSet(hdwf, c_int(32)) To trigger on any rising edge on DIN0-19: dwf.FDwfDigitalInTriggerSet(hdwf, c_int(0), c_int(0), c_int(0xFFFFF), c_int(0))
  16. Hi @Zapp For warranty and replacement contact the support.digilent at ni.com specifying the Date of Purchase, Seller and Purchase Order/ Web order Number
  17. Hi @pablo_gatearray For WF v3.18.29 or newer disabling of one of the channels will allow 1GHz, for earlier versions use the second configuration under Settings/ Device Manager.
  18. Hi @LarsB Use Record mode for fixed sample rate.
  19. Hi @philipg Good to hear it is working. Thank you for the update.
  20. Hi @LarsB Maybe you're looking for the View/ Events ? The other way around tracking will be in the next version for Logic Analyzer Data and Event views, and Scope Data view.
×
×
  • Create New...