After getting Labview and CUDA working together, another problem has popped up. Here is a brief descriptor of my program:
- Acquire data
- Do some minor Calculations on the CPU
- Allocate Memory on the Video card
- Copy data to the GPU
- Signal Process on the Video Card
- Copy data off the GPU
- Display data
After running the DLL inside labview, I get all the way to step 7, but there is a timing issue. Basically, the time it takes to do steps 1 - 7 can easily be done in under 30ms. However, when the Labview program is run, it freezes, and then produces and error after 5 seconds. It is always 5 seconds. This seems to conveniently overlap with the Watchdog timer that other people have had issues with. The question then is, “Is there a command or a way for the DLL to gracefully exit after the 30ms calculations have been completed instead of timing out?”