DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

GPI Dll Driver for DAC-Bock with in- and output

Hello,
 
i've a little problem creating a Diadem GPI Driver Dll. When i program a driver dll that only has outputs (output from the gpi-block to diadem) every thing works fine. But i need a driverblock with both, in- and outputs. This block has to calculate outputs depending on the inputs and will use an external dll for this calculation. I still get no output from the block i programmed. Are there any examples for a GPI block that does this, because i didn't found one.
 
Thank you for your help.
0 Kudos
Message 1 of 2
(3,652 Views)
Hello,

DIAdem offers three types of DAC blocks, input, output and processing. In most cases you will use just input or output blocks in your DAC scheme. However if you want to implement a special algorithm that calculates some signals depending on some inputs, you have to use the process blocks. You can implement all three kinds of DAC blocks using the GPI wizzard.
The GPI Wizzard will guide you through the process of building a framework for your driver. At one point there will be a dialog to define the names of the input signals, output signals and process signals. If you enter a name for a process signal here, the wizzard will generate a framework for a DAC process block. This block will have both, inputs and outputs. Once you have finished the wizzard, you can implement your algorithm in the ...ProcessValueGet() function.

Rainer

0 Kudos
Message 2 of 2
(3,606 Views)