LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking 2 examples

Hi,

 can anyone give me a Hint? I am an absolute beginner with NI Labview. I am trying to link to different Examples from NI Motion to control my Motor. I attached my program and looking for advice, is ti ok like that?its simply a point to point motion with a Find Home option. Is it good like that? or what needs to be changed?

 

Thanks

0 Kudos
Message 1 of 2
(2,408 Views)

Hi Kenzi,

 

well, just copy and past is not always working, but for beginners we recommend using examples - therefore the code looks ok.

But, you have to know what you're doing. At the moment there are two while loops, this means both loops will execute parallel! This is probably not what you want, normally you start with finding the reference followed i.e. with the straight line move.

 

To reach this, your code have to follow the dataflow theory, which LabVIEW is based on. The fastes way to gain the basic knowledge in LabVIEW is to attend a Traing course, dates and location can be found here. LabVIEW Core 1 is probably the right course for you.

Of course, you can also gain the knowledge by self training, a good starting reference is this site:

How Can I Learn LabVIEW?

 

Based on the knowledge from either the course or the tutorials, you can use differen Design Patterns to realise your programm. i.e. the 'State machine' approach. Ideas and tutorials are also described in this tutorial

Application Design Patterns: State Machines

 

I hope this information helps you,

 

Tobias

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 2 of 2
(2,385 Views)