12-16-2007 05:16 PM
12-16-2007 09:05 PM
12-16-2007 10:01 PM
12-16-2007 10:48 PM
The Split Signal function can be dragged to have multiple outputs.
As you have the DAQ Assistant now, with 1000 samples to acquire, for each analog output, you will have 1000 points graphed. That is why I said to change the number of samples to 1 or take the mean of each scan. What you want (I believe) is a single x and y value for each analog output. Because dynamic data can be just about anything and it really hides information, I really dislike it and never use it. You could also convert the dynamic data to something more meaningful with the Convert From Dynamic Data function.
12-17-2007 03:18 PM
Hello Kyle,
Just to toss out a plug for our Example Finder, I'd like to make you aware of the XY Graph.vi shipping example. You can find this example, which demonstrates four different ways to use the XY Graph, in the NI Example Finder (Help>>Find Examples) under Fundamentals>>Graphs and Charts.
Best Regards,
T. McCarty
12-18-2007 10:47 AM
Not to keep beating a dead horse, but i think i have fixed the problem, sort of. Instead of using the express VI to take samples I used the DAQmx, which seems to work better. I can graph like i wanted, and write to files, and all the good stuff now, however, i am still having 3 problems with my program. I have tried to use the daq mx write function instead of the daq assistant express VI to output a voltage, but i am not sure how to do this. Another problem is that while switching to the daq mx i seemed to have lost the ability to control my sample rate, (a very large issue in large data collection). The last problem i am having is that while running this program, i am using almost half a gig of ram extra! i know that there must be something very inneficient about my program and i suspect it has something to do with mixing the daq mx with the express vi. I have attached a revision of my code.. well a complete new code pretty much. Hope you guys can help, thanks!
ps. I'm not sure if my hardware supports multiple channels per task, i could be wrong though.
Kyle B
12-19-2007 02:54 PM