

thuatnguyenbk
Members-
Content Count
34 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout thuatnguyenbk
-
Rank
Member
Recent Profile Visitors
-
Window 7 And Window Server 2012 R2
thuatnguyenbk replied to thuatnguyenbk's topic in Screen Components and User Interface
Thanks for you reply, admin. But i also test with only 2 scripts (seq_PollingDPM and seq_PollingOTB); run main script at start up, call 2 scripts to get data, and DAQ is crash too. I guest Registry is reason before, but it is not really reason to make DAQ crash. I test main script with one of other script, it 's work. The error is only appear when i run seq_PollingDPM script. Is it too many try/catch in this? or get many channels of many devices? I will reduce my Registry variables. Thanks so much. -
Window 7 And Window Server 2012 R2
thuatnguyenbk replied to thuatnguyenbk's topic in Screen Components and User Interface
hi admin, this is my project. i don't know how to fix it. Please help me check my script. are there any error in my scripts? Thanks so much. pms.zip -
Window 7 And Window Server 2012 R2
thuatnguyenbk replied to thuatnguyenbk's topic in Screen Components and User Interface
Hi admin, add more detail: i reinstall this server to win 7 utimate, and my daq file work very fine. After that, i reinstall window server 2012, i slow again . I pretty sure that window server maybe conflict with daq. Any more suggest? Thanks. -
Window 7 And Window Server 2012 R2
thuatnguyenbk replied to thuatnguyenbk's topic in Screen Components and User Interface
hi admin, my laptop is also get the same data as my server. 2 of them in the same network. the difference is that my server 2012 is so slowwwly. sometime, i can't change from this page to another page. all my page is 1s refresh. are there another reason? Thanks you so much. -
Window 7 And Window Server 2012 R2
thuatnguyenbk posted a topic in Screen Components and User Interface
Hi admin, is there differences between window 7 and window server 2012 to run daq. My project daq run smoothly in window 7. but when i copy as runtime license to window server 2012 r2. it run slowly. my laptop win 7 (core i3, 4gb ram) and win server 2012 r2 (core i7, 32gb ram). when change to other page, it take 5-10s or more to change. Data is ok. i may be a graphic problem? winserver 2012 user intel hd graphic 4600 driver. may i have install other feature on window server 2012? Thanks you so much. -
Hi admin, please see attached file Thanks so much. pms.zip
-
hi admin, thanks for reply. when comment out the readGroup for a off device, everything is ok. Data is very correct, fast. That error is only appear when i readGroup a off device. And today, i have more a problem, i develop daq in win 7 32bit pro, but when i delivery this daq into winserver 2012 64bit standard, as a runtime license. DAQ so slow to display...., DAQ only 3-4%cpu and 10%Ram. what happen with daq or windowserver ? Thanks so much.
-
Hi admin, i continue this thread. I have 2-3.. devices with modbus rs485 protocol. I used 1 rs485 to ethernet converter to connect these device. On DAQ i create 1 device with ip is ip of converter, and some group of channels, and this is my script: while(1) device.mydevicename.readGroup("myGroupName1") //device1 device.mydevicename.readGroup("myGroupName2") //device2 device.mydevicename.readGroup("myGroupName3") //device3 ... delay(5) endwhile DAQ Work fine when all devices are online. but when one of them is off (power off), i have some issues with this: data so slow, not correct,... . the timeout error is also appear but this ok. please help me on this problem. why data not correct?... and when the off device is turn on again, i must restart daqfactory . Thanks so much.
-
Kepserver Opc - Write A Tag With Long Type
thuatnguyenbk replied to thuatnguyenbk's topic in Channels, Conversions and general data acquisition
hi admin, my snmp device is pCOWeb - CAREL, there are three types of output: boolean, integer and analog. I cannot change type of these output. Can you give more advise. Could DAQ not change typse of output writting?? Thanks admin. -
Kepserver Opc - Write A Tag With Long Type
thuatnguyenbk replied to thuatnguyenbk's topic in Channels, Conversions and general data acquisition
hi admin, I tested and this is my result (with private community and with a tag): - with SNMP explorer tool: + write this tag with long type - success + write this tag with float - failed - with Kepserver quick OPC client: + write this tag with long type - success + write this tag with float - failed - with DAQFactory (async & sync): + write this tag with analog output - failed + write this tag with discrete output - failed + write this tag with string output - failed i don't know what to do with DAQ, nothing happen, no error message... thanks admin -
Kepserver Opc - Write A Tag With Long Type
thuatnguyenbk posted a topic in Channels, Conversions and general data acquisition
Hi admin, I config KEPServerEX (SNMP driver) to read/write a snmp device and i have a tag with LONG type. I config a channel (asyn read) in DAQ to read this tag and successful, but when i config this channel as output (analog output or discrete output) to write new value, i failed. Nothing happen with DAQ and my tag. I also use code myChannel = value but unsuccessful. after that, i try to use a opc quick client of kepserver to write this tag and it successful. What do i need to config DAQ to write a opc tag with long type? Please help me. Many thanks, ThuatNM -
Hi admin, the help document in daqfactory say that: "Tip: If you would like to remove a device from the list of possible devices displayed when creating Channels, simply rename (or delete) the .dds file associated with the device(s) you would like to remove to something without a .dds extension. DAQFactory only loads devices with a .dds file associated with them." - 17.1 Device Overview What does this mean, maybe some thing wrong with .dds file? is it take long time to create new document ctrl? My ctrl file is almost completely . I only want to clean something not useful. Many thanks.
-
Oh, many thanks to admin, it's work. I can read a CHAR and VARCHAR column. Do you know why it' not work when a column is format as TEXT.
-
Thanks to reply, i has just tested with your code but i can't read a TEXT value, it's return 0. Please see some attached file.
-
Hi admin, this is my tabel, and i want to read field content to a global string smsContent. Please help me. Many thanks. Field Type Null Key Default Extra ----------- ------- ------ ------ ------- ---------------- id int(11) NO MUL (NULL) auto_increment idUse int(11) YES (NULL) Tel int(11) YES (NULL) Content text YES (NULL) Status int(11) YES (NULL) TimeRequest double YES (NULL) TimeSent double YES (NULL)