simple if


Recommended Posts

servus labjack-checker!

i need to write a little programm. it only has to stream the value of an pressure-sensor(Ain1) and to log the values together with the time. this sequence should start after turning on a switch (fio0).

i started like this:

if (switch[0]=1) //switch=channel name of the switch(digital input)

beginlogging(log) //log=logging set name


after i try to start i get the following warning:

c1070 Not enough parameters for the given operator: start Line 1 - Uncought error in sequence start

i think its only a little thing but i dont find it.

i hope somebody is able to support me a little bit.

kind reguards


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.