Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial VISA setup for Sun Solaris

I am trying to run a simple serial program using the VISA interface on a Sun Solaris 2.7 THEMIS VME SPARC machine. Using the old serial controls I am able to communicate fine; however, when I try to run using the VISA interface the computer crashes and reboots. It only does this if I have chosen the correct VISA interface (ASRL2::INSTR) which corresponds to /dev/cua/b which is the serial port I am using, a paddle board hooked on the back of the VME chassis. Any insight would be greatly appreciated...
0 Kudos
Message 1 of 4
(3,526 Views)
Hi,

Are you using LabVIEW or C?

I have been looking for known issues, but haven't found any.

It might be a good idea to post this on the VISA discussion forum.

DiegoF.
National Instruments
0 Kudos
Message 2 of 4
(3,526 Views)
I am using Labview, I will check the VISA forum...
0 Kudos
Message 3 of 4
(3,526 Views)
Noah:

I'm not sure which NI-VISA version you're using, but you might want to consider updating to 3.0. We fixed a slew of bugs related to Serial. To be honest, I don't recall any reboot problems, existing or fixed.

Here's a known issue from the current readme: On Solaris 8, on a Sun-Blade-100, for a Serial INSTR resource, setting the attribute VI_ATTR_ASRL_BREAK_STATE would cause the running process to hang.

I think in a previous version there was some issue where viOpen or viClose tried to always clear the break state, but I can't say for sure. That obviously would have caused a hang in the Blade case above.

Dan Mondrik
National Instruments
0 Kudos
Message 4 of 4
(3,526 Views)