Skip to main content
Automated test rack with multiple Promira Serial Platforms connected via Ethernet

Running Multiple Promira Platforms in One Test System

GSAS Engineering · · 2 min read

Production test systems frequently need multiple Promira Serial Platforms running simultaneously, one per DUT station, or multiple per station for different protocol requirements. When integrating the Promira with NI LabVIEW and TestStand, intermittent error 8030 from `ps_queue_submit` can occur if the API handles and queue lifecycle are not managed correctly.

Understanding Promira Queues

The Promira API uses a queue-based architecture for I2C and SPI transactions. Rather than executing each command individually (which would incur USB or Ethernet round-trip latency for every transaction), the API accumulates multiple commands into a queue and submits them as a batch:

1. Build the queue: add I2C write, I2C read, SPI transfer, and delay commands.
2. Submit the queue: `ps_queue_submit` sends the entire batch to the Promira hardware for autonomous execution.
3. Collect results: `ps_queue_result` retrieves the outcomes of each command in the queue.

This queue architecture is what enables the Promira’s gap-free SPI streaming at 20 MHz and beyond, by keeping multiple outstanding queues in the Promira’s execution pipeline, the hardware can execute one queue while the host prepares the next, eliminating PC-to-instrument latency from the bus timing.

Root Cause: Concurrent Handle Access

The error PS_APP_PENDING_ASYNC_CMD (code 8030) occurs in two scenarios:

Race condition: Two parallel LabVIEW threads or TestStand sequences access the same Promira handle simultaneously. The Promira API is not thread-safe per handle, if thread A submits a queue while thread B is still collecting results from a previous queue on the same handle, the API returns error 8030. Uncollected results: If a previous queue’s results were not collected via `ps_queue_result` before submitting a new queue, the Promira reports pending async commands. The queue is not automatically cleared after execution.

The Fix

For race conditions: Add a 10–20 ms delay between consecutive transactions on the same handle, or use a mutex/semaphore in LabVIEW to serialize access to each Promira handle. Each physical Promira should have exactly one thread accessing its handle at any time. For uncollected results: Always call `ps_queue_result` after every `ps_queue_submit` before building and submitting the next queue. The pattern should be: build → submit → collect → build → submit → collect. For maximum throughput: Create multiple queues and submit them rapidly, the Promira hardware can hold several outstanding queues in its execution pipeline and execute them autonomously without PC intervention. This is how 20 MHz gapless SPI streaming is achieved: the host fills the pipeline faster than the Promira drains it.

Multi-Promira LabVIEW Architecture

When running N Promira platforms in a single TestStand system:

  • Open each Promira with its own handle (`ps_open` returns a unique handle per device).
  • Assign each handle to its own LabVIEW worker thread or TestStand socket.
  • Never share a handle between threads, each handle is a private resource.
  • Use the Promira’s serial number or Ethernet IP address to consistently identify which handle maps to which DUT station.

The Promira’s Gigabit Ethernet interface is particularly valuable in multi-unit test systems because it eliminates USB hub reliability issues and enables placement of each Promira directly at its test station with a standard Ethernet cable run.

GSAS Support

GSAS Micro Systems provides applications engineering support for multi-Promira test system integration, including LabVIEW VI architecture guidance, TestStand sequence design, and Ethernet networking configuration for production floor deployments across India.

Interested in Total Phase tools?

Talk to our application engineers for personalized tool recommendations.

Stay in the Loop

Get monthly compliance updates, product insights, and engineering best practices delivered to your inbox.

Related Articles

Solid Sands campaign artwork for SuperTest Van Gogh 6.0, C++ source code set against Van Gogh's The Starry Night
Functional Safety Solid Sands

SuperTest Van Gogh 6.0: C23, C++23 and the C++20 Modules Gap

Solid Sands has released SuperTest Van Gogh 6.0 with more than 1,900 new tests, including 480 for C23 and 440 for C++23. The number worth your attention is a different one: GCC, Clang and MSVC each currently fail about 20% of its 173 C++20 modules tests.

6 Oct 2026 · 7 min read
Embedded verification and unit test workflow, illustrating the economics of finding defects early, supported by GSAS Micro Systems in India
Technical Guides

Verification Economics: What a Late Defect Actually Costs, and What the Evidence Really Says

Finding a defect in month 2 instead of month 14 is a budget decision before it is a quality decision. This sets out what the published evidence supports, what it does not, including the 100x multiplier that traces back to a course handout rather than a study, and how an Indian embedded team builds the case on its own numbers.

21 Sept 2026 · 14 min read
Storage sizing ladder for automotive data logging: four rungs stepping from an aggregate link rate of 1 Gbit/s to 125 MB per second, then 450 GB per hour, then 3.6 TB per eight-hour shift, then 18 TB per five-day week, in decimal units, from GSAS Micro Systems India
Automotive Ethernet Automotive & Mobility

Automotive Data Loggers: Capture Without Loss

Search for an automotive data logger and the results split into cheap OBD dongles at one end and enterprise ADAS recorders at the other, with nothing in between explaining the engineering that decides whether you lose frames. This is the loss budget end to end: mirror oversubscription upstream of the logger, encapsulation overhead on the capture path, sustained write rate against burst rate, rotation stalls, and storage arithmetic worked in full so you can redo it with your own numbers instead of trusting ours. Written by the GSAS Micro Systems engineering team in India.

29 Aug 2026 · 13 min read