07-15-2020 09:25 PM
I build a model with labview and compiled it into lvmodel file.
after I run the veristand project , something strange happened.
I donot know why , may I am lack of deep comprehension of the veristand's run strategy.
Can anyone explain for me the reason ? great thanks...
Solved! Go to Solution.
07-15-2020 11:21 PM - edited 07-15-2020 11:22 PM
07-16-2020 04:40 AM
your inport is always being overwritten by the value that is being written to the inport on each iteration i.e. 0, if you set your inport to another number eg. 1 or 2 or 10, etc. then it would stay that value
the ability to overwrite inports does not exist for models it does however exist for custom devices by getting a channel reference to your custom device input with write permission and setting it that way so you could achieve this with an inline model custom device
07-23-2020 04:03 AM
NI VeriStand writes zero to "in1" but no one writes the result into NI VeriStand.
How? it is just a model, and these two icons are all indicators, how can Veristand change the value of "In1"?
07-23-2020 04:07 AM
yes, this may be the reason , models' inputs in veristand shall not be written by the model itself , except for such custom devices
07-30-2020 04:36 AM
yep thats the deal