Lab 9 - GilesVolmir/Skylar-Scott--308L-Junior-Lab GitHub Wiki

This week we are branching off. First I got the new VI we will be needing from Dr. Koch's github repository. I made an upstream remote to point to the the repo I originally cloned and used "pull" to get it. I have reconstructed the circuit from last week, but without the switch to +5v. I am using the GND and +5 pins on the DAQ card (pins 29 and 30) and the port A4 (pin 25) is connected instead of the switch to +5 in the original circuit. I can use the example VI (XDOUT.VI) to turn the LED on and off! The port number option must be set to "FIRSTPORTA" to use the port A4, and when I tried a B range port, it must be set to "FIRSTPORTB". The switches correspond to which output is on, and are in the same order as the outputs when the board is looked at with a right side up label. Measuring the current through the (on) LED and the current to the base, on and off. current through powered LED: 10.06 mA current through unpowered LED: 0.09 μA (meter hovers here when disconnect too, no actual current) current to base, powered: 0.499 mA current to base, unpowered: 0.10 μA (same meter issue here, less current than I can measure) The current through the LED when powered is about 20 times that going through the base to the emitter.