Using CitectSCADA > Using Devices > Formatting Data in the Device > Using a database device

Using a database device

Before you can use a database device, you need to open it. You can open several devices at the same time. The DevOpen() function returns an integer handle to identify each device, as in the following example:

INT hRecipe;
hRecipe = DevOpen("Recipe");