ADC doesn't produce correct output type
ADC doesn't produce correct output type
It doesn't matter if I select signed or unsigned integer for the output of the ADC, it always shows it being a uint16. Has anyone else seen this behavior?
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: ADC doesn't produce correct output type
Datatype of the output of the block ADC is always uint16. Anyway, this uint16 store the value in the format you selected. Thus, you should use a type convert block, with Stored Integer Value (SI) (in opposition to Real Word Value) to convert the simulink representation of the data.
Thanks for repporting that, I should change the datatype output of the block depending on the representation selected.
Thanks for repporting that, I should change the datatype output of the block depending on the representation selected.
Who is online
Users browsing this forum: No registered users and 1 guest