LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

commands in a loop

Hello,

 

I need some idea here.

attached is a picture of what I am doing (Please zoom it). I have a list of command executing one after the other one. All this is in a For loop that is not shown here. But I need to understand, for those commands using telnet, why is that the same command (for instance: config) will execute very well at the first iteration, but will give an error "command not recognized" at the second iteration. Can someone may think of some thing?

 

Thank you.

0 Kudos
Message 1 of 3
(918 Views)

Hi agyna,

 


@agyna wrote:

attached is a picture of what I am doing (Please zoom it).


No, there is no image. All we got is a proprietary Office file format, often used to spread malicious software. Many people will refuse such files.

When you have problems with your VI then you should attach the VI. When it is not allowed to attach real code then you should atleast attach a real image (PNG preferred for block diagrams) instead of hiding them inside DOCX files!

Btw. there are better/easier ways to create "screenshots" than to take a photograph of your computer screen…

 


@agyna wrote:

But I need to understand, for those commands using telnet, why is that the same command (for instance: config) will execute very well at the first iteration, but will give an error "command not recognized" at the second iteration. Can someone may think of some thing?


Maybe you need to read the manual of the device you are communication with?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(876 Views)

And if you took a screenshot because your security protocols don't allow you to copy a file, then you probably still violated those protocols by taking a picture of it.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 3
(853 Views)