Unknown process, sending data series to my instruments

I have a couple of test stations that I develop software to test at the moment.  When I'm actually under them, there is no problem with the serial communication.

However, if I let any of test stations on without the software running for an extended period of time, I'll check back often to find that one of my series devices (a 2510-AT Keithley) locked.  For awhile, I thought it was defective devices (strange that both had the same problem), until I found that if I left the serial cable unplugged it will break lock.

I borrowed a tap from a colleague data (the version 9 pins on this) and attached a laptop for the link over the weekend, using PuTTY to monitor communications.  I'd keep a log of what it has, and I enclose below.  The first 3 lines have been sending me * IDN? queries to verify that the data tap and others were working.  I edited on the serial number, just in case, but the rest is the RAW file.  Does anyone have an idea, which could send the rest of the data?  It doesn't seem to make much sense, but there are lots of channels repeated in there, is probably not the right line random noise or something.  The two stations were using the built-in COM1 port of the PC.

One of test stations I have an Agilent E3646A power connected to the station with a USB-to-serial adapter and a null modem cable.  Sometimes she page and throw up a ton of errors, which are all 'error 511', which the manual says is a framing error RS232.  I put the data on this line valve and sent a few * IDN?  orders with reset and commands activate the remote to check that it worked and concluded that some other process was sending * IDN? queries as well, they just don't have not been correctly formatted (they seem to not properly finish more have some end ASCII gibberish) for the device, so it threw errors.  I've also attached the log of this Putty session.

I tried to use the technique in this article to find which process accessed the port, but it seems that no matter what either method uses it don't leave it open long enough for me to find.

I am using Windows 7 64 bit at the time of these PCs, so that means Portmon doesn't work, and I can't find another utility that works in the same way.  Does anyone know of one?

Anyone know if there is a process OR who could send these signals?  There are only a few of them running in the background.  I have 4 other devices on the first station and 6 on the second station with their own drivers as well, so I can't exclude the software of others.

I really really to want to have to write the manuals of equipment for these stations and include phrases such as "power Cycle the device each morning to reset" or "Disconnect the serial cable when done for the night" or "ignore the power of Agilent errors."

I can guess what happens. at least with the Agilient.

you have failed to use an external hub with its own power supply and you neglected to put a serious surge protection on main power from the PC.  Pretty undesirable power pri is out to actually make windows think that the USB - serial adapter is pluged back in and some device (Agilient IO libraries?) Manager did a scan for USB TMC devices when the connection is "restored".

Simillarly the PC power supply affects the COM port.  Kiethleys are known to have reported a clear feature "DCL" when they receive malformed commands of the noise.

NEITHER track will eliminate any VISA request and confirm the electrical noise

Recommendations:

  • Get a surge / UPS on this machine to guard against junk food to the line managers from air and other large expenses cleanroom.
  • Get bundles of cables with ferrites on them for the serial data lines.

Alternate:

  • Get a membership to a hair club - you'll get a lot of hair out

Tags: NI Software

