Intrepid Control Systems neoOBD2-SIM User Manual page 10

Table of Contents

Advertisement

neoOBD2 SIM User's Guide
Figure 4: Set Value Command
In this example, the variable 'Encoder 1 Count' is set to the old value, then added or subtracted
to depending on which way the encoder was turned. Additional steps could be added to force
limits to the values. For example, using an If statement: If X > 100, then Set value to 100. This
would limit the max value on Encoder 1 to effectively be 100.
Encoders must be added under the Physical IO section of Set Value's Expression Editor. Please
see the figure below:
Figure 5: Physical IO
After double clicking the Value cell next to a Set Value command, this screen shown in Figure 5
should appear. To access the Encoders, simply go to Physical IO, then Encoders. Next, select
the direction (CW / CCW), then press Add to Expression. This will add the code to the Expression
section. Value To Set will contain the App signal or Tx Message Signal that's being set
Version 1.0 - March 11, 2019
7
© 2019 Intrepid Control Systems, Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the neoOBD2-SIM and is the answer not in the manual?

Table of Contents