Uderc programming article aggregator sites

How to make a terminal program (similar to windows hyper-terminal but more powerful)?

Advertisement
I am a new Labview user, Im trying to write a monitor program for use with uControllers. The main problem I cant seem to get over is to have a section of the screen where I can type in commands (that are sent only once!) then recieve a reponse from the uController directly under the command. Has anyone tried this?
I am using the VISA read/write functions for serial communications, are these interrupt driven?, does anyone have ideas on this.
Thanks in advance
Dave Zdanowicz
Advertisement
The best answer: Hi,
Doesn't your device maybe have an "echo"? Than, I guess, the easiest
way would be to have two independently running VIs, one of which is
repeatively checking the serial interace for incoming bytes and
eventually displaying them in an apropriate indicator (e.g. a string
indicator where all incoming new characters are appended to the old
string via a shift register of a loop). The other VI then could be
responsible for sending commands.
It did something similar just resently. It works quite well. The
command sending VI had some buttons to send kind of macros (several
commands, often needed in combination, bundled together) and
furthermore checked the keyboard with the keyboard VIs from the NI
pages for additional inputs from the user, which were then just sen
t
to the serial interface byte by byte.
Regards
Arno
On Tue, 17 Apr 2001 16:20:10 -0700 (PDT), Dave Z wrote:
>I am a new Labview user, Im trying to write a monitor program for use
>with uControllers. The main problem I cant seem to get over is to have
>a section of the screen where I can type in commands (that are sent
>only once!) then recieve a reponse from the uController directly under
>the command. Has anyone tried this?
>I am using the VISA read/write functions for serial communications,
>are these interrupt driven?, does anyone have ideas on this.
>Thanks in advance
>Dave Zdanowicz

Search

Related articles

Program Similar to SM30

Are there any photo editing programs similar to the ipad

What's the path and file name for the program to make window xp recovery cd?

Program and Source Window Freezing :/

Issue with turning on project 2010 / 2013 - "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."

Is it possible to have two versions of Muse on one Machine?  WhenI open Muse from my program menu in WIndows 7 it comes up the way I am used to.  I did an upgrade a week or so ago and now I have an Adobe Muse CC 2014 on my desktop.  WhenI open the applica

How to find out whether a program is running in Hyper-V virtual machine or not?

Error message-The installer has insufficent privileges to modify this file:C:\Program Data\microsoft\windows\start menu\programs\iTunes\.iTunes.ink

Does the Macbook Pro have a program to run Windows? If not, what is the best program to do so?

What is a good program to install windows via a flashdrive...Have the iso

Recommended article

Cannot delete file on win7 after upgrading to Lion

ABAP & Java ports in PI 7.1?

Acrobat X Pro will does not open using Windows 7

Display won't sleep

BAPI_ACC_INVOICE_RECEIPT_POST Question

Web client and security

DIFFERENT PAGE FORMATS

How to add "x" button in window

Accordion content panels

GetInputStream() function of OrdHttpUploadFile