Speedgoat analog output configuration

5 views (last 30 days)
Robert Braun
Robert Braun on 18 Jul 2019
Answered: Dimitri MANKOV on 3 Jan 2022
I have a simulink model, that gives a value between 0 - 7000. I want to output it via Analog Output Block (module IO397-50k). So I can chosse between different modes of the module (like 5V, +-5V, 10V, +-10V...). But where do I choose the reference?
E.g. if I choose 5V as mode, where can I set 5V = 7000 (or something else)? Or does Matlab scale things like these automatically?

Answers (1)

Dimitri MANKOV
Dimitri MANKOV on 3 Jan 2022
Hi Robert,
The answer to your question can be found in the Speedgoat documentation here. In short, you can directly feed the desired voltage value to the IO397 Analog Output block, which will pass the information to the module and generate the corresponding voltage level. The mapping of a certain signal range (like 0 - 7000 to 0V - 5V in your case) has to be done manually in your Simulink model before connecting the signal to the IO397 Analog Output block.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!