LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

entering bios with Labview serial vis

   I have a piece of equipmet I am attempting to test with Labview.  Part of the test I am writing requires me to enter the bios and read/set  the settings.  I am able to enter the bios with hyperterminal and see all the responses and such.  However, whenever I attempt to send or receive information to the bios in labview with either the serial vis or visa I get no response or echo to anything entered. 
   One developer suggested that there is a handshake required that hyperterminal does automatically to get this info to echo out the serial port.  His suggestion was when 5n is sent out the serial port that it must be repied with a \033[0n.  This worked for him when automating with expect.  However, in labview, this does not work.  Has anyone ran across this.  It definately looks like some type of handshaking that is performed with hyperterminal.
0 Kudos
Message 1 of 2
(2,564 Views)
I'm confused as to what you mean when you say you are entering the bios with Hyperterminal. Do you really mean you are changing the serial port parameters such as baud rate, partity, etc. and are communicating to an instrument or other pc over the serial port? What exactly are you connecting to? When connected to another device over the serial port, one thing that Hyperterminal does is send a termination character at the end of each string that you type. By default, I think this is a Carriage Return. In LabVIEW, you have to add this to your program. Two shipping examples, Basic Serial Write and Read and Advanced Serial Write and Read show two different methods for this. The first has '\' Code Display enabled for the string control where the command is given. The '\' Code for Carriage Return is \r. The code for line feed is \n. The second example uses a VISA property node to set the termination character for VISA Writes.
0 Kudos
Message 2 of 2
(2,533 Views)