TOSUN-Shanghai / TSMaster

A powerful open environment for automotive bus monitoring, simulation, testing, diagnostics, calibration and so on. It supports all kinds of mainstream hardware such as TOSUN, Vector, IXXAT, PEAK, Kvaser, Intrepidcs, ZLG, CANable, CandleLight, cantact and so on. Free for research and education purpose for some features.
http://www.tosunai.cn/
GNU Lesser General Public License v2.1
290 stars 43 forks source link

[Feature Request] Add hardware support #86

Open dragoudin opened 2 years ago

dragoudin commented 2 years ago

Currently, the system support multiple CAN/LIN/Flexray hardware. For testing purposes, we might use power supply (monitored by CAN serial, ethernet). Maybe some plugins (configurable) to add specific hardware

freshhope commented 2 years ago

Hi dragoudin,

Yes we support all kinds of standard devices and custom devices, you can build a mini program library, control your custom device in this library, and provide APIs for the entire TSMaster environment.

There is another solution, use TSMaster internal plugin system, however, this plugin interface is not published, maybe available in the future.

totocaca123 commented 2 years ago

OK sounds good. But how to to create .mp file. How to create a mini program library (is it a compiled C code?). Is it created from C Scripts?

Moreover, it would be good to have preinstalled MP lib with common features (manage external power supply, specific board to manage some electrical signal...) It's very specific, so I hardly imagin a standard feature for this

freshhope commented 2 years ago

steps: [1] write your code in c code editor and compile [2] navigate to "properties" sheet and check "Mini Program Library" [3] then you can view your apis in mini program libray window, and call it in other mini programs, or automation module...**

Moreover, it would be good to have preinstalled MP lib with common features (manage external power supply, specific board to manage some electrical signal...) It's very specific, so I hardly imagin a standard feature for this

Yes we have created so many libraries for nearly all kinds of instruments, we want to publish them in the near future