Modern instrumentation development often involves the incorporation of many dissimilar hardware peripherals into a single unified instrument. The increasing availability of modular hardware has brought greater instrument complexity to small research groups. This complexity stretches the capability of traditional, monolithic orchestration software. In many cases, a lack of software flexibility leads creative researchers to feel frustrated, unable to perform experiments they envision. Herein, we describe Yet Another acQuisition (yaq), a software project defining a new standardized way of communicating with diverse hardware peripherals. yaq encourages a highly modular approach to experimental software development that is well suited to address the experimental flexibility needs of complex instruments. yaq is designed to overcome hardware communication barriers that challenge typical experimental software. A large number of hardware peripherals are already supported, with tooling available to expand support. The yaq standard enables collaboration among multiple research groups, increasing code quality while lowering development effort.
more »
« less
SwiftVISA: Controlling Instrumentation with a Swift-based Implementation of the VISA Communication Protocol
The Virtual Instrument Software Architecture (VISA)(National Instruments, 2021, 2022c; Wikipedia Contributors, 2021) is a simple Application Programming Interface (API) to com- municate with test and measurement instrumentation from a computer. VISA includes specifications for communicating with resources or instruments over GPIB (General Purpose Interface Bus, IEEE-488) and VXI (VME eXtensions for instrumentation), which are test and measurement specific I/O interfaces along with providing protocols for communicating over PC-Standard I/O standards, such as VXI-11 (over TCP/IP), UCSBTMC (USBTest and Measurement Class, over USB), HiSLIP (High Speed LAN Instrument Protocol).(Wikipedia Contributors, 2021) VISA’s ability to communicate with a wide variety of instruments over a broad range of I/O’s using a common set of APIs makes it an attractive communication API for scientists and equipment manufacturers to write equipment control software with.
more »
« less
- Award ID(s):
- 1944516
- PAR ID:
- 10403612
- Date Published:
- Journal Name:
- Journal of open source software
- Volume:
- 83
- Issue:
- 4752
- ISSN:
- 2475-9066
- Page Range / eLocation ID:
- 1 - 8
- Format(s):
- Medium: X
- Sponsoring Org:
- National Science Foundation
More Like this
-
-
Abstract In 2021, the Ocean Thematic Centre of the European Research Infrastructure “Integrated Carbon Observation System” conducted an international partial pressure of carbon dioxide (pCO2) instrument intercomparison. The goal was to understand how different types of instrumentation for the measurement of oceanpCO2compare to each other. During the two‐week long experiment, we installed various instruments in a tank facility using natural sea water (North Sea). These included direct air–water equilibration systems and membrane‐based flow‐through instruments along with submersible sensors and instruments that are normally installed on buoys and autonomous surface vehicles. In situ instruments were installed inside the tank and the flow‐through instruments were fed the same water using a pumping system. We changed the temperature (between 10°C and 28°C) and the seawaterpCO2(between 250 and 800μatm) to observe instrument responses over a wide range. Since there is no reference for surface oceanpCO2measurements, we agreed on a set of instruments serving as intercomparison reference. All data from the different instruments were then compared against the intercomparison reference during periods of stable temperature andpCO2. The study provides important information to enhance future ocean carbon monitoring networks, but makes no direct recommendation for the use of any specific sensor. A major finding is that equilibration through direct air–water contact appears to be more consistent and independent of external factors than equilibration through a membrane or photometric detection. We found several instruments with no temperature measurements at the location of equilibration or with uncalibrated temperature sensors introducing significant uncertainty in the results.more » « less
-
Evans, Christopher J.; Bryant, Julia J.; Motohara, Kentaro (Ed.)PFS (Prime Focus Spectrograph), a next generation facility instrument on the Subaru telescope, is now being tested on the telescope. The instrument is equipped with very wide (1.3 degrees in diameter) field of view on the Subaru's prime focus, high multiplexity by 2394 reconfigurable fibers, and wide waveband spectrograph that covers from 380nm to 1260nm simultaneously in one exposure. Currently engineering observations are ongoing with Prime Focus Instrument (PFI), Metrology Camera System (MCS), the first spectrpgraph module (SM1) with visible cameras and the first fiber cable providing optical link between PFI and SM1. Among the rest of the hardware, the second fiber cable has been already installed on the telescope and in the dome building since April 2022, and the two others were also delivered in June 2022. The integration and test of next SMs including near-infrared cameras are ongoing for timely deliveries. The progress in the software development is also worth noting. The instrument control software delivered with the subsystems is being well integrated with its system-level layer, the telescope system, observation planning software and associated databases. The data reduction pipelines are also rapidly progressing especially since sky spectra started being taken in early 2021 using Subaru Nigh Sky Spectrograph (SuNSS), and more recently using PFI during the engineering observations. In parallel to these instrumentation activities, the PFS science team in the collaboration is timely formulating a plan of large-sky survey observation to be proposed and conducted as a Subaru Strategic Program (SSP) from 2024. In this article, we report these recent progresses, ongoing developments and future perspectives of the PFS instrumentation.more » « less
-
Test coverage is a critical aspect of the software development process, aiming for overall confidence in the product. When considering cloud-native systems, testing becomes complex, as it becomes necessary to deal with multiple distributed microservices that are developed by different teams and may change quite rapidly. In such a dynamic environment, it is important to track test coverage. This is especially relevant for end-to-end (E2E) and API testing, as these might be developed by teams distinct from microservice developers. Moreover, indirection exists in E2E, where the testers may see the user interface but not know how comprehensive the test suits are. To ensure confidence in health checks in the system, mechanisms and instruments are needed to indicate the test coverage level. Unfortunately, there is a lack of such mechanisms for cloud-native systems. This manuscript introduces test coverage metrics for evaluating the extent of E2E and API test suite coverage for microservice endpoints. It elaborates on automating the calculation of these metrics with access to microservice codebases and system testing traces, delves into the process, and offers feedback with a visual perspective, emphasizing test coverage across microservices. To demonstrate the viability of the proposed approach, we implement a proof-of-concept tool and perform a case study on a well-established system benchmark assessing existing E2E and API test suites with regard to test coverage using the proposed endpoint metrics. The results of endpoint coverage reflect the diverse perspectives of both testing approaches. API testing achieved 91.98% coverage in the benchmark, whereas E2E testing achieved 45.42%. Combining both coverage results yielded a slight increase to approximately 92.36%, attributed to a few endpoints tested exclusively through one testing approach, not covered by the other.more » « less
-
Peer produced goods, such as online knowledge bases and free/libre open source software rely on contributors who often choose their tasks regardless of consumer needs. These goods are susceptible to underproduction: when popular goods are relatively low quality. Although underproduction is a common feature of peer production, very little is known about how to counteract it. We use a detailed longitudinal dataset from English Wikipedia to show that more experienced contributors—including those who contribute without an account—tend to contribute to underproduced goods. A within-person analysis shows that contributors’ efforts shift toward underproduced goods over time. These findings illustrate the value of retaining contributors in peer production, including those contributing without accounts, as a means to counter underproduction.more » « less
An official website of the United States government

