LAVA: VISA or GPIB - LAVA

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

VISA or GPIB What is the advantage of VISA Rate Topic: -----

#1 User is offline   joshxdr 

  • Active
  • Pip
  • Group: Members
  • Posts: 24
  • Joined: 29-May 09
  • Location:Linthicum, MD
  • Version:LabVIEW 8.6
  • Since:2009

Posted 08 March 2010 - 01:38 PM

I am making a simple control API for a piece of equipment that has a GPIB port. I am trying to decide to use VISA or GPIB. My understanding is the only advantage to VISA is that you don't need to rewrite your code if you use the same API for serial or GPIB. Is there any other benefit to using VISA? I will never use serial communication for this project.
>>More power Igor!<< >>Its ... ALIVE!<<
0

#2 User is offline   Mark Yedinak 

  • Extremely Active
  • Group: Premium Member
  • Posts: 368
  • Joined: 08-May 06
  • Location:Chicago, IL
  • Version:LabVIEW 8.6
  • Since:1997

Posted 08 March 2010 - 03:38 PM

VISA is the recommend solution because it is the current technology and it is the supported method for communications. GPIB is the older technology and while supported it is not actively being worked on (new features). Also, you never know when you will need to use some other communications interface. At the moment you may only need GPIB but if this application lives on it may need to use other interfaces in the future. (Think you equipment dies and the only option is to replace it with something that doesn't have GPIB. Most new equipment use USB or Ethernet these days.)
---
Mark Yedinak - Certified LabVIEW Architect

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
1

#3 User is online   crelf 

  • I'm a LAVA, not a fighter.
  • Group: V I Engineering, Inc.
  • Posts: 4,872
  • Joined: 13-October 03
  • Version:LabVIEW 2009
  • Since:1993

Posted 08 March 2010 - 05:06 PM

I don't think there's much extra work implementing in VISA than raw GPIB, so I'd go for VISA. That's said, it's been a while since I've used raw GPIB. Also, there are a handful of oddities with each physical layer, so your application *might* require you to use GPIB only, but those oddities are very very rare, and VISA does have GPIB-specific properties, so you should be good.
1

#4 User is offline   ChrisClark 

  • Active
  • Pip
  • Group: Members
  • Posts: 16
  • Joined: 25-August 05
  • Version:LabVIEW 8.6
  • Since:1990

Posted 08 March 2010 - 05:59 PM

A while ago I heard that the GPIB primitives now are wrappers around VISA functions anyway. You could check out ni.com/idnet for instrument driver-y development info and style.
cc
0

#5 User is offline   rolfk 

  • LabVIEW Aficionado
  • Group: Premium Member
  • Posts: 1,511
  • Joined: 09-April 04
  • Location:Netherlands
  • Version:LabVIEW 8.6
  • Since:1992

Posted 10 March 2010 - 07:55 AM

View PostChrisClark, on 08 March 2010 - 05:59 PM, said:

A while ago I heard that the GPIB primitives now are wrappers around VISA functions anyway. You could check out ni.com/idnet for instrument driver-y development info and style.
cc


Not sure about LV2009 but until 8.6 they clearly went straight to the ni488.dll It wouldn't make much sense anyhow since the VISA interface eventually calls into the ni488.dll anyhow for GPIB devices.

But learning VISA is definitely easier than the GPIB primitives and also more useful as you can use it for all other instrument communication too, if you ever happen to need it. The special GPIB features mentioned earlier are almost all also available through VISA and really only used for either very old or somehow non-compliant GPIB devices.
0

#6 User is online   crelf 

  • I'm a LAVA, not a fighter.
  • Group: V I Engineering, Inc.
  • Posts: 4,872
  • Joined: 13-October 03
  • Version:LabVIEW 2009
  • Since:1993

Posted 10 March 2010 - 04:52 PM

View Postrolfk, on 10 March 2010 - 07:55 AM, said:

The special GPIB features mentioned earlier are almost all also available through VISA and really only used for either very old or somehow non-compliant GPIB devices.

Exactly. Bottom line: go with VISA.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic