GithubHelp home page GithubHelp logo

tmytek / tlkcore-examples Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 3.0 390.47 MB

TMYTEK general API examples

Home Page: https://tmytek.com

LabVIEW 13.70% C# 16.29% C++ 13.96% Assembly 0.45% C 1.27% Python 34.89% Batchfile 0.14% MATLAB 8.11% HTML 11.17%
beamforming beamsteering n257 n261 beamformer beamforming-design mmwave tx rx phase

tlkcore-examples's People

Contributors

alinyo98 avatar ct-fangtmy avatar dependabot[bot] avatar ethan-tmytek avatar ivysiao avatar raymondsutmy avatar ron-wangtmy avatar tobiashuang1985 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

emememerf

tlkcore-examples's Issues

setOperatingFreq always returns "Generic Error" (code 2) when invoking method from LabVIEW

Description

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.

image

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.

Steps to Reproduce

  1. Download or clone the bbox-api fresh from origin
  2. Run the LabVIEW example provided (bbox-api-master/example/BBoxOne Series/LabVIEW/BBoxOne.vi)
  3. All other methods will execute successfully except for setOperatingFreq (returns code 2)
  4. If you use the method getOperatingFreq, it will always return the default operating freq for the device you're connected to. (In my case, the BBox One 5G 28GHz will always return 28 GHz)

Expected Behavior

setOperatingFreq should succeed and change the operating frequency

Current Behavior

Operating frequency does not change from default - as witnessed by running getOperatingFreq - and setOperatingFreq returns error code 2.

Basic Info

Device ID

BBox One 5G 28 GHz (BNE-2840-G)

BBox FW Version

1.2.14

BBox API Version

3.3.18.0

BBox Suite Version

Unsure

Recommended Python version does not support recommended numpy version

Description

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.

Steps to Reproduce

  1. On a fresh PC without Python installed, clone or download the bbox-api project
  2. Install Python from the included webinstall.exe file (bbox-api-master/pre-install/Python/python-3.7.7-webinstall.exe)
  3. Run Setup.bat
  4. Setup will fail

Expected Behavior

Setup should complete and install the required packages

Current Behavior

Setup fails

Basic Info

Device ID

N/A

BBox FW Version

N/A

BBox API Version

N/A

BBox Suite Version

N/A

Example for MATLAB

Description

Add examples to use BBox and UDBox in MATLAB.

Steps to Reproduce

Expected Behavior

Current Behavior

Basic Info

Device ID

BBox FW Version

BBox API Version

BBox Suite Version

LabVIEW Examples in latest release (1.6.7) are saved in LabVIEW 2022 Q3

Description

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

image

image

Steps to Reproduce

  1. Download the latest release of the TMYTEK API Examples
  2. Attempt to open any of the LabVIEW project files or VIs in LabVIEW 2021
  3. LabVIEW will report an error that the file version is later than the current LabVIEW version

image

Expected Behavior

The example projects and VIs should open in LabVIEW 2021

Current Behavior

The example projects and VIs are saved in LabVIEW 2022 Q3, which means they are incompatible with LabVIEW 2021

Basic Info

Device ID

BBox FW Version

BBox API Version

1.6.7

BBox Suite Version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.