I have a particle counter from which I would like to extract data thr

ough RS232 interface. When I wrote the VI and executed it the buffer always showed 0 bytes to read consequently nothing was read though data was available. The cable is good beacuse I was able to use it with the manufacturer provided software. Please help.

ough RS232 interface. When I wrote the VI and executed it the buffer always showed 0 bytes to read consequently nothing was read though data was available. The cable is good beacuse I was able to use it with the manufacturer provided software. Please help.Hi Suresh-
The first step in troubleshooting serial problems is to attempt a serial loopback test (basically reading and writing to & from the same serial port) in LabView. Start off with the LabView <-> Serial example that ships with LabView. It is set up for this test. KB article 1M9D8H6Q is a great reference for serial questions and the description of setting up the loopback test. You can search for "Serial Communication Starting Point" or the document ID from www.ni.com/support.
Also, serial instruments are sometimes fickle about timing. Try inserting 1 second delays after configurations, reads, and writes to see if this helps your performance. This does help quite frequently.
If the loopback test works and the timing does not help, check for the ter
mination characters (i.e. the last character of your serial write buffer). Often most instruments expect "\n" or "\r", try adding these to the end of your write buffer.
Hope this helps, good luck -
ben schulte
national instruments

Similar Messages

Maybe you are looking for

  • Change default filename at 'save as' prompt

    Hi, I've been using Acrobat 5 for years and been wanting to switch to the latest and greatest for a while now.  However I notices a severe format change in how Adobe PDF automatically names the files it asks you to save to disk.  In Distiller 5, it w

  • Owa_cookie login username cookie lost after logout

    I have a problem with owa_cookie. It seems very simple. When I am logged in, username appears automatically in screen, but after I have logged out, username is not retrieved. It seems that the cookie is not saved, as I do not find a trace of it in th

  • Inbound ORDERS05, Ship-to party PO number

    Hello, we're trying to include the ship-to party's PO number in segment E1EDP02, qualifier 044 in an inbound ORDERS05 IDoc. However the data doesn't appear in the sales order. If we do the same on the header level and use E1EDK02, 044 instead it work

  • Why can't i access my app store on my iPod?

    Why can't i access my app store on my ipod 4th generation? I click on it and it won't let me access my app, itunes, or any app like social media apps with internet, but I can still access my games that have internet. It confuses me and i dont know wh

  • Can't select entire image

    Both myself and my coworkers have encountred this problem using both Acrobat 8 & 9 pro. Using the Object Touchup Tool we right click on an image and choose Edit Image but image is broken up into multiple bands. Samething when trying to select an imag