I am currently trying to develop a waveform generator based on the LabVIEW example
"NI 6585 Continuous Waveform Generation - Advanced.lvproj"
found in my
C:\Program Files\National Instruments\LabVIEW 2009\examples\FlexRIO\IO Modules\NI 6585\
I am compiling for a FlexRIO PXI-7954R target.
The example take about 45minutes to compile and my modified version now takes about 75minutes to compile
This long cycle time between code change and trying it out means that it is very difficult to achieve any decent progress.
I was wondereing if there was another way of developing and debugging code for the FPGAs? For instance is there any way of running the VIs that are targeted for the FPGA in some kind of simulator ? Thus avoiding the long compile time?
Another way around compilation times is to partition your code into pieces that can be tested without the rest of the application. As an example, the application I'm working on now has communications, safety monitors, analog to digital and resolver to digital converters, PWM's, control logic, etc. which are all partitioned from one another. Each partition is contained in its own subVI without diagram wires in or out. I place each subVI in a diagram disable and then only enable the subVI's of interest at any given time. This reduces the compile time to just the subsystem of interest, while not breaking the code for everything else. From time to time, I'll turn everything on to make sure the design still fits the FPGA and clock rate.
I'm not familiar with the example code you're working with, but if it uses the LabVIEW memory constructs (project or local) you might consider turning the size down to the minimum you need to prove functionality. These constructs take a long time for the Xilinx compiler to create, and the bigger they get the longer it takes.