LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Controls

Slam  and Hi.

I am new to discusson foums. I had made a control GUI . I gets data through serial port and then after some signal processing, displays the data. My program has 5 while loops, each works and gets data from other while loops. One while loop gets data serially, and tell another while loop to do processing, after processing, this processing while loop tells a display while loop to display data on bars and another while loop is waiting to play an audio file (an alarm). I had made setup of my GUI and GUI has to work 24/7. It had been working fine since 2 months. then there came a problem. play file.vi malfunctioned and my alarm loop couldnt play that file (also it didnt give me any error ). then i replaced play file.vi with activeX control of windows media player. The GUI worked fine for 1 month. Then again came a problem. A string indicator on front panel malfunctioned and it started showing no data. also one of my case strucure(that writes a text file) malfunctioned. my program didnt move in that case structure(either true or false). are these problems du to my ineffecient coding or what..?? is there any solution.?

0 Kudos
Message 1 of 9
(3,201 Views)

I have uplaoded my main file the GUI.

0 Kudos
Message 2 of 9
(3,194 Views)

No, you haven't...

Best regards,
GerdW


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

its not uploading any thing, i have tried rar file as well as vi...

but please tell me why a string indicator fails...??? any possible reason/solution....??

0 Kudos
Message 4 of 9
(3,109 Views)

If you are using IE8, make sure the compatibility mode button is not turned on when trying to upload.

0 Kudos
Message 5 of 9
(3,084 Views)

its uploaded

0 Kudos
Message 6 of 9
(3,059 Views)

knight of NI, u rocked.u gave me the idea.. i had been using firefox. now i used internet explore and its uploaded...... 🙂

0 Kudos
Message 7 of 9
(3,057 Views)

Hi usman,

 

you really want us to debug that VI?

check.png

See the navigation window on that FullHD screen?

 

There is no "playfile.vi" in that GUI.vi, which reclaims a lot of missing subVIs...

 

Please clean up your main VI and attach all VIs needed to evaluate your problem!

 


are these problems du to my ineffecient coding or what..??


 

Judging from the screenshot: Yes... 😄

Best regards,
GerdW


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

You don't need to wire all of those constants to the Index Array function.  Delete them all and you'll have the same result.  By default, when the index inputs are unwired, they will give you element 0, element 1, element 2,  .....

0 Kudos
Message 9 of 9
(3,048 Views)