ausbildu Posted January 30, 2007 Posted January 30, 2007 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 endif 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 alex
AzeoTech Posted January 30, 2007 Posted January 30, 2007 You need to use two equal signs to do comparison: if (switch[0] == 1) a single = is assignment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.