Re: How do I determine the appropriate buffer size to use to generate a particular frequency waveform?

2004-06-18 Thread Kevin Price
Ok, but first I'd better, uh, fix it. I tried it out last night for a wider range of inputs than I originally needed to accomodate, and found a few that didn't work out correctly. I had made the subvi more universal than it strictly needed to be, but had primarily tested it for a fairly restric

Re: How do I determine the appropriate buffer size to use to generate a particular frequency waveform?

2004-06-17 Thread Kevin Price
Cool, I've been waiting for someone to ask this question b/c I put together a fairly nifty solution to it when I faced the same problem. Assuming, that is, that you're making an output buffer representing a waveform with one particular frequency and then doing a continuous output that cycles throu

Re: system low on virtual memory

2004-06-16 Thread Kevin Price
You said: ...I think it might be the huge array that I keep looping around through shift registers and concatinate array... The combination of "huge array" and "concatenation" is a recipe for memory waste via fragmentation. I would have to second http://exchange.ni.com/servlet/ProcessRequest?RHIV

Re: sync e-series and high speed digitizer

2004-06-08 Thread Kevin Price
I've only got time now to outline some basic info; hopefully someone will fill in the gaps. I'll mention a few terms and concepts that you can find more info about either under the LabVIEW examples or here on the website. 1. RTSI: This timing bus ("this set of wires") is built into your PXI chas

Re: Count up and down with PCI-660x

2004-05-26 Thread Kevin Price
Two possible answers for you, based on traditional NI-DAQ. Either should work, though I'd recommend #2 unless there's a specific reason you need to do #1. 1. Add a call to 'Counter Set Attribute.vi' to the configuration chain. The attribute and the attribute value type should be 'up down' and 'h

Re: smooth a single looping step for a biped robot

2004-05-18 Thread Kevin Price
The trouble with shooting from the hip is when you shoot your own foot! As I think about it now, I realize that my earlier suggestion isn't the right way to go about it. My previous post described a type of blending operation that would really only be appropriate for a waveform that ought to be s

Re: smooth a single looping step for a biped robot

2004-05-17 Thread Kevin Price
Oops, didn't proofread that my "less than" and "greater" than symbols got interpreted as html. Here goes again on the last part: or generally, for -10 <= j <= +10 smoothed(j) = (0.50+0.05*j)*raw(j) + (0.50-0.05*j)*raw(n-j) smoothed(n-j) = (0.50+0.05*j)*raw(n-j) + (0.50-0.05*j)*raw(j)

Re: smooth a single looping step for a biped robot

2004-05-17 Thread Kevin Price
Just butting in here with a fairly simple idea that doesn't get into any filtering theory. Basically, you would just do a weighted average of the data points near the cycle boundary, and let the weighting factor ramp from 0 to 100% over the set of smoothed points. For example: suppose n is the n

Re: PCI-6602 simuler un signal non periodique sur une seule sortie de compteur

2004-04-24 Thread Kevin Price
Je ne parle plus le francais. Il y a 20 ans depuis je l'etudie. Je pense que je peux vous aider, mais seulement en englais. S'il vous plait, trouvez quelqu'un qui peut lire l'englais et expliquer mon reponse ici: http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000

Re: use start trigger with pci 6602 with driver ni daq

2004-04-18 Thread Kevin Price
I wrote you a long reply in the "Measurement Hardware --> Counter/Timer" forum recently, but it was all in English. (I studied French in school, but remember only enough to *mostly* understand your note.) Please reply in the "Counter/Timer" forum if you need translation help. Perhaps someone o