user31822: Just wondering whether it is possible to create 'virtual analog' signals, I am designign a system that uses a tank level sensor (pressure transducer); the component has not yet arrived and I am expecting it in a few weeks.
Is there any way to simulate the signals it would spit out, using some sort of GUI where I can physically control the 'virtual' tank level?
I'm thinking something along the lines of Wonderware's Intouch?
Would appreciate the help! Thanks

user10394: If you just want different values on an analog port then you could use a potentiometer, or a second Arduino the reads a value from its serial port and sets the value of its analog port connected to your first Arduino.  Just remember to have a common ground if you do this.

user16085: You don't specify the sensor you're trying to emulate, so we can't tell you exactly how to do it.
The obvious hardware approach would be a potentiometer.
You could also do it in software by writing a function to get the value, and temporarily replacing its implementation with one which generates random values, or reads values from a serial port, or reads them in order from a hard-coded array, or calculates them according to the time, or whatever you want.

31822: <p>Just wondering whether it is possible to create 'virtual analog' signals, I am designign a system that uses a tank level sensor (pressure transducer); the component has not yet arrived and I am expecting it in a few weeks.</p>

<p>Is there any way to simulate the signals it would spit out, using some sort of GUI where I can physically control the 'virtual' tank level?</p>

<p>I'm thinking something along the lines of Wonderware's Intouch?</p>

<p>Would appreciate the help! Thanks</p>
 10394: <p>If you just want different values on an analog port then you could use a potentiometer, or a second Arduino the reads a value from its serial port and sets the value of its analog port connected to your first Arduino.  Just remember to have a common ground if you do this.</p>
 16085: <p>You don't specify the sensor you're trying to emulate, so we can't tell you exactly how to do it.</p>

<p>The obvious hardware approach would be a potentiometer.</p>

<p>You could also do it in software by writing a function to get the value, and temporarily replacing its implementation with one which generates random values, or reads values from a serial port, or reads them in order from a hard-coded array, or calculates them according to the time, or whatever you want.</p>
