sending wifiscan data to labview

hello my name is dodi, i am from indonesia, i am working on my final project in the last semester, i want to move nodeMCU data to labview,

  • nodeMCU has uploaded the wifiscan program to the arduino IDE
    (this program is available when we install the nodeMCU library on the arduino IDE)
  • nodeMCU is connected using USB Type B to the laptop
    then how do i move wifiscan data to labview ?,
    please give me suggestions, references, sample programs, etc. to achieve my goals.
    thank you

thi is my wifiscan code using nodeMCU

    This sketch demonstrates how to scan WiFi networks.
    The API is almost the same as with the WiFi Shield library,
    the most obvious difference being the different file you need to include:
#include <ESP8266WiFi.h>

void setup() {
  Serial.println(F("\nESP8266 WiFi scan example"));

  // Set WiFi to station mode

  // Disconnect from an AP if it was previously connected

void loop() {
  String ssid;
  int32_t rssi;
  uint8_t encryptionType;
  uint8_t* bssid;
  int32_t channel;
  bool hidden;
  int scanResult;

  Serial.println(F("Starting WiFi scan..."));

  scanResult = WiFi.scanNetworks(/*async=*/false, /*hidden=*/true);

  if (scanResult == 0) {
    Serial.println(F("No networks found"));
  } else if (scanResult > 0) {
    Serial.printf(PSTR("%d networks found:\n"), scanResult);

    // Print unsorted scan results
    for (int8_t i = 0; i < scanResult; i++) {
      WiFi.getNetworkInfo(i, ssid, encryptionType, rssi, bssid, channel, hidden);

      Serial.printf(PSTR("  %02d: [CH %02d] [%02X:%02X:%02X:%02X:%02X:%02X] %ddBm %c %c %s\n"),
                    bssid[0], bssid[1], bssid[2],
                    bssid[3], bssid[4], bssid[5],
                    (encryptionType == ENC_TYPE_NONE) ? ' ' : '*',
                    hidden ? 'H' : 'V',
  } else {
    Serial.printf(PSTR("WiFi scan error %d"), scanResult);

  // Wait a bit before scanning again


  • nodeMCU has uploaded the wifiscan program to the arduino IDE

Do you mean you have the code uploaded to the NodeMCU board?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.