The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Processes in OC and Labtalk

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
tinkusch Posted - 02/26/2004 : 11:52:04 AM
Hi,

I have the following problem:
In my application a LabTalk button click shall call an OriginC function, which contains a loop (actually a readout loop for a COM port). While that loop is running I would like to evaluate further clicks onto other LabTalk buttons (e.g. in order to abort that loop). How can I do this? I tried to solve the problem including
LT_execute("") in the loop but with no success

The background is the following: Is it possible in Origin to comunicate to two serial ports independently, i.e. starting communication with COM1 while COM2 is permanently sending data to a LabTalk application?

Many thanks for any help

Stefan



2   L A T E S T    R E P L I E S    (Newest First)
tinkusch Posted - 02/26/2004 : 12:23:42 PM
quote:

replace LT_execute("")
with LT_execute("sec -p 0.5")





simple, but works.....

many thanks!

Stefan

cpyang Posted - 02/26/2004 : 12:05:27 PM
replace LT_execute("")
with LT_execute("sec -p 0.5")


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000