datapainter

More
06 Nov 2022 22:30 - 06 Nov 2022 22:30 #256099 by vre
datapainter was created by vre
Hello.
What is the status of mesa datapainter firmware - linuxcnc integration ?
Thanks
Last edit: 06 Nov 2022 22:30 by vre.

Please Log in or Create an account to join the conversation.

More
06 Nov 2022 23:46 #256102 by PCW
Replied by PCW on topic datapainter
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.

More
07 Nov 2022 12:41 #256137 by andypugh
Replied by andypugh on topic datapainter

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)

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). 
 

Please Log in or Create an account to join the conversation.

More
07 Feb 2023 06:29 #263896 by vre
Replied by vre on topic datapainter
Any newer status?
What can i see for this sampler hal_sampler ?

Please Log in or Create an account to join the conversation.

More
More
08 Feb 2023 17:52 #264068 by vre
Replied by vre on topic datapainter
From manual seems that streamer halstreamer is nearest existing option.

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.

More
08 Feb 2023 21:14 #264075 by tommylight
Replied by tommylight on topic datapainter
Do you have a laser with 2 fast spining mirrors?

Please Log in or Create an account to join the conversation.

More
09 Feb 2023 01:35 - 09 Feb 2023 01:46 #264085 by vre
Replied by vre on topic datapainter
I have XY2/analog galvo laser and gantry style laser but they have high linear speed( > 2m/s) so base thread is not an option only servo thread with mesa card+datapainter firmware.
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.
Last edit: 09 Feb 2023 01:46 by vre.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
09 Feb 2023 22:42 #264176 by andypugh
Replied by andypugh on topic datapainter

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.

More
19 Feb 2023 08:28 #264797 by vre
Replied by vre on topic datapainter
can you describe with more details what must be done ?

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.137 seconds
Powered by Kunena Forum