LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Seamless Generation of intermittent patterns

I'm using a 6562 device for generation of clock and commands for an ASIC. 

I need two clocks generated (say 100MHz and 50MHz) as well as the commands for the chip. The commands are not send in a continuous manner, though the clocks shall be seamless. 

I would like to use CLKOUT line as the faster clock, DIO0 line as the slower one (1010101010...) pattern with 0s on DIO1 (used for command line)

I would like such pattern to be output constantly, with occasional burst of some given waveform on DIO1 (bundled with DIO0 'slow clock' pattern). How  do I seamlessly inject some arbitrary (known beforehand) waveform inside a continous generation of 'clock'?

 

 

0 Kudos
Message 1 of 3
(2,638 Views)

Hi,

 

This is a great application for scripting. The 6562 (and other HSDIO devices) have a scripting functionality that allows you to download multiple waveforms and then define loops, links, jumps, etc. With scripting you can download an "Idle" waveform that generate a constant clock and other waveforms that generate the clock plus the commands. After writing the waveform you write a script that loops you idle wavefrom until you send a SW command or a HW trigger to jump to one of the commands. Jumping between waveforms is seamles and you will not miss any samples. Check out the Script Editor at "Start>>programs>>National Instruments>>NI-HSDIO>>Script editor" to get a better idea of the different functionality offered. 

 

Good luck with you application,

 

Juan Carlos 

Message 2 of 3
(2,607 Views)

Thank you for your prompt reply,

 Looks almost like the script triggers would do the job, though programming 4 available script triggers to provide the chip with some 50 different commands seems kind of difficult :). I have realized I may use external signals to control the script thanks to your answer, though I have still to check if I may somehow switch/overwrite a waveform in device memory when other one is being generated...

 

 

 

Message Edited by mdwuznik on 12-03-2008 08:38 PM
0 Kudos
Message 3 of 3
(2,589 Views)