Programming :: Mbusd Can't Operate With RS-232 / RS-485 Converters With Direction Switching By RTS Pin

Jun 8, 2011

I work with modbus protocol(MODBUS/TCP to MODBUS/RTU gateway server) and write a program for work with mbusd. when working with usb to serial adapter and cable, my program works without any problem. but when working with serial cable does not work (without usb to serial adapter) ; when mbusd is runing and i run minicom program in part initializing modem my program works and when minicom lock the serial port my program stop. when close minicom "with no rest modem" (ctrl+a and press q) modbus program and my program works without any problems.

in builder site (mbus.sourceforge.net) posted : note that currently mbusd can't operate with RS-232/RS-485 converters with direction switching by RTS pin. Use converters with automatic data direction control (i.e. Moxa Transio series).

View 1 Replies


ADVERTISEMENT

Programming :: Bash Scripting - Pointed In The Right Direction?

Jul 6, 2011

I've been using Ubuntu for about 6 months now, but haven't had a need to start scripting until just recently. I know programming basics, but that's about it.Anyway, I have a program that I would normally run in this manner (note that I didn't create a permanent alias because I've been moving the program around a lot):alias dx='python /path/to/dxProgram.py' dx A_input.dx B_input.dxSo, you see, program dx takes two input files, and 'A' must come before 'B'. I have a folder full of these types of files that I'd like to loop through with this program. They're named as follows:

0_A_input.dx
0_B_input.dx
1_A_input.dx

[code]....

View 6 Replies View Related

Programming :: Javascript Image Sliding Direction?

Jun 2, 2010

im trying to learn javascript. so i choose to start out making a image slideshow banner that auto scrolls on load no special buttons. so since i had no idea were to start i found code that was free to use commercial and non commercial and ill be able to change it. heres that code:

Code:
var SLIDETIMER = 3;
var SLIDESPEED = 3;

[code]....

View 2 Replies View Related

Programming :: Bash Script That Will Operate On All Files In A Directory?

Jul 22, 2011

I have about 50 files that the script will operate on, they are all located in the same directory.I need a bash script that will operate on all files in a directory. The script needs to add two lines to the beginning of each file based on the file name, and one line to the end of the file.A file named myfile.h should add these two lines to beginning of the file:

Code:
#ifndef MYFILE_H
#define MYFILE_H

[code]....

View 5 Replies View Related

General :: Cannot Kill Mbusd Process And Cannot Run It Again

Oct 30, 2010

I have a big problem with one of my processes named "mbusd" ;it is an opensource modbus RTU/TCP gateway when I plug USB to serial convertor to it my laptop without this process linux makes virtual ttyUSB very fine and when I unplug it it removes except some times (SOME TIMES not all the times) that I run mbusd process to work with, at that time during mbusd process work when I unplug USB/serial converter the virtual ttyUSB does not disappear and mbusd does not exit too and it turnes in something like this when I get ps -aux: mbusd [defunc] at this time I can not even kill it with -9 or -15 signals and pluging back the converter does not solve the problem too and mbusd does not exit or start to run again.

View 3 Replies View Related

Ubuntu :: Looking For Compatible Simple Video Converters?

Jun 25, 2011

I need a simple video converter suitable for ubuntu! I am getting really annoyed that every converter I go on doesn't go with ubuntu.

View 8 Replies View Related

OpenSUSE :: 11.2 - Base64 File Converters For KDE Desktop Environment?

Dec 4, 2010

Does OpenSuSE have any base64 file converters? I've just heard that Ubuntu has one built in. I'm asking because I have some old archived emails (from Mozilla Mail) and some of the emails have attachments. I've been told a way to convert the jpg and gif images but I also need some pdf's and doc's and ms excel documents to convert too. I run SuSE 11.2 and I use KDE as my desktop environment.

View 9 Replies View Related

Programming :: Script For Switching Between Workspaces?

Aug 16, 2010

I'm looking for a script that automatically switches between all workspaces in regular intervals, e.g. 15 seconds or 1 minutes. Ideally, the user should be able to adjust the interval.

I need it for Ubuntu 10.04 LTS and GNOME 2.30.2.

View 5 Replies View Related

Programming :: XGrabPointer Prevents Alt+Tab Application Switching?

Jan 30, 2010

I'm writing a game for Linux using Xlib whereby when a window becomes active it will take control of the mouse using XGrabPointer. The idea being that if the users switches applications through Alt+Tab the game will relinquish the mouse with a call to XUngrabPointer.

