Speedgoat analog output configuration
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
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?
0 comentarios
Respuestas (1)
Dimitri MANKOV
el 3 de En. de 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.
0 comentarios
Ver también
Categorías
Más información sobre Subsystems en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!