|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Labview keeps freezing
Quote:
-Danny Last edited by Danny Diaz : 24-01-2006 at 09:00. Reason: Slight over embellishment |
|
#2
|
||||
|
||||
|
Re: Labview keeps freezing
Quote:
We have used two different backup batteries, both fully charged. The problem was still observed. Note that when I say "continually", I mean that we consistently get the problem on an inconsistent basis. Sometimes we get it immediately at the start of the work session and it lasts through several restarts of LabView and RC/Camera power cyclings. Other times, things work for a little while (we can grab 2-3 frames), but then we get the OP's problem of LabView not responding to input, not getting the frame that was asked for, and the frame grab progress bar continually filling up and starting over. This persists until we restart the LabView CMUCam GUI application. After restarting, it might or might not occur again immediately. It is consistently inconsistent as to when it works. If it is really thought to be a power supply issue, then I will try to make an effort to rig up a non-battery supply and run the camera off that. Maybe the OP or someone else having the same problem can do the same (just use any standard DC power supply that fits the specs outlined in the CMU Cam docs). Hope this helps to diagnose the problem. |
|
#3
|
|||||
|
|||||
|
Re: Labview keeps freezing
Just curious, when you have this problem are you using a USB-to-Serial converter or a built-in serial port? We've been up and down this problem trying to reproduce it, and we're having a bugger doing anything close to what you're describing - we're using a built-in port on a desktop, though.
-Danny |
|
#4
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
For details, see http://www.chiefdelphi.com/forums/sh...ad.php?t=42631 Last edited by Peter H : 25-01-2006 at 20:13. Reason: Added reference |
|
#5
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
Thanks! -Joe |
|
#6
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
I tried the previous GUI again; this time, it loaded 3 frames before dying. I suspect that one side or the other loses the serial channel intermittently. |
|
#7
|
|||
|
|||
|
Re: Labview keeps freezing
I've had the same issues with Labview. I've used different batteries as well as a 12v regulated/filtered supply. All versions of the software have behaved in the same fashion.
|
|
#8
|
|||
|
|||
|
Re: Labview keeps freezing
UPDATE. By using the latest update posted by Joe, I was able to get through a sucessful calibration session with the camera. It still posted some "unable to communicate...check serial port..." messages a few times, but I just closed the window and kept working, ignoring the error. The camera still responded after doing this.
One new oddity came up while doing this. The pan function seemed to be reversed. It wanted to track AWAY from the light source. Tilt worked properly. Since this can be addressed in the rc code, I simply unplugged the servos in order to complete calibration. Thanks Joe. glenn |
|
#9
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
When you get the error message does it grab part of a frame? -Joe |
|
#10
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
glenn |
|
#11
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
Are you saying that the new version does nothing? I really don't understand what you mean when saying Quote:
When you say "previous GUI", are you referring to the Java GUI from last year or are you referring to one of the previous LabVIEW releases? Have you checked your change on the backup battery and all the wires for breaks or loose ends? -Joe |
|
#12
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
|
|
#13
|
|||||
|
|||||
|
Re: Labview keeps freezing
For us, the 1/25 version eliminated the run-away progress bar behavior that version 1/17 exhibited.
Peter H came over to play last night and we were able to grab frames repeatedly from his camera, but with my laptop. Last edited by Mark McLeod : 27-01-2006 at 10:47. |
|
#14
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
Sometimes, I can Grab Frame OK. The rest of the time, I Grab Frame, the red LED flashes, the blue progress bar advances to the end, the progress bar disappears, a partial frame shows, and an error box appears "The application is closing because of a reported error ...". The status code is -1073807252. The status source is "VISA Read in get picture.vi>CMUcam2.vi>CMUcam2GUI.vi" I had to expand the status box to read this. I can click on the error box, it disappears, and the run icon reverts to not running. I can click on the run icon again, and repeat the process - sometimes it works, sometimes not. What is my problem? |
|
#15
|
|||
|
|||
|
Re: Labview keeps freezing
Quote:
I'll look at the code to see if there is anything that can be done to make the program less susceptible to the problem. One solution is to lower the Baud rate (which would need to be done both on the camera and in the application / MAX) but would make the frame grabbing even slower. Hopefully we can avoid having to do that. Cheers! -Joe |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Example LabVIEW Apps - Dashboard, CMUcam2 and Motors | Russ Beavis | National Instruments LabVIEW and Data Acquisition | 9 | 21-01-2007 17:19 |
| LabVIEW Com Port Error | 354.FIRST | LabView and Data Acquisition | 4 | 18-01-2006 18:43 |
| National Instruments LabVIEW and Data Acquisition Forum | Danny Diaz | National Instruments LabVIEW and Data Acquisition | 1 | 16-01-2006 13:20 |
| COM port settings for CMUcam labview testing and programming | pwilczynski | Programming | 1 | 15-01-2006 15:09 |
| National Instruments LabVIEW & Data Aquisition Forums | Brandon Martus | Announcements | 0 | 22-11-2005 21:12 |