Similar Questions

  • you want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. A

    I want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. After that, I want to arduino to send out necessary via a serial port to labVIEW which should be read using visa read and store in a chain. While I am able to write or read both individually, I can't do it consecutively. I used advanced read and write vi for checking my code, but nothing is helping. The wrong bed 'time delay before execution. " Please let me know where I can go wrong. Also is it possible to write code for hx711 using labVIEW

    1. you need not "\n" on your orders println().  This command adds an end of line character already in the message.

    2. you get the error because you have a loop around your reading.  After the first reading (well technically, the second because of you add an extra line end character), there is nothing left in the port.  As a result, you will get the timeout.

    3. you should really consider using a Structure of the event.  This way you just don't write and read when you press the Write button and you can also use the structure of the event to make the loop to stop.  I also go up to close the port inside the stop-> value Change event.

  • DAQ USB 6363 - generate digital data series through the single DIO line

    Hello

    I'm new with Labview, currently, I bought NI DAQ USB 6363 for generating control signals and signals analog accquire. I would like to send digital data series through one of the digital IOs with throughput of 30 kbps. Please see the attachment for the data frame. Could someone comment the feasibility of this? Y at - it codes for the example that I can refer to? Most of the examples I've looked at so far deals to generate several line instead of 1 single line. How can I achieve this?

    Thank you

    Diem

    Hey diem.

    After looking on your code, I understand what you were trying to do. Here's how I'd do. Usually we do not write code to clients, but you peaked my curiosity of! I hope this helps. Good luck!

    ~ kgarrett

  • missing data series for port operation in

    Hello.

    My unit is transfer 51 asynchronous data bytes in frames (each image to 80ms) on six different channels (ch1, ch2, ch3, ch4 rate 19200 baud and other two ch5, ch6 baud rate 115200) and these data series of six diff is received by my system and it should be checked for any error byte... (as I'm new to labview I programmed a long vi) in which use visa read and process the received data. But now, my real problem starts... until some time that my system will be receive data without no loss but aftr some time (say 15 minutes approximately) data loss starts from the track being baud rate of 115 200 and later other channels begin to do the same... But my system is supposed to run for 4hours for a trial of endurance of a plane... If the data loss is very less in number its OK but 3 of 4 frames then starts missing... it's like losing 75% of data... I enclose a wink of my code... It's just for a single port (in a while loop) I took... Imagine I; did the same thing to rest the port in a single while loop... Please guide me where ive that has gone wrong, or is this something to with time delay... pls help me

    the thing is always my application system needs will grow more, so I have to rectify this himself in the beginning


  • HOW TO READ DATA SERIES WITH SYNCHRONIZATION

    I have a question about my application for the acquisition of data in series. In my application, I use visa read to acquire data series sent by an inertial measurement unit. When I first put the sensor, it sends data in the following one time format:

    1:0 x 8011 header followed 1 data word for Adler, 1 data word (each 16-bit word data).

    and the sensor then starts sending the data in the following format:

    2:0x7FFF header followed 1 data word for checksum, 9 data word (each 16-bit word data).

    (Note: checksum is defined as a 2s - complement of the sum of 16 bits of the rest of the entire message)

    In my application, to simplify the problem, I use a wait function to ensure that the initial data header 1 tag is sent. Then I start reading using VISA Read 20 bytes (header 2 more words of associated data are 20 bytes), as I'm mainly interested in the data header 2 tag words.

    However, when I do this, the data that I get do not begin by 7FFF character and, accordingly, my 20-byte data cannot be parsed correctly. My question is how can I do the "VISA read" block read the serial port when data are preceded by '7FFF '.  Once I have solve this part, my strategy will be assembled data read 20 bytes (including the header of 4 bytes) and analyzed accordingly.

    Another question, I wonder if you can tell me how to use the given checksum it is defined as "a s 2 - complement of the sum of 16 bits of the rest of the entire message". Note the data that contains the header 1 tag is 1 post.

    I would appreciate if you have responded to my request.

    Thank you!

    Serdar


  • Sends data from LaunchPad MSP430G2553 Labview

    Hi all

    So, I have a MSP430G2553 LaunchPad and I want to be able to send data to Labview via USB to UARTusing.

    What I do in the MSP430G2553?

    Well, I wrote code that whenever I press a button on the LaunchPad it I send hollow text USB using UART. Using a program on my PC that monitors my serial port, I can confirm that, whenever I press the button, the text comes to the PC. I was also able to send commands to the monitor (it has a 'send the command' field) to the MSP430. If the connection works fine, between LaunchPad and PC.

    What I did in Labview?

    On the piece attached "" Labview_MSP430. "» JPG"you can see my code. Whenever I click on the "VISA resource name" there is no COM. It is said that "Refresh", and even when I click on it nothing happens. As you can see in the file "Device_Manager.JPG" PC can see my device in COM3 MSP430.

    So my question is, what should I do for Labview can see my device COM3/MSP430G3553? And then, my correct code so that it can read the port series?

    What is important is that the com port is visible in MAX (Measurement and Automation Explorer) and for the port is visible, you must install the driver NI-VISA.

    In your code, you must also add the VISA configure the Serial Port. Replace the VISA open with her. Inside the loop, you should not use VISA bytes to the Serial Port. The msp code must be set up to add a newline of endpoints (i.e.) and simply set the number of VISAS read of bytes to an arbitrarily high number. Playback will be automatically terminated when the character is detected.

  • Create a batch to send data to an Access database

    Is it possible to create a batch process that sends data to an Access database-specific form?

    The forms are received by e-mail and have been extended so that users with Adobe Reader software can fill them.  The batch would be processed on my computer.  I have Adobe Acrobat Professional 9.

    I'm trying to FND out how best to collect data from these forms.  If you have any other suggestions, please let me know.  The forms that are submitted are coming from all of our vendors and some of our installers - just to give you an idea of the forms how this could be, we have more than 150 vendors.

    You can provide any assistance would be greatly appreciated.

    You can add multiple files to the window of fusion...

  • Problems sending data between the computer and the emulator.

    I can't send anything to the Calculator Emulator. Does not appear in the Send button calculator. In the emulator, it seems that send key as soon as I connect with the calculator and can send data to it. There is command of testicles that EU can do to make sure that a machine works, for example, the USB driver?

    In fact, including updates, firmware:

    application version: 20140702v6031

    operating system version: V 0.032.6030

    version of the program: 201472 (6031)

    most: the calculator, I received yesterday, day 1. and I doesn't seem to work well. There is a channel for guaranteed support, you can contact?

    Recognizing

    Davi

    Friends:

    Thank you very much. The problem has been resolved. As soon as I saw the kit, 3 updates were made and the machine works normally.

    Thank you

    Davi

  • sending data and reading

    Well guys, I have a problem sending data here.

    When I did which is left in a loop, it works!

    But when I did what is the Chief while loop, I received a large number of values of fools.

    Could someone help me on this?

    The second loop, I had only a few simple calculations for the example. So don't you worry with math or anything so.

    In the logic... the good is that I receive the correct value in table annexed bouth. The only thing that will change is 3 last numbers!

    If anyane can help me on this, I'll be happy!

    EduU wrote:

    Well guys, I have a problem sending data here.

    When I did which is left in a loop, it works!

    But when I did what is the Chief while loop, I received a large number of values of fools.

    This is because you have a status of critical competition due to your use of local variables. In the second loop, the instance of the local variable is read before you actually wrote the new value of the indicator. You can browse this thread.

  • convert data series to a string column

    Hello

    I'm trying to convert a string of data series "110111001001110011011110011..." in a string of column:

    1

    1

    0

    1

    1

    1

    ...

    Any help will be greatly appreciated.

    Thank you

    hiNi.

    Something like that?

  • ActiveX in BradySoft (CodeSoft) - what method/class/object I would use to send data to the form variable to BradySoft?

    Can what method/class/object I use to send data to the form variable to BradySoft? I have a basic configuration of BradySoft label and I want to send it data of variable shape (a serial number) from Labview ActiveX. I joined guide Brady ActiveX programmers, but can't understand what to use for that.

    P.S. I would call Brady or TekLynx tech support on this issue, but they have a strict policy while BradySoft supports ActiveX, but does not provide technical support assistance programming with it. I thought I would try the Forums OR.

    Just an update. I could get this to work myself after a few days of playing with it (I suppose that the best way to learn!). I have attached a sample VI for anyone interested. Can we Kudo ourselves?

  • How to send data from the client to the server using tcp

    1. as I am new to watch I need help with sending data from client to server. I went through various examples of labview, but each of them also explains transfer of data to the client server. But I need help regardng send data from the server to the client.

    2.i would use the data type variant for sending my data.

    Can someone help me please. Thank you

    Regardless of the meaning. Once you have a connection each end allows it to send data to another. Just create what you want to look like interaction.

    Do you want the client sends a command that request data?
    How do you think the response data to look like?

    You can send variants, but probably not worth the effort.

    Mike...

  • Error message States 'A TCP/IP error occurred while trying to send data to the Server Error 0x800ccc13' when try to open Microsoft Outlook 2000.

    Original title: Office of Microsoft Outlook 2000 does not open.

    Error message States "A TCP/IP error occurred while trying to send data to the Server Error 0x800ccc13 #

    Hi John,.

    1. what operating system is installed on your computer?

    2 How long have you been faced with this problem?

    3. don't you make changes on your computer before this problem?


    Reference:
    Outlook 2000 Solution Center

    Please post back and we do know.

  • "Unable to send data to the printer.

    I have a HP deskjet F4440 printer.  He has always fought linking to our Mac.  We restart the printer or the computer often to do print, but after doing one or the other it would work normally.  But now it doesn't connect at all.

    I uninstalled and reinstalled the printer.  I downloaded and installed the software from the apple support Hewlett-Packard printer.  I restarted my computer, uninstalled and reinstalled my printer.  It presents itself as "in use" but says "Unable to send data to the printer" when I try to send a simple text of pages for print test.  When I try to scan it shows that the scanner is connected, initially said "waiting for scanner", then 'scanner is not available' stops.

    Do you have any suggestions?  Thank you!!!

    Hi mandi820,

    Welcome to the HP Forums! I see that your HP deskjet F4440 printer has difficulty to connect to your Mac. I'm happy to help you with this problem of connection! I have a few questions for you:

    Hope to hear from you and have a great day!

  • This device cannot start. (Code 10) Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available.

    Map #2 Microsoft Tun Miniport
    This device cannot start. (Code 10)  Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available.
    ???

    Hi AnaSk,

    (1) since when are you facing this problem?

    (2) remember to make changes?

    The Code 10 error applies mainly to the problems of hardware driver and devices or compatibility problems between the drivers of equipment and additional software that is installed in Windows.

    Download and install the latest drivers from the computer's network adapter or the website of the manufacturer of the device.

    See the article below

    Description of errors related to the 10 Code that generates the Device Manager in Windows on computers
    http://support.Microsoft.com/kb/943104

Maybe you are looking for