12-22-2012 11:02 AM
Hi,
i am creating a project controlling FPGA through cRIO controller.. i have a mainVI and
subVI running on cRIO controller. when i deliver the project to customer, subVI has to be
locked. And subVI is also communicating with FPGA.. The point is, when customers using this subVI, how it will be possible to show right FPGA bitfile..
i set "FPGA VI Reference In" controller as input terminal of subVI. i thought, i also need to use "UP CAST" function, for binding.. Unfortunately, the "FPGA VI reference Out" terminal of "UP CAST" function is not connecting to 'FPGA VI Reference In' of subVI. it s dashed line..
i set 'UP CAST' function as 'Interface'..
i want to learn, if it is possible to change bitfile reference in subVI, according to main VI, adaptively ..
Best regards..
P.S.: i am using cRIO 9022 and 9103 chasis, Labview 2011.. i couldn't find which target support "UP CAST" function and which couldn't..
12-26-2012 08:48 AM
Hi davut,
I would share the bitfile instead of the code (the SubVI) or that is what it seems you are planning to do. You can secure your VI following one of the techniques described in this article. Regarding the Up Cast Function, if the target does not supports this function labview should brake the run arrow or give you a compilation error. About changing the bitfile reference at the subVI you can follow the method described in this forum.
I hope this helps