11-28-2024 06:55 AM
Hello All,
I working on one project where i need to fetch Adafruit SHTC3(Humidity and Temp.) sensor data using Adafruit Metro esp32-s2 controller using i2c protocol
For that i try to download both LabVIEW toolkit(LabVIEW Interface or Arduino & LabVIEW LINX). But i am not able to download both toolkit
I am using LabVIEW 2020 32bit
Windows 11 Enterprise
64-bit operating system
Arduino 1.8.4 also try with Arduino latest version.
Please help me how can i resolve that issue and sensor data in LabVIEW.
11-28-2024 07:14 AM
So you try to install a vi package using VI Package Manager (VIPM).
You want to use LabVIEW together with a ESP32-S2 board.
Then LabVIEW Interface for Arduino (LIFA) is not for you.
And NI LINX is not for either as this only works for Arduino Uno if you do not rebuild the firmware.
You could try to download LINX on the VIPM homepage: https://www.vipm.io/package/ni_labview_linx_toolkit/
But the best advice, Program you ESP32 in the Arduino IDE.
Talk to the ESP32 from LabVIEW using the NI VISA over the USB or UART port.
11-29-2024 05:12 AM
Hello,
Thank You for the quick responce.
I downloaded LabVIEW LINX toolkit and configured LINX Firmware Wizard. i am using Adafruit Metro ESP32-S2 board.
After configure I made one small VI for test LED.
I am getting below error when I running my labVIEW code.
Error -1073807246 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->LMH-LINX.lvlib:Device.lvlib:Serial Open.vi->LMH-LINX.lvlib:Device.lvlib:Initialize Device.vi->LMH-LINX.lvlib:Initialize.vi->LMH-LINX.lvlib:Open Serial.vi->LED.vi
Possible reason(s):
VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.
Able to write and read
Thank You
12-02-2024 01:42 AM
Be sure nothing is using the COM port when you run your VI.
Try to unplug and plug in the USB cable before running.
Did you download the LINX firmware to the ESP32 board ?