Programming :: Fast Inter-application Communication For Academic Simulator

Dec 1, 2010

I have an academic simulator software and I want to visualize its output at the same time the simulation is happening. However I want to separate visualization and simulation modules. The simulation data will be held in an array of a size around 0.5M and will be read only to visualization software (but updated regularly by simulator).

- In past I have used shared memory to share small variables among two applications.

- TCP/IP adds the option of having the simulator and visualization applications on separate machines but the implementation will be more difficult.

- I have also thought about an abstraction layer which allows to replace the communication/interconnection layer with other methods later (file/network/shared memory/pipe).

View 6 Replies


ADVERTISEMENT

Programming :: Doing Academic Project On Alix 3d3 System Boards?

Dec 9, 2010

i am doing my academic project on Alix 3d3 system boards can u me the OS and also i am writing some program using C which i have to load it into the system boards, so which compiler is best suited?

View 4 Replies View Related

Networking :: Existing Application Models For NS2 (Network Simulator)?

Jun 22, 2010

I am an undergraduate student doing some work in Cambridge, MA on NS2. As my project/paper relates to simulating different types of applications like FTP, RTP, and SIP, as they relate to commercial products (VoIP, email, bittorrent, http) and congestion, I was wondering if anyone knows of any simulation models already available besides the example ones released by NS2 and the contributed code found at [URL]. Also, does anyone know of any tcl scripts that simulate specific applications (including the transport layer and Internet layer)? I am using Ubuntu 10.04 LTS and NS2 2.34

View 1 Replies View Related

Programming :: UDP Packet Loss - Out Of Sequence - Duplication Simulator ?

Oct 13, 2010

I'm beginning to write a custom RTP implementation and want to test its resilience to UDP traffic. I've searched on the web and all the links I can find are for analysing actual traffic, not generating it or messing it up.

Does anyone know of any software (preferably free software) that will, for example, take actual UDP traffic and drop packets, duplicate some and make some arrive late/out of sequence?

View 1 Replies View Related

Programming :: Communication Between Bash And Firefox

Aug 24, 2010

I have been able to use bash to initiate a google seache via firefox. I would like to either copy the source page to a file via wget or send firefox short cuts to the other terminal's firefox search page to put the html file in a directory. I seem to remember but maybe incorrectly that there exist hexadecimal codes for each keyboard shortcut in firefox. Maybe these could be echo-ed from bash to the firefox search page.

View 2 Replies View Related

Programming :: Communication Data Between Different Process

Nov 22, 2010

I would like to send struct data from process A to process B but I dont known what is the best way. I have read about IPC, but there are a lot of ways to do it.

View 2 Replies View Related

Programming :: C++ - Two Way Communication Between Objects If A (obj) Creates An Instance Of B (obj)

Apr 6, 2011

I have two classes, for argument's sake A and B. A implements the core functionality, B is an encapsulated data structure. If you imagine this situation
[code]...

From within B's member functions, I would like to access the public function() in class A. This is not an inheritance issue, they are two discrete classes with radically different functionality. Class A makes an object of B.

View 5 Replies View Related

Programming :: Appropriate Interprocess Communication With Data Preservation?

May 29, 2011

I am searching for an interprocess communication that is platform and language independent and is two way communication among different processes and the most important thing is the ipc should have the ability to store data until the receiver receives it.

View 2 Replies View Related

Programming :: Character Device Driver For Communication Between Two Pc's In Code?

Apr 3, 2010

i woul like to know if i could get help in writing a charater device driver for communication between two pc's in linux using RS-232 serial port.

View 5 Replies View Related

Programming :: What Supposed To Do With Communication Protocol Reference Guide?

Jan 25, 2011

how am I supposed to use this guide. The doc states different messages lengths and formats, as a programmer, how should I utilize these information?Just fyi, my question is a general qns and does not necessarily target to just using netxms, but could be any other opensource as well.

View 4 Replies View Related

Programming :: Serial Port Communication Program Always Lose One Byte Data: 0x00?

Dec 13, 2009

I wrote a serial port communication program to access a equipment.

