FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

error 37 or hangup -sun

I am using Labview 6 on a sun ultra10.
Everytime i try to initialise the serial port (Fp_port_open.vi) i get an error 37. My serial port is ttyb and i am logged in as root.
If i insert the line:
labview.serialDevices:/dev/ttya:/dev/ttyb
to file .labviewrc
i get an hangup.
The Baudrate is 115200 (FP1000 and ttyb using admintool cde).
I changed every serialport-option with admintool but it didn't work.
Connections through fp-explorer(winNT) work properly.

Regards Martin Schraut
0 Kudos
Message 1 of 5
(4,429 Views)
Martin,

I have found two KnowledgeBase entries that may help you to solve your problem.

The first one discusses about using LabVIEW (LV) for Sun, and what to check when you receive error 37 when using the serial I/O.

http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/3c1fa0e91e6356468625625a000d21af?OpenDocument

The next one talks about the location of the serpdrv when receiving error 37.

http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/ff3549c9a30dc37b862569650049e098?OpenDocument

Hope this informatin is useful.

John M.
0 Kudos
Message 2 of 5
(4,429 Views)
Martin,

I need to change the links that I posted. The links that I post are incorrect. The new links are as follows:

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/3c1fa0e91e6356468625625a000d21af?OpenDocument

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/ff3549c9a30dc37b862569650049e098?OpenDocument

John M
0 Kudos
Message 3 of 5
(4,429 Views)
Dear John,
thank you for the reply. I placed the serpdrv in the specified folder. But i can't find the /etc/ttytab file. There's only a file named /etc/ttydefs.
I can't find any remote or local options.
I'm using CDE 1.2.
The admintool gives only options for Modem or Terminal use. Please help me. I'm not familiar with solaris.
MartinS
0 Kudos
Message 4 of 5
(4,429 Views)
Martin,

I am not very familiar with the Solaris OS, but I might have found a web site that may help you to create the ttytab file.

John M


Scroll down until you find /etc/ttytab section.

http://www.stokely.com/unix.serial.port.resources/4.x.modem.html#14157

My other suggestion is to contact sun to obtain specific information on how to set up the serial port on your computer. www.sun.com
0 Kudos
Message 5 of 5
(4,429 Views)