Jump to content

Origin of Qdb Code Used in PiWeb


---
 Share

Recommended Posts

Can anyone help me with the origin of the "Qdb" code used in PiWeb?
For instance:

${Qdb.Characteristic.2002(-1)} = name of the parent characteristic displayed
${Qdb.Measurement(6,-2)} = The batch of the penultimate measurement is displayed.

Our PiWeb instructor (extremely knowledgeable in Calypso and PiWeb) stated that it was a "simple text language" that did not originate with Zeiss, but he couldn't remember the proper name. I've tried googling but the closest I get is .Net . (I've heard the term "simple answer" so many times my hair stands on end when I hear it now!)

Thanks a bunch in advance! 😎
Link to comment
Share on other sites

Qdb is a command to Query the database
.Characteristic tells it to look in the Characteristic Table in the database.
2002 is the attribute key to return, like Characteristic Name
-1 is the most recent value.

So, in words, query the database and return characteristic attribute 2002's most recent value.
Link to comment
Share on other sites

 Share

×
×
  • Create New...