Hi, I've been trying to write a VI that will write to the lines on a DAQPad-6507 (USB) and I'm currently using LabVIEW 7.1
I've programmed out a (rather bulky) VI that currently is able to be
preprogrammed (by a user) before the VI is run. When the VI is run,
each "row" of switches is read, and the corresponding lines are turned
on for the specified times (in the numeric array). The file is attached
and is entitled "Alternative 2D Array".
However, again, I stress that the VI is rather bulky, and it will be
difficult if (say) there are 30 "rows" for every 8 lines (as each port
has 8 lines). When trying to control all 96 lines (in 12 ports), there
would be 12 groups of those switches, with multiple rows, which would
be very space consuming in addition to being inconvenient to use.
Is there some possible way in which the user can specify a starting
line (i.e. line 0 - 7), then have a VI that will turn on the first line
specified by the user, then after some (set) time interval, that user
specified line will turn off, and the next line will turn on.
I.e. let the user inputted start line be a
When the VI is run, a turns on, after (say) 5 seconds, a+1 will turn
on, while a turns off. After another 5 seconds, a+2 turns on, while a+1
turns off. This continues until the user inputted stop line (b).
Thus, the sequence will look something like:
a, a+1, a+2 .... b-1, b
I was thinking of perhaps even modifying the current VI that I have
(Alternative 2D Array) so that it can achieve what I want, but I'm not
too sure how to proceed.
Anthony Wong
University of Toronto
Chemistry Department