Armin,
Depending on the vendor of the hardware you are using on SPI bus, you should have appropriate programming hardware and software from that vendor.
Then research what kind of binary format your programming hardware uses for this type of hardware.
And then you can prepare binary image of that hardware in LV to program it say through RS232 if your programmer hardware connects to this port.
You may also look at this DeveloperZone post:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=50650000000800000030110000&ECategory=LabVIEW.LabVIEW+General
and contact that alliance member for assistance in programming.
Hope this helps
Zvezdana S.
National Instruments