Actually, a sound card does more processing than you think and requires quite a bit less CPU power than it does to run something like Popelscan. With a soundcard, you simply feed it a block of data and it handles the timing required to play it back. This is analogous to feeding a DAC an entire frame and then have it worry about proper timing, etc. With Popelscan, the CPU is responsible for timing and that is a big deal because at 30000 pps the timeslice is very small... much less than the resolution of a Windows timer. So, you have to loop and check constantly. That's very CPU intensive. But with the soundcard, you just fill a block and pass it on and then worry about the next one.
I don't know what all the Pangolin cards do but if it handles things like blanking delays and all then that is pretty cool and is definitely advanced. However, it wouldn't be too bad to do that in real time in software.
The only thing I don't like about soundcards is that you have to feed them a block and that results in latency. You also have to make sure that you feed it fast enough. I haven't worked much on my soundcard driver but I think I should change it so that a frame is a block and keep 3 or 4 on cue. That results in less than 1/2 delay for the most part.
Delay itself isn't too bad unless you are performing live. It can run into some problems I guess.
But, what is cool about WAV is that you can create a multichannel wav file with stereo music on channels 1&2 and the laser show on channels 3 through 8 or whatever. XYRGB + other. "Other" could be fed to a ADC to give you several TTL outputs. Or, you could simply dedicate the entire WAV to the lasershow.
You can then take your lasershow hardware and wav file and play it back on any computer using windows media player!!!!


Reply With Quote
buffo
(Laserboy is a product based on this very idea.)
(Indeed, re-write the way the software works, period...) Woudn't it be easier to start with software that already supports 3rd party DACs?
) However, now that computer speeds have increased to the point where software processing is quite feasible, one might think that they'd abandon the custom hardware. But dedicated hardware is often times more stable than a software solution, and it offers a good bit of market protection as well. (No point in pirating the software if you need the hardware to use it, right?
) So I can see why Pangolin continues to use dedicated hardware. Given the market that their in (high-end equipment for commercial service), I'd say they made the right choice.



(Frames would then just be a repeated pattern of appropriate length). If my WideMove efforts are anything to go by, and similar rules apply to other scanners, the dwell can be added for every detected draw, according to scan speed and angle. I bet it only works that easily on WideMoves because their step response is similar over large differences in step size, but as you say, a simple look-up table for values for known galvos can be added. Given what can be done in audio processing without apparent interruption to a realtime stream, I'd say that a per-traced-line calculation is going to consume so little time and CPU power that it will barely be noticeable, as it's a small repeat operation, and all data and code would probably sit in the L1 CPU cache during runtime.
