AnsweredAssumed Answered

Execute PC Function

Question asked by Shakin97 on Mar 13, 2018
Latest reply on Mar 14, 2018 by Stan Bischof

Hi all,

  Does anyone know if there is a way in VEE to call a function, pass a couple variables and keep the function alive? 

As an example, I make a small python script that in the main I'm asking for 2 hex numbers.  So from a cmd shell I could write "C:\Users\me\Desktop\Python>Python MY_script.py 0x0A 0x06" and the program starts up, writes the variables then closes.  That is also possible using the Execute PC function in the same way. (See Below)

The problem I am running into is the time python takes to launch/initialize/run/close.  Is there some clever keep alive statement or in VEE a way to interact with a handle in python or any language where I can use a while loop or something similar?

 

Thanks,

Rob

Outcomes