03-03-2026 10:07 AM
Hi I using Arduino as a DAQ of Labview.
Im using Arduino LINX Module.
My problem is i need to use the Analog input as Digital Output in my Arduino Mega 2560 board.
In Arduino IDE i can do this by calling the analog pin A0 as pin 54.
Here in LINX i got error when i use the pin 54 it says:
The specified Digital Output channel (54) is not available on the Arduino Mega 2560. The following channels are available: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53].
03-23-2026 06:00 AM
Hi popul,
@popul wrote:
My problem is i need to use the Analog input as Digital Output in my Arduino Mega 2560 board.
In Arduino IDE i can do this by calling the analog pin A0 as pin 54.
Here in LINX i got error when i use the pin 54 it says: …
Then you should use the ArduinoIDE with all its options to program your Arduino!
LINX isn't made the provide the most flexibility, but to provide a fixed set of supported functions.
When you want to go beyond that fixed set you need to use something different than LINX…
03-23-2026 01:34 PM
You can still use an Arduino as a DAQ in LabVIEW, but you'll have to write the functions yourself and transmit them via serial. I'd recommend using JSON to format the values going between the two systems.