02-02-2022 08:46 AM
Hi all,
I want to create a VI which uses the "System Exec.vi" on my RT target PXI8119 running PharLap OS to enter some command line commands. However, when I want to add the "System Exec.vi" to my block diagram, it gives me the error message describe in the title of this post.
I can create the final VI on my local PC and move it to the RT target, but then I cannot execute the VI because of following error: "SubVI 'System Exec.vi': Sub VI not supported in current target".
Does someone know, why this is not working? I read somewhere that it should be possible.
Attached are two screenshots of the problem.
Thanks in advance
Philipp
02-02-2022 10:13 AM
@philipp.frase wrote:
Hi all,
I want to create a VI which uses the "System Exec.vi" on my RT target PXI8119 running PharLap OS to enter some command line commands. However, when I want to add the "System Exec.vi" to my block diagram, it gives me the error message describe in the title of this post.
I can create the final VI on my local PC and move it to the RT target, but then I cannot execute the VI because of following error: "SubVI 'System Exec.vi': Sub VI not supported in current target".
Does someone know, why this is not working? I read somewhere that it should be possible.
Attached are two screenshots of the problem.
Thanks in advance
Philipp
According to Real-Time Module on Phar Lap ETS Targets it's not supported.
02-03-2022 02:37 AM
@billko wrote:
@philipp.frase wrote:
Hi all,
I want to create a VI which uses the "System Exec.vi" on my RT target PXI8119 running PharLap OS to enter some command line commands. However, when I want to add the "System Exec.vi" to my block diagram, it gives me the error message describe in the title of this post.
I can create the final VI on my local PC and move it to the RT target, but then I cannot execute the VI because of following error: "SubVI 'System Exec.vi': Sub VI not supported in current target".
Does someone know, why this is not working? I read somewhere that it should be possible.
Attached are two screenshots of the problem.
Thanks in advance
Philipp
According to Real-Time Module on Phar Lap ETS Targets it's not supported.
And that is because the Pharlap ETS kernel does not support the Windows API function CreateProcess(). The most likely reason is that creating processes under Windows is a very performance costly function that requires global locks to be used to guarantee memory integrity and that would mess up the real-time characteristic of the OS very badly.