ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Communication

Hi Alan

I have been creating LV5.1 executables on a win95 machine for programs that have VISA drivers. I use VISA to talk to both GPIB and
Serial instruments.

I only have the preloaded GPIB drivers and serpdrv.dll drivers installed, not VISA drivers.

My programs seem to work OK as is.

Tim S


Alan Brause wrote:

> I agree totally Roderic, there are many good reasons to use VISA over
> the serial port vis. In my situation I use serial port vis to keep the size
> of my distributed .exe smaller. It's an additional layer of complexity
> for my end users to have to download and install the VISA components.
>
> I can hardly wait until LV comes out with a single driver for VISA like
> serpdrv. I'll go to VISA in a heartbeat.
>
> Or has anyone figured out how to distribute a VISA .exe app with a single
> driver????
>
> Alan
>
> Roderic Don wrote in message
> news:3857A880.91863E02@ccm.udel.edu...
> > Alan Brause wrote:
> > snip snip....
> > Alan's advice is excellent, the only thing I would add is to use VISA. It
> > allows setting and enabling a termination character on reads, which for
> > situations where there are a variable number of bytes returned is a real
> > convenience - no need to build in a pause and to read the bytes available
> in
> > the serial buffer. You can also change the termination character on the
> fly
> > if needed (I do).
> > VISA also allows locking of its "sessions", which has worked out well for
> me
> > with a setup where I have a variable number of devices attached to each
> > serial port in daisy chain fashion (both RS-232 and -485). So I have
> parallel
> > loops to handle communication with each device, and lock and unlock the
> > shared port/session as needed to prevent communication mix-ups.
> >
> > Rod
> > --
> > Roderic Don
> > Research Associate II
> > University of Delaware
> > Center for Composite Materials
> > 302-831-8352
> > 302-831-8525 (FAX)
> > ---------------------------------------------
> > "Stressed would mean that the pandemonium can be measured!"
> > - Scott "Scooter" Holmes
> >
> >
0 Kudos
Message 11 of 13
(824 Views)
Hi Tim,

Now you've got me curious.
What do you install on the target machine besides the .exe?
When I try to run VISA on a target with just the NI Run-Time library,
I get "VISA code library not located or loaded" error.
How do you preload GPIB?

Alan


Timothy John Streeter wrote in message
news:3857FB60.15F1C549@tait.co.nz...
> Hi Alan
>
> I have been creating LV5.1 executables on a win95 machine for programs
that have VISA drivers. I use VISA to talk to both GPIB and
> Serial instruments.
>
> I only have the preloaded GPIB drivers and serpdrv.dll drivers installed,
not VISA drivers.
>
> My programs seem to work OK as is.
>
> Tim S
> >
0 Kudos
Message 12 of 13
(824 Views)
Hi Alan

After installing the GPIB card I install NI's GPIB software which includes Automation Explorer etc.

I had downloaded the latest VISA drivers to install just incase but it turns out that I didn't need them.

Tim

Alan Brause wrote:

> Hi Tim,
>
> Now you've got me curious.
> What do you install on the target machine besides the .exe?
> When I try to run VISA on a target with just the NI Run-Time library,
> I get "VISA code library not located or loaded" error.
> How do you preload GPIB?
>
> Alan
>
> Timothy John Streeter wrote in message
> news:3857FB60.15F1C549@tait.co.nz...
> > Hi Alan
> >
> > I have been creating LV5.1 executables on a win95 machine for programs
> that have VISA
drivers. I use VISA to talk to both GPIB and
> > Serial instruments.
> >
> > I only have the preloaded GPIB drivers and serpdrv.dll drivers installed,
> not VISA drivers.
> >
> > My programs seem to work OK as is.
> >
> > Tim S
> > >
0 Kudos
Message 13 of 13
(822 Views)