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.
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?
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.