Hello rols,
This is a classic case where you most likely need a deterministic,
real-time system. Your post didn't specify, but I assume you are using a desktop Windows PC to run your signal generation. The Windows OS (and other general purpose operatings systems) are not deterministic. This means that they cannot consistently close your control loop at any meaningful rate. Background tasks such as OS services, hard driver reads/writes, interrupt response, etc. will steal CPU cycles in an unpredictable fashion that kills the determinism of the system.
There are several options that you have for real-time performance with LabVIEW. You can have a dedicated real-time system, or you can use an FPGA card. With a PC real-time system, you can use the same code you are using on Windows box and the same hardware. FPGAs offer more performance but you're calculations need to be done in a fixed-point datatype, so you don't have the floating-point support.
Here's a nice tutorial on choosing a real-time system,
Selecting your LabVIEW Real-Time Deployment Platformand here's some more information on FPGAs:
FPGA Starting PageI hope this helps.
Gerardo