From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Resetting Veristand Simulation

I need to reset my simulation without undeploying and redeploying.  I know I can programmatically reset my models, but I cant figure out how to reset my X-Net hardware channels between runs.  They seem to hold their last value until new data arrives. 

0 Kudos
Message 1 of 3
(2,282 Views)

There is no way how to restart NI-XNET sessions without redeploying the SDF. You can however set channels (for example some user channel) to disable frame transmition. Next option is to write a procedure or RT sequence which will set initial values for all NI-XNET output channels. As long as they acts (as any other VeriStand Channels) as sample holds that's pretty much all the options you have...

CLA, CTA, CLED
0 Kudos
Message 2 of 3
(2,236 Views)

I am more concerned with setting my input channels, the output channels are driven from my model, which I can reset. Procedures do not let me set the values of input channels.  I can fault inject on them but as soon as I clear the faults they return to their previous value.  I am fairly stumped

0 Kudos
Message 3 of 3
(2,217 Views)