svm_compare_barcode_db_data(dbdata)
Features
After comparing the entered argument with the barcode DB stored in the SVM, check whether it is a stored value.
Parameters
| Parameter Name | Data Type | Default Value | Description |
|---|---|---|---|
dbdata | string | Information contained in the barcode to be used for comparison. |
Return
| Value | Data Type | Description |
|---|---|---|
0 or 1 | int | After comparison, check whether the value is stored in Barcode DB in SVM When it is ‘0’, the value is not stored in the DB. When it is '1', the value stored in the DB |
Example
svm_connect() # Connect to vision
ret = svm_compare_barcode_db_data(bdata)
tp_popup("Comparison result={0}".format(ret))
svm_disconnect() # Disconnect to vision