05-23-2013 09:25 AM
Hi,
I have been trying to figure out how to use the RT Set Processor Pool vi inside a custom device or lvmodel. My idea is to use one of my multiple custom devices to set up the CPU pools in the Init VI. I have added my PXI chassis to the custom device project, but cannot figure out how I can put these functions into my custom device. Alternatively, I thought that I could use a RT project and then generate a model for VeriStand from that VI, but this does not work either. Labview cannot compile the VI containing functions from the RT module.
My question:
How can I use the RT utilities inside either A) a custom device or B) a lvmodel?
Thanks,
Brent
Solved! Go to Solution.
05-23-2013 01:00 PM
Guess the solution was pretty simple. All I needed to do was go to C:\Program Files (x86)\National Instruments\LabVIEW 2011\Targets\NI\RT\vi.lib and add the library to the project.
Note if you add a RT Target to the project and create VIs underneath the RT target and move them up the library gets added automatically... with some path errors to fix.
Still familiarizing myself with labview obviously.
05-24-2013 05:02 PM
Nice job working this one out, here's a related forum page: http://forums.ni.com/t5/NI-VeriStand/Custom-devices-timed-loops-and-CPU-cores-assignment/m-p/2401814
Regards,