Search the Community
Showing results for tags 'vb.net'.
Found 4 results
Greetings! I'm working on a project involving the use of the AD2's Logic Analyzer Function. I need to receive 510 bytes of data in the shortest time possible. My questions are: 1). Can the Single/Repeated Acquisition Mode of the Logic Analyzer handle 510 bytes of data? - I observed that it can only handle up to 4096 samples and 1 byte of the data I'm handling is 10 bits (1 start bit, 8 data bits, 1 stop bit). So all in all, the Single/Repeated Acquisition Mode can only handle 409 bytes of data. Is there a way to make it capable of handling 510 bytes of data? 2). What is the fastest acquisition mode of the Logic Analyzer Function? - I observed that the Record Mode can handle thousands of data. The downside is it takes a very long time to receive data. Whenever I use the Record Mode, I receive all of the 510 bytes of data. The problem is I end up with 20.5 seconds before the results are displayed and that is too long. 3). What is the best acquisition mode if I want to receive 510 bytes of data as fast as possible? Any advice would really help. Best regards, Lesiastas
Analogue Discovery 2 https://forum.digilentinc.com/applications/core/interface/file/attachment.php?id=12669 https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Ls1SAE&l=en-US Hi Firstly I would like to say what great product the Analogue Discovery 2 is, I have used it for 8 months to develop a product. It is by far the best PC scope that , I have used. Far better than a PICOSCOPE from the UK company PICOSCOPE or any of the Chinese PC scope knock offs. Analogue Discovery 2 is a serious peice of professional kit and not a toy. This a summary of all of the useful information I found when working with the Analogue Discovery 2 for 8 months 1. Always use the latest WaveformsSDK https://forum.digilentinc.com/topic/8908-waveforms-beta-download/ 2. vb.net driver rapper https://forum.digilentinc.com/applications/core/interface/file/attachment.php?id=9726 https://forum.digilentinc.com/topic/17736-digilent-analog-discovery-2-dll-driver-for-vbnet-and-c-in-visual-studio-2017/#comment-45135 3. C# complete .net rapper than can be used for vb.net as well as C# https://github.com/Andrei-Errapart/WaveFormsSDK It is possible to take full control of the Analogue discovery 2 using C# or vb.net or python or labview. 4. C# oscilloscope GUI panel that works and can be used in both VB.net and C# https://www.codeproject.com/Articles/16350/High-Speed-Feature-Rich-and-Easy-To-Use-Graphs-and I have tested this C# plugin and it works really well . 5. KICAD PCB tool projects that are very intersting This way you can make your own projects which plug onto the analog discovery 2 https://github.com/jubeormk1/AnalogDiscovery_x20_powerMainsProbe https://github.com/jamescarruthers/analogdiscovery2io https://github.com/james-everitt/AnalogDiscovery2Eurorack https://reference.digilentinc.com/_media/reference/instrumentation/analog_discovery_impedance_analyzer_sch.pdf 6. General https://github.com/Elektrolab/AnalogDiscoveryScope https://github.com/AndrewQM/AnalogDiscoveryScripts https://github.com/bienata/AnalogDiscovery2 https://github.com/pascalhuerst/FreqResp https://github.com/HutzlerLab/AnalogDiscovery https://github.com/holla2040/ad2 https://github.com/ATPanetta18/ADAP https://github.com/michael-christen/digilent_interface <<<<-- linux command line interfasce for AD2 The question ============= Will the waveforms SDK every be compiled to work on the Windows10 ARM64 platfrom. ?? see https://www.altomdata.dk/guide-koer-komplet-windows-10-paa-raspberry-pi
Dear Diligent AD2 team Please can you update your companies notes supporting Microsoft .net drivers which work with C# and VB.net and F# for the Analog Discovery 2 tool. It is a an excellent tool , but be even more excellent if could work and be used in the microsoft .net environment. This is a link to a previous forum post on the subject which used visual basic 6 from a while back. https://forum.digilentinc.com/topic/3049-vbnet-andor-cnet-wrapper-for-dwfdll/ The original visual basic 6 example . From the time before .net happened https://forum.digilentinc.com/applications/core/interface/file/attachment.php?id=1450 >> 160314_dwf_wrapper.zip I have taken this worked example and updated to get it to run with vb.net in visual studio 2017 .See enclosed attachment- It is failing to work properly due a. dll memory project fault in the .dll driver. The C++ source code for the .dll driver is also included in the attachment. My request is can Digilent fix the driver so that is usable in .net assemblies and is Memory safe . This is the reported run time fault when trying to access FDwfDeviceOpen in vb.net line of code : nRet = FDwfDeviceOpen(-1, hdwf) Fault report : System.AccessViolationException HResult=0x80004003 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source=<Cannot evaluate the exception source> StackTrace: <Cannot evaluate the exception stack trace> Thank you for considering this request Digilent_AD2_try2_vb.net.zip
Just downloaded Waveforms and would like to use the dwf.dll in a vb.net program. When trying to include the dll as a reference I get an error that it is not recognized as a valid COM component or assembly. Do you have a compatible wrapper or other suggestion? Regards mijq