Motion Express VIs Cause Real-Time Targets to Crash

Updated Jan 10, 2018

Reported In

Software

  • LabVIEW SoftMotion Module

Issue Details

When attempting to use more than one coordinate space resource with one unique instance of the Straight Line Move Express VI, I observe my program crashing after switching from one resource to another. Can a single unique instance of the Straight Line Move Express VI execute properly when using more than one coordinate space resource?

Solution

No, currently you must use individual instances of the Straight Line Move Express VI for each unique coordinate space resource. 

The Straight Line Move Express VI cannot accept a different coordinate space resource after its first execution. Switching coordinate space resources after the first execution will crash or hang the Real-Time operating system. 

You must create individual Straight Line Move Express VIs for each unique coordinate space resource being used. This fix can be implemented by using a case structure with individual instances of the Straight Line Move Express VI in each case. The following figures show a case in which this crash would happen and a way to correct it.


 
The number of cases with unique Express VIs should match the number of coordinate spaces you plan to use. The coordinate space resource name can be used to identify which instance of the Straight Line Move Express VI your program will use.

 

Additional Information

This behavior has been identified and documented by National Instruments while using both LabVIEW 2015 SP1, LabVIEW 2016 and LabVIEW 2017.

WAS THIS ARTICLE HELPFUL?

Not Helpful