LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to speed up system exec vi?

Hi,

 

I am using Labview to communicate with an Octave script. I am doing that using the system exec vi. I need do many repetitive calls to this Octave script. Is there a way to speed up execution? The actual script does not run long from Octave, but it seems to take over 10x the time to  run it through Labview, probably because the command prompt and octave are loaded every time. Does anyone have any ways to improve execution speed, or other ways to communicate with Octave? I need to load data into the script, and obtain data from the script.

 

Any suggestions are helpful,

Alex

0 Kudos
Message 1 of 4
(3,257 Views)

i would first start by looking at what a short cut to a a file associated with the software to see what the command syntax is. If possible, a bat file may help out.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(3,237 Views)

Hi Ben,

 

I need them to work in real-time. I am not sure if it is possible to use a data file with Labview and Octave at once. I will check into it though.

 

Aleksandr

0 Kudos
Message 3 of 4
(3,223 Views)

@aleksandr wrote:

Hi Ben,

 

I need them to work in real-time. I am not sure if it is possible to use a data file with Labview and Octave at once. I will check into it though.

 

Aleksandr


Software can often appear as a smooth rock wall with not a crack in sight and no passwords appear obvious (see the Mines of Moria). In which case I approach the challenge in a similar manner to see if there is a back-door I can sneak in through.

 

Of course here on the forums we have the same challenge facing Gandalf "Speak Freind and enter", or in our case "Ask one of my buddies and ..."

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 4
(3,216 Views)