LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot communicate COM1 with Omega Flow gauge

I am starting a development, Labview 8.x newest release development system. I have been able to communicate with my device using HyperTerminal without a problem. The manual has the following information set for the communications port:

 

1. 19,200 baud 8-N-1 and No Flow Control.

2. Under the "Settings" tab, make sure the Terminal Emulation is set to ANSI or Auto Detect.

3. Click on "ASCII Setup" button and be sure the "Send Line Ends with Line Feeds" box is NOT checked and the "Echo Typed Characters Locally" box and the "Append Line Feeds to Incoming Lines" boxes are checked.

 

When I set up hyperterminal with the settings above I can execute the instrument commands and everything works fine.

 

I opened up the Basic Serial Write and Read example and also the Advanced Serial Write and Read example, set up the same port and parameters I could set. Executed the basic commands but nothing happens. When I try to write a simple command to change the mode of the device to the port nothing happens. When I try to read data from the port after issuing a command it times out without any data.

 

Thanks

GA

0 Kudos
Message 1 of 5
(3,102 Views)

From the hyperterminal, do you press enter to send the data ?

If yes, from Labview you should send "/r/n" at the end of the command. Example : START\r\n

 

Also check if the termination char is needed or not.

 

Switch the string indicator of reading to " \ codes display" to see all incoming data

Message Edited by Pnt on 12-10-2008 06:25 PM
Message 2 of 5
(3,097 Views)
Yes, you have to enter to send the data. Thanks, this didn't seem to work for me. I have put it down for another urgent issue for today. I will pick this up again tomorrow. Very frustrating.
0 Kudos
Message 3 of 5
(3,076 Views)

gascione--

 

What kind of device are you trying to communicate with (model)?  Have you looked at the Omega instrument drivers on the Instrument Driver Network?

 

Cheers!

--
Tyler C

0 Kudos
Message 4 of 5
(3,040 Views)

-tyler

 

Thanks. Actually late last night I was able to finally establish communications using MAX by playing with many of the user configurable settings. After trying to understand them as best I could I applied the same settings to the sample serial VI and got it to work. Afterwards I was then able to build a test VI to communicate. I am sort of hacking my way through this. Either I am missing something or there is a significant lack of documentation for some of these functions.

 

I did try to locate a driver for my devices. Can't find one. We are building a system around a series of Omega FVL-1600's mass flow devices.

 

Thanks

George

0 Kudos
Message 5 of 5
(3,026 Views)