LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I'd like to use the live feature in QMH. Please help me.

Hello everyone,
I've recently started learning about Labview development. I'm trying to create a live feature using the QMH (Queue-Message-Handler) architecture, but I'm facing an issue where it only runs once. In this loop, when I trigger the "live" event, I want it to keep executing infinitely within that while loop. How can I achieve this?
Thank you.

help.PNG

0 Kudos
Message 1 of 3
(529 Views)

Hi Rong,

 


@RongTime wrote:

In this loop, when I trigger the "live" event, I want it to keep executing infinitely within that while loop.


When you want to call the "Live" case repeatedly you need to call it more than once…

Have you tried to "re-trigger" that case by sending the message more often?

 

Btw. why are there so many wire bends in your image?

And I would recommend NOT to use "default if unwired" tunnels for references!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(505 Views)

I appreciate your response.

I initially attempted to use the live feature to receive real-time data from the camera and display it like a live stream. While triggering it multiple times would show the next frame as if it were "captured," it didn't provide the live functionality I desired.

As a result, I changed the functionality as shown in the image below. However, this isn't what I'm looking for; I'm interested in enabling/disabling live functionality using a queue.

I'm unsure about the meaning of "unconnected default tunnel." I'm learning LabVIEW, but I don't have a mentor to guide me.

Thank you for your assistance.

 

help2.PNG

0 Kudos
Message 3 of 3
(457 Views)