03-29-2019 07:39 AM
Hello,
In our lab we have a "normal" teststand using a cRio (extended by an ethercat). Currently we are developing on our "production-system" (actually jus via the pc whichwcontrolls thetteststand), but we are going to stsrt long-time-tests in near future. Thus will be no longer possible to develop in this system.
Since we are using shared-variables to ascess the data of the teststand, we are having trouble developing on another pc because we are lacking the shared variables. Consequently the code won't execute and we are notnable tottest it which is obviously a big problem since the "waiting"-time of the teststand is limited, or in other words tests shall be o already conxidered using git to settup two branches (one with and one without the shared variables) but it naturally involves a lot of jerry-picking and rebasing and the risk to overwrite the subVIs with the shared variables. In short, it is not a nice way - sone might call call it the "nuclear option" ... 😉
So has anybody experienced similar problems and how did you overcome them?
Thanks in advance!
Solved! Go to Solution.
03-29-2019 07:51 AM
If you use a Project you can go to the...
Project >>> Properties >>> Conditional Disable >>> Symbols
and create your own symbols and define their value.
If you add a symbol like "NoHardware" and set it to True, you can then use the conditional disable structure in your code to enable/disable the shard variables.
When switching from "test" to "production" you need only edit the symbol value and you are ready to roll.
Ben
03-29-2019 01:16 PM
wonderfull, just wonderfull - works like a charm ....
Thanks a lot for ur fast and helpfull response!