A package that exposes NI-VISA types to Swift. This package does not expose NI-VISA functions to Swift. In order to use the NI-VISA C library with Swift, you must manually include the NI provided VISA.framework file into your project. Alternatively, you can check out our other repositories for interacting with VISA through Swift.
Installation can be done through the Swift Package Manager. To use the CVISATypes package in your project, include the following dependency in your Package.swift
file.
dependencies: [
.package(url: "https://github.com/SwiftVISA/CVISATypes.git", .upToNextMajor(from: "1.0.0"))
]
This project is a slow-moving "labor-of-love" for our group and intended additional features are worked on sporadically based upon need, time, and our ability to deal with Apple's poor documentation. Currently, the bulk of our efforts are put into SwiftVISASwift (https://github.com/SwiftVISA/SwiftVISASwift). We would love help and please e-mail me (or to reply to the relevant issue or open a new one).
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owner of this repository before making a change.
master
.Use common sense (source: https://github.com/gasparl/possa/blob/master/CONTRIBUTING.md)
Examples:
Examples of unacceptable behavior by participants include:
link |
Stars: 1 |
Last commit: 1 year ago |
Fixed ViAccessType.
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics