Download DAPM6802+ Dual Audio Processing Module Installation and
Transcript
APM6802+ Installation and Operation Manual 39 Examples The following is an example of correct syntax: IF GPI1==0 THEN PARAM[34]=0 The table below illustrates errors in syntax and how errors are reported. Table 5-1 Error Reporting Incorrect Command Status Comments IF GPI1=0 THEN PARAM[34]=0 Error:7 “==” must be used in comparison commands. “=” is incorrect. IF GPI1==0 THEN PARAM[34]==0 Error:28 “=” must be used in assignment commands. “==” is incorrect. IF GPI1==0 THEN PARAM [34]=0 Error:16 There must be no space between “PARAM” and “[“ IF GPI1==0 THEN pARAM[34]=0 Error:16 PARAM must be in all caps. pARAM is incorrect. IF GpI1==0 THEN PARRAM[34]=0 Error:3 There are 2 errors in this command - GpI is not in all caps and PARRAM has been misspelled. However, only the index of the first error found is reported. Custom GPI Scripts The DAPM6802+ supports custom GPI scripts to enable you to configure GPIs. Refer Common Scripting Guidelines for more details on writing your GPI script. GPI scripting is available by going to: Parameters > General > Custom GPI Figure 5-1 Custom GPI Script Settings Copyright © 2012, Harris Corporation