Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a generic VISA example #421

Merged
merged 3 commits into from
Dec 1, 2023
Merged

Conversation

pbirkhol-ni
Copy link
Contributor

@pbirkhol-ni pbirkhol-ni commented Nov 30, 2023

What does this Pull Request accomplish?

AB#2590316

This PR creates an example that uses the new generic VISA API. It is a very simple example that will send a single command to a VISA instrument and then read back the response. It is based off a LabVIEW shipping example. It includes a simulated serial instrument VI that we can use for testing. To use the simulated serial instrument VI, you must install some simulated COM ports that are virtually connected. I used com0com.

What testing has been done?

Ran the example from InstrumentStudio and TestStand.

@pbirkhol-ni pbirkhol-ni changed the title Creating a generic VISA example Create a generic VISA example Nov 30, 2023
@pbirkhol-ni pbirkhol-ni merged commit e506a93 into main Dec 1, 2023
2 checks passed
@pbirkhol-ni pbirkhol-ni deleted the users/pbirkhol/visa-example branch December 1, 2023 14:32
jasonmreding added a commit that referenced this pull request Dec 5, 2023
* main:
  Update examples to use new Run Service.vi (#429)
  Update the service class of the .measui for LabVIEW Game of Life. It was still pointing to the .NET measurement service. (#427)
  Add unit tests for data type checking (#426)
  Update Keysight doc and delete UIProgressUpdates (#425)
  Create a generic VISA example (#421)
  Remove UI Progress Updates example. Game of Life covers the same features (#424)
  Bump version for pre-release (#423)
  Fix up Get Metadata from Configuration and Results to use a common subVI. Fix the logic for getting the array element type (#422)
  examples: Add gRPC support to VISA example (34401A) (#416)
  Remove breakpoint (#420)
  Use type definition name of actual DoubleXYData .ctl (#410)
  Add a VISA plugin for generic VISA support (#413)
  examples: Fix lvlib references to old TestStand VI names (#415)
  Fix ni_protobuf_types.vipb source path and build number (#414)
  Add game of life example (#402)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants