10-20-2008 06:43 AM
10-20-2008 06:49 AM
10-20-2008 06:56 AM
Ive not actually written the code. It came with the machine many many years ago and has been completely fine up till now
Sorry I cant be more useful
is there no simple graphical way to look at what signals are being sent and received when the error occurs?
regards
Mitch
10-20-2008 08:31 AM
10-20-2008 08:50 AM
How can i tell the difference between an exe and development?
What are breakpoints and how would they help the situation? are they used for identification of problem or resolving issues such as this?
How does Portmon work and can it be used if the serial port is allready in use by LabView?
Cheers
Mitch
10-20-2008 09:03 AM
An exe means an executable and will have an exe as a file externsion. If you start your program by first starting LabVIEW and then loading a file with a .vi extension, you are possibly running in the development environment.
A breakpoint is a location in the program where you tell execution to pause. This allows you to check the status of variables and to single step through the rest of the code. If you have an executable, you cannot set breakpoints. Before you do any debug of this type, you'll have to learn how to program in LabVIEW.
Yes, portmon can be used while LabVIEW is running.
I doubt that you will find anything wrong with the LabVIEW program, though. If it's been working since version 5.1 was available, it's been working a very long time and code does not just change itself. If you have the development system, then I suppose it's possible someone did an edit of the program and changed something. That should be an easy fix since you would presumably have at least one backup in the many years you've had the program. What I think is more likely is that your pc has developed some kind of hardware fault or that an update has been made to the OS or one of the low level drivers.
10-20-2008 09:16 AM
You are right, it does sound more like a hardware fault than software and I know for a fact the software has not been touched or updated
So what exactly will Portmon do and tell me and can it specify errors if that makes sense?
My thought is that the Field Point controller has gone down as ive had exactly the same problem in that it lost comms with the host PC and all the figures were zero but with that unit the error light was on and no network activity was shown. That said however, that unit was an Ethernet device, this is RS232 so I don’t know if the lights would work differently in a comms error situation.
If I could find out what the Field Point unit should do when in a comms error state, it would be a good starting point
Cheers
Mitch
10-20-2008 09:25 AM
10-20-2008 09:45 AM
I dont have MAX, just Field Point Explorer but I will do what you have suggested and put a post up in the FieldPoint Forum
Any ideas where to download Portmon from and is it free?
Cheers
Mitch
10-20-2008 10:02 AM