12-10-2008 10:00 AM
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
12-10-2008 10:22 AM - edited 12-10-2008 10:25 AM
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
12-10-2008 12:43 PM
12-11-2008 06:16 PM
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
12-12-2008 07:30 AM
-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