.
Is that what you're trying to do?
Dan Mondrik
National Instruments
If it's an older GPIB instrument, it may require the END indicator
after each command. You may want to have a wrapper VI that takes an
array of strings, then calls VISA Write with each string. This will
implicitly send the END indicator with each individual command.
Dan Mondrik
National
instinct is right; this is definitely not what remote
VISA is for. That's for one PC using instruments connected to another
PC, for example.
Dan Mondrik
National Instruments
You need to upgrade to NI-VISA 3.1 and regenerate your INF files. The
INF files we generate now work much better.
Dan Mondrik
National Instruments
on windows\system32\visa32.dll
and look at the version resource
3) Programmatic: drop a VISA property node and choose Version
InformationVersion of Implementation. Treat it as a hex value
formatted like MMMmmmss (Major, minor, subminor). In other words,
0x00200601 would be 2.6.1.
Dan Mondrik
National
this explanation helps.
Dan Mondrik
National Instruments
|-+
| | Jason Dunham |
| | [EMAIL PROTECTED] |
| | Sent by: |
| | [EMAIL PROTECTED
on
the specific computer.
Dan Mondrik
National Instruments
Jason:
I'm not sure if they support it, but in general you should call VISA Set
Buffer Size (from C it's viSetBuf) to set the driver's read/receive buffer
size for each port. With most serial drivers, that overrides any default
buffer size.
Dan Mondrik
National Instruments
- assuming you're not using hardware flow control.
Dan Mondrik
National Instruments
since been
fixed.
Dan Mondrik
National Instruments
I'm not sure why you can't uninstall 2.5. But the version of NI-VISA
you want to upgrade to is 3.1. We've fixed a lot of serial bugs in
each release, and gotten rid of a lot of incorrect
VI_ERROR_SYSTEM_ERROR return values (some are fixed, others are
changed to more logical error codes).
Dan
trying to do a 'set' on arg1 because in this case it
couldn't open the resource.
Dan Mondrik
National Instruments
want to save you time.
Dan Mondrik
National Instruments
|-+
| | George Gatling |
| | (Contractor)|
| | [EMAIL PROTECTED]|
| | y.mil
when using Serial.
Dan Mondrik
National Instruments
KB buffer
should meet your needs perfectly.
Dan Mondrik
National Instruments
R. Glenn Givens
Gokul:
If the error received is an NI-488 error, then this is an old-style example
that does not use VISA. But even the old-style instrument driver examples
had init and close VIs that should be used as bookends in your real
program. You just won't have a VISA handle to pass around.
Dan
, it
needs NI-488.
Hope this helps,
Dan Mondrik
National Instruments
that you can't access.
Dan Mondrik
National Instruments
You're thinking of the *DAQ* version. The current version of NI-VISA
is 3.0.1 on the Windows platforms. The version that came with LabVIEW
6.1 was NI-VISA 2.6.
Dan Mondrik
National Instruments
19 matches
Mail list logo