Hi, is it possible to generate hardware PWM with RPi, using GPIO12 or GPIO13? I see there are flags for these pins in 0120-00_IO_Flags example, but I want to be sure. Thanks, Stepan
Best posts made by stepan.ozana
-
HW PWM on RPi?
Latest posts made by stepan.ozana
-
RE: Overtime info in REXYGEN Diagnostics
@Jan-Reitinger Thank you so much for efficient help. Now it works exactly as I wish.
-
RE: Exchanging data between tasks
@Jan-Reitinger Thank you so much for efficient help. So far I have used Inport and Outport blocks for working with subsystems. Now I am able to use them to exchange data between tasks.
-
RE: Animation object leaving a trail
@ondrej_severa Thank you so much for efficient help.
-
Overtime info in REXYGEN Diagnostics
Hi, I'd use some explanation on diagnostics related to overtime. Are Aaverage time, Overtime and Max overtime related to basic tick or to the period of the task? I am asking that question because it's not clear to me. Let's suppose I have two tasks, Qtask ("task_speed_loop", tick=2ms) and Level0 ("task" , 5*2ms=10ms). Looking at diagnostics I get overtime. It's caused by customized Python block containing complex operations. This Python block needs appx 5ms to perform all operations. However, the task is launched every 10 ms so it should be computed in time. It seems like the overtime info is related to basic tick 2 ms. Is this correct or am I wrong? Thanks a lot, Stepan.
-
Exchanging data between tasks
Hi, is is possible to exchange data between two tasks connected to Level0 and Level1? Something similar to From and Goto?
-
Animation object leaving a trail
Hi, is there a way how to animate an object in HMI web visualization so that it would leave a trail behind during movement? I'd like to animate a simple path in 2d and to see the current movement and the history path in the form of a trace, maybe represented by a point. For example, 2D moving a rectangle whose center point would leave a trail. Or, as shown in the attachment, animating end points of inverted pendulum's links. Thanks, Stepan
-
HW PWM on RPi?
Hi, is it possible to generate hardware PWM with RPi, using GPIO12 or GPIO13? I see there are flags for these pins in 0120-00_IO_Flags example, but I want to be sure. Thanks, Stepan
-
3D visualization
Hi, is there any example showing step-by-step procedure to create 3D visualization in HMI Designer? According to master's thesis I found on dspace system ("HIL simulator for analysis and demonstration of smart
control algorithms for overhead cranes"), it shoud be possible using Three.js and Solidworks. The thesis says that 3D assembly was converted from Solidworks to Rexygen HMI canvas but it does not contain more details. Would it also be possible to create 3D visualization from Autodesk Inventor? Thanks for support in advance. -
RE: I2C with REXDuino
Me and my colleague finally implemented some functional solution. We make it public if anyone is interested. Many thanks to Ing. Tomáš Dočekal!
MCP4725_REXDuino_2_50_10.zip -
I2C with REXDuino
Hi, is there any example how to use I2C with REXDuino? I followed all accessible documentation and codes both for master part and slave part of REXDuino, and spent a lot of time on a simple task, trying to set CNR value between 0-3.3 [V] , convert it to appropriate format in order to connect it to userSendV input of Arduino_UNO. The goal is to control DAC converter MCP4725 via I2C communication using REXDuino with Arduino Uno to make the converter's output OUT set to desired voltage level according the value written in CNR. Any help appreciated. Stepan