For SQL queries, analog and digital signals are always linked with the query. The queried values are thus available as signals for visualization and recording.

You can see the signals in the Analog and Digital tabs of the SQL query module.

If the query test has been successful, you can enter the queried values in the signal tables using the button <Add all SQL results>.

Example of the query of a value series (the first) from a table with 8 columns.

If there are not enough signals available in the module, ibaPDA asks you whether you want to increase the number of signals.

The relation of the added signals to the query results is established via the column and row numbers, which are automatically entered in the signal table when you click on the button <Add all SQL results>. If the query provides more than one result, then the result sets are inserted into the signal table one after the other by row number.

An SQL query of the first 3 rows of a table with the following statement would, for example, provide the following result:

Signals can also be configured manually by entering the correct column and row numbers according to the query result to be expected.

For SQL commands, a connection to ibaPDA signals only occurs indirectly via parameters.