tmytek / tlkcore-examples Goto Github PK
View Code? Open in Web Editor NEWTMYTEK general API examples
Home Page: https://tmytek.com
TMYTEK general API examples
Home Page: https://tmytek.com
When attempting to set the operating frequency of a BBox One using the TMYTEK BBox API DLL from LabVIEW, the function will always fail and return error code 2 ("Generic Error"). When attempting this same function call from Python it executes successfully and I am able to change the center frequency/operating frequency. I am also successful in changing the center/operating frequency of the BBox from the TMXLab software on the same computer.
The generic error code is always returned, and the center/operating frequency is never changed when invoking this method in LabVIEW. Using the example program provided in this API repository returns the error, as well as running example code provided by NI (National Instruments) and invoking the method on my own in a very simple VI.
I believe this may have to do with numeric type casting/handling between LabVIEW and the TMYTEK API DLL, although I can't be sure since I do not have any insight into the source code behind the TMYTEK API DLL. When first loading the example code in LabVIEW, the BBoxOne.vi will throw a warning stating that the .NET Assembly being referenced has changed versions, from v3.3.8.0 to v3.3.18.0. Maybe something changed between those versions of the DLL that caused this example code to break, but again I can't be sure.
setOperatingFreq should succeed and change the operating frequency
Operating frequency does not change from default - as witnessed by running getOperatingFreq - and setOperatingFreq returns error code 2.
BBox One 5G 28 GHz (BNE-2840-G)
1.2.14
3.3.18.0
Unsure
When following the set-up instructions for the example code in Python, the packaged installer (bbox-api-master/pre-install/Python/python-3.7.7-webinstall.exe) installs Python 3.7.7. However, when trying to run the Setup.bat file to install the required packages, this fails because numpy 1.22.0 is not compatible with versions of Python below 3.8.
In order for the Setup.bat file to execute successfully, you must install Python 3.8 and run the Setup.bat so pip can install the required packages.
Setup should complete and install the required packages
Setup fails
N/A
N/A
N/A
N/A
Add examples to use BBox and UDBox in MATLAB.
The latest release of the TMYTEK bbox-api library has all of its examples saved in LabVIEW 2022 Q3. For greater application and development accessibility and compatibility, the examples should be saved for an earlier version of LabVIEW.
The documentation/readme for this library states that LabVIEW 2021 is the tested/prerequisite version of LabVIEW for the API examples, which is no longer the case. This affects all of the example LabVIEW project files and VIs, not just the BBox One examples.
This can be fixed by simply opening the projects in LabVIEW 2022 Q3 and saving them for an earlier version of LabVIEW to maintain backwards compatibility
The example projects and VIs should open in LabVIEW 2021
The example projects and VIs are saved in LabVIEW 2022 Q3, which means they are incompatible with LabVIEW 2021
1.6.7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.