LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Correctly stopping the NPL using RT wizard

I have used the RT wizard to build my three loops ( host NPL and TCL) and I am happy with this execution. I am having a problem when I build the executable(using application builder) in getting the programme to run a second time once I reboot the target, which I think is down to the way I stopped the previous loop. Ideal I would like the host to be able to reenter the loop any time I want. I am issuing a stop to the TCL part so I think this maybe having an adverese effect. Should I remove this and effectively leave this running, only stopping the communications?
0 Kudos
Message 1 of 3
(2,765 Views)
Dear Shrek,

With regards to your host loop, it should allow you to conect and reconnect at will as it is using the TCP/IP protocol.

TCL/NPL are both processing on the RT target which is doing all the acquisition so there is no point stopping the loops, you should keep them running. If you stop the TCL loop then you will leave the NPL loop running, which can cause problems because you are only stopping half the vi running.

Kind Regards

Louis Price
Applications Engineer
NI UK
0 Kudos
Message 2 of 3
(2,765 Views)
thanks for this. I figured this out after I thought about it for a while - thanks for answering anyway.
0 Kudos
Message 3 of 3
(2,765 Views)