Serial communication error VISA with LUDL stage controller

Hello

I'm trying to control a micro-positionnement made by Ludl stage. The model is Ludl MAC2000. It seems that the RS232 comunnication is implemented because I can talk to the controller using HyperTerminal. However, when I want to do the same thing through Labview, I can't answer the controller at all. The vi is roughly the same as the visa basic read/write in the example. Looks like a very similar problem in this post:

http://forums.NI.com/T5/instrument-control-GPIB-serial/visa-serial-communication-problem/m-p/567065#...

But the trick of nature of endpoint does not help in my case: I tried to toggle the termination character setting in the property node and different combinations of '\r', '\n' as termination characters, but nothing has worked so far.

Seems to me there is some difference between the interpretations of the same order to Hyper Terminal in Labview. But I just can't understand what it could be.

Anyone with a similar experience could give me some comments/suggestions? Thank you very much!

Another difference between hyperterminal and labview is the speed of sending characters.

LabVIEW breaks out the whole string to the controller

HyperTerminal is this character by character. So much slower and slow the controller can be affected by this.

You could add a loop around the writing of visa (to make it easy convert the string into a byte array outside of the loop and convert it to a string inside and you have a shipment char by char in LabVIEW

Tags: NI Hardware

Similar Questions

  • Communication of visa with Agilent 35670 A dynamic signal Analyzer

    Hello

    I'm working on a project that is to use a dynamic Agilent 35670 A and LabView 7.1 Spectrum Analyzer. Use the 35670 I downloaded the corresponding and registered in the libarary INSTR 7.0 LAbView instrument driver as should.

    All the downloaded drivers require the instrument to communicate through VISA which is very good.

    Now, I turn on my instrument, open Measurment & Automation explore and search for devices. Research has managed to find the device at the address (12) so I go to my Labview program and add a 'VISA Rescource name' control which should also the device in the menu drop-down list...

    However, all it lists is the GPIB card to the address (0) and another address (26), I don't know where his acquired address (26) since there is no other instrument connected. There is no sign of address (12)...

    Now, I check all my cables and connections and return to Measurment & Automation Explorer and "Analysis of the Instruments" and the message that no instrument is connected...

    I try a few times but to no result so I was wondering is there a problem with the VISA for the Agilent 35670 communication (this could be a matter of Agilent also?)

    Thanks Dennis,

    I have tried a few different things... changed the cables, used another computer with GPIB card, but it doesn't improve anything.

    Then, I tried the connection GPIB-USB-B, which required and update to 2.2 OR-488, and the updated version seems to have solved the problem.

  • Communication of VISA with connected USB GSM modem using a protocol AT

    Hello, I am writing an application that should send sms messages.i have a connected USB GSM modem that supports the PROTOCOL. The modem works by using its own software and the HyperTerminal.I have used VISA driver development Wizard to create the .inf file. The device is now recognized and registered to the MAX. However, I can't understand how to code the commands and read the responses using write VISA and VISA read. Thanks for the help, Dima

    The last thing you should have to do is create an INF with the wizard. Remove completely and the compiled version. What you want to do is to use the inf file supplied with the device which a serial port to the BONE and makes it usable with Hyperterminal. It should appear in MAX as a serial port. Once you have restored all the way it is, then you can start with the examples of series and writing to it should work as it did in Hyperterminal. In other words, simply send the chain of command.

  • Serial communication - ignore parity error

    I have a question about how LabVIEW opens a serial port for communication. I communicate with a device that uses a protocol owner. It sets and clears the parity bit to indicate the nature of the response. For example, the orders are sent with the parity bit higher while responses are sent with the weak parity bit (unless the answer is at the end of the transmission, in which case the device sets the parity bit high to indicate).

    My problem is the way that LabVIEW opens the serial port for communication. Using Portmon, that I captured the control indicators, that it sends to Windows to configure serial communication:

    IOCTL_SERIAL_SET_LINE_CONTROL   Serial0 SUCCESS StopBits: 1 Parity: MARK WordLength: 8IOCTL_SERIAL_SET_CHAR  Serial0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13IOCTL_SERIAL_SET_HANDFLOW  Serial0 SUCCESS Shake:1 Replace:44 XonLimit:64 XoffLimit:64
    

    Note the values 'Shake' and 'replace '. In my view, they are originally bytes with parity errors is removed. A separate RS232 Comm Debug tool that I use with success looks like this:

    IOCTL_SERIAL_SET_LINE_CONTROL    Serial0 SUCCESS StopBits: 1 Parity: NONE WordLength: 8IOCTL_SERIAL_SET_CHAR  Serial0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13IOCTL_SERIAL_SET_HANDFLOW  Serial0 SUCCESS Shake:0 Replace:80000000 XonLimit:128 XoffLimit:128
    

    Notice the difference in values. By using this tool, Windows does not packages with parity errors - that's what I want. Is there any way to change how LabVIEW opens the serial communication port to achieve?

    I tried to change the parity, where the ILO is defined differently, but I think that I am running in a race condition; LabVIEW can not run the code and change the mode of fast enough parity before the next byte of data is sent by the device.

    Ravens fan: the parity bit, in the proprietary protocol, that I use, is not used for parity checking. Basically, the protocol uses a 9-bit serial communication. The parity bit must be paid or compensated according to what byte do (if it is a command, if it is the end of transmission, etc.).

    I found an old post on this page which seems to answer my question (my apologies for not completely research before posting... I learn the right use/search phrases that I find more information). I download the 3.4.1 version of VISA now.

  • VISA + Serial Communication - need help!

    Hello world

    I have a lot of help with my project of this forum and I'm looking for more . Thank you for taking the time to help. Please bear with my as I ask a LOT of questions.

    I intend to control a frequency converter using its series terminals and send orders from my PC + LabVIEW it. The commands do the basic functions like, start, stop, speed up/down etc etc. I use a converter Series USB to transfer data.

    Now, I ve played with examples like SERIAL COMMUNICATION VI and others and I begin to understand the functioning of VISA.

    Q1. In order for LabVIEW + VISA contact my frequency converter, do I need to install some sort of a driver for him to recognize? The frequency controller is old ages, even I don't know and I don't think I can find a driver for it any time soon? What kind of driver I'm looking for? Is it possible to customize my own driver and which would be easy?

    accessory included - process.jpg

    I downloaded some pictures about the problems of data format. I need to send information to the converter to format "telegram" as shown in the image below. Each 'function' in the 'format telegram' has varied length in bytes: some have 1 others have 2, other 4...

    I also downloaded an image called "Format.jpg" which indicates what information each of these 'functions' will contain. Note:-the frequency converter uses only the last 4 bits.

    Say for example:

    START function will have this bit of information-

    Start the Byte - ASCII ' 59 "

    Address - 00

    Control character -? I'm not sure what it should be I need to use the converter based on parameter values - is confused on what to choose - C, U, I or r Start, stop, etc. have their own specific parameter values such as 402, 404 RESP, so I guess I want update (U)?

    Word of State control -? depends on the previous action

    Sign - do not necessary

    Data - 0

    Comma - is not necessary

    check the sum - is not necessary

    Stop the Byte - ' > ' (ASCII: 62)

    Phew... How would I go about clubbing this whole format together to send a control signal? Put all this information in a table allow somehow?

    Please help to me... to achieve desperately need...

    Thank you

    Sandeep

    It would be useful that you could find a driver, but it is not absolutely necessary to have a. You can write your own, use the Instrument i/o Assistant, or use VISA readings and some discreet.

    The format of the commands is a bit complicated but not impossible. You just need to be careful to have the exact number of bytes.

    What I don't see in the atttachments, it is possible words to control and the State and the number of parameter. I hope these are in another part of the manual.

    A bytes example (without the control and settings) to update the frequency to 12.34 could be '<00U________+123403??>'.

  • Windows crashes every 10 minutes for abt 30 sec / 2 min with «the pilot detected an error on \Device\Ide\IdePort0 controller»

    History/context: This problem started happening on my Dell Vostro 220, while he was new (May 09), on Windows Vista that it came preloaded with. I figured a SATA controller and a defective Dell replaced both my HD (& SATA cables) and Mobo. But ongoing problem - then Dell suggested to set access drive in AHCI mode in the BIOS. I did and in HD and installed also XP. Problem persisted. XP errors in the journal system came as '\Device\Ide' and '\Device\Hd0' sometimes sometimes. Reference Dell insists that it is a driver problem Windows. Since then, I still formatted hav clean and installed with Windows 7, what I use now. But the problem persisted.

    System:
    Dell Vostro 220 with Intel Core 2 Duo E7400 @ 2.8 Ghz, 4 GB of RAM (3 GB usable), running Windows 7 Professional 32 bit. 1 x DVD Writer TSST Corp TS - H653F ATA hard drive WDC WD2500AAJS - 75M0A0 ATA

    Symptoms:
    On bad days, it happens every 5-10 minutes; other times 30 min. Locks up system / freezes during 30 sec to 2 min during which I am able to move the mouse cursor, but do not click on anything anyone or do anything else. When Frost "thaws" if I check the Logs of error in the system log I still see the "EventID:11" error "Source: atapi ' 'driver has detected an error on \Device\Ide\IdePort0 controller. Sometimes (not always) I also see a spike in the graph of CPU use if I check right after the "thaw", but I was not able to determine what process as I am looking after the fact. Normally, there are 4 SATA Ports on the motherboard. 0.1 were used for HD, DVD. If I unhook the DVD drive altogether and connect the HD SATA cable to the port marked 2, I get the same errors, but "\Device\Ide\IdePort0" becomes "\Device\Ide\IDePort1".

    Other note (s): During the installation of the OS, Dell has a "Intel Matrix Storage" listed as critical on their site, but when I try to install it, it says "no compatible hardware not detected" and install exists.

    Also, interestingly, if I take the HD (in blue) to the total of SATA cable and try to connect SATA cable from the DVD recorder to the orange (originally) between individual ports Mobo and HD, I get a mobo error - flashing 3 light and "beep" as soon as I turn on. It disappears if I go back to blue SATA cable from the Hd for HD

    Hello

    As you have informed us that you are always faced with the question after installing Windows XP and Windows 7.

    I suspect that the problem is somewhere in the material or the SATA ports on the motherboard. I suggest you to contact the manufacturer of your computer for help, because they will be in a better position to help you.

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Get "communication error with kernel" message when you try to run a virus scan program

    Get "communication error with kernel" message when you try to run a virus scan program

    Hello

    What antivirus do you use?

    Follow the steps in the article mentioned below and check if this solves the problem.


    The error message "error communicating with kernel":

    http://KB.eset.com/esetkb/index?page=content&ID=SOLN2280

  • HP Photosmart C4380 [8A36CB] communication error with MacBook OS 10.7.5 more wireless

    Hello

    I get the message 'communication error' when I try to print wireless at a Photosmart C4380 of my MacBook (OS 10.7.5) through a Router 2 GB TimeCapsule.

    The message also says: "/ usr/libexec/cups/backend/dnssd failed ', but I don't know what to do with...

    I tried to de - and re - install, reboot the laptop, printer and router and pull all the plugs in different sequences, first use the USB cable to install wireless and any other help HP... but nothing seems to work (doctor of HP is not available for Mac).

    The weird part is that:

    1. He started a couple of weeks, without having changed anything (to my knowledge),

    2. printing of my iMac works fine (same network, same software, same settings version, etc.)!

    2. printing via the USB port on my MacBook works fine

    3. can I print a test page form "Utility from HP" my MacBook (and of course my iMac but it works very well even when)

    4. I can access the printer through "http://hp8a36cb.local./index.htm?cat=info&page=printerInfo" and there is just no problem not mentioned whether,

    5. the "Configuration Page of HP network' and the 'wireless network Test report' congratulating me for the installation of my printer wireless... but it doesn't work.

    I read almost all messages on communication errors more wireless but that you have not found an answer to my question (yet).

    Is there anyone with a solution? Please?

    Download and install this: http://support.apple.com/kb/DL907

    Restart your Mac.

    Reset the printing system:

    -Go to System Preferences > print & Scan
    -Right (or control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - This will remove ALL your printers!
    -Select the sign more to add a printer. Select the default tab on the top of the window. Search for the printer, select it, and then beside the dropdown 'Use', select the model of the printer (not AirPrint). Wait for the 'Add' button becomes available. Until it clicks.

  • Error offline - we are sorry, but there was a communication error with the server. Please try again and if the problem persists, contact Adobe Techincal Suport...  (INVALID_QUERY: XMLList object)?

    After a number of years of service, my Adobe Premiere CS4 gives me the following error message:

    Error offline - we are sorry, but there was a communication error with the server. Please try again and if the problem persists, contact Adobe Technical Support...  (INVALID_QUERY: XMLList object).

    I use this software on an old Dell desktop computer to two year with many members and drive.  It is a stand-alone application, not connected to a server.

    Anyone have any ideas on how to solve this problem?

    I think it has to do with the central resource is no longer supported.  Everything works OK if you ignore the message?

  • communication error with the server. callback failed for the data entry page

    Hello

    We have recently applied the corrective update EMP on EMP 11.1.2.0 111.2.1.
    We have following the architecture,

    database server: sql server 2005
    Server Foundation (OS = windows server 2008): HSS, EPMA, Manager Calc, EAS, EIS, provider's server, planning
    Essbase Server (OS = windows server 2008): essbase

    After you apply the patching EMP 11.1.2.1, we apply after Electrodes for IE 9 compactibility i.e EMP 11.1.2.1.600 patches

    1. patch 14119724 (Workspace)
    2 14142678 patch (Shared services)
    3 patch 14224664 (EPMA)
    4 patch 14464109 (planning)

    After you apply above patches, all users get error when opening planning web form through the workspace of all client computer.

    "* error communication with the server. callback failed for the data entry page. "




    When restore us only planning patch 14464109 , issue of "communication error with the server. callback failed for the data entry page "get resolved for all users, but failed for a single user IE"user xyz" "

    the user xyz have OS = windows 7 and IE 8
    user xyz can take foundation server RDP can open any form of planning successfully in vain get when doing the basic machine.

    I have following question:
    1. Why do we get error "error communicating with the server. callback failed for the data entry page"after you apply the fixes to IE9

    2. after cancellation all patches or planning one patch, why the user xyz always get the error but not other users


    Thanks in advance

    Published by: 922755 on June 7, 2013 16:08

    It might be useful to have a read of the following doc Oracle Support - "error:"error Communication with the server. " "Callback failed for the data entry page" when you open a Web form of planning with the members of the Type of text [ID 1392689.1].

    And then this question should be resolved en.600

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • vCenter 4.1/ESXi 4.1 material status "Communication error with the server.

    I am slot that a brand new installation of vCenter with two new installs of ESXi 4.1 connected on it. I use on Dell PowerEdge 2950 s ESXi servers. I tired the customized version of Dell and vmware ESXi vanilla version. My host vCenter is Windows 2008 R2.

    In vCenter, the two server ESXi, any version of ESXi, I run, I get "Communication error with the server" error when I click the tab hardware state. No data appears in the hardware status tab.

    Only suggestion of Dell has been updated with firmware/BIOS on the server level. I did and it did not help.

    Anyone has any suggestions or ideas what would cause this?

    I had exactly the same problem what is to have everyone on this thread.  I finally called VMware support.  It is certainly a problem with Tomcat.  Apparently, during my initial installation of tomcat server vCenter (on a Win2k8R2 vanilla Server / unreleased) na not create a database file.  The vCenter Server uninstalled eventuall tech and went through the Setup again.  For some reason any Tomcat created db it's good the second time.  After installation, it takes about 5 minutes for the db should be created.

    On Windows 2k8R2 it is located here: C:\Program Files\VMware\Infrastructure\tomcat\lib\xhiveConfig\data

    The name of the comic is VcCache-by default-0. XhiveDatabase.DB

    My server didn't have one at all.  The relocation has created, at the beginning it is 0KB in size.  After 5 minutes, it grows up to 25, 600KB.

    Everything in my vCenter works now correctly.  I'm on 4.1.320137

    I hope this helps.

    Dave

  • communication error occurred when the power VI

    Hi all

    I have a frustrating situation.  I am trying to run a few screws on a Compact RIO 9073 chassis, and each time I start or stop the VI, I get two pop-up windows: "Communication Error occurred" (spelling is like on the popup) follow-up by ' WARNING: connection to the target in time real (NOR-cRIO9073 blah blah) has been lost.

    If I then go to the project manager, right-click on the cRIO and select Connect, it connects again very well, and the VI is still running.  I then two same popups again when the VI stops.  In the meantime, I can communicate with the VI without any problem.  I tried to reinstall the software on the RIO to the but minimal, OR RIO 3.4.0 it did not help.

    The RIO I NI-VISA and Visa 4.6 LabVIEW time server real 9.0.1 and NOR-RIO 3.4.0.  Same numbers on the computer except that real-time is 9.0.0.

    Any suggestions would be greatly appreciated!

    See you soon,.

    ~ Ben

    : sigh:

    Never mind, I noticed myself when I realized that my RT versions differed.  (Seems that naming scheme would require a little tweaking si.0.1 is quite different for breaking things...).

    Not sure how I managed to get a version more recent of RT on the box as on the pc, but good.

  • That - 1073807252 serial port error code means?

    Hello

    I have a client with a prototype device that uses a USB OR for RS-422 interface connected to a PC.  On the LabVIEW, the following error code application of the serial port is seen:-1073807252

    What does this code mean?  Is there a place where serial port error codes are discussed?

    Thank you.

    Bob

    Right-click on the cluster of error, and then select 'explain the error.

    Alternatively, use the Simple (or general) error handler.

    He tells you: VISA: (Hex 0xBFFF006C) an overrun error occurred during the transfer. A character not read in the material before the arrival of the next character.

    Basically, this means that you do not read the serial port stuff pretty quickly.

  • HP 8720:8720 install windows 'communication error' 10

    Good afternoon

    I want to install a HP 8720 via ethernet. I can see the printer during the installation of the software, but when I choose to go to the page for installing the software, I get a message telling me communication error.  I disabled the firewall of the window and can't seem to get the printer via eprint.

    Good afternoon diameter,.

    Thanks for the quick response.

    What I found is what seems to be a potential bug in the software install. When installing (ethernet connection), the software asks you see your printer - what I'm doing. However when I click on the printer to continue the installation, I get the error message "cannot communicate with the printer. I found that if you close this window and ignore it, you can proceed normally configure the printer with no problems at all.

  • Error-200279 with PCIe-6363

    I currently have a simple vi used to acquire data of tension through the DAQ assistant permanently.

    Currently I'm collecting 2 channels sampled at 200 k continuous (due to random events).

    No matter where I put the samples to read, I have several times: error-200279.

    Some other posts, I assume it's because the DAQmx read function and the function "write on a file" are producing at different speeds, causing a shift of data may be.

    To resolve this problem, should I apply the design of producer/consumer model? And if so, I may receive advice on how to actually that implement with my current vi?

    -Matt

    Hi davd24,

    We always recommend to file i/o functions in a separate loop of read/write functions DAQmx. It resembles what is past in your case, is that the time it takes to write to a file is longer that it takes to fill the device aboard the buffer that throws the error you see. Therefore, I suggest the architecture of the producer consumer. Here is a link to a tutorial:

    http://www.NI.com/white-paper/3023/en/

    Also, here is a link to an example of Community produce consumer with DAQmx features:

    https://decibel.NI.com/content/docs/doc-2431

    If you have any specific followed after looking through these questions let me know.

Maybe you are looking for

  • 'iPhone Messages' icon appearing in the Dock

    I experienced this with Yosemite as well.  Don't remember what level it is resolved, but things were fine until I upgraded to El Capitan.  The 'Message' icon won't stop appearing on the left side of the bar on my Dock.  I did the following on the adv

  • Intel support own Euro drivers WLan-&gt; channels 1-13

    Hello all,. I spent the last few hours to tweak the parameters of the software/hardware to solve a problem of Wi - Fi connectivity. Finally, I came to the conclusion that my misfortunes caused by the interference of neighbouring access where point an

  • Cannot install windows live photo gallery, it says I have to sign as an administrator for the download to work

    Original title: Windows Live Photo Gallery problem I used to have Windows Live Photo Gallery on this computer and it was working fine.  For some reason, he took off.  I tried to download again and get a message that says I have to sign as an administ

  • Adapter DVI / DisplayPort P2714H?

    My Dell computer running Windows 7 and has a NVIDIA Quadro FX1700 with outputs Dual DVI. I bought two monitors Dell P2714H. DVI to DVI, they work great. But I expect to plug in my laptop (a Micro HDMI) on one of the monitors of entry so that all I ha

  • Smartphones blackBerry Email Setup - Option Missing to add existing emails

    Hello I use a Blackberry storm 2 9520 / on O2 Germany. I recently tried to set up an email on my phone (Hotmail) account. -L' e-mail setup wizard shows me however that option: "I want to use a professional email with Blackberry Enterprise Server acco