Hi Master, if I using rllib for reading data from modbus, for example using code as follow: rlDataAcquisition *acqui; acqui = new...
1625
pvbrowser
Mar 2, 2012 6:25 am
We do not use qwt as shared object library. Instead we use qwt as a static library. LIBS += ../qwt/lib/libqwt.a see project file: ...
1626
pvbrowser
Mar 2, 2012 6:57 am
Please have a look at: http://pvbrowser.de/pvbrowser/pic/prinzip.png There are 2 processes or lets say programs "daemon" and "ProcessViewServer". The...
1627
oceancalmcool
Mar 2, 2012 7:30 am
I have tried the method you mention, but i can not still run program with qwt library in Linux OS on Arm. When i have only using arm_linux_gcc compile a qwt...
1628
oceancalmcool
Mar 2, 2012 7:42 am
Hi Master, Thank you for your information about introduction about modbus. Another question: if I have two serial ports will connect two temperature sensor,...
1629
a_la_wachinwei
Mar 2, 2012 7:57 am
ok! This was my problem I guess (exporting first from pvdevelop) I'll try it out. And good point about the available widgets! thanks Joa...
1630
pvbrowser
Mar 2, 2012 8:29 am
... What type of Linux OS on Arm do you use? Here i have used Maemo and Android already. Users reported about different systems also. Please tell me more about...
1631
pvbrowser
Mar 2, 2012 8:36 am
... Yes But normally you will use a RS232/RS485 converter and attach all remote modbus devices on the twisted pair wires. (fieldbus == modbus and modbus := 1...
1632
landratte71
Mar 3, 2012 9:25 am
Hello, I'm drawing charcteristics using a QDrawWidget. Depending on the value range I get overlapping text for xAxis and yAxis. I think the the static function...
1633
pvbrowser
Mar 3, 2012 10:53 am
... Thank you for the report. I will review the function. Always printing only 1 digit behind the . might not be OK for everyone....
1634
pvbrowser
Mar 3, 2012 11:25 am
Please try if this code at the end of beautyval would be ok for you. while(i>0) { i--; if(text[i] == '0') text[i] = '\039;; else if(text[i] == '.') { text[i] =...
1635
oceancalmcool
Mar 4, 2012 7:02 am
Hi Master, Thank you for your help. When i have ready modbusdaemon program, i have found error of have not ttyS0 device. [root@EmbedSky /root]# ./modbusdaemon ...
... This title is really not necessary. ... The serial devices are probably called /dev/ttyXXX You have to figure out, what the according tty is called on your...
1638
pvbrowser
Mar 4, 2012 12:48 pm
Oh, in our pvslib there is already a function to influence the float format used for labels. //after gBeginDraw (p, id); //call something like ...
1639
pvbrowser
Mar 4, 2012 1:05 pm
This had been to quick. The code is now as follows. Within the last post there was a bug. static int beautyval(char *text) { char *cptr = strchr(text,'.'); ...
1640
oceancalmcool
Mar 5, 2012 1:25 am
Thanks for your reply I think it is not because i did not use root user for open tty device. Maybe i will change device name in INI file and try again. And I...
1641
oceancalmcool
Mar 5, 2012 5:53 am
Sorry for late for this replay, but qwt library can not use in qwt, is very strange. ... My hardware is TQ2440, processor is ARMv4, the linux kernel version is...
1642
pvbrowser
Mar 5, 2012 7:46 am
... 1) The problem must be within the client because you run the server on ARM in both cases. 2) The problem could be a different byte order on ARM and x86. ...
1643
a_la_wachinwei
Mar 5, 2012 8:09 am
Normally you cand find what serial interface you are using by writting the command "dmesg" in a terminal console, while you are whiring your conection. (it...
1644
oceancalmcool
Mar 5, 2012 8:15 am
I will try it immediately. Thank you for your support....
1645
oceancalmcool
Mar 5, 2012 8:21 am
Hi Joa, I think /dev/ttyXXX is virtual device, that is only file description represent one device. So as you say, when i writting my own connection, i will see...
1646
pvbrowser
Mar 5, 2012 8:33 am
<a_la_wachinwei@...> wrote already good suggestions Here is another suggestion from me: Use the command "stty" to show and set the tty parameters. For example...
1647
landratte71
Mar 5, 2012 12:59 pm
I'm fine with gSetFloatFormat. Thx Landratte...
1648
landratte71
Mar 6, 2012 8:27 am
I noticed a strange behavior using FileOpenDialog on windows. I suggest following changes in pvbrowser: interpreter.cpp - if (type==0) result =...
1649
pvbrowser
Mar 6, 2012 9:25 am
I have tested on Windows and think it is OK. Within "pvbrowser->options" you set the temp directory for the pvbrowser client. Default: temp=%TEMP% Customized: ...
1650
pvbrowser
Mar 6, 2012 10:04 am
You may be right that it is better to explicitly set our temp directory while calling FileDialogs. But we should use our "opt.temp" for that. ...
1651
a_la_wachinwei
Mar 8, 2012 2:00 pm
solved!...
1652
a_la_wachinwei
Mar 8, 2012 2:09 pm
Hi all, I propose a variation of this tool, and a tip to all pvbrowser partners here. If you use Qt + QSQLITE driver you have to pay attention that Sqlite...
1653
pvbrowser
Mar 8, 2012 3:42 pm
... Could you please test if this would work ? ymax = result->size(); http://qt-project.org/doc/qt-4.8/qsqlresult.html#size The qtDatabase template in pvbaddon...