LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial 1-wire

Hi,

I'm working at a student project where I would like to use a serial-1-wire adapter ("The LINK" adapter) with LabVIEW. I tried to communicate with the adapter by using the Hyper Terminal (ASCII communication) and there it works fine. But when I try to use a LabVIEW example VI (e.g. serial.vi) I get an error which is not documented. I think the first VISA (which should open the communication to the serial port) doesn't work. Maybe it is a problem with some settings. Does anybody has an idea or maybe has some example VI's for using the serial-1-wire adapter?

Thanks for your help!

Greets, Dennis
0 Kudos
Message 1 of 2
(2,650 Views)
>  I tried to communicate with the adapter by using the Hyper Terminal (ASCII communication) and there it works fine.
 
One thing that hyper terminals tend to do (which isn't going to happen automatically in LabVIEW) is that they read the input buffer (computer input = instrument output) whenever data is available.  Some serial instruments get confused if you try to send data while there is data on that buffer - even if it's the instrument echoing what you are sending!   
 
> But when I try to use a LabVIEW example VI (e.g. serial.vi) I get an error which is not documented.
 
Could you please state what the error is?  When/where did the error occur?
 
> I think the first VISA (which should open the communication to the serial port) doesn't work.
> Maybe it is a problem with some settings.
 
Do the program settings match the hardware configuration settings (See NI MAX for your port)?
 
-- Les.Hammer@CompleteTest.com
0 Kudos
Message 2 of 2
(2,637 Views)