LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i had problem with my program

Solved!
Go to solution

i m facing problem with for loop ..

 

if there were more lines in the text files.. it was running too slowly .. it takes arounf 4-5 mins for reading 25 lines

 

please frnds.. i needuntitled.JPG to reduce my timings..

\

 

 

0 Kudos
Message 1 of 13
(2,927 Views)

Can you attach your VI

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 13
(2,924 Views)

Hi gowthamggk,

 

did you try to time your ping command with a simple stopwatch in the cmd shell? Well, it takes some time to ping a target 4 times, when the target is out of reach or far far away.

 

And now you wonder why it takes 5mins to ping 25 targets?

 

The ping command allows for several options. Read the help and use them...

Best regards,
GerdW


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

i tried it sir.. but i know know y??

 

0 Kudos
Message 4 of 13
(2,908 Views)

i need to speed up my program .

pls help  me any one

0 Kudos
Message 5 of 13
(2,907 Views)

Hi gow,

 

what did you try?

What do you know? What is "y"?

Did you follow our advices?

Best regards,
GerdW


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

sorry sir.. i dint get ur idea.. so please brief it.. running out of time.. thats y.. my mind is totally blank 😞

0 Kudos
Message 7 of 13
(2,888 Views)
Solution
Accepted by gowthamggk

Hi,

 

I think your issue is you are using CMD for ping the IP and until unless the popup ping window move out you will not get response.

You can try with attached VI this VI can reduce your processing time.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Message 8 of 13
(2,880 Views)

one more problem sir..

 

if i combine the program that u were given with my program , it showing this error

 

 

bbbbb.JPG

 

 

aaaa.JPG

 

 

please help me sir..

0 Kudos
Message 9 of 13
(2,840 Views)

post a implemented code snapshot or VI for better understanding the issue.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 10 of 13
(2,818 Views)