Jump to content

Sreeram Mohan

  • Content Count

  • Joined

  • Last visited

1 Follower

About Sreeram Mohan

  • Rank

Profile Information

  • Gender
  • Are you University user?

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Leow Cheah Wei, Could you try the following . You can find the batch file for compile at c:\Altair\Embed2019\cg\arm-linuxcl.bat You could put in a pause in first line of the batch file to check whether it is even getting triggered. This will tell us if the compile stage was even reached ! --sreeram
  2. The install guide while installing Embed in fact prompts the user guide to say this but as like any other installs one would just click on next -next and be in a hurry to get to finish the install --sreeram
  3. Hi Minh Pham, You could try using a fixed point integrator as attached. This would codegen . Not sure if it helps. --Sreeram Mohan Fixed_Point_Integrator.vsm
  4. Hi , Could you please attach the vsm file so that we can investigate further ? Does the code generation fail for all diagrams of only this diagram ? --sreeram
  5. Hi Tom, The diagram when not connected to a plot has no intention to simulate anything hence you dont see any outputs. Vissim/Embed thinks that whole set of blocks is unconnected to any output so no need to evaluate the portion of this diagram. This is done so that if you take the current diagram and generate code you ideally want to see dead code being generated. As a workaround you could also insert a extern variable and connect it to the variable you would like to monitor so that you could still execute without having to connect a plot block ! Hope this helps Hope this helps, --sreeram execute and have an extern.vsm
  6. Hi Tom, I am glad this approach works for you. Please keep the questions coming as you make progress ! --sreeram
  7. Hi Tom, Can you try this example attached that has a way to use a 1D map block which might make things easier in this case uses a 1D map block. You may have to browse the candidate_a_map.csv in the 1D map block and it should give you the ability to use the $runcount or any other input and select the entry from the available values. --sreeram Forum_question.vsm Candidate_a_map.csv
  8. Hi Tom, Attached is an example ! By the way you can find the variable block as below and give it a name.Remember you can assign it only once but you could use it in how many ever instance and also as part of parameters in blocks. Please feel free to let me know if you need anything more. By the way if i may ask what are you using Embed for . Would be useful to know to provide more inputs ! --sreeram Example_a_with_variable.vsm
  9. Hi, Please find some inputs on the servo motor (point to be noted is the diagram is run at 50Hz so that the desired PWM frequency can be achieved for the servo) as well as the joystick using Embed. Let me know if you need further inputs. In addition please post your embed questions if possibleon the embed section of the forum ! - -sreeram Ex7_Servo_motor_control.vsm Ex7_Servo_motor_control_triangular.vsm joystick_Test.vsm
  10. In addition one could 1) Also use the import block where in you could specify the time vs data and even have it come from a text/csv file ..etc. 2) Use the variable block and have at one place all the desired variables and change them as need be and it would reflect in all references. --sreeram
  11. Hi Gaurav, Can you please provide the following info: 1) What is the embed version you are using ? 2) What board in pacrticular? With the latest Embed versions we ship the necessary Ti compilers and we have not seen issues. Could you provide more info. --sreeram
  12. You can find the raspberry pi support in the latest Embed 2019.2 which you can access from : https://solidthinking.com/support-training/embed/downloads/ or from Altair Connect --sreeram
  13. Hi Trido, We dont yet support the I2C and CAN for STM32 but we have that in the roadmap for the future release . Thanks, sreeram
  14. Right now as part of Embed 2019.2 the Raspberry Pi is a good target to start for IOT. We also have examples of using Arduino with a ESP8266 via a UART interface if that is of interest ! --sreeram
  15. Hi Gaurav, Could you please attach the Embed Diagram so that we could suggest what is going on ? --sreeram
  • Create New...