Import data from programs

What are you missing in the Power-Grid Software?

Import data from programs

Postby ShuRugal » 30. Apr 2016, 05:06

I got this program to use primarily with DCS: World, and have found it to be excellent for such purpose so far.

However, I would like to be able to integrate the program more closely: DCS provide the ability to export information such as gauges, switch positions, information from sensors, and more via lua script. I would like to be able to import this information to PowerGrid so that I may synchronize buttons/switches with the sim.
ShuRugal
 
Posts: 3
Joined: 30. Apr 2016, 04:57

Re: Import data from programs

Postby Addihash » 3. May 2016, 10:38

To do that you need to create a Plugin.
To see how to create plugins you can watch this series:
https://www.youtube.com/watch?v=CoqjNx5PNqg
Addihash
Administrator
 
Posts: 232
Joined: 2. Feb 2015, 14:35

Re: Resize Grid

Postby ShuRugal » 4. May 2016, 01:46

The videos do not explain anything about data importing?

Where can I find resources for importing data from an external program into my plugin?
ShuRugal
 
Posts: 3
Joined: 30. Apr 2016, 04:57

Re: Import data from programs

Postby Addihash » 4. May 2016, 09:37

I moved your reply since you replied to your other thread.

You have to import the data with an .dll which then can load the data into the grid.
A more technical overview on how to create DLLs can be found in the SDK documentation.
Addihash
Administrator
 
Posts: 232
Joined: 2. Feb 2015, 14:35


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 1 guest

cron