int main(void)
{
int fd = 0;
int nread = 0,i = 0,nwrite = 0, tmpread = 0, m = 0, n = 0 ;

[code]....

View 2 Replies View Related

Programming :: Pyqt3 How Fast Can A TextLabel Be Changed?

Mar 12, 2010

I want to read values from a text file about 2 times a second and update a textLabel with those values but it only inputs the values with the last value from the text file? I tried the same thing with an LCDNumber but it only updated every 10 value changes? After each change do I need to clear the textLabel or refresh the window? For testing the print z and print x in the code prints the values correctly.Heres my code:

Code:
def Timer(self):
import time

[code]...

View 2 Replies View Related

Programming :: Bash Time Comparison Within A Fast Moving Log?

Jun 1, 2010

I have a bash script that is tracking ERROR connections (running in a cron every 15 minutes), sometimes the errors are true and are not connecting. But most of the time, the disconnects/reconnects are between 30 seconds are sending out false positives. I am looking for a time comparison code to pick out the 30 second disconnects and know that this is and "ok" error. Here is a section of the log with timestamps, errors, etc.

Tue 2010-06-01 22:01:30 ERROR [DataBufferSendService] 172.31.0.1:8016 caught exception: [NetworkAPI] Exception: [SocketStream] socket error
Tue 2010-06-01 22:01:32 ERROR [DataBufferSendService] 172.31.0.2:8016 caught exception: [NetworkAPI] Exception: [SocketStream] socket error
Tue 2010-06-01 22:02:00 INFO [Client] 172.31.0.1:8016 connecting to 172.31.0.1 on port 8016
Tue 2010-06-01 22:02:02 INFO [Client] 172.31.0.2:8016 connecting to 172.31.0.2 on port 8016

View 8 Replies View Related

Programming :: Invalid Next Size (fast ) Error : Cant Figure Out?

Apr 24, 2011

So I've been writing a code and I have been adding functions to make life easy, but all of a sudden when i added the last function I got this error *** glibc detected *** /home/ahzeeper/Desktop/C-code/check6: free(): invalid next size (fast): 0x0804c048 ***followed by a huge backtraceNow here is my code

#include<stdio.h>
#include<stdlib.h>
#include<math.h>

[code]...

View 3 Replies View Related

Programming :: Saving File Data Using Python In An Embedded System In An Safe And Fast Way?

Apr 19, 2011

I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:

Code:

def saveData(vo)
fd = shelve.open( 'fileName' , 'c')
fd[ key ] = vo
fd.close()
os.system("sync")

But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:

Code:

def saveListData( list )
fd = shelve.open('file_name', 'c')
for itemVo in list:
fd[itemVo.key] = itemVo
fd.close()
os.system("sync")

Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after

Code:

fd = shelve.open('file_name', 'c')

but before fd.close()?

View 7 Replies View Related

Ubuntu Installation :: How To Install Inter Explorer - IE

Oct 26, 2010

I have just updated my System from XP to Linux Ubuntu because of frequent virus related problems. Every thing is fine in Ubuntu apart from One Problem I cannot work properly in Microsoft exchange outlook. How to get IE installed in the system.

View 3 Replies View Related

Ubuntu :: Network - Unable To Access Inter/intranet?

Dec 29, 2010

I've recently installed Ubuntu server 10.10 on an older Pentium 3 computer to test the capabilities of Ubuntu and to have more experience with the OS. During my install, the network card, a Kingston KNE100TX, was successfully detected however auto configuration failed. This was tried against a Windows 2k3 DHCP server as well as a Cradlepoint router. As expected, since no DHCP server provided an address, the routing table is empty.

I retried configuring the Kingston card with a static IP address. This time as expected, ifconfig showed the IP address that was assigned and the route table had been populated. Attempting to ping my gateway, 192.168.17.1, resulted in Destination Host Unreachable. The same results were encountered when the configuration was changed to a different network.

[Code]...

View 8 Replies View Related

Ubuntu Networking :: Wifi Is Fast Then Slow Then Fast Then Slow Connect Disconnect ?

May 7, 2010

My wireless seems to be fast for a good 30secs then bang takes good while to load the next page almost as if it's disconnecting and then reconnecting/scanning reconnecting. Why cant it stay connected. I have WAP PSK security here is my network setting please let me know if I should change any of them:(side not is there a way to fix this problem occuring so frequently it says on the wiki that it should only occur once in a whilce https:[url].....

View 2 Replies View Related

Red Hat / Fedora :: Use A Separate Usb Wireless Adapter If Laptop Fails To Access Inter?

Jun 4, 2010

I have a msi cr610 laptop. I installed fedora 13 and tried to access internet but fails. I have wireless internet in my apartment (WAP& WEP). Can I buy a separate usb wireless adapter and plug in. Will it work? Will fedora detect wireless points?

View 3 Replies View Related

General :: Update Error In RH / Testing Package Set / Solving RPM Inter-dependencies?

May 3, 2010

I have two RH workstation.When I run the up2date -u command in my Red hat workstation, Im getting the following error.

Workstation 1:

Testing package set / solving RPM inter-dependencies...
kernel-2.6.9-89.0.23.EL.x86 Done.
kernel-devel-2.6.9-89.0.23. Done.
code....

error: unpacking of archive failed on file /boot/System.map-2.6.9-89.0.23.ELxenU;4bdef4c2: cpio: write
There was a fatal RPM install error. The message was:
There was a rpm unpack error installing the package: kernel-xenU-2.6.9-89.0.23.EL

Workstation 2:

Fetching rpm headers...

Name Version Rel Arch
----------------------------------------------------------------------------------------
kernel 2.6.9 89.0.23.EL x86_64
kernel-devel 2.6.9 89.0.23.EL x86_64
kernel-largesmp 2.6.9 89.0.23.EL x86_64
kernel-smp 2.6.9 89.0.23.EL x86_64
php 4.3.9 3.29 x86_64


Testing package set / solving RPM inter-dependencies...There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
php-devel-4.3.9-3.26 requires php = 4.3.9-3.26
php-domxml-4.3.9-3.26 requires php = 4.3.9-3.26
php-gd-4.3.9-3.26 requires php = 4.3.9-3.26
code....

View 15 Replies View Related

Debian :: Mv: Inter-device Move Failed: `PDF' To `/home/gerard/PDF'; Unable To Remove Target

Dec 3, 2010

Code:

mv PDF /home/gerard/
mv: inter-device move failed: `PDF' to `/home/gerard/PDF'; unable to remove target: Is a directory

I did ls -ltra and visibly there is no LN link file going on ...

View 3 Replies View Related

OpenSUSE Install :: Respawning Too Fast - Error: "Respawning Too Fast - Disabled For 5 Min" Freeze

Dec 12, 2009

Installing 11.2 from KDE LiveCD on an IBM ThinkCenter with 3.2Gb CPU and 1Gb RAM. Ubuntu 9.04 on first two partitions. I go through the configuration, click to 'install': Install display bars remain blank. After 2-3 minutes, black screen with scroll of attempted installation pieces and the error message: "Respawning too fast. Disabled for 5 min." Freeze.

Other posts mention problem with init. But this is happening with the install so not able to address that. No apparent md5chksum for LiveCDs. No mention of this problem in installation help guide. Does anyone know how to deal with this? If you need more info, I will provide. Though it seems this is not an unusual problem when booting an installed system, there's no mention of it happening during installation.

View 6 Replies View Related

Fedora :: Universe Simulator For F15?

Jun 3, 2011

I would like to install some good universe simulator on f15.

View 2 Replies View Related

Ubuntu :: SESC Simulator In 9.04 Version

Aug 2, 2010

do any one have detailed steps to install SESC simulator in ubuntu 9.04?

View 1 Replies View Related

General :: Unable To Use The MOVE Simulator

Jun 3, 2010

I am trying to learn using MOVE simulator and getting this problem: In the Traffic Model Generator under Static Mobility I import the MOVE trace file and map file. But when I try to save the tcl script(File->Save or SaveAs) I get the following exceptions: Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string:

"1.00"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.parseInt(Integer.java:499)

[code].....

As a result the trace file that gets generated is empty.

View 12 Replies View Related

General :: Download And Install Ns 2.33 Simulator?

Mar 31, 2010

download and install ns 2.33 simulator?

View 2 Replies View Related

Fedora :: GNS3 Graphical Network Simulator Cannot Run On 15 64bits

Aug 7, 2011

I run fedora15 64bits on dell xps l401x and i install GNS3 Graphical network simulator as like that [url]after i installed gns3 i can't run that.

View 1 Replies View Related

OpenSUSE :: Install Groovenet Which Is A Vehicular Network Simulator ?

Dec 27, 2010

I have to install GrooveNet which is a vehicular network simulaor. I have downloaded it from GrooveNet Vehicular Network Simulator :: University of Pennsylvania & Carnegie Mellon there is a set-uo guide but I have a problem. I have to open the project within KDevelop or go to the src directory and type "make". When I try to build the project the answer is this one: make: *** No rule to make target `/usr/lib/qt3/mkspecs/default/qmake.conf', needed by `Makefile'. Stop. what can I do?

View 7 Replies View Related

Ubuntu :: Fonts Don't Appear In STEP Physics Simulator In Gnome

Dec 31, 2010

I have recently installed the STEP physics simulator in my Ubuntu, I found it excellent, but I faced a big problem: fonts of notes and meters won't appear in the simulation window!Here is how it should be: URL...and here is how it displays:URL...

View 1 Replies View Related

General :: The Screen Saver Keeps Coming On When Running A Simulator?

Dec 19, 2010

I still want the screen saver to work BUT NOT !!! when I'm using the joy stick only distro slackware screen saver default screen blanking

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved