Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication between Wemos D1 Mini (ESP8266) and LabVIEW

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!

0 Kudos
Message 1 of 2
(185 Views)

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

 

 

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(161 Views)