05-16-2022 04:52 AM
Hello all, i am trying to run a macro that performs a few actions in LabVIEW. This macro is an exe file. My question is how do i run it? I tried the System exec vi but the macro did not seem to be executed.
Thanks in advance
Nicolas
05-16-2022 05:07 AM
I got the 'memory is full' error when trying to run the macro
05-16-2022 05:20 AM - edited 05-16-2022 05:20 AM
What sort of macro is this? I know Excel macros and C pre-compiler macros but really have no idea what you are talking about. Do you mean a DOS batch file? But they are not exe files!
05-17-2022 10:42 AM
He didn't ask how to create an executable. He asked how to execute a "macro" that is an exe file. Totally different things. Only problem is that I have no idea what he means with a "macro" that is an exe. He needs to clarify that first.
05-17-2022 11:15 AM
This knowledge base article describes what you are seeing and a solution:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L12SAE&l=en-US
Short version: You need to run "cmd /c" to start it, not just the name/path of the program.
05-18-2022 04:30 AM
This macro is basically a few mouse clicks that need to be executed trough LabVIEW