datapainter
- vre
- Away
- Platinum Member
-
- Posts: 631
- Thank you received: 17
What is the status of mesa datapainter firmware - linuxcnc integration ?
Thanks
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
- Posts: 18460
- Thank you received: 5042
(where does the data come from and how is it passed via hal to the driver)
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23279
- Thank you received: 4933
I think that the method would need to be a shared-memory buffer and a companion use-space component (the way that sampler and hal_sampler work together).Firmware is working , still undecided on how to integrate FIFO devices into hal
(where does the data come from and how is it passed via hal to the driver)
Please Log in or Create an account to join the conversation.
- vre
- Away
- Platinum Member
-
- Posts: 631
- Thank you received: 17
What can i see for this sampler hal_sampler ?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23279
- Thank you received: 4933
Please Log in or Create an account to join the conversation.
- vre
- Away
- Platinum Member
-
- Posts: 631
- Thank you received: 17
streamer(9) and halstreamer are used together to stream data from a file into the HAL in real time. streamer is a realtime HAL component that exports HAL pins and creates a FIFO in shared memory. hal_streamer is a user space program that copies data from stdin into the FIFO, so that streamer can write it to the HAL pins.
What can i do? modify hal_streamer to read not from stdin but from bitmap-image-cam file
and copy data to FIFO?
How then streamer will get these FIFO data and synchronize motion with laser fire pulses?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 20088
- Thank you received: 6836
Please Log in or Create an account to join the conversation.
- vre
- Away
- Platinum Member
-
- Posts: 631
- Thank you received: 17
Co2 laser source to fire has typically pwm input
0-20khz with power control via duty cycle control.
dpss lasers have more complex driving because they are pulsing lasers not cw that need driving rf power supply of acousto optic modulator inside cavity.This is for laser pulse time control typicaly in the range 3-10 ns.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23279
- Thank you received: 4933
What can i do? modify hal_streamer to read not from stdin but from bitmap-image-cam file
and copy data to FIFO?
That would be the basic idea, yes.
How then streamer will get these FIFO data and synchronize motion with laser fire pulses?
Well, a Hostmot2 driver for the datapainter module would be needed first.
Please Log in or Create an account to join the conversation.
- vre
- Away
- Platinum Member
-
- Posts: 631
- Thank you received: 17
Please Log in or Create an account to join the conversation.