08-17-2009 03:00 PM
Hello all,
After leaving my program running over the weekend, I came back to see that it was hung up in the VISA Serial Write block. Trying to stop the VI did absolutely nothing, so I ended up just closing it. However, after I did that, a little dialog box popped up saying "Resetting <program name.vi>". After about 10 minutes of it seemingly doing nothing, I finally just killed the process. I started up LabView again, and after about 20 minutes, the same thing happened.
Ive seen other people describe similar, but almost all of those seem to be because of problems with other drivers for a USB to serial converter or something like that. I am just using a regular built-in serial port so I dont have any of those.
I am running LabView 8.6.1 with NI-VISA 4.4 on Fedora 10, except with the stock 2.6.23 Fedora 8 kernel (due to an unrelated issue). Does anyone have any ideas on what could be causing this or how to gather more detailed data on what is going wrong?
Thanks
08-18-2009 04:58 AM
08-18-2009 06:53 AM
Kevin - I too am having issues related to mysterious hanging of comports. When it hangs, please check a couple things for me.
Is the CPU at 100% utilization?
Is this an executable that is hanging or are you running the development suite?
Also, try bringing up NISPY and see if the comport is active or not.
This is my NI Dicussion link http://forums.ni.com/ni/board/message?board.id=140&message.id=37722&jump=true and I have been experiencing this issue for a very long time but only when I build the application not during development.
08-18-2009 09:37 AM
08-18-2009 09:42 AM
The in consistency prompted me to ask abt the cable. Hmmm.....
08-18-2009 12:46 PM
So it hung a little while ago, and after letting it sit there for about an hour I stopped the capture. Attached is the last 100 events that NISpy recorded. The last event (copied below) is a VISA Write of a newline (0x0A) to the serial port. There is a start time listed but no ending time or return value.
891125. VISA Write ("ASRL1::INSTR", ".")
Process ID: 0x00007823 Thread ID: 0x072BCB90
Start Time: 12:19:58.209
Anyone know why or how this could be happening?
08-18-2009 01:05 PM
08-18-2009 01:29 PM
08-18-2009 01:57 PM
08-18-2009 02:49 PM