Hi Everyone ,
I have a sync start process(Process Id is used to select the Process Model) in my Parent Process.Now I am not able to save the Output. PVs are not shown in pv!.
Discussion posts and replies are publicly visible
For Outputs, this is the expected configuration of start process mode
Same datatype is passed. Still process variables are not shown.
Can you show the process model you have selected in the SPSS Setup tab (to confirm this is set), the variable list of the selected process model (i.e. The Types of the Variables you are selecting from in ac!processInfo.pv), and the variables of the parent model (i.e. Type of "Response") please?
Anusuya K Mahalingam said:Same datatype is passed.
Are you saying that the data type of "pv!Response" is integer? Because it would need to be that type (specifically) in order for pp!id to show up in your output selection.
I am trying to get the value from pv!
Hi Anusuya in your screenshot the refresh icons are missing which are genrally there on the setup tab. Can you try to delete this start process node and drag a fresh one from the palette to setup this again and see if pv as well as refresh icons are available.
Anusuya K Mahalingam said:I am trying to get the value from pv!
Any return value you hope to directly map from a PV value would need to (Exactly) match in data type with the PV value. However, if you enter a valid expression for the subprocess value, you can access values that don't exactly match 1:1 with the data types in the parent process - this is very useful, but you have to know what you're doing of course or else the result will potentially seem nonsensical.
Are you able to provide screenshots of what I asked for before? That would help pinpoint your issue. If your target process model is selected via an expression, then you must enter the ac!processInfo.pv.myPv as an expression, since we can not populate the PV options when the model to start is selected via expression.
Parent Model
Sync Start Process
Output Variable Configuration:
Process Model Id is configured:
It looks like this is not a configuration issue. I would recommend deleting the PVs from both processes and recreating them. Then save and publish both processes, reopen the main process, and try to configure it again. Let us know if the issue still persists.