Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA serial write hangs

Well, I think its possible that you were seeing a resource issue because of the multiple opens and closes. I have a situation where I do need the ability to use Hyperterminal if I set a breakpoint and I open and close the com port multiple times with no problem but since you don't, I thought it might be worth a try.
0 Kudos
Message 11 of 14
(1,785 Views)
So when I came in this morning and checked the machine, it was frozen just like normal.  There was also a dialog box from NISpy saying that it had encountered an error writing the log file.  It seems that NISpy still has a 2GB file limit in it, since the size of the capture file is exactly 2^31 - 1 bytes.  I was quite surprised by that as I had thought that that problem had been taken care of a while ago, but then again National Instruments does seem to have a few issues with keeping software up to date.

Anyways, things are still the same after the few changes I made to keep the serial port open all the time (thanks for that though, it was still a good thing to do).  I had wondered if it was caused by another program trying to access the serial port at the same time, but I cant think of anything else that would be doing that and fuser shows that LabView is the only process that has the serial port open.  Im really at a loss as to what this could be.
0 Kudos
Message 12 of 14
(1,772 Views)
So I looked online and found a version 4.5 of the VISA drivers and after I upgraded to that, it seems to work now.  It hasnt hung for the past few days which seems to indicate that its fixed.  I noticed that version 4.5 was released back in March and I was wondering if there was a reason that the older version was included on our Labview 8.6.1 cd that we ordered about a month ago.  Are there some issues with VISA 4.5 on linux with Labview 8.6.1 or something?
0 Kudos
Message 13 of 14
(1,720 Views)

There can be issues with using LabVIEW and drivers on Linux. You can check the read me for each and see if your particular version of Linux is supported.

Matt
Applications Engineer
National Instruments
0 Kudos
Message 14 of 14
(1,700 Views)