Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Motion assistant: Cannot convert to LabView file

Dear All,

The Motion controller is 7340 (2 axis).

The previous time, I clean the Ni software.  Then, I install Motion assistant.  Lastly, I install Labview.

Maybe, I install the software as your guidance.

Regards

James

0 Kudos
Message 11 of 19
(2,694 Views)
James,

sorry that I didn't answer earlier but I was out of office. As Mike has stated the installation order is probably crucial. Please install LabVIEW first and then Motion Assistance. I think it shouldn't be necessary to uninstall LabVIEW. I would try to uninstall and reinstall Motion Assistance.

Best regards,

Jochen
0 Kudos
Message 12 of 19
(2,687 Views)

Dear Sir,

I have done what you said,  I can produce the file in labVIEW schematics but not in the front panel.

Can you give me some hint : what to do such that the front panel can be generated.

Later,

I clean all from the RAM.  Then, I open LabView only.

Later,

I find that the previous saved data in LabView Schematics cannot be open.

Can you tell me why?

Regards,

James James

0 Kudos
Message 13 of 19
(2,670 Views)
Motion Assistant only generates a LabVIEW blockdiagram which is a prototype for your application and which is not meant to be used as the final code. Motion Assistant doesn't create a front panel so the behavior is absolutely normal.

I'm sorry that I can't tell why you can't load the previously generated LabVIEW code. Do you receive an error? Could you post an example?

Jochen
0 Kudos
Message 14 of 19
(2,662 Views)

Dear All,

Thanks for your supports.

Here is a little question:

There is a module(icon) produced by Motion Assistant.  However, I cannot find it in the Labview(7.1) library

They are :  Straight Line Move - 1D straight Line Move-Start MC.vi

                   Motion Error Handler

Please tell me where is this module found?

Regards,

James

0 Kudos
Message 15 of 19
(2,649 Views)
James,
 
Usually the Motion Assistant installs everything that is necessary to generate code from the scripts that you write.  Those VIs are part of the NI-Motion driver, and should be located on your hard disk somewhere if you have Motion installed.    To be sure that you have Motion installed, open Measurement and Automation Explorer (MAX) from your desktop, and expand the Software folder.  If you do have Motion installed, you should see a listing for NI-Motion somewhere in the software list.  If you do not have this driver, you can get it here.
 
Generally if there is a VI needed that is part of NI-Motion or LabVIEW libraries but for some reason is not being found automatically, you can check to see if the vi is located on your hard drive by going to Tools >> Find VIs on Disk in LabVIEW.  This is a search utility that has the capability of scanning through libraries as well.  Make sure that the VI that you want to search for is typed in exactly as you see the name of the VI in the error prompt otherwise the search might not find the VI.  For example, if you are missing the Motion Error Handler.flx file, make sure that you type "motion error handler" in the Text to Search For in the Filenames field.  I would leave the extension off of the file to ensure that you detect all files that have the keyword in the name.  Make sure that Search Inside Library Files field is checked, and that you are searching within your National Instruments directory.  Perform the search, and some results should appear in the Search Results section of the window.  Locate which result contains the specific VI that your code is looking for, and remember the filepath.  Then, the next time that you get the prompt to locate the file you can browse for the specific filepath that you found earlier in the VI search.  Usually once the association has been made once, it is not necessary to make it again.
 
In the event that you cannot locate the VI with the search, you may be missing the driver.  In that case, install the Motion driver from our website and you should be good to go.
 
Regards,
 
Mike T
National Instruments
0 Kudos
Message 16 of 19
(2,643 Views)

Dear All,

I have a small question.  I can find the corresponding Motion icons.  However, after I open them.  They are schematics. 

In order to combine several icons together to form a system prototype, please tell me what is the tricky things to accomplish the system.

Regards

James James

0 Kudos
Message 17 of 19
(2,599 Views)
James,

The NI-Motion driver not only installs motion VIs (the blocks that you are referring to) into LabVIEW, but it also installs examples.  You can find these examples by going to Help >> Find Examples from the top-right bar in LabVIEW.  An Example Finder window should open up.  In the middle of this window there will be a list of folders.  Select Hardware Input and Output >> Motion Control.  Here you will find a number of folders that contain example programs written in LabVIEW that all use the Motion VIs. Select the appropriate folder that describes the action that you would like to perform, and open one of the examples in that folder.  There you should be able to inspect how the Motion VIs work together to accomplish a task.

If you are new to LabVIEW altogether, there is a free 3-hour introductory course to LabVIEW available on our website that you can find here.  I would recommend taking this course if the examples aren't making much sense.

Regards,

Mike T
National Instruments
0 Kudos
Message 18 of 19
(2,574 Views)

Dear Torba,

For you reply, your second paragraph is rubbish.

I still appreciate your first paragraph.  It still give me some hint for the sake of reference

Regards,

James James

0 Kudos
Message 19 of 19
(2,563 Views)