01-24-2018 12:23 PM
Please, look at this photo I provided. I am trying to read data that is coming from pin 12 and 13 but I get nothing. Maybe something is not set up right. Can someone please help me?
Thank you!
01-24-2018 11:12 PM
Use block diagram cleanup so it is easier to see what wires go where and in what order the subVI's execute.
Do you get any error messages?
You have the two pins set to input, yet you try to do a Digital Write on them. Why?
For the digital Read, I don't see where you tell it what pins to read on those subVI's.
Also, your VISA resource is an empty constant. Shouldn't you be telling it what serial resource the Arduino is connected to?
01-25-2018 02:00 AM
Hello Friend,
You can't write anything to the pins configured as INPUT,
Change the configuration to OUTPUT and give 0 OR 1 to Digital Write function and see the magic.
Regards
Love Diwan
KUDO is the best way to say thanks.....!
01-25-2018 02:38 PM - edited 01-25-2018 02:38 PM
You can not read a pin configured as an output and you can not write to a pin that is configured as an input.
You configure pins as input to read them.
You configure pins as output to write to them.
02-27-2018 04:52 PM
Alright. Thanks.