dumbQuestionator

Members
  • Posts

    3
  • Joined

  • Last visited

dumbQuestionator's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The reason I've done variable internal names is I'm not certain what is going to be used in the final system so it easier to keep everything as open as possible and refer to it as positions on the board. Is there a way to limit the size of the internal variable array? For example I can just force it to be a 10 digit array and when the new digit is read its stored in AIN0[0] and AIN0[9] is deleted and everything within the array moves up one position
  2. Hey, I'm still reasonably new to Daqfactory and I can't figure out how to limit an array size. Currently I have internal variables linked to the channel names so the channel names are easier to change as one sequence just needs to be edited and the whole file will continue to work. However the internal variables are holding the past 3600 data points and I only need the most recent one and the rest is a waste of space. Could you please show a script I can run that does this automatically? The assigning sequence looks something like while(1) ChannelName0 = AIN0 ... delay(sampling_rate) endwhile where sampling rate is its own variable which dictates the time between readings
  3. Hey, I have been using a labjack U3 for a little while now and I've never had any issues with it, but we recently wired everything up and got it working and it can read and see the labjack fine in LJControlPanel and LJLogUD, however when I try to put it into Daqfactory I get error 1007. I've tried it on multiple computers and got the same problem, there's no damage to the input (as it wouldn't be able to read anywhere). Is there a way to manually point daqfactory to the labjack input? Or is there some other solution to this problem?