07-06-2009 09:12 PM
07-06-2009 09:35 PM
Please don't tell me you attached a VI that was set to run when opened.
I try downloading your VI and it popped up with a dialog box saying there is no disk in the drive, and to put a disk into \Device\Harddisk3\DR7. That or it seemed to be looking for an H: drive.
As for switches, look at page 21 of the manual http://www.ni.com/pdf/manuals/371303l.pdf. It shows a switch connection a digital input pin to ground. But also a resistor between the digital input pin and +5V to pull the voltage level back up when the switch is open. Although I'm not sure that the pull up resistor is truly critical.
07-06-2009 09:42 PM
07-07-2009 09:58 AM
07-07-2009 12:10 PM
The 6211 only has 4 digital inputs, while the USB-6008 has 12. Why would you change cards now? Although you could connect your switch between a voltage source and an analog input and measure the analog voltage to essentially turn it into a digital input.
What more information do you need? Have you looked at the DAQmx examples in the example finder yet?
07-07-2009 07:41 PM
07-08-2009 09:18 AM
07-08-2009 10:15 PM
07-09-2009 01:03 AM
07-09-2009 10:44 AM
Look in the example finder for numerous examples using DAQmx.