Hi,
I am trying to pulse a number of digital outputs on a digital output card NI9472 [cRIO 9025]. I need to be able to control the frequency [upto 1kHz] and phase offset for each digital output to a high degree of accuracy.
The outputs pulse on/off but it's not working as intended, so am either making a hash of the vi’s or the hardware / principle of what I’m trying to do isn’t possible. I suspect the former as I’m very new to labview and FPGA.
See above image: I have created a single timed loop on the FPGA that contains 6 square wave generators.
When I first deploy the fpga with all square wave generator phase offsets = zero and frequencies set at 1Hz [so I can see the digital card L.E.D.’s switching on/off] it appears to work, all in synced and switching nicely – I also have a scope on the outputs. But when I alter an offset and /or frequency the outputs don’t always behave as I’d expect them to and strangely when I return the offsets back to original settings [ie freq. 1Hz and offset= zero] they are out of sync.
Can anyone tell me what I’m doing wrong and what is best practice? – let me know if sending the vi’s will help
Thank you!