All Activity

This stream auto-updates     

  1. Yesterday
  2. I personally use daqconnect.addValue() for everything. It gives me more control over exactly what data gets sent. And in your case avoids a dummy channel. I also use daqconnect.init() instead of using the menu, as it is more obvious what the data source is set to. It also allows for programmatic change of the data source.
  3. Further to the above, the dummy modbus device was set to device ID D# 0 Or should I be using : - daqconnect.addValue("tagName", value) i.e. daqconnect.addValue("LevelStatusDAQconn", LevelStatus) ?
  4. Hi, Is the best way to make DF Sequence variables available to DAQconnect : - 1. Create a new channel (named e.g."LevelStatusDAQconn") using a dummy modbus device and then ticking the DAQconn box and filling out the DCHst and DCintvl columns 2. In the applicable DF Sequence copy the actual variable to the channel "LevelStatusDAQconn" variable (i.e. LevelStatusDAQconn = LevelStatus) Doing the above worked fine but I just wanted to check that this is the best way?
  5. Last week
  6. AzeoTech

    Markers text location and font

    Your best bet is to create a separate page for each graph, presumably duplicating the main page with 4 graphs. Then use page.printPDF() to print the appropriate page with the appropriate graph. Note that under 17.1 and earlier you have to view these 4 pages at least once before trying to print them. You can do this in a startup sequence. The viewing can be quite quick, 0.1 seconds. Releases after 17.1 will not have this requirement.
  7. TheNovice

    Markers text location and font

    I'll try your suggestions. Also, I am displaying 4 graphs on a page. It would be great If I can save each graph as a image or a pdf, by doing right click and export. Is there any way to achieve it.
  8. There are shortcut keys you can assign in the Page properties, but usually people will create screen elements, such as a button that changes the page. To avoid creating the same menu over and over again, you can use overlaid pages. To see this in action check out the AshlandWater.ctl file in the samples folder.
  9. AzeoTech

    Unknown Error In Draw

    Olis, which release of DAQFactory are you using, and can you post your .ctl document and instructions on how to reproduce the failure?
  10. AzeoTech

    "p-Modbustcp 0010: Timeout" Error

    That is still pretty odd. Does that number actually update? Try creating a variable value control with this Expression: CH1.time[0] and see if it changes as well.
  11. Don't use the workspace to switch pages. Create buttons that change the pages and then it is easy to add script to trigger a sequence. The workspace is really designed for development, not for running your application.
  12. AzeoTech

    Multiple serial ports open

    Something is off then. My guess is the assignments aren't correct. Why don't you post or email us your .ctl doc so I can check. Many customers run multiple com ports so the program is certainly capable of it.
  13. AzeoTech

    Markers text location and font

    1) Removing Markers on graph via code: You can't do it. The idea of the markers it that they are user adjustable. If you want to create a scriptable marker, use the line or axis annotations instead. 2) Enlarging font of markers description which is displayed at the bottom of the graph and also changing its location. You can create your own display and make it look however you want by referencing the MarkerA_X, MarkerA_Y variables of the graph. 3) Changing font size for values inside of dropdown Combo List. Not currently possible. 4) While using Date-time picker, option to make time as either start or end of the day selected. You can simply do the math on the result. Start of day is: floor(value / 86400) * 86400. End of day is: floor(value / 86400) * 86400 + 86400. 5) Thaw all axis, instead of x and yfrozen for graph via code. Not sure what you mean here. In code, just set XAxisFrozen and YAxisFrozen variables to 0. Having another variable to do both is redundant. 6) Also, I tried printing graph and then saving it at a specific location, but when I click browse to select a path, the Daqfactory file crashes. This is a known issue in newer versions of Windows. Put the graph on a page to itself and use the regular print instead of the right click print.
  14. Earlier
  15. sagha

    Multiple serial ports open

    Hi. The problem I'm seeing is this: I have two devices plugged into USB ports of my computer that are acting as serial ports, device A and device B. Device A connects as COM2 (for example) and device B connects as COM3. In my DAQFactory project, I make one device called mydeviceA and assign it to COM2. I make a second device, mydeviceB and assign it to COM3. When I go back to the menu settings for mydeviceA (to look at the raw serial stream, for example), I see that it has also been assigned to COM3. What I would like is for mydeviceA to read/write the stream from COM2 and mydeviceB to read/write the stream from COM3 all from the same project. Thanks.
  16. OliS

    Unknown Error In Draw

    Hi Azeotech, Was there an answer to this problem? I'm getting just the same problem with a very simple version of the above? Many thanks Oli
  17. AzeoTech

    Multiple serial ports open

    Yes you can definitely do this. What problem are you seeing when you try this? Note that if you want to create two devices that use the same serial port you should only create one port and assign it to both devices.
  18. Hi, I'm reading one channel from a DAQBridge and need to send this channel to Daqfactory placed in another location. This DAQfactory channel should be updated in each second. The available examples to control from Daqconnect are in click events. So could you please explain how should i send these values of the channel from Daqconnect frequently without clicking a button? Please include an example script as well. BR, Thushara.
  19. Create a page handler which runs a sequence based on page clicked, - If Page 1 is clicked, then run some Sequence - If Page 2 is clicked, then run another Sequence thanks
  20. amp

    "p-Modbustcp 0010: Timeout" Error

    I tested with only one channel and checked again. Still keeps getting this timeout errors in the Command/Alert windows. Modbus ID and reading registers are all correct. The value read from the HMI is matching with no problem at all. Please see the attached screenshot and my test application. Tried also timing to 0 to reset but it does not semm to work. Once I put timing back to 1, timeout error pops up again. I am only test on desk so the cable is quite short. Can't think what else could cause this error? Read Channels.ctl
  21. TheNovice

    Markers text location and font

    Is there any way we can change the text location of the marker's information. Currently when we place a marker on a graph the information sits in the bottom left side of the graph. Can we enlarge that text? as it has very tiny font size. I was also trying to remove the marker via code: eg- component.graph1.MarkerA_Valid = 0 , but I dont think we can remove marker via code. Is there any way to do it? Also, When I provide bottom axis with date & time value, ranging multiple days, it displays some garbage value in the bottom left corner of the graph, which keeps on constantly updating(garbage value) by itself, just like a slideshow. I can send you more info if you require. Thanks!! Here's a summary of questions: Removing Markers on graph via code. Enlarging font of markers description which is displayed at the bottom of the graph and also changing its location. Changing font size for values inside of dropdown Combo List. While using Date-time picker, option to make time as either start or end of the day selected. Thaw all axis, instead of x and yfrozen for graph via code. Also, I tried printing graph and then saving it at a specific location, but when I click browse to select a path, the Daqfactory file crashes.
  22. Is there any way I can change the font size of the values in dropdown list and large size date picker in datetime component on UI. EDIT: I was able to change font size and datepicker UI size. Can I do same for dropdown.
  23. Sorry if this may seem obvious. I have a project that spans multiple pages. We developed the interfaces with a developer key and now want to run the project under a Run-time license. How can I allow the user to easily switch between the different pages without having to re-insert the hardware key? Are there any easily attainable sort-cut keys or will I need to have to go back to each page and create my own navigation system? Thanks... in anticipation. Martin
  24. AzeoTech

    "p-Modbustcp 0010: Timeout" Error

    It is hard to say. It is probably just one channel that is causing it. Either you are querying an invalid tag, or you have other settings wrong on one of your channels, such as D# set to 0 instead of the proper Modbus ID. I would go through and set the Timing of all your channels to 0, then reset them one by one until the message starts appearing. Then you'll know which channel is causing the troubles.
  25. Thank you Guru. I have emailed a couple of sample files to support. Regards Paul
  26. In my project, I'd like to read the serial streams of more than one serial COM port at a time. I tried to make two separate serial objects in the device configuration, but I cannot open more than one at time. Is it possible to open two COM ports in DAQFactory in one project simultaneously?
  27. amp

    "p-Modbustcp 0010: Timeout" Error

    Hi, I am also using DaqFactory to communicate with HMI via Modbus TCP. Communication works fine and receiving data from HMI correctly and can not find anything is wrong but the error message "P-ModbusTCP 0010: Timeout" keeps displaying in the Command/Alert window. I checked channel settings, tried different timeout values but does not change. I can not figure out why getting this P-ModbusTCP timeout error while communication seems all fine. Please advise.
  1. Load more activity