02-25-2009 08:17 AM
Hi all I am currently building a project for college.I am building a pid control loop of the temperature of a container of water.I have a watlow 96 which reads the temperature from a theromocouple and then outputs a voltage 0-5 variable depending on the process temp.I then take in this informationa and process it through a pid loop.Depending on the output of the pid i want my usb 6008 to switch on and off a solidstate relay.I have a little relay board which has 8 relays on it.These are switched onn and off by 8 transistors so i am using labview to switch onn and off the transistors.
My problem is this i am unsure of what how to setup the max tasks to read and write the digital i/o as they are either on or off and i dont know which digital read max task to use with all the u8,u16 etc selections available.also when using the max tasks should i be making these tasks local or gobal tasks?
I have uploaded the vi so far and also a drawing of what i am hoping to connect to the system electrically.could someone have a quick look at it and tell me where i am going wrong or help me get the correct digital task
Thanks
Dec
02-25-2009 08:48 AM
Hi, I am not sure, I think your wiring is incorrect.
Check User Manual USB-6008 http://digital.ni.com/manuals.nsf/websearch/7781F8E689519ED786257411006FB09F
Section "Digital I/O Circuitry"
02-25-2009 08:53 AM
Doesn't the 96 have its own PID control loop built into it with an output to control a heating or cooling device? No need for LabVIEW or a DAQ.
Or does the project require the use of LabVIEW, maybe I misunderstood.
-AK2DM
02-25-2009 09:43 AM
02-25-2009 09:46 AM
02-25-2009 09:52 AM
I can reconfigure the wiring so that the inputs switches a loop from the output of the usb unit through a relay and back to the ground terminal of the usb unit but i still am unsure of how to set up a correct max vi to read a change from on to off.However i do need to get a 5 volt output also from the unit.Do i need to get a "pull up relay" to increase the output current of the usb unit and i also need the correct vi to preform this also
Thanks