Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Data Archive Reference

Input structures

  • Last UpdatedJan 13, 2023
  • 1 minute read

Another way to specify the output is to define an input structure. You can use the input structure in place of, or in addition to, a select statement.

You define an input structure by using the @istr command. In the following example, there is no select statement. After the @ostr * command defines an output structure for all attributes for each entry in the PIPOINT table, an input structure is defined that includes only the primary key of the table (the tag name attribute). Now, you need only type a line with the expected input structure format and piconfig returns output without your issuing an @ends command. After entering sinusoid, values for all its attributes are returned.

* (Ls - ) PICONFIG> @tabl pipoint
* (Ls - PIPOINT) PICONFIG> @ostr *
* (Ls - PIPOINT) PICONFIG> @istr tag
* (Ls - PIPOINT) PICONFIG> sinusoid
*> sinusoid
sinusoid,1,30-May-14 10:18:31,OSI\jallen,2.,2.,28800,0,1,26-Nov-12 14:55:05,
piadmin,o: g: w:,PIGroupIncompatible,PIUserIncompatible,
"piadmin: A(r,w) | piadmins: A(r,w)",12 Hour Sine Wave.,,-9,,1.,1.,600,0,,1,R,
Float32,o:rw g:rw w:r,12,classic,3,piadmins,piadmin,
"piadmin: A(r,w) | piadmins: A(r,w) | PIWorld: A(r)",1,1,1,,100.,0,50.,0.

You can display an input structure at any time by using the @istr ? command.

TitleResults for “How to create a CRG?”Also Available in