VISA troublesho​oting with puTTY

I am attempting to talk to a device through USB but it acts as a COM port/ serial connection through a driver.
I am writing commands to the device, and the the bytes in port vi shows that bytes are being written to the device, yet the device does not respond at all.
I can easily operate the device through putty though.  I know the device works as I have confirmed it through an oscilloscope.  What else should I troubleshoot?  Or, are there other easier ways to write/read to a serial port other than VISA
I've attached a standard writing VI I have also tried with no luck.  Should I try to continue to use VISA, or can I emulate puTTY on labVIEW?
Solved!
Go to Solution.
Attachments:
basic_serial_write_and_read.vi ‏23 KB
Write_test2vi.jpg ‏198 KB

What termination characters are you using with putty? CR, LF, both? You have to send the same with VISA.
I'm not sure why you would attach an example that comes with LabVIEW. If you would read any of the hundreds of posts on this subject, you would know the example's string control is set for '\' Codes Display. Use \r and \n as needed.

Similar Messages

  • Troublesho​oting with Verizon Blackberry

    I am sorry if this is in the wrong section. I just got a blackberry that is for verizon from a friend. it does NOT have a sim card. im not sure what kind of blackberry it is yet, because i havent gotten it yet. i currently have verizon and have a regular flip phone. i want to use this blackberry but not for internet, i want to switch from my phone to this blackberry and i know you can do it without going to a verizon store (because i do not want to pay for a data package every month). can i buy a simcard online and switch the numbers so my service goes to my blackberry? please help.
    so basically i want to use this blackberry but do not want to pay for internet. thanks guys. you can move this thread if its not in the right place. sorry!

    If you are on Verizon, you will not use the sim card.  The sim card is provided for roaming purposes only. 
    With Verizon you cannot activate a BB on the network without being charged for the data plan.  Sorry. 
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • I have OS 10.8.2 and use wireless at home just fine. When I visit a friend with only a cable modem internet my Mac Book Pro will not connect. What do I need to do?

    I have OS 10.8.2 and use wireless at home just fine.
    When I visit a friend with only a cable modem internet my Mac Book Pro will not connect.
    I see that the Mac Book Pro is picking up the internet when I check the internet preference section but it will not open Safari.
    What do I need to do connect via a cable modem?

    You need to power off the modem for 15-30 seconds, then power back up and then connect. The modem is remembering the last connection (your friend).

  • What versions of NI-VISA are compatible with CVI 7.1.1

    I am stuck using CVI version 7.1.1 due to a customer requirement and need to use VISA functions in a new application. I do not have access to the original driver disk so I don't know exactly which version of VISA to use with this version of CVI.
    I was under the assumption that I could download the latest version (4.6.2) and it would be backwards compatible but it does not work for me on two different PCs. In both cases, I get a general protection fault if I try to execute an application that uses any of the VISA functions. Both PCs use Windows XP.
    So I need to know which version of VISA is compatible with Win XP and CVI 7.1.1 and will not give me a GPF.
    To further complicate things, I also need to know which versions of NI-FGEN, NI-RFSG, NI-HSDIO, and NI-DAQ will work with my setup. I am using PXI-5404, PXI-5651, and PXI-6562 hardware.
    Martin Fredrickson
    Test Engineer
    Northrop Grumman
    Advanced Systems and Products
    San Diego, CA 92128

    The attached screen shot shows the GPF error message I am getting.
    I have tested this application on three separate machines with the exact same result. One of them has VISA 4.5 installed, the others 4.6. All of them have CVI 7.1.1 and TestStand 3.1
    I get the error if I try to run this application and it has ANY VISA function in it. As soon as I remove them, it runs OK.
    All I am trying to do is use the VISA functions to access an RS-232 port. I have done this before without running into any kind of problems.
    I need a solution to this problem.
    For what it is worth, the calls I am making so far are (if I include any of them and try to run, it gives a GPF):
     status = viOpenDefaultRM (&rsrcMgr); 
     status = viOpen (rsrcMgr, comPortDescriptor, VI_NULL, VI_NULL, &comPort);
     status = viSetAttribute (comPort, VI_ATTR_WR_BUF_OPER_MODE, VI_FLUSH_ON_ACCESS);
     status = viSetAttribute (comPort, VI_ATTR_RD_BUF_OPER_MODE, VI_FLUSH_ON_ACCESS);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_BAUD, baudRate);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_DATA_BITS, dataBits);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_PARITY, parity);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_STOP_BITS, stopBits);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_FLOW_CNTRL, flowControl);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_DISCARD_NULL, VI_FALSE);
     status = viSetAttribute (comPort, VI_ATTR_ASRL_END_IN, VI_ASRL_END_NONE); 
     status = viSetAttribute (comPort, VI_ATTR_ASRL_END_OUT, VI_ASRL_END_NONE);
    Martin Fredrickson
    Test Engineer
    Northrop Grumman
    Advanced Systems and Products
    San Diego, CA 92128
    Attachments:
    gpf_with_visa_calls.PNG ‏6 KB

  • Not able to connect Azure Linux Virtual Machine with Putty

    Hi,
    I am not bale to connect Azure Linux Virtual Machine with Putty... Error shows "Network error: connection timed out".
    Please help.
    Thanks,
    Techsol
    Thanks, Kk

    Hi TechSol01,
    Thanks for posting here.
    I suggest you to try the below steps
    On a computer running a Windows operating system, you might want to use an SSH client such as PuTTY. For more information, see the
    PuTTY Download Page.
    On a computer running a Linux operating system, you might want to use an SSH client such as OpenSSH. For more information, see
    OpenSSH.
    If it is the endpoint configuration, you can go to the portal and add port 22, (it should already be there by default). 
    Now if it is locked out of the VM because of the firewall on the VM, which is called iptables , You won't be able to connect to the VM,
    If you haven’t configured the port 22. You may have to follow the below steps :
    A = Original VM (Inaccessible VM)
    B = New VM (New Temp VM)
    1)  Stop VM  A via the Azure management portal
    2) Delete VM A BUT select “keep the attached disks”
    3) Once the lease is cleared, attach the Data Disk from A to VM B via the Azure Portal, Virtual Machines, Select “B”, Attach Disk
    4) On VM “B” eventually the disk will attach and you can then mount it.
    5) Locate the drive name to mount, on VM “B” look in relevant log file note each linux is slightly different.
    grep SCSI /var/log/kern.log (ubuntu)
    grep SCSI /var/log/messages (centos, suse, oracle)
    6) Mount the attached disk onto mountpoint /tempmount
    df -h
    mkdir /tempmount
    mount /dev/sdc1 /tempmount
    df –h
    7) Now you should be able to clear the rules set from the configuration file of the firewall, by accessing it
    through /tempmount
    Let me know if this works
    Girish Prajwal

  • I have to login every time I visit my yahoo with Firfox since I installed V5.0. Before it used to remember my login credentials. No problem with Win Explorere .

    Even checking the box "remember me" forces me to enter my email address every time I visit my Yahoo with a newly opened Firefox.

    Hello Chris,
    I recommend you remove your email address from your question. This forum is on the public web so there is a chance that spammers, who regularly crawl public websites in an attempt to find email addresses, will find your email address. You will end up getting a lot of spam emails.
    Regarding your problem with themes - please see the following two support articles for help:
    https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems
    http://kb.mozillazine.org/Preferences_not_saved
    I hope that helps. Please let us know if not. :)

  • Big Troublesho​oting List with S10-3t

    In order of importance:
    -Big Beeping Noise at random. Sort of like two electronic heartbeats, just with less bass and somewhat more treble. Machine was plugged in at the time.
    -Sound changes no longer displays. I can press Fn left or right to change sound intensity, but it no longer displays.
    -Trackpad is somewhat broken. It still technically works, but there's a loud click every time I put pressure on the left button, which doesn't necessarily result in a button press.

    beep sound is saying that you're having serious issue with your computer, probably mainboard, ram.
    i suggest you to contact lenovo support line.

  • Troublesho​oting issues using the BlackBerry Virtual Expert

    Posted originally on the Inside BlackBerry Help Blog
    Does your BlackBerry need a health assessment? Are you considering a repair? If so, check out the BlackBerry Virtual Expert (BBVE), a simple, self-guided diagnostic app for BlackBerry smartphones.
    Depending on what type of smartphone you are using, you can run tests to help identify if an issue is occurring and get recommendations on how to solve the problem.
    To help you get started with BBVE, here’s a quick overview of how to use this app and what to do if a tests fails.
    How to use the BlackBerry Virtual Expert
    If you are using BlackBerry 10 OS version 10.2.1, BlackBerry Virtual Expert is built in and can be found by opening the Help app followed by tapping Testing along the bottom toolbar. Within this screen, tap Try this now to open BBVE.
    For smartphones running BlackBerry OS version 10.2 or earlier, or BlackBerry OS version 7.1 and earlier, to use BBVE you need to install it first.
    To do this, open BlackBerry World on your smartphone and search for “BlackBerry Virtual Expert,” or use the following steps to scan a barcode. After installation is complete, look for the BBVE icon that appears on your home screen.
    Open BlackBerry World.
    Complete one of the following:
    If your smartphone is running BlackBerry 10 OS, swipe down from the top of the screen and tapScan Barcode.
    If your smartphone is running BlackBerry OS version 7.1 or earlier, press the Menu key followed by Scan a Barcode.
    Scan the following barcode and tap Download.
    After opening the BBVE, the Health tab appears by default which allows you to identify basic details about your smartphone and quickly access specific settings.
    If you select Tests along the bottom toolbar, you can run all of the available tests at once or test a specific feature. To test everything at once, tap All Tests or select a specific feature or function you’d like to test.
    If you have concerns about your headphone jack for example, select Audio Test to run a variety of audio-related tests, or optionally select Choose A Test followed by tapping on the specific test you’d like to run.
    When you start testing a feature, follow the instructions displayed on your smartphone and complete the required actions followed by recording a result: Pass , Skip , or Fail . When all of the selected tests are completed you are shown your results indicating what passed, what tests were skipped, and of course, any tests that may have failed.
    One of the BBVE tests failed! Help!
    Should a test fail while using BBVE, after reviewing the suggestions on the Results tab, here are a few things you can do to help get an issue resolved efficiently.
    Step 1 – Summarize the issue
    Creating a summary of the issue you are encountering and recording what troubleshooting steps you have already taken is a great step that helps our support teams better assist you. In addition to creating a summary, obtain your BlackBerry smartphone details using the steps below.
    If you are using a BlackBerry 10 smartphone, to identify your OS version, tap Settings > About and in theCategory drop-down list, select OS. To identify your PIN, tap Settings > About and in the Category drop-down list, select Hardware.
    If you are using a BlackBerry OS smartphone, check out this post for help identifying this information.
    Step 2 – Back up your device
    When you contact support for a potential repair issue, they will guide you through this process, so doing this before you contact support can help speed things along.
    If you are using a BlackBerry 10 smartphone, download and install BlackBerry Link for PC or Mac so you can back up your smartphone. For help backing up and restoring your smartphone data, please review the BlackBerry Link User Guide for PC or Mac.
    If you are using a BlackBerry OS device, download BlackBerry Desktop Software to back up your smartphone. For help backing up and restoring your data, review the BlackBerry Desktop Software user guide (PC, Mac).
    Step 3 – Use self-service support options
    Join the BlackBerry Support Community Forums and create a new post about your issue. Be sure to include the summary you created in step 1 because this allows community members to suggest alternative steps that may help resolve the issue you are encountering.
    Review and search the BlackBerry Knowledge Base for a support article that may provide a solution to the issue you are encountering.
    Step 4 – Contact your service provider or visit a BlackBerry Expert Center
    If you are still unable to resolve the issue, consider contacting your service provider or BlackBerry Expert Center for additional assistance. As mentioned earlier, having your smartphone details and a summary of troubleshooting performed will help out whoever is assisting you with the issue.
    For help contacting your service provider, search using your favorite browser for your service provider’s support website.
    Depending on where you are located, you may have the option of visiting a BlackBerry Expert Center. For help finding a BlackBerry Expert Center near you, check out the following link: Find help at a BlackBerry Expert Center.
    Frequently asked questions
    Why does BlackBerry Virtual Expert need permission X, Y & Z?
    For BBVE to perform specific tests, select permissions must be enabled the first time you open BBVE. You can optionally disable some or all permissions but keep in mind any tests requiring disabled permissions will not work. If you run a test that requires a specific permission such as the ability to use the camera, you will receive a notification to update your permission settings.
    What tests does BBVE include?
    Depending on which type of BlackBerry model you are using, available tests include:
    Touch Screen
    Display
    USB Port
    Main Keypad
    Keyboard
    Side keys
    Slider
    Cameras
    Camera Flash
    Receiver Speaker
    Loudspeaker
    Stereo Loudspeaker
    Stereo Headset
    Microphone
    Vibrator Bluetooth
    Status LED
    Gyroscope
    Accelerometer
    Orientation Sensors
    HDMI Connector
    USB Connector
    SIM Card Connector
    SD Card Connector
    Wireless Charger
    GPS hardware
    Light Sensor
    Proximity Sensor
    Wi-Fi
    Where can I learn more about BlackBerry Virtual Expert?
    If you are using a BlackBerry 10 smartphone, check out our web-based training for an interactive overview of how to use this application or use the Help app on your smartphone and search for “BlackBerry Virtual Expert.”
    Did someone help you? Click Like! Did a post solve your issue? Click Accept as Solution!
    Follow me on Twitter or Google+ and subscribe to the Inside BlackBerry Help Blog

    this should be floated aka stickied
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Using VISA Resource control with Windows 7 64-bit

    Hi.
    My company recently upgraded our laptops, and I'm now working on Windows 7 64-bit rather than Windows XP 32-bit.  I reinstalled LabVIEW 2009 Base Package, trusting that the Windows 7 64-bit OS would be able to handle LabVIEW 2009 32-bit without problems.  But when trying to run our test system, the VISA Resource control doesn't work.
    We use it to get a list of the available COM (RS232) ports on the computer.  But now the list comes up blank.  The only option that comes up in the list, is the text "Refresh".  But nothing happens when I press it.  Is this a bug in LabVIEW?  I've installed the latest patch I found, so now I'm running LabVIEW v9.0f3 (32-bit).
    Thanks alot for any and all assistance!
    Solved!
    Go to Solution.

    Sorry for not replying to you earlier.  I've been busy on other projects.
    I'm not sure what you refer to with MAX, but I'm able to access the com ports using other tools/loggers.  So it's not an issue with Windows 7 itself.  But it seems logical that the problem would have something to do with running 32-bit drivers on a 64-bit OS.  Referring to this list from NI (http://digital.ni.com/public.nsf/allkb/71E9408E6DEAD76C8625760B006B6F98), I'm downloading the 64-bit installer now.
    But if I understand it correctly, you cannot run applications from a 64-bit Application Builder on a 32-bit OS.  So basically you need the Application Builder installed on both a 32-bit and 64-bit OS to have all bases covered.  But in the FAQ, it's asked if it's possible to have both 32-bit and 64-bit LabVIEW 2009 installed on the same 64-bit OS.  Why would this be wanted?  If you cannot use the 32-bit Application Builder, and you cannot trust that the 32-bit LabVIEW runs successfully (i.e. driver issues etc.), why would you want to have a 32-bit installation on a 64-bit OS?

  • Ways to configure VISA properties associated with the EOS character in LabVIEW

    I am having a great deal of trouble reading consistently from an instrument (HP5328A Universal Counter) and am investigating the EOS character. In ibic, there are 6 properties of interest accessed through the ibconfig command. The following are the properties and their default settings:
    Board level
    - IbcEOSchar EOS character is 0 (zero)
    - IbcEOSrd EOS is ignored during read operations
    - IbcEOSwrt EOI not asserted when EOS sent
    Device level
    - IbcEOSchar EOS character is 0x0A (set in ibdev)
    - IbcEOSrd EOS ignored during read operations
    - IbcEOSwrt EOS not asserted when EOS sent
    I would like to be able to programmatically set these at the beginning of my LabVIEW
    program. The only relevant VISA properties in the INSTR or GPIB BoardInterface classes I can find are:
    - Send End Enable
    - Suppress End Enable
    - Termination Character
    - Termination Character Enable
    The defaults in my LabVIEW program for both VISA classes mentioned are: Send End Enable is true; Suppress End Enable is false; Termination Character is \10 (Line Feed); and Termination Character Enable is false.
    The only property I change is setting the Termination Character Enable to true for both classes. Is there anything else I can do with properties associated with the EOS char? Is there a property like the IbcEOSwrt that may have a part in generating a service request?
    Just to confirm, the last two bytes of the instrument's ouput are \CR and \LF. I am using \LF as the EOS. Is this correct or should I be incorporating the \CR in the EOS somehow?
    ANY input is appreciated,
    Chris

    Chris:
    VISA "Termination Character" = NI-488 "IbcEOSchar"
    VISA "Termination Character Enable" = NI-488 "IbcEOSrd"
    VISA "Instr" or "GPIB Instr" = NI-488 "Device level"
    VISA "GPIB BoardInterface" = NI-488 "Board level"
    VISA cannot automatically add the termchar to the end of the written data (like IbcEOSwrt).
    Unless you specifically need to do board-level communication, which is considered advanced, I suggest ignoring that, and sticking to the device-level calls.
    If the instrument's ASCII data responses always end in \LF, then yes, just using \LF as the termchar is the correct thing. In fact, with most 488.2 devices you don't need to worry about the termchar, because the final byte of a response also contains EOI. EOI causes the driver to s
    top reading from the instrument because it knows that is the end of the response.
    You say you're having trouble, but you don't say what the symptom is. Is the read timing out? You might also want to use NI Spy to get a snapshot of what is going wrong.
    I hope this helps some.
    Dan Mondrik
    Senior Software Engineer, NI-VISA
    National Instruments

  • Problems bundling visa run time with installer

    I am trying to build an installer for an application that makes VISA read/writes through a serial port.  I have tried to create an installer for this application but I keep getting a cryptic error that then terminates LV.  I am experiencing the same problem as described in this thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=228510&query.id=494979#M228510
    I am developing with LV8.2 on XP SP2.  I would like to bundle the VISA Run Time so that I can communicate via VISA R/Ws.  After reading the above mentioned thread it didn't seem like there was ever a real resolution to the problem.  I am bundling the VISA Run Time engine just fine with other projects and I have deleted and started over several times with the installer inside this project, but I keep getting the same error, see attached document. 
    So are there any ideas short of me having to reinstall LV or VISA? 
    Thanks in advance!
    Dave
    Attachments:
    LV Error.doc ‏32 KB

    Thanks for the reply.
    I would agree that the project is corrupted.  I think I proved to myself that this was the case when I created a new project and magically everything worked just fine.  The project was created under the exact same release of LV by the same PC so I am just trying to understand why the project was corrupted while trying to build the installer. 
    I guess I have my solution now I'm into the deep dark hole of trying to understand why the error occured.  I know once I go down this path there is no returning.......
    Thanks!

  • Example VIs for winsock with LabVIEW 7.0

    Are there any example VIs for TCP communications with winsock using LabVIEW 7.0?

    I would like to join the request - I would like to know how to use WinSock from within LabVIEW to use a modem to dial a number and connect to another PC with a modem. An extra complicaiton is the fact that I need to be able to vary the number (to access numerous data acquisition stations).
    Message Edited by alysko on 03-08-2006 03:57 PM
    Message Edited by alysko on 03-08-2006 03:58 PM

  • Why use Visa Vi's with GPIB? What are the advantages verses disadvantages if any?

    I have read most of the GPIB and Visa documentation in Labview Help.

    There is a great site at http://www.ni.com/visa/why.htm that discusses in detail why programming with VISA would be beneficial.
    In short, though, using VISA would allow you to communicate with your instruments regardless of the physical median: GPIB, Serial, VXI, PXI, etc. VISA is an industry standard with the goal of making software interoperable, reusable, and able to stand the test of time.

  • Installing VISA run-time with distribution

    Is there a way to seamlessly (transparent to the end-user) integrate the VISA run-time engine installation into an installation of a Labview app created with App Builder?
    I am trying to avoid the user having to run two different install programs (the app install and the VISA install).
    I am doing some serial port communications, using the VISA VI's in my app. Also, does VISA need to be configured beforehand, or can I just load a customized 'visaconf.ini' file with the serial ports aliases?
    Thanks.

    Hi,
    There isn't a way to automatically include the VISA installer on the LabVIEW app installer. You can use some batch files to make the LabVIEW app installer execute other installers.
    The following knowledge base gives some suggestions and points some of the problems you might encounter when using the LabVIEW 6.1 App Builder.
    How Do I Distribute National Instruments Drivers with Applications Built in LabVIEW 6.1?
    Hope this helps
    DiegoF
    National Instruments.

  • Looking for a form in the VIS demo database with lots of data

    Hi all,
    I am looking for a form in the VIS demo database (that ships with Oracle Applications) that contains a lot (1 MB or more) of data. Specifically, when I perform some type of search in the form, I would like more than 1 MB of data to be transferred over the network to the client.
    With Oracle Applications 11i, I was using this form: CRM Resource Manager, Vision Enterprises → Resources
    This was nice because searching for all resources resulted in 4.6 MB of data being sent by the server. However, in Oracle Applications R12, the same query in the same form only sends about 100 KB of data. :-(
    Does anyone know any other forms that have lots of data in them?
    - Kyle

    Thanks for that - I found the form. However, it appears the database table is empty - when I perform a search for all jobs, no records are returned.Nevermind, after some trial and error I found a site that had lots of jobs defined. Thanks for the pointer!
    I'm still running into the same problem I was seeing with the previous form I was using. This is what I'm doing:
    1. Open the form.
    2. Search for all records.
    3. Jump to the very last record.
    In Oracle Applications 11i, this would cause a large amount of data to be transferred over the network (4.6 MB for the previous form I was using and 2.6 MB for this new "Discrete Jobs" form I'm trying). However, the behavior is different in Oracle Applications R12. When I perform the same steps in the same forms, only a fraction of the data is transferred over the network (~100 KB).
    Ideally, I would like a set of steps (and a form) that will produce the same results in both 11i and R12. More realistically, I just need a form (or a new test procedure) in R12 that will spit out more than 1 MB of data.

Maybe you are looking for