LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

High speed independent event loops?


Norbert_B wrote:

 

Steps for further autodidactic training:

1. Run an example for continuous streaming of NI Scope data to HD. Configure it for the desired parameters and run it as long as your measurements have to run in the future.

2. If step 1. works out fine: Search for a DO example. If this runs fine as well, run both examples in parallel.

3. Open and run an example for AO. Perform as step 2.

You should still have three different VIs!

4. If all works fine, create a VI above those three VIs to call them all. Still, it should work fine.

5. Train yourself for synchronizing those devices (scope, HSDIO, AO) regarding trigger/clock.

6. Implement what you learned. It should still work. 

7. Rework the caller of the examples to be a producer consumer. The consumer has to make sure that the three "devices" are handled properly for starting and stopping. You will require advanced communication techniques for being successfull here. Nothing for LV newcomers! 


hi Norbert,

I really like your suggestion here, just like the way I'm doing things with Labview here. But well, I'm kinda stuck while moving from step 3 to step 4.

Maybe that's why I chose to use parallel event to be able to combine them in 1 VI. But I get a feeling, with so many complicated wires and block diagrams that I have in 1 VI, Labview executes very slow each time after I edited my VI, and this is not a good solution for developing program.

I can't find good example to teach me how to run/stop a subVI with while loop in it, in my main VI. I'm having problem with execution of while loop in the subVI. Any tut/video/ebook which good to work with?

 

Regards,

Yan.

0 Kudos
Message 41 of 43
(388 Views)

@Mystogan wrote:
[..] Any tut/video/ebook which good to work with? 

 

Regards,

Yan.



Yan,

 

there are many different good sources, from online to books and training classes. You should look for advanced design patterns, parallelism and such as topic.

I cannot give any book recommendations (mostly because i know only few LV books), but all those require you to have a high comprehension of the text. If you have a hard time understanding what the text is about (e.g. about queue/notifier, what's the difference and so on), you are going to waste your time on those.

 

Then it is maybe better to attend some training since there are people you can actually ASK. OK, the training costs some credits, but maybe brings you up to speed in a time frame, no book will....

 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 42 of 43
(383 Views)

NI is offering special conditions for students for their trainings classes. Contact your local NI branch for more information.

If you are doing your master thesis in Germany for instance, you are applicable for such discounts, but you have to apply to it.

 

hope this helps,

Norbert

 

PS: LV Core 3 would be the class you might be looking for. 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 43 of 43
(379 Views)