AzeoTech

Administrators
  • Content Count

    5,600
  • Joined

  • Last visited

Community Reputation

0 Neutral

2 Followers

About AzeoTech

  • Rank
    Guru

Recent Profile Visitors

50,092 profile views
  1. That depends a little. What data rate are you hoping to achieve? How many channels? Are you connecting over USB or Ethernet? What sort of math are you going to do?
  2. AzeoTech

    Configuration file at startup

    You had #2 done in the document you posted, so all I changed was #1.
  3. AzeoTech

    Configuration file at startup

    The problem is the second line in your class declaration: local debug = That is invalid. You either need to give it an initial value or don't include the = sign.
  4. I'm not quite sure what you are doing, but as an alternative to the Set To action you can use a quick sequence and the system.EntryDialog() function. Something like: private datain = system.EntryDialog("Enter some data:", minVal, maxVal) if (!isempty(datain)) outputVar = datain endif minVal and maxVal are optional.
  5. AzeoTech

    Time since restart

    %j is day of the year. There is no 0th day of the year, so it always starts at 1. To do it you'd need to split it: "D: " + floor((SysTime() -(v.time_of_last_restart[0]))/86400) + FormatDateTime(" H:%H M:%M S:%S",SysTime() -(v.time_of_last_restart[0]))
  6. The latest build of DAQFactory (but I'm not sure about the latest release) adds several options to the HTTP.Get() function. That function now looks like: response = HTTP.Get(URL, [remote path], [port], [extra headers], [secure], [get headers]) URL is the URL without HTTP:// and without any path, so for example "www.azeotech.com" Path is the path on the server, and defaults to "/" Port defaults to 80 extra headers is a string with any extra headers you want to add. They'll need to be formatted as if they were in the actual header as I believe they are just injected into the default headers. Windows handles this. Secure = non-zero does an SSL connection (https://). If 0, it is a straight HTTP connection If [get headers] is supplied and non-zero, then response is a 2 element array. The first element is the response content, the second element is the headers for the response. If [get headers] is 0, or not supplied, then response is just a string with the content.
  7. AzeoTech

    Page Draw Lag-High Latency

    Any chance you can either post your .ctl document or email it to us at support@ along with which page is causing you the troubles? I should then be able to quickly find the culprit
  8. AzeoTech

    Install fails on Windows 7

    Hmm, that is very odd. No direct ideas. Any chance I can remote into your system at some point and see? Just email us direct at support@
  9. AzeoTech

    User Graph Interaction

    You can try adding: yAxisFrozen = 0 xAxisFrozen = 0 to the OnPaint event for the graph. They'll still be able to pan / zoom, but then it will instantly jump back to the programmed scaling.
  10. AzeoTech

    Common script for similar component type

    If you select multiple components, both the Event and the Properties docking windows will edit values for all the components at once. It is one of the advantages of using the docking Properties window over the popup component properties, though some things are not accessible from the docking Properties.
  11. AzeoTech

    Thaw and Freeze Graph using code

    Yes, but it is a variable not a function: component.myGraph.YAxisFrozen = 0 will unfreeze the Y axis. Set to 1 to freeze it. There is a corresponding X version.
  12. AzeoTech

    MySQL error for logging

    Is your ODBC data source actually setup correctly? Judging by the error message, it seems like you created the ODBC data source called "FDB", but then didn't actually link it to the database.
  13. AzeoTech

    Asking password before setting a component

    Email us directly and I can get you a link to the beta.
  14. AzeoTech

    Asking password before setting a component

    There is in the next release, which will probably be in January. It's not quite "this" as that returns a pointer, but rather a string that returns the component name, called, appropriately, "ComponentName". So you can pass this to a common function, then use execute() or evaluate() to access the component by name.