What are the differences between VISA and the old serial calls in regard to device communication?

Recently, I had to communicate with a piece of equipment, (a Yokogawa UM-330 Green Series Digital indicator). The device was configured to communicate using RS-485 protocol. I purchased a RS-485 to RS-232 converter in order to communicate with the device via COM 1 on my PC. When I attempted communication in Max, using VISA read and write commands, I could not get the device to communicate. I even attempted writing a stand-alone VI to establish communication. Still, no-dice. Finally, I resorted to using the old serial call VIs. This made the device jump up and say hello. What I really would like to know is, has anyone experienced problems like this when
attempting to communicate via seral with other devices using VISA, and if they have, what are the reasons for these problems? Is the problem specific to devices using RS-485? Or is the problem more device-specific?

We have been using serial devices for more than ten years (proprietary acquisition cards and third party devices) using a variety of languages (BASIC, CVI, LabView...). I always found that the main problem are correct configuration of the serial port and cabling: once these items are correct, it's easy to obtain some reply from your devices (maybe not so easy to obtain the CORRECT reply or to interpret it...).
I've used both old style VIs (vith LV 5) and VISA with success on the same devices: still I am a little confused about VISA. Maybe would be better some explanatory document by NI about VISA and serial communication.
Anyway, my approach is at present: don't bother about control panel and/or MAX configuration of the port: open the device and configure i
t as you need at the beginning of your application.
Next use simple VISA Write and VISA Read VIs.
Be sure to set the correct timeout: some devices are extremely long in replying (for example: an Infratek wattmeter takes as long as 45 seconds to send measures if you ask to it an harmonic analysis...!).
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • Whats the difference between VISA and GPIB?

    The reason i am asking this question stems from a problem i am having.
    I am using an MXA N9020A to aquire Burst Power measurements and i'm using labview to automate and issue the commands.  If i connect to the device using VISA (which is how i pretty much have connected to other devices) and i issue a command :INIT:TXP it will start the burst power and then freeze the measurement disallowing me from changing channels to measure other channels' burst power.  If i use the GPIB VI instead it will not do this and I am capable of channel hopping to measure other channel powers.  I really dont have a reason to use VISA other than to keep it uniform with everything else in the application but why is this?

    Hi Brent,
    Thank you for your quick response.  This should not be happening, as the VISA VIs merely make calls to the NI-488.2 DLLs.  Which version of NI-VISA and NI-488.2 are you using?  Could you also attach both of your VIs (the 488.2 one that works and the NI-VISA one that doesn't)?  Also please perform one NI-Spy capture for each VI, and attach the two resulting screen shots.  If you need assistance performing the NI-Spy capture, you can find more details here.
    Regards,
    Todd V. 
    National Instruments
    Applications Engineer
    NI Prototyping Community

  • What is the difference between wifi and the 3G plus wifi?

    I want to get an ipad for myself and I have no idea what the difference is between the regular wifi and the 3G plus wifi.  If somebody could explain the difference to me so I can decide which one to get I would greatly appreciate it.  Thank you in advance!

    On the iPad if you use wifi you have to be close to a wifi access point either in your home or at a location such as Starbucks or Paanera. This connection normally will transfer data faster than 3G. However, 3G will give you access in areas where there is mobile telephone service from Verizon or AT&T albeit at a slower data transfer rate than wifi.
    Wifi will be cheaper than 3G since you'll have to subscribe to 3G service from Verizon or AT&T.
    BTW, you won't be able to use "3G plus wifi" at the same time.

  • What's the difference between educational and the discount for existing customers

    i am both a student and an existing customer. the price would be the same for me with the new promotion. which would be a better route to sign up as? with the existing-customer discount my understanding is that the price will go up after a year. what happens in the educational version after a year? are there any other differences i should know about?

    Hi Mrtunes,
    I'm not seeing any kind of noteworthy difference.
    Here is a screen shot of the billing terms for signing up for the educational route (US store)
    (click to view larger)
    -Dave

  • Whats the difference between music and the library?

    I'm trying to delete my playlists off my iTunes. I went to the devices and then to options and I clicked on manually manage music and videos and when I click apply is brings up a window that says that my phone is synced to another iTunes library, and if I want to erase and sync iTunes library? it says an iPhone be synced with only one iTunes library at a time. erasing and syncing replaces the contents of this iPhone with the contents of iTunes library. under library then music it says I have 273 songs but on my phone it says I have 485 songs. I don't understand that, and I don't want to lose all my songs that are on my phone. Mainly I need help with deleting playlists with not deleting my songs.

    Any USB sound related item is going to use system resources instead of the non usb version. The non usb version uses the resources of the sound card and not system resources. So you should get cleaner sound with the non usb version.
    But, be aware creatives tech support is not the best in the world. Keep that in mind when buying a product from them.

  • I have the original apple tv.  Works fine.  What's the difference between it and the new one that's only $99?

    I paid $250 for the first generation apple tv and wonder if there's any new features to make it worth upgrading to the latest apple tv.   What am I missing?
    Thanks, Tzipora

    The new one has no hard drive instead it has 8GB of solid state memory.
    You can't sync to it as a consequence.  It uses less energy, is smaller and doesn't get hot enough to fry an egg.
    You lose analogue video/audio out.  It's HDMI/optical only.
    No mopre iTunes LP/Extras functionality.  No sending audio to Airtunes speakers fro AppleTV.
    The new one has a more powerful processor and can handle 720p 30fps which the old one couldn't and higher bitrates.  It tends to be more responsive going through menus but I prefer ATV1's way of sorting things and interface in general.
    You lose the ability to up/downscale video output to anything other than 720p.  Output if fixed to 720p.
    It's still evolving.  To my mind it's more an iPhone/iPad accessory / iTunes rental vehicle with some US centric (on the whole) novelties - Netflix, American football feeds may appeal to US users, but no use if you can't get Netflix in your country.
    The game keeps changing and iCloud features will enhance it's functionality but currently possibly only in US.  iCloud may let users play their purchases across the internet rather than from local storage - could be gtreat if it works but only provided things remain available in the store.
    US had TV Show rentals as well as Movie rentals, but TV Show rentals have been scrapped.
    You couldn't purchase anything at all on it until recently, and that's probably only TV Shows and only in the US currently.  No browsing music or music videos.
    iphones/iPads can use the Airplay feature to send video/audio across wi-fi to the AppleTV but personally I'm not that impressed by it.
    Vimeo has been added recently to complement YouTube, Flickr, MobileMe (end of line anyway).
    It's a mixed bag really - suits some people down to the ground, has limitations for others.
    AC

  • What is the difference between spiceworks and the network monitor

    ok thank you

    is there a difference between the two or is network monitor a subset of the spiceworks desktop?
    This topic first appeared in the Spiceworks Community

  • What are some differences between PSE8 and PSE11?

    MY CURRENT HARDWARE:
    MacBook Pro (model: MacBookPro2,2)  Intel Core 2 Duo 2.33 GHz, 2 GB RAM, 500 GB int. HDD
    Epson Perfection 2400 Photo scanner, USB 2 connection
    Canon Digital Rebel T3 SLR camera, 18-55mm kit lens, 75-300mm telephoto lens, 4 GB SDHC card
    Canon Vixia HV40  HDV tape-based camcorder
    MY CURRENT SOFTWARE:
    Adobe Photoshop Elements 8, with Adobe Bridge CS4
    Apple Final Cut Studio 3 (includes Final Cut Pro 7)
    Apple iLife 2009 (includes iPhoto)
    Recently, people in my hometown began planning an event of local historic significance. A group of elderly men who worked on a major industrial project (steel fabrication in a local shop) here are about to go on a bus trip to see some of their work. Most have never journeyed the hundreds of miles to see what became of their efforts. Some of these men are veterans of WW II and Korea, just to give you an idea of their age. The bus tour is expected to happen in mid-November.
    Typically, I shoot photos in JPEG format and catalogue all photos in iPhoto 2009. However, for this occasion, given it is a once-in-a-lifetime event, I am seriously thinking about switching my Rebel over to RAW format. I want to approach this trip as a project with the end-product being archival quality storage of the images I capture. To catalogue the photos, I was seriously thinking about borrowing a few pages from Peter Krogh's book "Digital Asset Management for Photographers" (2009, 2nd Edition, O'Reilly Press). I recently had a chance to skim the book over, and noticed a chapter on how to structure a workflow using RAW-format photos using Adobe Bridge. I have briefly thought of purchasing Lightroom, but that's too rich for my bank account. Since I have the Rebel (given to me as a gift about 13 months ago), the MacBook Pro and Photoshop Elements with Bridge, some questions came to mind:
    (1: I am considering either using Photoshop Elements 8 with bundled Bridge CS4 to handle the RAW files (and to possibly store them as DNG files) or upgrading to Photoshop Elements 11 to do the same. This would stretch my budget. Does Photoshop Elements 11 come bundled with Bridge anymore? If so, is it functional for what I want to do with it?
    (2: Does anyone on this forum use Bridge to handle RAW files? If so, are there any online tutorials/demonstrations you would recommend?
    (3: I assume it would be fairly easy to take all RAW files of photos shot on the trip, transfer them into Bridge CS4, and then convert them into JPEGs so they could be imported into a iPhoto library (now standing at over 46,000 photos). Are there any obstacles/possible problems in this transfer process I should look out for? (I would be worried about what would happen to the metadata)
    (4: If I store the RAW photos from this trip as DNG files using Bridge, and if I subsequently purchase newer software such as the latest Lightroom or CS6, will I be able to open up this trip's archive in the newer software without loosing any metadata or organization?
    (5: I have been viewing the photography tutorials on Lynda.com, including the titles taught by photographer Ben Long. Mr. Long did a title on the Digital Rebel T3i, which is very similar to my Rebel T3, as well as his "Shooting on the Road, from Gear to Workflow". Are there any other Lynda titles I should review while my account is still active?
    (6: What's up with this Photoshop Elements / Premiere Elements bundle? Does anyone here use it? If so, what are the advantages over the Photoshop Elements upgrade?
    Message title was edited by: Brett N

    Well, we've been back from Saint Louis for over a month now. Sorry for the delay in reporting this.
    Video link from KSDK Channel 5 News, St. Louis:
    Arch builders see work first hand
    http://www.ksdk.com/news/article/347752/3/Arch-builders-see-work-first-hand
    This video shows an excerpt of a small number of the PDM crew visiting the Arch for the first time, at sunrise. (We arrvied by bus this night before.)
    An update on my Photoshop Elements experience. Adobe's DNG converter and Photoshop Elements' batch converter both worked like a charm. I was able to take the CR2 files from the Rebel, convert them to DNG, and then use PSE 8 to batch-convert them to JPEG. I impported the JPEGs into iPhoto 2009 with the date/time metadata intact.
    I have yet to open any of the files in Adobe Camera RAW, but I want to do that after the New Year. I'm tied up with other work right now and don't have the time.
    Here's a little something extra to show you how remarkable this trip was:
    Builders of Gateway Arch sections to tour monument | International Brotherhood of Boilermakers
    http://www.boilermakers.org/news/headlines/Brotherhood_honors_Gateway_Arch_builders

  • I recently installed Firefox OS Beta on my Nexus 7 tablet. What are the differences between that and the Firefox browser?

    I recently installed Firefox OS Beta on my Nexus 7 tablet.

    hello, it think you have installed the beta version of firefox for android. the beta version incorporates new features in the browser six weeks ahead of the regular release. so, you're currently on firefox 26 beat, so you're already getting the redesigned homescreen for example : https://www.mozilla.org/en-US/mobile/26.0beta/releasenotes/

  • What's the difference between Creator and the Enterprise?

    I mean if I want to install a powerful tool for Java or J2EE stuff, which one is better and has the most functions? Enterprise Edition or Creator Edition?

    Creator will be an additional pack to base NetBeans
    too (not know when).Indeed the current strategy is to transform all Sun Java Tools into NetBeans addon packs. This nas been done already for Java Studio Enteprise (its source will be available in the NetBeans CVS repository by JavaOne). For Creator this is going to happen in NetBeans 6.0 timeframe which is 2007.

  • What is the difference between start() and run()

    Hi:
    what is the difference between start() and the run()???
    in my app, i have
    Console.debug( "starting thread to listen for clients" );
    _server = new Server( this );
    _server.start();
    _server extends Thread..
    why everytime i use server.start(); my app will terminate on it is own, even though in my servr.run() method, i have a while loop
    and if i call _server.run() explicitly in my code, that while loop will be in execution
    can someone let me know??
    thnx

    what is the difference between start() and the
    run()???start() is a method on Thread that tells it to start.
    run() is a method in the object that the thread executes.
    why everytime i use _server.start(); my app will
    terminate on it is own, Err.... I'm not convinced this is true. It'll throw an IllegalThreadStateException, if you try to restart an existing thread.
    If that's what you're saying.
    even though in my _servr.run()
    method, i have a while loopI don't see the connection. Are you saying that the while loop never terminates, and you don't see why the thread is terminating?
    and if i call _server.run() explicitly in my code,
    that while loop will be in executionIf you call server.run() explicitly, then run() will be executed in the same thread that you called it in.

  • What is the difference between refernce and template

    Hi,
    i taken some keyfigure form refernce  to new keyfigure after that iam activating the info cube its showing error has Not contains ilist particular keyfigure.but all key figure are availbale in active version only.
    after that i used as template its came and activated.
    please let me the difference between reference and template.
    tahnks in advance.
    Regards,
    deva

    Hi,
    reference: no sid table, no master data, no data element, more or less just a pointer to the referenced object with the possibility to have a different name for the same thing.
    template: sid table, master data, data element, a object of it's own as a copy of the template object, but a complete other object.
    regards
    Siggi
    PS: do a search also, there are some good explanations additioally.

  • What is a difference between MB01 and MBST  for GR Cancellation

    Hi,
    What is a difference between MB01 and MBST  for GR Cancellation.
    Regards,
    Aditya

    Hi,
    MB01 is used for doing the GR for collective PO at a single instance.
    This transaction will be utilize when an individual needs to create a material document.  A material document can only be displayed or changed after it has been generated in the SAP system.  In a computer based inventory management system, the principal of "no posting without a document" applies.  A material document is generated and stored in the SAP system for every transaction that causes a change in stock.
    As mentioned, when a goods movement is posted a material document is created.  It serves as proof of the movement   If the movement updates a G/L account; an accounting document is also created. The material and accounting document s are identified by unique document numbers
    Once you have posted a goods movement, you cannot change material numbers, quantities or account numbers in the material document.  You can however use the Change command to enter additional or change text information such as comments or references.  To reverse the movement or change a quantity, a new transaction must be performed.
    MBST:-
    Perform this transaction when a previously performed goods issue must be cancelled due to an error in data entry or other circumstances deem the previous transaction unnecessary.
    Prerequisites:-
    A previously played transaction that requires cancellation.
    An existing Material Document in SAP.
    This Transaction will be utilized when an individual needs to cancel a material document due to a data entry error or other circumstances deem a previous transaction unnecessary. A material document can only be cancelled after it has been generated in the SAP system. A material document is generated and stored in the SAP system for every transaction that causes a change in stock.
    Performing this transaction will "undo" a previous transaction by reversing individual line items in a material document or by reversing an entire material document. This transaction will reinstate the affected cost center, purchase order or stock location to the state they were in prior to playing the original transaction.
    Regards,
    Archit

  • What are the differences between Oracle and other NoSQL database

    Hi all,
    I would like to know what the differences between Oracle and other NoSQL database are.
    When and why should we use Oracle?
    Is Oracle NoSQL database link with Big Data Appliance?
    Can we use map-reduce on a single personal computer? How should we install Oracle NoSQL database to use map reduce on a single personal computer?
    Do we also have eventual consistency with Oracle NoSQL database? Can we lose data if master node fails?
    Are transactions ACID with Oracle NoSQL database? How can we prove it?
    Thanks.

    893771 wrote:
    Hi all,
    I would like to know what the differences between Oracle and other NoSQL database are.
    When and why should we use Oracle?I suggest that you start here:
    http://www.oracle.com/technetwork/database/nosqldb/overview/index.html
    Is Oracle NoSQL database link with Big Data Appliance?Yes, Oracle NoSQL Database will be a component of the Big Data Appliance.
    Can we use map-reduce on a single personal computer? How should we install Oracle NoSQL database to use map reduce on a single personal computer?Yes, I believe you can run M/R on a single computer. Consult the various pieces of documentation available on the web. You may run Oracle NoSQL Database on the same computer that you are running M/R on, but it is likely that they will compete for CPU and IO resources and therefore performance may suffer.
    Do we also have eventual consistency with Oracle NoSQL database? Yes.
    Can we lose data if master node fails?If you run Oracle NoSQL Database with the default (recommended) durability settings, then if the master fails, a new one will be elected and data is not lost.
    Are transactions ACID with Oracle NoSQL database? How can we prove it?Yes, each operation is executed in an ACID transaction. The API has the concept of "multi" operations which allow the caller to perform multiple operations on sets of records with the same major key, but different minor keys. Those operations are also performed within a transaction.
    Charles Lamb

  • What are the differences between Logos and LogosXT?

    What are the differences between Logos and LogosXT?

     Logos XT is a networking middle-layer maintained by the LabVIEW Network Technologies and Security group. Logos XT provides a thin layer on top of TCP/IP to simplify some common network tasks.
    The underlying foundation for NI networking is called Logos.
    I believe that the basic idea is Logos is what is going on behind the scenes at the base level and Logos XT lets you build your own networking protocols on top of Logos.  Logos XT would be used if you want to make your own networking protocol instead of using TCP/IP or UDP.
    Scott A
    SSP Product Manager
    National Instruments

Maybe you are looking for

  • Fatal error on php image upload

    I'm trying to test a popular CMS system on my mac and I'm getting the following error when trying to upload a single image. Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 7776 bytes) in /Library/WebServer/Documents/Fl

  • Missing the Message App after Mountain Lion Update

    My Macbook Pro totally crashed after the Mountain Lion update, and a wonderful tech support lady at Apple walked me though hours of restoring it. However, now that it is working fine and all programs re-installed, I noticed that the Message app is mi

  • How do i find a newer version of itunes for my system?

    i have Mac OS X version 10.2.8. and I tunes 4 i'd like to upgrade so i can have podcast etc but haven't a clue how to do it!

  • Converting problem

    I have to do a VIN checker for my class. And I have to check the 8 th digit but it is a character and I use that function to get it from the string: vin.charAt(8)But now I need to convert it into an integer. Also I need to check if the user enter ill

  • How to repeat duplication with changing values?

    Hello all! First of all - english is not my first language so I don't really know how to explain this in an easy way (and therefore I don't know what to search for either). Maybe a better topic title is needed as well. I made an illustration to show