Type Converter

3 posts / 0 new
Last post
Chase Callender
Offline
Last seen: 5 months 2 weeks ago
Joined: 02/19/2019 - 4:13am
Type Converter

Hi,

I am currently having a problem with the type convert module on the STM version of Audio Weaver. I can change the output type in the properties section OK, but I have no control of the input. It seems to be locked to a float? Is this deliberate?

Many thanks

Chase

Axel Nilsson
Offline
Last seen: 1 day 6 hours ago
Joined: 12/19/2016 - 2:02pm

Hi Chase,

 

Thanks for the question. The input data type on the Type Convert Module is inherited from the data type on the input wire that you have hooked up to the input pin, so you should never have to change it. 

Note that when you drag the module onto the canvas, it defaults to float as the input type and will stay that way until you hit the 'Propagate Changes' or 'Run' buttons. These actions both trigger the internal Designer code that checks and resolves all the inputs and outputs between modules, and once they complete you will see that the input type of the Type Convert Module will match the data type of the input wire you have attached. 

 

Hope this helps. Let us know if you continue to have issues with using any modules. 

-Axel

Chase Callender
Offline
Last seen: 5 months 2 weeks ago
Joined: 02/19/2019 - 4:13am

Ahh! I see. I didn't know it would would change automatically after propagate changes! I thought I had tried run before, and it came up as an error... but oh well, it seems to work now

 

thanks