Basic labVIEW Visa with Arduino help

Hello I'm very new and trying to do basic communication with LabVIEW and Arduino

I followed this tutorial LabVIEW VISA Tutorial 1 | Control LED + Arduino Programming | LabVIEW + Arduino Programming + VISA - YouTube and everything worked UNTILL trying to choose the Arduino com port in LabVIEW (17:10 point). The VISA resource name thing is just empty for me. I've tried googling around and everything I've found thus far just assumes that the Arduino will show up as a com right away no fuss. I've attached the INO and the VI. The com monitor in the arduino IDE definitly works to talk to and control the board, i just need to know why the visa resource name field is empty.

I attached my labview VI here Basic Visa with Arduino help - NI Community

void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
if (Serial.available()>0)
{
  input = Serial.read();
  Serial.write("Test");
  if (input =='1')
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  else
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
}
delay(1000);                      // wait for a second
}

Hello Morpheuskibbe

Take a view here to gain the knowledge how to handle the serial coms.

Have a nice day and enjoy coding in C++.

Thanks for your reply. Unfortunately, it doesn't really help with why labview isn't seeing it.

do you make sure the Arduino IDE serial monitor is closed before attempting to get Labview to access the port

Run some tutorials to gain the knowledge.

Or what are your expections?

I did yes. closing the arduino IDE entirely doesn't help

I don't know if your intention was to be openly rude right now, but that's how you just came off.

I DID follow a tutorial. I linked it in my post. I tried to google the issue already couldn't find an answer, and don't know what is wrong. Hence why I'm asking.

This was a extrem politly question.

I´m able to give some advices only and the action to find a proper solution are in your hands.

Great. feel free to do that whenever you are ready.

looks like a Labview problem - try asking the question on the Labview forum

I eventually figured it out. think my version of labview / VISA was out of date or busted or something. I reinstalled it and the coms started showing up

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