03-07-2008 11:24 AM
03-12-2008 04:50 AM
03-13-2008 05:13 AM
Hi Graham,
thanks for the reply. I cannot find an option anywhere to change the phase/offset. If I double click on the timed loop structure, I only have the option of selecting which clock to use (FPGA or FPGA-derived clock). Unfortunately I cannot import an image of the wiring diagram, but I suspect the timed loop is different to the timed loop in FPGA Module??
On a slightly different note, do you know of a straightforward way to get a square wave generated from an FPGA-derived clock (apart from doing a timed loop with a NOT gate inside)?
Thanks,
Craig.
04-08-2008 09:30 AM
Hi Craig,
Thanks for your message. I have had a look at your problem and I think that a possible solution is to use a flat sequence structure. The first sequence should contain a wait function inside a case structure linked to a first call function and the timed loop structure should be in the second sequence. Using this you should be able to set the delay. I have written an example VI for you showing this set up. I have attached this example VI to this message. I hope this helps.
With regards to the square wave, there are some example VI’s if you go to Help >> Find Examples >> and you search for “square wave” you should be able to see several projects, in particular one called "Square Wave Generator cRIO" which may be useful.
I hope this helps with your application.
Kind regards,
Prashant M
Applications Engineer
NI UK & Ireland