11-08-2024 08:08 AM
Hello Community,
I have a Wemos D1 Mini board (ESP8266) which is used to capture a digital input signal (3.3 V) from an external source. This signal is to be used as a Stop signal in my VI, i.e. whenever the input is set High, my VI should stop running. At present I have a USB-A to USB-C to connect the board with the PC on which LabVIEW is running. The initial idea was to set up the D1 Mini as a USB RAW instrument and let the signal transfer through this USB cable. To this end, I played around with setting up the INF file and get the device recognised as a VISA resource using these links:
Set Up Communication With USB Instrument
Using a *.inf File from the Driver Development Wizard on Windows 8 or Higher
But looking at this thread, I guess the concept that I thought of will not work and I need to ensure communication using a USB to serial cable. So my question is:
Is there a better way I can get this setup working? I am open to use some other device instead of the D1 Mini or even a cheap network card to get this input signal in my VI but don't want to spend too much on a NI PCI/USB device as it is just a single digital signal.
This might sound a little here and there and I apologise for any unforeseen errors but I am trying to understand what will work and what I need to do to get it working.
Thank you in advance for your inputs!
11-08-2024 09:13 AM
Use Hobbyist toolkit but I am not sure if it is compiled for Wemos D1
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019TmpSAE&l=en-US