LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ASIO interface for LabVIEW

Thank you for your reply.

I am facing issues with ASIO_Input_Output_LV.vi whenever I run it, LabVIEW crashes. My goal is to run it for continuous streaming, in parallel, similar to WaveIO.

I would like to:

  • Reduce the buffer size from 1024 to around 128 to minimize latency.
  • Configure it only for output, since I am already receiving input from other sensors. Based on this input, the system generates an output in a closed-loop setup.

Reducing the latency is important because it will improve the update rate for my application.

I am attaching the LabVIEW project (converted to LabVIEW 14) for your review.

Looking forward to your guidance.

Download All
0 Kudos
Message 21 of 23
(197 Views)

I modified the ASIO_Input_Output_LV.vi to enable only output channels. Let me know if this is what you are looking for.

0 Kudos
Message 22 of 23
(175 Views)

Hi LVCoder,

I’m using your ASIO library and absolutely loving it  thank you for your excellent contribution!

In my setup, the playback output from the sound card (via ASIO) drives amplifiers for an electromagnetic coil position control system. The feedback comes from other sensors (force and acceleration) over TCP/IP.

I’ve been testing reduced WaveIO buffer sizes using ASIO4ALL. With a block size of 1024 samples or higher, the system behaves deterministically, and latency remains stable. However, when I set smaller buffers (128, 256, or 512), ASIO4ALL seems to add or reorder hidden buffers, causing random latency variations.

Is there a way to maintain smaller buffer sizes to minimize latency? For example, with a 1024-sample block size, latency is about 21.33 ms (~47 Hz system response), but reducing it to around 8 samples (~166 µs or ~6024 Hz) would significantly improve position smoothness.

can you please modify the library for a smaller buffer size and stable latency? I am also attaching the snapshots of simulation for your reference

Download All
0 Kudos
Message 23 of 23
(101 Views)