I am thinking through a Cicode function or task that will do the following:
- monitor the status of bit1 and bit2
- if bit1 is 1 and bit2 is 0 animate a symbol at ANx to flash yellow
- if bit1 is 1 and bit2 is 1 have the same symbol display solid green
- if bit1 is 0 and bit2 is 0 have the same display display solid grey
bit2 would never equal 1 unless bit1 is also 1.
I am trying to write a Cicode function or task using DspSym and DspSymAnm but not having much success. I am not sure where the Cicode should reside and how it should be called. Is it in a Cicode file or a Cicode object on the graphics page?
- monitor the status of bit1 and bit2
- if bit1 is 1 and bit2 is 0 animate a symbol at ANx to flash yellow
- if bit1 is 1 and bit2 is 1 have the same symbol display solid green
- if bit1 is 0 and bit2 is 0 have the same display display solid grey
bit2 would never equal 1 unless bit1 is also 1.
I am trying to write a Cicode function or task using DspSym and DspSymAnm but not having much success. I am not sure where the Cicode should reside and how it should be called. Is it in a Cicode file or a Cicode object on the graphics page?