Problem in reading a serial port

10-11  Source: Network gathering  Views:0 

I am working on a program about serial communication, my problem is when reading the response of the other serial port, my program always throws the "PortInUseException" and prints the error "Unknown Application". Yes, the port was use by that application but I want to read its response because I can already write to it.
Any ideas would be much appreciated.
Try the "Serial Read with" (in Serial Comm examples). Do remember to specifiy no. of bytes you are expecting from the Serial Port.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
Related articles
  • Problem in reading a serial port 10-11

    Hi, I am working on a program about serial communication, my problem is when reading the response of the other serial port, my program always throws the "PortInUseException" and prints the error "Unknown Application". Yes, the port was

  • I have problem with delay in serial port 10-11

    I have problem with serial port. I have connected two computers by serial port and I need to create program in Labview for transfer strings using start bits and stop bits. My problem is that my program is working quite well ...when I press start bit

  • How can I read a serial port using XCode? 10-11

    Hello, I'm using an iMac 2009 with Mac OS X 10.6.7. I have a USB to Serial cable and I want to connect a hardware I made using a microprocessor Microchip PIC to my mac. I'd like to read values from the serial port and also write values to it. I'm alr

  • Problems with access to serial port using reentrant code 10-11

    Hi, I have a VI that send commands and receive answers from an instrument using de serial port. This VI runs perfectly when used alone. However I'm trying run two instances of that VI simultaneously using reentrant code and I'm facing some problems.

  • How to save a datas from serial port? 10-11

    How to save a datas from serial port?Hi I need some help about rs-232 communication. I want to make a vi witch can do this things: -read a txt file (to simulate a serial port like when the datas are coming) i will get 3 different data in serial port

  • Problem --serial port reading one character at a time 10-11

    Hi Friend, I reading the serial port  one character at a time ,  i specified it in the "serial bytes to read" option in serial port read examples. The problem is ----------i can able to read  the data. but only the first character is reading aga

  • "Example on reading combined signals from a serial port and separating them for display purposes". I am a beginner in Labview and would appreciate if anyone help with that 10-11

    I am working on a wireless vital sign monitor. I have 3 signals; heart rate and temperature. I filter and amplify the signals before converting them into digital form. I then pass them via MAX232 before passing them to RS232 serial cable. I am theref

  • Problem writing to serial port 10-11

    Hi All, I am very new to LabVIEW (just a couple of months). I need to communicate with a serial port of an Advanced Energy RF generator (Ovation) serial port (AE Bus) The manual talks about little endian conversion, CSR and checksum that I just can't

  • Info about read or write a serial port with forms 6.0.5 11-30

    Anybody can give some info. on read or write a serial port using form (Developer 6.0.5). Thanks MM nullOne option you can try is to develop a DLL function to read/write serial port, and then write a ORA_FFI procedure to call the DLL function. Peter N

  • Connection to serial port for communication RFID 10-11

    HI, I have occurred problem in communication to serial port for accessing the RFID through Serial Port COM1 or COM2 . I got garbage values of Card . Please give me the code for accessing serial port and indicter the cadr is detected by RFID and read

  • How to unbundling binary structure coming through the serial port 10-11

    Hi to all I have a board that is transmitting a binary stream. This stream is a structure repeated constantly ... the payload of this structure looks like this I have no problem reading the serial port and disaplying ASCII data but this is not my app

  • Java program to receive byte from serial port 10-11

    hello everyone, i am recently working one a project which require communication between pic16f877 and PC. My pic continuiously measure a voltage and send the result (a byte ranging from 0 to 255) to the rs232 port. One the pc side, my java program ke


    Hi, I am trying to measure FORCE using an electronic BALANCE from the serial port. My measurements are strange! The BALANCE sometimes give ZERO reading! Is it because of the sample rate, baud rate etc? I have attached the readings concerned. Attachme

  • Send DAQ measurement results through serial ports 11-30

    Hi, All I use PCI-6034E for measurement. After DAQ gets data, I send them to another computer through serial port (com1). I write a Virtual C++ program, which calls NI-DAQ library functions to implement DAQ data sampling (multiple channel scan) and s

  • The "VISA Configure Serial Port" VI will only run at 9600 Baud 10-11

    I have written a Serial Port monitor "RS232"  that works for the most part. The problem is that it will not respond to alternate port configuration settings.... For instance: the default RS232 Serial port configuration is: (COM1,9600 baud,

  • Problem in reading data from serial port continuously- application hangs after sometimes 10-11

    I need to read data from two COM port and order of data appearance from COM port is not fixed.  I have used small timeout and reading data in while loop continously . If my application is steady for sometime it gets hangs and afterwards it doesnt rec

  • Problem in using serial port. 10-11

    I am using serial port to get data from a fusion splicer. The number of bytes at the port is 4096 but the read buffer of VISA read is empty. I am reading the same number of bytes. Can any one tell me what is the maximum size of VISA Read buffer? I am

  • Help with reading information coming from a software into LabVIEW through Serial port 10-11

    Hi, I am new to LabVIEW and also an amateur in using RS232 for communication. I have this software that has these icons like speed increase/decrease, elevation up/down, start/stop. Now, when I click these buttons on the software, they perform the app

  • Reading/writing to serial port w/ VISA in Labview 10-11

    I'm writing a Labview program to control and to read data from a Varian vacuum pump controller. It is connected to the serial port in my computer, and I have been trying to open a VISA session to communicate with the instrument. So far, however, the

  • Reading a whole frame from the serial port 10-11

    I have posted before about my attempts to use the serial port ( Anyway, I want to connect an external device through using VISA. It uses a protocol that exchanges frames. My main pr