NI DAQ – VB 6 – Analog In and out

Academics, Web & Code No Comments

This is one of the pieces of code I wrote for National instruments – data acquisition device. Again… unformatted uncommented code. Sorry!!!

The need:

Some high end academic need. Basically a combination of analog inputs gives an analog out.

The Setup ( a lot of unedited text from my report):

The system consists of hardware inputs and outputs (analog) which are interfaced with the PC using the DAQ (NI USB 6008 module). Controlling the system is a software program written in Visual basic 6. The program interacts with a database(access) to read and write values.

The data acquisition system is a National Instruments USB-6008 that has 4 Analog inputs, 2 analog outputs and 12 digital I/O lines. The kit comes with NI-DAQmx driver software and LabVIEW Signal Express software. The system can be programmed using  ANSI C and visual basic 6 (VB 6). Ref. Appendix 1 for detailed specification sheet for the NI USB-6008 DAQ

The hardware consists of

  • Toggle Switch (DEV1/AI0)
  • Push buttons (DEV1/AI1, DEV1/AI2)

The buttons indicate operations (steps of a task)

  • LED lights in serial with resistor (DEV1/AO1, DEV1/AO0)

The lights indicate success or failure of task

Read the rest of this entry »

April Fools Day 2010

Other 1 Comment

Found my first Prank on the internet… and well its not a surprise its GOOGLE with Google Glup . Oh looks like that was a prank from 2005 or is it really??

Found the following on google since last post

Voice Notifications on Google Wave
Google Docs

and i think this years best is from wikipedia. Homepage has an article about wife selling and how it all started. ( A bit anti-feminist but.. its April fool’s day… who cares)

More finds on google:
Google Romance again doubt if this of this year
Animal Translator
this is the vid of the same:

and Starbucks has this (actually never knew Starbucks even does this)
Sizes

Guardian has this stroy

Economist has this story

More from google:

3D viewing on google books.
3D viewing of street view on google maps

both of the above are indicated by the small glasses icon

Changing the name of google from google to Topeka

Search time is measured by different time units… for example the following are what I got: icrofortnights, microweeks, nanocenturies, epochs, femtogalactic years, parsecs, 23.00 skidoo, jiffies, shakes of a lamb’s tail, gigawatts, hertz, Planck times, centibeats, centons, warp factors and “times the velocity of an unladen swallow”

Youtube logo looks strange donno what thats about

GAG is a google annotation lib for programmers.

Virgle has more updates (gosh I shouldnt have missed this out yest)

Well more as I find them

© 2009, Nikhil Hullur | Entries RSS Comments RSS