Presentation is loading. Please wait.

Presentation is loading. Please wait.

Physics 4341 Some lessons from Module 1. A control usually needs a default –It is not the equivalent to a constant, unless you make “current value default”

Similar presentations


Presentation on theme: "Physics 4341 Some lessons from Module 1. A control usually needs a default –It is not the equivalent to a constant, unless you make “current value default”"— Presentation transcript:

1 Physics 4341 Some lessons from Module 1. A control usually needs a default –It is not the equivalent to a constant, unless you make “current value default” after setting it. How about the low-current limit? Didn’t those wiggles bother you when you were measuring small currents? –The range counts! Default is 0 to +10, so 10V/4096=2.5 mV!

2 Physics 4342 Notes on Module 2 (thank you Prof. Toby Burnett) Two VI’s, due at the end of this week. –(Note that you can combine them into one, using a listbox or ring ) –TTL output logic levels: 4.35 V = “on”. –TTL Input: open or > 4.35 V = “on”, closed (shorted to ground) = “off”. Don’t need all the different colors for the wires. (But distinguish ground). Use ~300  current-limiting resistors for each display bar. Note that same 8 lines DIO lines are output (part I) and input (part II). –You can set up your breadboard to do both You have to deal with binary numbers (table II is a worksheet) –Note the Format & Precision menu item for a numeric constant, which can be used to set binary (or octal or hexadecimal). Note the requirement: your VI should turn the LED’s off when it stops. (think about how to do it.)

3 Physics 4343 Recall the AT-E board

4 Physics 4344 Seven-segment-display wiring (common cathode type) A14 B13 C8 D7 E6 F1 G2 dp9 Cath4,12

5 Physics 4345 Notes on mapping number to bars How do you convert the numbers 1-9 to a different sequence? In most languages, two choices: –case or if-elseif (adds code, complexity) –Table lookup (adds to memory) How does this map into G? See the Demo VI.Demo VI


Download ppt "Physics 4341 Some lessons from Module 1. A control usually needs a default –It is not the equivalent to a constant, unless you make “current value default”"

Similar presentations


Ads by Google