The game is using the FocusIn event to determine when it has been activated and needs to grab the mouse, and likewise uses the FocusOut event to release the mouse. This causes a problem because for some reason an Alt+Tab from the keyboards generates two FocusOut events and then a FocusIn event causing the game to take control and no application switching occurs.

If the game does not grab the mouse, then application switching works fine.

What is needed so that application switching can work while the game has control of the mouse?

I am running Fedora 12 on an Intel Core2 Duo machine. I am also using Compiz as the window manager.

View 1 Replies View Related

Ubuntu :: Changing Text Direction?

Apr 19, 2010

I can't seem to find anywhere that allows me to change the direction in which text is displayed/entered. I'm trying to change from "left to right, top to bottom" to "top to bottom, left to right".

View 5 Replies View Related

Ubuntu Multimedia :: Multimedia File Format Converters?

Mar 16, 2010

Is there any multimedia file format converter which can convert .mov to .flv on Ubuntu.

View 2 Replies View Related

Fedora Networking :: Network Rdp Working One Direction

Feb 15, 2010

I have laptop with Ubuntu wired to ferdora 12 server. Server RDP control to desktop is working.Laptop to server is not.See screen shots.I am thinking VNC server is not installed or configured properly on server.

View 14 Replies View Related

Ubuntu :: Analog Joystick Not Working In One Direction?

Jun 28, 2010

I have an old Logitech Wingman analog joystick connected to a game port on a Creative sound card. At this point I've got the system to see the joystck and was able to run jscal. I was also able to run jstest. I was able to see positive & negative numbers moving the joystick in four directions. However, when I try 2 different MAME games or Open Arena there is no right direction. Pushing the joystick right only stops it from going left.. Up and down movement seems to be OK.

View 2 Replies View Related

Ubuntu Servers :: Right Direction For Adding SSL To A Webpage?

Jul 1, 2010

Can someone point me in the right direction for adding SSL to a webpage?I've installed Phpmyfaq, on an Ubuntu 9 server, but I want to set it up so that logging in is done securely.

View 1 Replies View Related

Ubuntu Networking :: Virtualbox Shares In One Direction Only?

Mar 17, 2011

I have been pouring over pages from some days over this one and come to my end.I have Meekat Guest, Xp host on Virtualbox; set up for folder share on virtual networking.Xp can see Linux shared folder, can withdraw to itself, yet cannot deposit to shared folder; error received "Disk write protected or in use"Linux access to 'workgroup' - xp machine is seen yet when clicked on returns the error of"Unable to mount location - failed to obtain share list from server"smb call from Host returns "Connection to STENCILCUP failed (Error NT_STATUS_UNSUCCESSFUL"

View 9 Replies View Related

Hardware :: Serial Communication Only Works In One Direction - Why Is So?

Sep 21, 2010

Running RHEL5.5 on a Dell R710 server. I installed a 2-port PCIe serial card, built the driver, and installed the kernel module. The ports show up in /etc/hwconf, lspci, kudzu, /proc/ioports, etc., and I now have two new device entries...

/dev/ttyE0
/dev/ttyE1

When I connect a null modem cable from port 0 of the card in the new computer to serial 0 of another computer, I can receive text from the other computer. When I do this... code...

View 2 Replies View Related

Networking :: Single Direction Redirection On Bridge Br0?

Feb 9, 2011

I'm currently setting up a squid proxy which will be installed on a debian system configured as a bridge eth0/eth1 as br0. The problem I'm having is that port 80 requests are being proxied both ways where I only want the requests coming in via eth1 to be proxied.

Is there a way to do this? I've already tried changing the "-i br0" in the iptables redirection to "-i eth1" but no data appears to go through it.

View 2 Replies View Related

Server :: NFSv4 And Idmapd Working Only In One Direction?

Jul 25, 2010

I tried to set up NFSv4 with idmapd between two Debian/lenny installations. On the client, the user "xyz" has the UID 501 and on the server "1000". Changing UIDs and setting up NIS is not possible, Kerberos unwanted. I tried to set up NFSv4 with idmapd and it is only working from server to clienthen I list directories on the server, belonging to the user "xyz/1000", the owner is correctly displayed on the client as user "xyz/501". But when I create a file on the server, it is created with UID 501 (should be 1000). The configuration is quite standard, idmapd.conf was generated automatically, NEED_IDMAPD is set to "yes" and starting properly.

The main exporting directory has following options in /etc/exports:
rw,fsid=0,insecure,no_subtree_check,sync
and the mounted directory has:

[code]....

View 1 Replies View Related

Ubuntu Installation :: Grub Upgrade - Dangerous Direction Screenshot?

May 6, 2010

