you to start from the beginning to rectify the deployment problem.
-- their must be same version of labview on both (host and target), i.e, if you are using labiew 11 on host then it must be labview 11 on target(Pxi).
-- make a proper real time format code.
-- for real time, shared variable selection is more important (no. of sample, clock....etc)