LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

log file window

I´m using a string indicator to display a log file of the program, showing the command executed whithin a time stamp. I pass the data between VI´s trough references.
 
This object is quite big, and difficult to place it in the user interface window. So, now I would like to take it into a floating window, hence when the user runs the test, it opens (and going on writing the commands on it). How can I do to implement that? I have to create another vi, but how to take the data there dinamically?
0 Kudos
Message 1 of 7
(3,433 Views)
What do you want to display in the floating vi? A log file or just strings, which are written into the log file? Could you clearify a bit and maybe post some code?
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 7
(3,428 Views)

Hi, Becktho.

It´s just a string.

I attach some screenshots, hope they help.

Thanks for your interest

Mensaje editado por Gatet

Download All
0 Kudos
Message 3 of 7
(3,425 Views)

Your code seems to work - so the only thing you have to do is to pass the data to the sub-vi. You could do this using a named queue, or by passing a queue reference to the floating vi. There you dequeue the message-items you enqueued in the rest of your application (That's the way I made a log-library).

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 7
(3,419 Views)
Now it´s me who ask for a bit of code exemplifying this, cause I´m not familiar with this queues functions
0 Kudos
Message 5 of 7
(3,416 Views)

No problem - here you are. There are also examples shipped with LV.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Download All
Message 6 of 7
(3,414 Views)

Aham... Interesting...

Ok, cheers may!

0 Kudos
Message 7 of 7
(3,407 Views)