2:51 pm
Hi Steffan.
Thanks for the prompt reply. Sorry for the delay in getting back to you.
It is not the "Digital Write Port" I want to use, but the "bitWrite" and "bitRead" functions which appear in the Arduino language but do not have a corresponding LabVIEW function.
What would you suggest as the simplest way to implement this?
Thanks.
Regards
Alan K.
6:24 pm
March 12, 2015
If you are operating on a variable/wire, then I would think you could easily do this with LabVIEW primitives, like and AND gate, and make it a subVI. Those functions just write and read a single bit in a variable. If you are trying to write/read to and from a digital port, possibly for speed, you could make a custom library to wrap the bitWrite and bitRead Arduino functions. Take a look at the help manual for instructions on making your own library.
21
1 Guest(s)