I have one situation where this could be a problem, and one where it is
a problem.
The first possibly problematic situation is that I need to create a VI
for use out-of-house and I'd like to avoid requiring the user to know
the base hardware port of the serial port. While this isn't a big deal
for anyone who's messed with serial ports before, it will be for
someone who just wants to plug in the instrument and take measurements
immediately (especially for 3rd party add-on serial boards with non-
standard addresses). Is there some way to open a Serial VISA session
and then read it's base hardware address? (i.e. open ASRL1::INSTR or
whatever it is and have a VISA property node return 0x3f8)
Supposing that it is possible to return 0x3f8 when opening a
VISA
session to COM1, is it possible to use the In Port VI to read the
port's status byte without messing up the VISA session's buffer? I
don't see any reason why it would be a problem, but I thought that I
would check anyhow.
The second and definitely problematic situation is that I'd like to
make the VI portable. But from what I understand the In Port and Out
Port VIs aren't supported on any platform besides that of the x86
running MS OSes.
Thank you for your time,
Rhys Ulerich
> Unfortunately, you aren't missing anything. VISA doesn't support that
> feature currently, and to be honest, we weren't planning to add any
new
> serial functionality in the next release. It sounds as though you
have
> something that does work for now, so that's good. Please let me know
> if this becomes a problem for you.
>
> > I cannot, for the life of me, figure out how
> > to get LabVIEW to read the break through a VISA
> > session. I could use the In Port VI to read in
> > the port status byte
(0x3fd for the generic
> > COM1), but I'm trying to make it so that non-
> > standard ports are supported.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.