LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sync a timed loop with counter out?

Im going to have to have my counter out go at about 5GHz to control a switch so i can look between two different singals that im getting, after the switch they go through some hardware and then come into my Digitizer to be looked at, so this isnt a case of just useing two AI lines, I need that switch diaode. I was wondering if I could somehow sync up my Counter Out with one of those new Timed loops in 7.1 so that when it pulses, i know the switch is looking at one of the two channels, basicly being able to but data in one array when the pulse is high, and into another when its low. so i can sort both the signals out and compare. Please help, its much appreciated. Let me know if you need more informations.


Hardware: PXI 6025E with
LabView 7.1.

Thanks again,
Mark
0 Kudos
Message 1 of 5
(3,137 Views)
5 GHz?? Your PXI-6025E can't scan at that rate anyway! Is that truly the rate you mean?
0 Kudos
Message 2 of 5
(3,137 Views)
My 6025E can do 5GHz digital pulses, but my Digitizer is going to be the one reading the AI signal. Basicly I want to keep switching that switch, but when I get the AI chan going to my digitizer i want it to be able to know if the pulse is at 0 or 5, basicly so i can place the AI signal it gets when the switch is set on A (5V) in one array, and with its at B (0V) in another array to compare them both. My digitizer is being sent to me right now but I wanted to know ahead of time on how to do somthing like this because this projetc is pretty limited on time.

Digitizer Im going to be useing: PXI-5102
http://sine.ni.com/apps/we/nioc.vp?cid=12619〈=US

i need to be constantly reading that AI chan on the digitizer, so im not sure if doing somthing like t
riggering would be a good idea, so i thought somthing along the line of the new timed loops in 7.1, altho im still a little foggy on how they work completly.


Thank you,
Mark
0 Kudos
Message 3 of 5
(3,137 Views)
Mark,
I don't think it will possible to generate a 5GHz signal out of the counters of the 6025E, since the counters handle a 20 MHz timebase.
About the use of timed loops in LabVIEW 7.1, you can use them to synchronize as much as you can your loop with a signal you generate in hardware. To do that, you need to open the properties of the timed loop and select "Use terminal" for the Timing source. After that, just place a DAQmx Create Timing Source VI, located in the DAQmx palette, under DAQmx Real-Time. Using that VI you can select if you want to select a counter, or digital lines to control your loop. This VI (DAQmx Create Timing Source) is designed to be use basically in LabVIEW RT, but you can still use it in normal LabVIEW.
I hope this he
lps!

GValdes
Applications Engineer
0 Kudos
Message 4 of 5
(3,137 Views)
thank you very much. It did help 🙂
0 Kudos
Message 5 of 5
(3,137 Views)