comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Update IDL Widget from C++

Re: Update IDL Widget from C++
type: item
description: The simple/dumb way that pops to mind would be to have the C++ code write to a scratch file on disk every now and then that the widget would monitor. I'm sure someone else has a more elegant solution, perhaps involving "socket"?
creator: henrygroe
date: 2006-01-17T19:02:11-00:00

Re: Update IDL Widget from C++
type: item
description: I would like to avoid writing a temp text file for IDL to read. Communicating to IDL widget through sockets sound interesting, does anyone have information on this?
creator: mtrutledge
date: 2006-01-17T20:01:16-00:00

Re: Update IDL Widget from C++
type: item
description: On Tue, 17 Jan 2006 12:01:16 -0800, mtrutledge wrote: > I would like to avoid writing a temp text file for IDL to read. > Communicating to IDL widget through sockets sound interesting, does anyone > have information on this? Shared memory is also an option, and probably the best option if you need to send large amounts of data over to IDL. Whatever you choose: socket, temp file, shared memory, you'll have to poll in IDL to check for changes, likely using a widget timer event. Depending on how fast you need things to update, this may not be ideal. JD
creator: JD Smith
date: 2006-01-18T00:36:39-00:00

Re: Update IDL Widget from C++
type: item
description: Shared memory is a great idea. I think I will try that with a widget timer event. Thanks guys. Matt JD Smith wrote: > On Tue, 17 Jan 2006 12:01:16 -0800, mtrutledge wrote: > > Shared memory is also an option, and probably the best option if you > need to send large amounts of data over to IDL. Whatever you choose: > socket, temp file, shared memory, you'll have to poll in IDL to check > for changes, likely using a widget timer event. Depending on how fast you > need things to update, this may not be ideal. > > JD
creator: mtrutledge
date: 2006-01-18T20:40:43-00:00