LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Live update of a graph modified in a subVI

Solved!
Go to solution

Hello,

 

A quick explanation of the situation:

 

I have a program allowing to acquire data from a CCD camera.

This program acts as standalone or as a TCP server for another software piece.

 

 I would like to write the TCP server part as a subVI, returning, say, the "CCD-Image" object.

Everything works properly now, expect that while in TCP server modus the image is returned only when the subvi is terminated.

 

I would like to get the "CCD-Image" object updated as soon as it is modified within the subVI, is this possible?

This is pretty similar to creating a local variable, but to place it in a subVI rather than within the VI where the original Object is.

 

Thank you for your help!

 

Mat'

0 Kudos
Message 1 of 5
(3,022 Views)

Hi Mat',

the TCP server should run parallel to the other code. It sounds like there is something with the data flow.

Can you show your sub vi and the overview who calls it?

 

Mike

0 Kudos
Message 2 of 5
(3,016 Views)
Solution
Accepted by topic author MathieuG

Hello,

Thank you for your reply!

I actually got my information from this post, which I first did not see:

http://forums.ni.com/ni/board/message?board.id=170&message.id=264805&query.id=107551#M264805

 

Best regards,

 

Mat'

0 Kudos
Message 3 of 5
(3,006 Views)

Hi Mat',

sorry for not understanding it, is it solved now?

 

Mike

0 Kudos
Message 4 of 5
(2,993 Views)

Yes everything solved, thank you! 😉

My question was not as clear as it should have been!

0 Kudos
Message 5 of 5
(2,985 Views)