LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Too much values in daq recording

Hi,

 

yes. i need both notifiers at same time. I will testing the cluster in next days.

0 Kudos
Message 11 of 16
(746 Views)

Hello gerd,

 

it´s interesting with cluster. And my recording is ok. I can say i won the recording race...

Additional i added producer/consumer loops.

 

But with stopping my loops is something happened. This problem was not before.

Now i´m not able to stop the programm with exit.

 

In my opinion it´s the event loop now. I added indicators for all loop and producer and consumer stopped

0 Kudos
Message 12 of 16
(735 Views)

Hi Hulk,

 


@Hulk1978 wrote:

I can say i won the recording race...


Not yet… 😄

 


@Hulk1978 wrote:

But with stopping my loops is something happened. This problem was not before.

Now i´m not able to stop the programm with exit.

In my opinion it´s the event loop now. I added indicators for all loop and producer and consumer stopped


Your "opinion" is wrong!

In the task of programming you should not judge based on "opinions", but based on knowledge!

Did you even try to debug your VI using execution highlighting? Then you would see the problem: ReadQueue is waiting for new data forever!

 

Read the help on the used queue and notifier operations and learn, how to stop ReadQueue. There are two options:

  1. set a timeout
  2. kill the queue

You didn't use any of those two options, but both are recommended:

  1. using timeout ensures loop will spin and are able to do other stuff in parallel
  2. killing the queue is a MUST: ALWAYS cleanup all references created in your VI!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 16
(717 Views)

Hi,

 

i added the timeout and used release functions for notifier and queue.

But something is still strange. The first (and only the first ) record command is not sent.

Highlight and probe functions were used.

After pushing first time i can without any problem switch between the both states.

So i´m not sure if i´m already a race winner.

Download All
0 Kudos
Message 14 of 16
(697 Views)

@Hulk1978 wrote:

But something is still strange. The first (and only the first ) record command is not sent.


That would likely be due to your Feedback Node in the Start Data Recording Value Change Event.  Build your path first, then bundle and send the notification.  You will need to rewire your error wires to do this properly.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 15 of 16
(690 Views)

Victory.

 

Thank you very much to your both.

I learned so much about cluster,queue, notifier....

For tdms i have one or two more understanding questions. But i will open another topic later

0 Kudos
Message 16 of 16
(676 Views)