02-27-2023 12:20 PM
Hi,
I'm trying to figure out how to set all of my digital outputs on my DAQ to the off position until I assign a port and a line. Can anyone help me with this please?
Solved! Go to Solution.
02-27-2023 12:40 PM
Your program cannot talk to the hardware until you assign the port/line.
Why are they on by default??? Was it from a previous run? Maybe you should do a proper shutdown procedure to ensure that all are off before the program ends.
02-27-2023 09:00 PM
Depending on the model of the hardware, you can Setting and Reading the Power-Up States of Digital Output Lines.
02-28-2023 09:50 AM - edited 02-28-2023 10:17 AM
We definitely need to know more about your problem, because we can't really tell that you are talking about the power up state or some undefined state while the device was still powered up by your program did not terminate correctly or crashed in the previous run, or you aborted it instead of doing a proper shutdown.
02-28-2023 10:06 AM
Can you please attach your code?
02-28-2023 10:16 AM
02-28-2023 10:25 AM - edited 02-28-2023 10:25 AM
Just trying to see if I can help. I would like my answer to be accepted as solution.
03-19-2023 08:38 PM
I think I got it figured out.
Thanks!
03-20-2023 08:28 AM
@Abby242 wrote:
I think I got it figured out.
Thanks!
When you know you have it figured out, it would be helpful if you posted your solution (and mark it as the solution) because I think this would be a big help for others who might be struggling with the same problem as well.