initiated update. Grub update required user input. The 'help' message is incorrect. Attached is a .jpg of a Grub message during the upgrade. Question: how does this get corrected? I would post an alternative wording but honestly,

View 9 Replies View Related

Ubuntu :: File Browser Sorts Opposite From Arrow Direction

Sep 11, 2010

If the arrowhead points up, the standard behavior is to sort with lower values first and higher values later. In my ubuntu install, it does the opposite. Names and dates sort descending when the arrow points up.

View 2 Replies View Related

General :: Define Both Source/Destination AND Direction When Building Firewall?

May 30, 2011

why do we have to define both Source/Destination AND Direction when building firewall.Isn't direction= source->destination? what would happen if source and destination were swapped?

View 3 Replies View Related

General :: Direction To Find A List Of Update Releases For Redhat System V5?

Feb 7, 2011

Would someone be able to point me in the direction to find a list of update releases for Redhat Linux v5?

View 1 Replies View Related

Debian :: Cannot Operate Veracrypt

Feb 12, 2016

I am unable to run Veracrypt on Debian 8.3 64 bit. Yet I have applied the installation procedure.

I downloaded the 1.16-veracrypt-setup.tar.bz2 archive and I unpacked in a directory veracrypt I created in my home.

I get 4 files: veracrypt-1.16-console-setup-x64; veracrypt-1.16-console-setup-x86; veracrypt-1.16-setup-gui-x64; veracrypt-1.16-setup-gui-x86

I keep 2 that match my 64-bit architecture, ie: 1.16 veracrypt-console-setup-and-x64-veracrypt 1.16-setup-gui-x64.

I log in as root in the terminal. I slip the veracrypt-1.16-setup-gui-x64 file. Validate the installation choices by default. After completing the installation, I see the icon Veracrypt and when I click on the Veracrypt application does not start.

View 5 Replies View Related

Ubuntu :: Will 10.04 Operate Using Kernel From 9.04

Sep 1, 2011

I've used Jaunty since it came out have been quite happy with it. However, it is no longer supported and I can't access updates. When 9.10 came along, I tried to install it but found my system would randomly freeze. In fact, it randomly freezes with 10.04 as well. I tried Linux Mint's equivalent to Ubuntu's 9.10 and 10.04 and have the same problem. I've visited discussion boards and see that this is a huge problem for many Ubuntu users --- but I've never found a solution that works.

I assume the problem is in the kernel and am interested in seeing if 10.04 will run on that kernel version. My questions are these:

a) Is my conclusion that the source of my problem is the kernel a reasonable conclusion to reach?

b) If the conclusion is reasonable, is it possible to run 10.04 using the same kernel that 9.04 came in?

c) If the answer to C is, "Yes," then is there a tutorial that will walk me through how to install kernels?

View 2 Replies View Related

OpenSUSE :: 11.3 - Keyboard In XEmacs Do Not Operate

Nov 22, 2010

I was experimenting with Emacs and Xemacs - trying to chose between them. Finally I've re-installed Xemacs and find that keyboard in Xemacs don't operate.
I'm using openSuSE 11.3
Emacs 23.1.1
Xemacs 21.59....
Perhaps I should uninstall Emacs?

View 3 Replies View Related

Hardware :: What Machine Type Operate On

Jan 18, 2011

I need to know what hardware machine underlines my linux. I have machine e.g. IBM X3550 and I need to get this info from linux.

View 4 Replies View Related

Slackware :: Freezes After Certain Screensavers Operate For A While?

Nov 7, 2010

So I've been using Slackware for a long time but I'm not really sure where to start with this bug. Basically I'm on an old P4 Dell system that I just got for free (so semi-old hardware)

Code:
bash-4.1# lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)

[code]...

View 9 Replies View Related

Ubuntu :: Get Windows To Operate On Desktop?

Apr 12, 2011

I cant seem to get Windows to operate on my desktop

View 4 Replies View Related

OpenSUSE Network :: 11.4 New Install, How To Operate Firewall?

May 25, 2011

I have done a new install of 11.4 and as with previous versions, I have to go to YAST2 and disable the firewall before I have internet and local network access. Finally I must find out how to do this correctly.

How to I change the default firewall to allow me internet and local network access without disabling it completely? Also I am unclear about the function of Novel Network Armor? What does this do?

View 9 Replies View Related

Ubuntu :: Interactively Operate With Program Using Bash?

Nov 3, 2010

how to interactively operate with program using bash? such as program would ask user to select choice between "a/b/c" and then input enter to confirm? i know i could use

program << EOF
a
EOF

to choise "a", but how to input "enter", so that i could call this program in my script.

View 5 Replies View Related







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