Slider Problems


Recommended Posts

It appears you have a hidden control or two in the top left corner. I could tell because I deleted your main visual stuff, then did select all and it selected things. Its more than one thing because I can't open the properties this way. When you delete all this, it doesn't create new values.

That said, your logic is flawed in the Event and you will end up with an infinite loop, crashing DAQFactory, when you set startUp to 0 and add a value. I'm surprised it hasn't done it yet. Anyhow, you have slideVal.addValue() inside the event for slideVal. When you call addValue() its going to call the event code again, which in turn is going to call addValue() again, etc. You can fix this by putting the startup=1 before the addValue().

Link to comment
Share on other sites

Archived

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