LabVIEW-DCAF / MotionModule

The DCAF Softmotion module is aimed towards simplifying the experience of creating embedded motion systems.
Apache License 2.0
2 stars 1 forks source link

Softmotion - SDI Axis Support #11

Open SimonRPSM opened 7 years ago

SimonRPSM commented 7 years ago

Add support for SDI Axis.

Requires loading up the SDI Init VI somehow. Options are to add it to a precompiled project / library, script them, or make a version of the module that supports a specific SDI type.

The first one is a bit more tricky while the second one makes coordinated axis difficult.

SimonRPSM commented 6 years ago

I have been thinking about this and there are a few ways to go about this.

I could have, as part of the configuration, something that ties an axis to a specific "type" of axis (Say, writing Axis1_Yaskawa).

Then, there are a few options. I could either hardcode all the possible SDI plugins that exist or put an empty VI ("Place modules you want to support here") and give the developer the name of the plugin requested), or I could have the module script/dynamically call the module.

Dynamically calling /scripting would be the best experience ( least work for the developer) but would require the most work to implement.

I will, for now, add an empty VI where the developer will need to call the Init. Then, on later versions of the module, I will look into adding this be a dynamic call.