09-03-2015 06:10 AM
I have been playing with the Veristand 2015 example "Set Model Parameters.vi".
Is it possible to use a parameter alias as the string input to the function "Set Parameter 2D Array Values.vi"? I have tried to do this, but get the following error:
Error -307662 occurred at Set Model Parameters.vi >> NI_VS ModelManager ExecutionAPI.lvlib:NI VeriStand - Set Parameter 2D Array Values.vi
Possible reason(s):
NI VeriStand: Node is not found in the system.
=========================
NI VeriStand: Could not find parameter expression
I am confident that the alias has been setup in the system definition correctly.
If not, what the point of having a parameter alias? The workspace model calibration controls do not appear to be able to use them. Am I missing something?
Thanks in advance for any help on this matter.
Solved! Go to Solution.
09-08-2015 05:14 AM
Hi,
I have just done some research into this error and I would suggest that you make sure that all of your parameters are tied to an actual channel or remove them if there is no channel for them. I have not come across this before, so I will need to look into it further, but there was another forum post where a person got the same error. I'm not sure if it's relevant to you, but I have linked it below for you to take a look at just in case.
I hope this helps.
Cody
09-08-2015 07:20 AM
Access to parameter as alias is just for read direction.
To be able to write to parameter, you ned to use Model Calibration Control or Model Parameter Manager API. So alias to parameter cannot be used for write.
CLA, CTA, CLED
09-08-2015 07:49 AM
I suspected that was the answer. Disappointing!
It would be a really useful feature for a future version.
Thanks for all your help.