arduino pid library compatible with labview's pid.vi??...any idea??

i am working on a quadcopter project... i wanna tune the pid controller using system identification toolkit... like in this tutorial.. http://techteach.no/presentations/nidays05/index.htm#analysis creating the log-file is quite easy...and next deducing z-domain TF is also easy...and next designing the controller, ie.pid values ,is guaranteed ... the problem is to find an arduino pid library compatible with the labview's pid.vi...any idea??? i first considered converting the pid.vi 's block diagram to c code..i figured out it is almost impossible..as i don't have enough experience with labview...then i went for the c-generator toolkit...the result was even worse...so i am appreciated to any help...

notice i am not using labview's LIFA toolkit..it's all arduino code.. if there is one compatible with simulink's pid library..maybe even better..as the autotuning utility in simulink is more intuitive