04-29-2026 01:58 AM
Hi, It is many years since I used Labview and I am coming back to it because I need to modify a programme I wrote almost a decade ago. My problem is that I haven't used LabView since. I used the programme to take numerous pressure, temperature and flow rate signals from an Arduino which I then displayed on a screen as an indicator of the health of some laboratories. I would like to add more digital signals and I realise how much I have forgotten. I would like to add more channels to the Digital Read N Channel vi and I see that there are two places for inputs. Obviously one is for the number of channels to be read but I am wondering what the second is for. Mine are currently set at 5 and 34. I am reading outputs but I am not sure what the 34 was for. In the past there was detailed information on each of the vis and I was wondering if this still exists. The explanation on the website merely says that the Digital input connection is where you specify inputs. I look forward to relearning the programme and applying it to some future projects. Thanks.
04-29-2026 03:04 AM
04-29-2026 05:24 PM
Hi GerdW,
Many thanks for your reply. I think I figured it out. The two boxes that come up when one clicks on the DI Input terminal are for the array that the vi uses. I think that the first number is the position in the array and the second is the DI channel number from the Arduino.
I could be wrong but I'll have a play to see if my theory is correct.
Thanks again for replying and I'm sure I'll have many more questions as I get back up to speed.
04-30-2026 01:13 AM - edited 04-30-2026 01:13 AM
Hi doljam,
@doljam wrote:
I could be wrong but I'll have a play to see if my theory is correct.
Unfortunately you still don't even provide an image of what you are talking about…
@doljam wrote:
I think I figured it out. The two boxes that come up when one clicks on the DI Input terminal are for the array that the vi uses. I think that the first number is the position in the array and the second is the DI channel number from the Arduino.
In case you forgot how an array constant looks like in LabVIEW: note the learning resources offered in the header of the LabVIEW board!
(An array constant is an array constant and not "two boxes"…)