11-03-2013 10:56 AM
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.?
11-03-2013 11:21 AM
I have uplaoded my main file the GUI.
11-03-2013 11:30 AM
11-04-2013 11:59 AM
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....??
11-04-2013 02:37 PM
If you are using IE8, make sure the compatibility mode button is not turned on when trying to upload.
11-05-2013 08:50 AM
its uploaded
11-05-2013 08:53 AM
knight of NI, u rocked.u gave me the idea.. i had been using firefox. now i used internet explore and its uploaded...... 🙂
11-05-2013 08:57 AM - edited 11-05-2013 09:19 AM
Hi usman,
you really want us to debug that VI?
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... 😄
11-05-2013 09:16 AM
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, .....