-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable driver support for nitclk (#1054)
* Add initial metadata * Create nitclk.mak * Remove numpy restriction Bug fixed * Upgrade pip * Remove specific version of flake8 '\' in comments now need to be escaped * Add basepython section * Try using pypy3.5 * Go back to pypy3 and remove basepython block * Don't need to run build_test for all builds - only 3.6 * Remove warning from coverage * Undo previous change * Try disabling faulthandler * Remove --no-faulthandler * pypy needs an older version of pytest See pytest-dev/pytest#5807 * Use platform_python_implementation since implementation_name is not defined on Python2 * Try to get back to the initial coverage * Do the same thing for build_test * Remove redundant pip * Add codecov file to try to control limits for passing * Enable nitclk build * There are some files we will need to skip for now * Add generated nitclk files * Update generated files * Can't skip README.rst * Update templates * Add new cases for buffers with a converter * Need to handle ' []' to normalize everything * Get the session handle name from config instead of hardcoding 'vi' * Temp commit * Fix syntax error * Test new cases * Force change * Update generated files * Update generated files * Add different target for pr (project) and commit (patch) * threshold should be number * Renumber scaler cases to be in order used in the code * Update generated files * Renumber buffer cases to match order used in code * Move and rename test to match case (C020) * Update generated files * Add nitclk specific session template * No longer need to skip generating session.py * Add new session.py * Add placeholder nitclk example * Enable example documentation build * Add generated examples.rst * Add TClk to static files * Add tclk to index * Add tclk top level file * Update generated files * Add VIUInt32 matcher * Add ViSession buffer matcher * We want to look at all of nitclk since there are differences in some of the generarted files * Run unit tests on nitclk * Add initial test and setup * Update generated files * Correct wrong exception * Rename test * Add return (helps editor auto formatting) * Update generated files * Few more tests * Add new filter type Needed for API functions in nitclk * Don't try to use a singleton any more - didn't work * Use new filter type * All API functions tested This covers both the api function and the helper class * Update generated files * Fix metadata for GetAttributeViString * More tests! * Correct type is ViSession * Need to say it isn't the session handle * Test class for testing session number converter * Additional tests * Update generated files * We don't need to measure anything from nitclk or nimodinst other than session.py * Fix class names to work with pytest * Use correct name * Don't codegen ViBoolean functions since they aren't actually used * Update generated files * Handle not having an 'init_function' in config * Remove InitForDocumentation * Add tclk specific class.rst template * Updates * Build using nitclk specific class.rst template * Add type in documentation * Fix output path * Documentation updates * We need to be able to use method or function, default is method * Links need to be different for nitclk * Clean up nitclk class documentation * Put functions first (properties are an advanced feature) * Do a better job with headers that show up in the TOC * Basic documentation for Public API and SessionReference * Update generated files * Update generated files * Use the session name from config - doesn't always match the parameter name * Update converter name * Need a reperated capabilities for get/set attribute * Function is now private * Update generated files * Update * Remove extraneous comment * Only add properties section if there are actually properties * Update to match latest format in master * Update generated files * Use the entire navigation depth * Add 'supports_nitclk' with default of False * Install latest built nitclk wheel for testing nifake * Add dependency on nitclk when it is supported * Import and use nitclk when it is supported * Set nitclk supported * test that session.tclk is of type nitclk.SessionReference * Update generated files * Install local nitclk wheel before system_tests * Add section for nitclk support * Update generated files * Remove unused parameter * Update docstring per review * Since the type is ViSession, need to say not the session handle * Update comments per review * Update docstring per review * Update class name per review * Update generated files * Add nitclk to CHANGELOG.md * Remove blank line * Update generated files * Explicitly say doesn't support nitclk per review * Don't need to patch entire nitclk DLL, only _library_singleton.get() * Rely on default of False for 'supports_nitclk' * Update generated files
- Loading branch information
1 parent
23a13f1
commit ce3a320
Showing
33 changed files
with
123 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.