Davarius

Members
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Davarius

  • Rank
    Member
  1. Is there a way to reset the Event, Command alert, etc application windows to their original location? If not there should be. I sometimes work on dual monitors and have gone down to one. Placed the modules away from workspace and now cannot get them back unless I hunt down another monitor.
  2. Davarius

    General DF HMI & Scipt Questions/Ideas

    That would be great, is it something to look forward to in 6 or would some of the changes be something that could happen in upcoming revs? The reason for the question on passing key strokes was simply a means to an end to get out of full screen. No need for it if there is a system function to do so. Thanks
  3. There are some questions/ideas that have popped up from my development experience in DF. 1) It would be nice to be able to change the title displayed on some pop-ups or at least omit a title all together. When multi-purposing a page-popup or a "system."-popup the title is a nuisance to getting fancy with the overall appearance of things. Also, the underscore that shows up due to the naming convention for pages. For example I could use the system.help function to do a lot of custom things given that it has browser capabilities but would like to be able to leave out the title "help" on the window or at least change the name displayed. 2) There are ways to shut down DF or reboot from sequence, is there a way to exit full screen? Some users get themselves into full screen mode and cant get back out or get frantic if they cant see the comforting Windows Taskbar or desktop. 3) You can read key strokes in DF, can you pass them? 4) Any useful windows functionality that you can use in the shell execute function? I saw in one post that some one found a way to force close DF. Just wondering if there is somewhere to find out other things to put in there. 5) For the local sequences running in components it would be cool if the name of the component could be accessed (not necessarily changed if it would cause problems). I think it would be useful when sending messages between components or doing generic versions of script within component functions and dynamic coding. I have done general scripts using component position as a unique identifier (when sending a message), but a name would be better because you could duplicate and use a number. These are all just question I have had for a while and just compiled into one general post rather than posting separately.
  4. Davarius

    My Sql Table Update?

    Urgent!- Logging still filling with nulls Waiting on response to post or Email. I emailed the csv a while ago and may need to re-send if it was caught as spam or something.
  5. What was the resolution to this post? I am having the same issue and I am on DAQ version 5.79A build 1574. For Text type components (e.g Text and descriptive text) the OnContext Event does not work properly in runtime mode or development mode. There are other bugs I have found in using Events with components: The first problem I noticed Is that when using "text components" the OnContext event actually does work a little in development mode with the problem being that it only works if you click below the component in the right area which I found by vigorously right clicking all over & near the component. This led me to explore click area and tolerance with respect to components and events. I put together a test application that you can try yourself Another problem with text components is that in runtime mode the DBLClick Even does not work Test.ctl
  6. Davarius

    My Sql Table Update?

    Emailed the File yesterday, could not zip and attach to forum post.
  7. Davarius

    My Sql Table Update?

    having problems attaching to post. Attachment Editor Says I am not permitted to upload.
  8. Davarius

    My Sql Table Update?

    Yes the system just starts sending lots of nulls. Essentially what I get is a window of data with the rest of the data filled with nulls. In addition: On Friday I started a new table of data where the same thing happened again. I checked to see if data was being logged to the table with the Mysql query tool and it was. I checked again this morning (Monday) and get a table of nulls after some scattered values shortly after starting the set on Friday. This time I noticed that the time column stops 20 minutes after i created the set, so guess there was an error or something and the log set just stopped. I am having a hard time figuring this one out. I tried taking the daq application as is and running here locally on my pc. I Created the same Mysql Environment and watched the log grow no matter what snapshot interval I used or on the fly changes I made. However, the difference is that I was using a test sequence to stuff values into the channels rather than the actual method. At the customers pc, if I query or change the interval with DAQ running it seems like the log quits putting data in the table, although there may be no relation what so ever to me doing so.
  9. Davarius

    My Sql Table Update?

    I think I found the problem. After trying some things out, I see that my data doesn't always come in at a fast rate. I created a new table and set DAQ to log every 10 seconds but still got null values. I added a value manually in DAQ to a channel since it was updating kind of slow and then saw that particular channel no longer had null starting from the time I did the manual add. The rest of the channels that had not updated yet still contained null values. I remember seeing that DAQ logs when a new value comes in. In my case it seems as DAQ begins to log, no new data comes in either at all or within the interval I set for logging which makes that snapshot null, so could that be it?
  10. Davarius

    My Sql Table Update?

    I am back to dealing with the MySQL database and I am finding that after I set a database up for logging I get a random number of days of actual values and then filled with Null for each entry after that, until I create a new table to try again. DAQ applications are for customer use and I log in remotely at times to check up on things, so they may have closed and restarted DAQ any time after initial setup. I think closing the application might be throwing things off seeing as one customer may have gotten 5 days of data with no Null's and another 3 days of data. My settings are to only take a snapshot -fixed interval -120 seconds. SQL settings are default with the exception of Date field changed to "DOUBLE". Has any one else encountered this problem? Any suggestions or possible causes?
  11. Davarius

    Checksum Correct , ID Wrong

    Just to verify, the attached file gets put in the DAQ folder correct? If so is it o.k to "get rid" of the existing file (e.g. move it into another folder, not write over it).
  12. Davarius

    Checksum Correct , ID Wrong

    Thanks for the patch, we were toying around with some solutions just in case, but now its even better that this mod will allow checking for mismatched id's.
  13. Davarius

    Checksum Correct , ID Wrong

    Yes, the device does reply after the time out period and other requests. The problem at the site that you visited in Lane County,Oregon. You took pictures, etc and there were discussions about communication, and signal strength while you were there. We have sites we manage with similar setups and there hasn't been a problem until this particular one, so all we really need is a band-aid solution.
  14. Davarius

    Checksum Correct , ID Wrong

    I found a problem with Modbus RTU where the checksum passes but data is not for the proper device id. calling sequence is something like: try myread=device.mydevice.readholdings16(id,start,100) some text here to display "read o.k." and time stamp (debug) catch() some text here to show last error and time stamp (debug) endcatch The catch statement is used to throw some flags to ignore a channel fill sequence called by my read sequence. Trending data showed some blips where the data went totally out of a reasonable tolerance. Using the debug text i placed in the Code above and the comm monitor, I found successful reads reported by debug text where the comm monitor shows a response from a different device. This was causing the data from a different device to be accepted and therefore filled into a channel. What is the deal there? Does the CRC used in Mod-RTU take into account device id? Each time the read sequence runs the start address and number of registers remains the same; only the id changes. There is 1000 ms delay for timeout and 300ms delay between requests, also a 1 sec delay at the end of each call of the read sequence. Is there any way I can get the actual response stream or at the very least which device the response came from? That way I could verify the id.
  15. Davarius

    Scripting Scope

    Exactly what i was looking for!! Thanx