03-15-2006 04:20 PM
03-15-2006 05:19 PM
03-16-2006 09:35 AM
03-16-2006 10:34 AM
Dennis and Ryan, thanks for all of your help. I've actually not encountered a situation where I needed to build a boolean array, so this was new ground for me. I still have a couple of questions though:
Dennis:
When I run your vi, it faults out after the 6th iteration. I get the message: Error – 200324 occurred at DAQmx Start Task.vi. Device not available in NI-DAQmx. It is possible that the device is being used by Traditional NI-DAQ or that the device is being reset. I thought I just needed to modify three things. I altered the Lines input to the DAQmx Create Channel, changing it from 0:7 to 0:5, as well as deleting the 6th and 7th columns from the array, since I only need outputs on lines 0-5 (6 total solenoids). Additionally, I deleted the last two Data Written indicators, again because I only need 0-5. No luck. I still get the same error.
Ryan
When I run your vi, I can’t see anything at all happening. None of the LEDs illuminate, and the vi faults out after about 12 seconds (I have the measurement duration set for 2 seconds in order to test the vi. I’ve also saved a version of each of your vis, having replaced the Boolean controls with an array. Again, this is the first time I’ve used a Boolean array as an input. I’m just embarrassed to be struggling with what you two are proving is a VERY simple application. Please forgive my extreme ignorance.
03-16-2006 10:41 AM
03-16-2006 11:15 AM
03-16-2006 11:19 AM
03-16-2006 11:24 AM
03-16-2006 11:33 AM
03-24-2006 03:13 AM
Hi dan,
I am doing something similar to what you have done, and because I am new to labview, I am bit confused on how to go about it.
I tried looking at your code you attached, but it would not open cos mine is labview 7.0.
I am trying to control 6 solenoids and dont have a clue on how to use D/O function, can you or anyone else help me out
Many Thanks
Yemi