Hello, I maked a copy of production server (project, DB) working into a Sanbox server. I have an issue when I try to download the recipe to the PLC, it do not is downloaded, debugging into the script, I found this code for the recipe:
system.recipe.setItemRecipe(itemPath, recipeName, True)
That code is not changing with the recipe, and it not reflect the value, so I need to modify directly with the script o into the tag using:
system.tag.write(event.source.parent.parent.tagPath + '/PLC/PartNumber',recipeName).
Do you know what I need check for System.recipe.setItemRecipe funtion works? I already validate the tags, and the recipe and all it is fine, I do not find any error with it. I think there are something wrong with the tags that maybe I skipped something when I mounted this copy of production server into this another sandbox server; I have same structure as production server tag.
I appreciate any sugestion.
Testing with this code:
linePath = "[IGT]Juarez\Finishing\FIN01"
system.recipe.setItemRecipe(linePath, recipeName, True)
Show me this error:
08:42:09.324 [AWT-EventQueue-0] ERROR com.sepasoft.recipe.rpc.RecipeRPCProxy - Exception invoking setItemRecipe RPC call.
com.inductiveautomation.ignition.client.gateway_interface.GatewayException: Item path ([global][IGT]Juarez\Finishing\FIN01) not found.
Have you contacted Sepasoft support?
Hello, yes, I am already in contact with them, but I am looking for another suggestions, maybe I skipped in some config.