10-14-2016 09:11 AM
Hi all. I'm completely new to Labview, and programming. I have a cDAQ with a digital out board, and a thermocouple board that I want to use to get readings from thermocouples, and then have that control a relay. I found on this forum where you can use the PID VI to create a square wave which can then control a heater on/off, but I can figure out how to hook it up to my simulated digital out daq module. I've attached the code that was completely copied from another post.
10-14-2016 09:41 AM
If you are very new to LabVIEW, I would advise you to first go through some online tutorials/webcasts (e.g. http://www.learnni.com/getting-started).
And could you please list the hardware you are using?
10-14-2016 12:45 PM
I've gone through Core 1 and on Core 2. I'm using a compaqDaq 9134 with 9472 and 9213
10-17-2016 10:54 AM
You will need to add a DAQmx digital output task. I would recommended looking at the Digital - SW-Timed Output.vi in the NI Example Finder if you are new to using DAQmx and don't know how to do this. Additionally, attached is a screenshot of an example of what you could do.