02-02-2009 03:01 PM
Solved! Go to Solution.
02-02-2009 03:23 PM
02-03-2009 08:55 AM
Hello Chris,
Has this application ever worked in the past? If so, what has changed?
Does your application crash the entire computer, LabVIEW, or simply give an error and stop (ie does LabVIEW close or just stop the running application)?
Are you able to successfully communicate using some commands? If so, I second Albert's recommendation to use highlight execution to find out exactly which commands are failing and when.
How are you storing the data? Are you simply outputting it to an indicator on the front panel, saving it to a file, etc?
I would also recommend that you take a look at the LabVIEW help, if you are on the "Index" tab of the help type "Debug". This will show you a long list of topics under "Debug" that are extremely useful debugging tools such as breakpoints, probes, and the aforementioned highlight execution.
02-03-2009 01:25 PM
Hey thanks for the responses. It seems to crash during a routine that checks the Status Byte Register. I monitor each status byte and when 5 and 6 are ready then I move on to the next command. One of my colleagues suggested not pinging the instrument so often during this routine, so I have added a wait, but won't be able to test the software again until next week. If I still can't figure it out then maybe I will post the part of the code that fails. It seems to happen when I ask for more than 201 points worth of information from this particular network analyzer.
Thanks
02-03-2009 02:09 PM
02-20-2009 03:19 PM