Hi,
I'm trying to use the unpack for disassembly. The unpack has 2 output channels. If I disassembly 3 parts, the unpack disassemble them all but it separates the 2 products in channel1 and the other one in channel2. Is there any other option except for unpack to do the disassembly and to separate the products in different channels?
Thank you in advance.
Kinds regards,
Angeliki
Disassembly
- Marnix Vos
- Posts: 3
- Joined: Friday 10 May, 2024 - 08:27
Re: Disassembly
Hi Angeliki,
The unpack atom is indeed the best tool for the described job. To achieve the desired functionality, I recommend one of two solutions:
1. Using two unpacking atoms in a series. On an unpacking atom, you can specify how many products it should "unpack" from the container. By setting to to "1" on the first unpacker, one of the parts will be removed from the container atom and exit through channel 1. The container atom, along with the remaining product, will exit through channel 2. The second unpacker will then separate the container atom from the second product.
2. Using 1 unpacking atom and 1 queue atom. The queue atom has many build-in settings for sending products to specific output channels (the "Send to" setting). This can be used to sort incoming products over different output channels. You can unpack ALL products using the unpacker atom and send them to a queue. Using this queue, you can then sort these products into different streams. For your application, I expect that option 17 "Round Robin" of the "Send to" setting suffices. This setting makes the queue rotate through its output channels.
The first option is a bit simpler, but will get cumbersome if you want to disassemble into many parts. Attached is an ED model showing both solutions.
I hope this answered your question!
Kind regards,
Marnix
The unpack atom is indeed the best tool for the described job. To achieve the desired functionality, I recommend one of two solutions:
1. Using two unpacking atoms in a series. On an unpacking atom, you can specify how many products it should "unpack" from the container. By setting to to "1" on the first unpacker, one of the parts will be removed from the container atom and exit through channel 1. The container atom, along with the remaining product, will exit through channel 2. The second unpacker will then separate the container atom from the second product.
2. Using 1 unpacking atom and 1 queue atom. The queue atom has many build-in settings for sending products to specific output channels (the "Send to" setting). This can be used to sort incoming products over different output channels. You can unpack ALL products using the unpacker atom and send them to a queue. Using this queue, you can then sort these products into different streams. For your application, I expect that option 17 "Round Robin" of the "Send to" setting suffices. This setting makes the queue rotate through its output channels.
The first option is a bit simpler, but will get cumbersome if you want to disassemble into many parts. Attached is an ED model showing both solutions.
I hope this answered your question!
Kind regards,
Marnix
- Attachments
-
- QuestionDisassembly.mod
- (85.92 KiB) Downloaded 504 times
Re: Disassembly
Hi Marnix,
It is very helpful. Thank you so much.
Kind regards,
Angeliki
It is very helpful. Thank you so much.
Kind regards,
Angeliki