05-24-2016 04:26 PM
Looking through the autobuilder API I found the NI_AB_API_RTEXE class and folder. Unfortunately, the class doesn't have any methods associated with it. The documentation says, "This class allows the API access to new and existing RT EXE build specifications, but does not currently implement any class-specific functionality."
The API example code calls specific constructors for the type of build being done. (e.g. To build an executable, NI_AB_API_EXE.lvclass:Create New EXE.vi is called.) Obviously, since RTEXE class doesn't contain any methods, I can't do that. However, while exploring the parent API class (NI_AB_API_Build.lvclass), I noticed the Create New Build VI has an option defining what kind of build you want to do. It appears as though the API_Build class was intended to be used as the primary interface to the entire API, but I can't find a way to set the startup VI for an RTEXE.
Is it possible to programmatically create a complete build script for an RTEXE using the API?
05-25-2016 12:43 PM
Unfortunately this is not currently possible. The NI_AB_API_RTEXE class was created with future implementation in mind, but we never got around to that implementation.