Translate

Adroit Newsletter

Sign up now for the latest news and updates in Adroit

Agent Server Print E-mail
1. How is a script triggered if more than one trigger is activated at the same time?

Answer:
A script is executed every time one of its listed triggers are triggered, where the last triggered added will trigger the script first, after which, the triggers follow their sequential order starting from 1.
Note: It is possible to determine, within the script itself, which trigger has triggered the script and then to launch specific sub-routines as a result of this, so the script itself provides the best means to control the response to different triggers.

For more information, search for this Adroit Help topic: Main subroutine scheduling and triggering.

2. What is the maximum number of samples that can be logged by a datalog using the proprietary Adroit log files?

Answer:
Each datalog or set within a datalog may only contain a maximum 5000000 samples (or 100MB).

3. Why are the HASP details displayed twice in the Agent Server window messages?

Answer:
This will occur, for one of the following reasons:

4. How do datalog files (using proprietary logging) affect the loading time of the Agent Server?

Answer:
- Datalogging (LGD) files are opened at startup and kept open by the Agent Server for performance reasons.
- On a cold startup of the computer, these files are read into a Windows memory based file cache for the first time, causing the Agent Server to take longer than normal to start up.
- On a simple restart of the Agent Server, the startup time is a LOT faster because the log files are already in the file cache.
- If the Agent Server is stopped and the computer is left on, then if NO FURTHER action is performed on the computer the next startup time will be quick. If other activity takes place, this MAY affect the state of the file memory cache which will need to reload one or more LGD files from scratch at the next Agent Server startup.

5. When loading the Agent Server as a Service, it fails to load the postload file. It seems to be looking in the current directory (Win32). This problem does not occur when the Agent Server is loaded manually.

Answer:
- The contents of the postload file is normally saved in the user’s .WGP file after the first save and thus becomes obsolete.
- The Agent Server Service should only be used once the User is satisfied that the configuration is working correctly.
- Under these circumstances, the requirement for the postload file would already be obsolete. For more information, search for this Adroit Help topic:
- Service Configuration (WinNT & Win2000)

6. How do I check the number of agents per agent in the Adroit database?

Answer:
Display an agent on either a mimic or trend, select an agent type and select its “numberOfMembers” slot e.g. Analog.numberOfMembers This must then be done for every agent type that is used.

7. Why did my custom agents not backup when I backed up all my data files using the Adroit backup utility?


Answer:
All Custom agents and their files (*.DLL, *.VBS, *.CSV) need to be manually backed up, since these files are not currently supported by the Adroit backup utility.

8. Why do my applications using AdroitX no longer work in Adroit 6?

Answer:
Adroit 5.0 users upgrading to Adroit 6.0 will need to recompile any applications they may have that use the AdroitX ActiveX component.

9. How do I use the multistate agent to communicate to a 16 bit word in my front end device?

Answer:
- Add the registry DWORD
value "HKEY_LOCAL_MACHINE\SOFTWARE\Adroit
Technologies\Adroit\Workgroup\WG.INI\InputsToStatus"
and set it to
1.IMPORTANT: This is advanced information, if you use the Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system,
use this Registry Editor at your own risk. Also do not implement this change unless you understand exactly how these will affect the operation of your Adroit installation,
if you have any doubts, please contact the Adroit Support, before changing the registry. - Restart the agent server.
NB Use the Marshal agent instead-for more information, search for this Adroit Help topic: The Marshal Agent.

10. Can I export and import a list of all tags which are alarmed?

Answer:
 - For Adroit version 6 update 1 onwards it is possible to import alarm agents. For more information, search for this Adroit Help topic: Importing Alarm Agents.
- For Adroit version 5 and below, you can export the alarmed tags, but it is not recomended that these are imported. For more information, search for this Adroit Help topic: Exporting and Importing Agents.

11. What OLE DB provider must be used to connect to an Access database?

Answer:
The "MicroSoft Jet 4.0 Ole DB Provider" must be used. For more information, search for this Adroit Help topic: Connection string

12. After trying to bulk unscan a number of points by deleting the scan points from the WGP file, and attempting to scan the points once again, the message ‘slots already been scanned’ appears - why?

Answer:
This is only a problem in version of Adroit prior to 4.1.1.22. Adroit 4.2 fixes this, you should be able to fix this by using the -SS command line switch when running the Agent Server, the other way to overcome this is to type ""putslot agent.slot.statusscanned,0"" for each tag affected.

13. How do you use the extract utility?

Answer:
- Adroit uses a data extraction facility called Extract which retrieves information from an AgentGroup consisting only of DataLog agents, or from a single DataLog agent, for a specified time period. The data is then converted into a CSV (comma separated value) file format which can be opened by a third party application such as Microsoft Excel and formatted to create reports.
- For more information, search for this Adroit Help topic: Extracting Logged Data.

14. How do you trigger an expression every time an operator changes an analog value?

Answer:
Use the same analog value as the trigger for the expression. For more information, search for this Adroit Help topic: Evaluation Options

15. Why does my Agent Server not shut down, or why do Agent Servers in a cluster not see each other?

Answer:
This is a known problem up to version Adroit 5.0.3. Perform the following steps to fix this:
1. Open the Adroit Setup utility (psexe.exe).
2. Open the ‘Agent Server’ tab.
3. Click on the [Options...] button next to the ‘Project name’ entry.
4. Ensure the ‘Enable remote servers to automatically detect this server’ checkbox is ticked.
5. Click OK.
6. Start the Agent server and it will shutdown/exit properly now.

16. Why is the window empty after a tag’s logged data has been retrieved?

Answer:
Stop and restart the log, any logged data will appear, no data will appear in the retrieve window if the logging has not logged any values.

17. The Agent Server is started as a Service. The PC boots up straight into a User Interface where the mimics indicate that the Agent Server is not running.

Answer:

Verify that the Agent Server Service has been installed, is an automatic service and that this service has started. If it has been installed as an automatic service and does not start, then there is a load up problem. Set the service to manual and start the Agent Server manually from the Adroit program group and check for any load up errors in the Agent Server window. For more information, search for this Adroit Help topic: Service Configuration (WinNT & Win2000)

18. Why is my DB Access agent unable to transact with a remote database?

Answer:
- If you are running your Agent Server as a service, then ensure that it is NOT using the Local System account as this MAY not have the necessary rights to browse the network and connect to the remote database.
- If this IS the case, change the Agent Server service to Log on as the local or domain Administrator or a suitable user instead.
- If you are connecting to a SQL database, you could also change the DBAccess agent’s connection string to use SQL authentication and not Windows authentication.

19. Why does Save on Exit not work?

Answer:
- The Save on exit setting, which can be found on the Adroit Setup\Advanced page, does not work when the Agent Server is installed as a service.
- This is a known problem, and is due to the way that Adroit receives and processes the shut-down/close message, when run in a window the server responds to the close by saving itself. But when run as a service, the server cannot save itself, since this feature is integrated into the Agent Server window and not the service.
- This feature was not implemented in the service, due to problems when performing long operations, like saving, while a service shuts down, because the service can be terminated by the Operating System before the save has completed.

20. Why do Agent Servers in a cluster or project NOT connect to and communicate with each other?

Answer:
IMPORTANT: Check that the HASPs that the Agent Servers are using:
1.) If you are using an Adroit 5.0 HASP on Adroit 4.2 projects where Agent Servers are not in a cluster or project environment, there is no problem with this.
2.) But if you are using an Adroit 5.0 HASP on multi agent server projects in Adroit 4.2, where agent servers need to communicate with each other either within a project or a cluster environment, then the Agent Servers will simply NOT COMMUNICATE WITH EACH OTHER.
3.) If you are using an Adroit 5 HASP together with an Adroit 4.2 HASP in the same Adroit cluster Furthermore, then again the Agent Servers will simply NOT COMMUNICATE WITH EACH OTHER.
4.) Cluster servers on different domains/workgroups will NOT COMMUNICATE WITH EACH OTHER, since Agent Server broadcasts do not go across different domains/workgroups.
5.) Cluster servers on opposite sides of a router will NOT COMMUNICATE WITH EACH OTHER, since Agent Server broadcasts do not go across the router.
6.) Cluster servers on a workgroup must have the identical user security configuration on both PC's.

21. Why does the exporting of my Statistical agents always crash?

Answer:
- When exporting Statistical agents, ensure that the “Enabled” checkbox within the “Floating average” group is UNCHECKED, then save the WGP file and export these agents.
- After importing, re-enable this checkbox for the applicable Statistical agents.

22. The Agent Server will not load.

Answer:
- Check the "Max agents" entry in the Adroit Setup / Agent Server / Advanced dialog. This number should be at least 10% more than the number in the first line of the WGP file (SYS=x).
- The amount that it should exceed this number, depends on the amount of scanning that is being performed. If this setting is larger than required, then more memory will be used than is actually needed.

23. Why do I get an error when I configure the Agent Server to run as a service, using a specific user account?


Answer:
Ensure that you have correctly specified the logon details of the specified user account. These settings are specified in the Log on as section of the Service tab of the Adroit Setup (PSEXE.EXE) utility, as follows:

1.)   Ensure that the specified user name is FULLY qualified, in other words:

If you are on a domain, then specify the user name as: DomainName\Username.

24. The Agent Server has not been started but the Agent Server states that it cannot open as there is another Agent Server running on the machine.

Answer:
Check to see whether the Agent Server has not already been started as a service. Also ensure that there are no other agent servers on the network with the same Agent Server name.

25. An error message appeared ‘not enough scan points were licensed’.

Answer:
- Examine the HASP agent in the Configurator, if the ‘I/O Status’ field reads ‘Hasp not found on any of the ports’, then ensure that the HASP is plugged in correctly.
- Alternatively the number of licensed scan points have been exceeded, agents that consume scan points, in Adroit are: Device, Scripts and DBAccess agents.
- To verify this, stop all the Device agents, and start them one at a time and observe when this message reappears.

26. How do you set up a remote connection?

Answer:
- To connect the User Interface to a Remote Agent Server:
- Edit the properties of the User Interface shortcut icon in the Adroit program group in the Start menu.
- By adding the parameters of computer name and agent server name separated by a full stop, after the pathname to the ADROIT.EXE file, in the Target field i.e. \ADROIT.EXE . E.g. C:\ADROIT\ADROIT.EXE COMP_1. AGTSRV_A

27. There was a cut in the power supply and the PC powered down. Now the Agent Server is not loading and it fails on line zero.

Answer:
- The WGP file is possibly corrupted, you will need to restore a backup copy of the WGP file.
- To prevent this in future, do not auto-save and do not have save-on-exit enabled.
Note: Ensure that you back up this WGP file frequently, to avoid a costly loss of data.

28. How do you prevent the Subscription Manager queue length from overfilling?

Answer:
- Open Regedit, and Add the following DWORD registry keys:
LocalmemAsyncBuffSize=2000000 & LocalmemHighWaterMark=1000000 in \\hkey_local_machine\software\AdroitTechnologies\Adroit\Workgroup\wg.ini

IMPORTANT: This is advanced information, if you use the Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system, use this Registry Editor at your own risk. Also do not implement this change unless you understand exactly how these will affect the operation of your Adroit installation, if you have any doubts, please contact the Adroit Support, before changing the registry.

29. Subsequent to a power failure, the Agent Server window is showing datalog load errors and/or datalogging does not seem to be working

Answer:

- The datalog data files are most likely corrupted.
- Shut down the Agent Server, backup and delete all datalog .data files (*.lgd and *.lgi) and restart the agent server.
-To prevent this from happening in future, the following steps can be taken:
1. Use only NTFS instead of FAT or FAT32 file partitions.
2. Disable the "flush lazily" setting for the Adroit Logging. The adverse side effect of this is that the duty cycle on the disk will be much more intense, since every change will be flushed through to the disk, so that there may be a reduction in the system throughput.
3. Install a battery-backed UPS (Uninterruptible Power Supply) so that power is never removed from the server in an uncontrolled fashion. This option also allows "flush lazily" to be enabled.

Note: Option 3 provides the only cast iron guarantee, but most sites find option 1 sufficient.

30. I have a series of tagnames e.g. "A01_AGA_R_C1", "A01_AGA_R_H2" etc. and I want to duplicate these tagnames, so that the first three characters are different e.g. "B02_AGA_R_C1", "B02_AGA_R_H2" etc. Is there a shorter way to do this, other than doing it manually one at a time?

Answer:

The Project Explorer, provides the Create agents dialog, which allows the user to create multiple tags with one field and click. It is not clever enough to create a matrix of tags with alphabetic suffixes/prefixes that change but will do numerical values nicely. Example to create the tags "A01_AGA_R_C1", "A01_AGA_R_C2", "A01_AGA_R_C3" "A01_AGA_R_C4" "A01_AGA_R_C5" use the Agent explorer add tags menu and type "A01_AGA_R_C%d,0,5" (no quotes). To create the same range of tags but also create "A02_AGA_R_Cx" through "A09_AGA_R_Cx" type in "A%02d_AGA_R_C%d,2,9,0,5" (no quotes)

31. Can I prevent the OPC server from starting up when the AS starts up?

Answer:

No.

32.The hihi alarm cannot be updated with an operator action. The error message reads ‘failed to write to a1.hihi’ - why?

Answer:

Check that the hi value is set lower than the hihi value. For more information, search for this Adroit Help topic: Alarm Limits

33. Why can’t you re-import the device agent after exporting it?

Answer:

- Check that the correct import function is being used i.e. the 'Import' command accessed from within the 'Edit Device Agent' configurator dialog and not from the File menu.
- For more information, search for this Adroit Help topic: Online Import

34. Why can I connect to my OPC Server locally but not over the network?

Answer:

Please ensure that your OPC server is OPC 2.0 compliant because the OPC 1.0 specification only supports local (same PC) client connections, because it does NOT support DCOM and so you will never connect to OPC 1.0 servers from across the network.

35. When loading the Agent Server, the datalog agents get agent DLL exceptions - why?

Answer:

(1) Delete the Raw and IDX files.
(2) Stop the Agent Server as a service. Switch off the save on exit option.
(3) Verify that the necessary disk space (I.e. about 1 MB is still free) on the drive that is being datalogged to.

36. How do you change an alarm so that it does not have to be acknowledged?

Answer:

- In the Alarm Configuration dialog box, for this alarm, uncheck the ‘Acknowledge’ check box, this is checked, by default.
- For more information, search for this Adroit Help topic: To apply alarming to an agent.

37. How do I change the output or destination of an expression without using the configurator?

Answer:

- To configure the expression so that you can enter a tag into the value, which will hold the result of the expression:
- One of the header slots of the expression agent is "sink", this is the tagname that the expression does a putslot into. e.g. putting "MYTAG.value" into the sink will mean every time the expression triggers, it will put it's result into MYTAG's value slot.
- The "sink" slot is a header slot, so it is hidden until you turn "view header slots" on in the Adroit tag browser.

38. How do you merge databases?

Answer:

- Export one of the Adroit databases (WGP) by using the File\Export command to export each individual agent type that is used in the database.
- Therefore some agents like alarming can be exported but cannot be reimported, press F1 for a table highlighing the exportablity and importability of different agent types.
- Then Use the File\Load Agents command to load the agents into the other database and use the import buttonds in the device agents to import the scanning and the import button in the recipe agents to import the recipes. For more information, search for these Adroit Help topic: Overview of Configuration Options Available for each Agent; Exporting and Importing Agents

39. When I log data every hour for 365 days, the log that should occur at 12am does not log, why?

Answer:

- In Adroit, when data logging the trigger, will only trigger when the value is greater than zero, hence whenever the time reaches 00 PM or min reach 0 or sec reach 0, no logging will occur since this value is not greater than zero.
- As a work-around, create an expression that takes the current hour or min or sec and adds one and mark the expression continuous therefore the data log will work all the time as zero will never exist and use this expression as the data log trigger.

40. How can you link the value from one tag to another?

Answer:

- Method 1: The preferred method Select the destination tag in the configurator and press the "Scan" button, select any device, normally SIMPLC, in the address field type @sourceagent.slot, press the "Scan" button and start the device
- Method 2: Use an expression where, the tag containing the value that is to be linked to the other tag is browsed into the V01 edit box and the tag requiring the other tag's value is browsed into the 'Value' edit box and set the
- Expression to: v1. For more information, search for this Adroit Help topic: Scanning from another Agent’s Slot

41. Why is my proxy Agent Server not creating proxies?

Answer:

If the proxy Agent Server is running as a service, then ensure that it is NOT using the Local System account as this MAY not have any connection rights to the remote Agent Servers. If this IS the case, change the Agent Server service to Log on as the local or domain Administrator or a suitable user instead.

42. Why does my WGP file have two Boolean AgentGroup agents?

Answer:

This is a problem only with newly created Adroit 6.0.0 WGP files. The only way to fix current WGP files that exhibit the problem of two Boolean AgentGroup agents is to manually edit the WGP file and change the second [Boolean] agent group entry to [Counter] as well as change it's PIC=boolean property to PIC=counter. Do not try this unless you know exactly what you are doing - rather send your WGP file to Support for fixing.

43. Why does Adroit not save all the decimal places of my Analog values, even though they do appear in the Adroit UI before the Agent Server is saved?

Answer:

Adroit only saves real numbers to 15 decimal places in the Agent database (.WGP) file, therefore while values with greater precision can be typed in and used, saving and reloading will lose all real number values beyond 15 decimal digits.

44. If I change the datalog compression factor in the registry, will I lose the existing data in the log file?

Answer:

-Refer to the following help topic:
Registry Values affecting the Agent Server, for the registry setting required to override the default 20% data log capacity factor that is applied to datalog files.
- If you change this compression factor you should NOT lose the data, because on the next start up of the Agent Server, the logfile is re-organised by making a bigger space and transferring any existing data to this new space.
-This old space leaves a hole in this bigger datalog file and these holes are only removed on the next Agent Server startup. Therefore on changing this factor expect your next two Agent Server startup times to be slower while the logging system re-arranges the log files.
- Also remember to make the registry change on ALL remote clients and restart the clients.
- Note: Before changing the compression factor make sure that you have the space available on your disk because the LGD files are about to get 5 times bigger on the next AS startup.

45. How do you set up the alarm agent?

Answer:

Follow this procedure:
1.) In the Agent Configuration dialog, select Alarm from the Agent Type drop down list. The default Alarm agent (called defaultAlarmAgent) is displayed in the Tags list box.
2.) Select the defaultAlarmAgent and click on the Edit button, or create a new Alarm agent and Add it to the Agent Server before selecting Edit. The Edit Alarm Agent property sheets are displayed, with the Routes tab selected. This involves the selection the Alarm route destinations.
For more information, search for this Adroit Help topic: To edit and create a new Alarm agent

46. Why am I unable to connect to an Oracle database when using the DbAccess agent?

Answer:

- When working with the OLEDB drivers for Oracle, the connection is made to the Oracle Database Server and not to a specific database.
- Therefore the following additional configuration is required when configuring the DBAccess agent: After the tag to field mappings have been made, add the name of the required database to the Table name edit box, as follows:
- OracleDataBaseName.SelectedTableName e.g. DB1.Table1

Note: if this is additional configuration is done before the tag to field mappings, Adroit will be unable to browse for fields within the selected table.

47. How can I create Adroit agents by using the exported CSV files?

Solution:

1. Create one agent of the type you want to be able to import.
2. Save and Export this agent, creating a similarly-named CSV file.
3. Modify this CSV file, as follows:
a.) The heading line (line1) is fixed, and must be there. b.). Columns like version and time can be copied for all the new entries. c.) The status column contains the 16-bit mask of the Configurator status bits or header bits. To ensure that the correct header bits are set:
i)Configure the header bits for a tag as you need it to be configured
ii)Save & export this tag
iii)Write down the resultant bit mask that appears in its status column.
iv)Use this number in the status column of all the new tags that you add.
v) Repeat this procedure for any the tag header configurations that you need to use, using the appropriate 16-bit mask where applicable.
Note1: It is essential that you adhere to our CSV format, to ensure that that tags you insert will be imported.
Note2: The limits on tag-name lengths and string fields still apply and if exceeded, will not allow these tags to be imported.

48. Why am I unable to configure the time of a Date agent from a mimic?

Answer:

By design, it is not possible to externally manipulate the ucttime and localtime slots pf the Date agent, for instance via a mimic EXCEPT by using the "Set to now" button of the date agent dialog or by using the "settime" slot of the date agent which also "sets the date and time to now".

49. How do you initiate logging with a tag?

Answer:

When logging the required agent, under 'Mode' select the 'Demand' radio button and then browse in required tag and slot into the 'Trigger' edit box, so that whenever this tag is triggered when the trigger rises, this agent will the logged. To stop and start logging in a custom fashion, use the "start" slot to enable and disable logging, demand logging is more efficient in that the Datalog agent does not have to log POST start-up values each time. For more information, search for this Adroit Help topic: To configure the data logging of an agent

50. Is Adroit designed for high speed logging i.e. able to data in Adroit with 10msec resolution?

Answer:

Adroit was never designed for high speed logging, neither to the proprietary log file or OLE DB databases. It is for this reason that dedicated logging products such as InSQL exist.

51. Why did the computer experience difficulty when importing 200 scan points?

Answer:

The device agent must be manually stopped before importing scan points, otherwise the device agent will stop and restart after each scan point is imported, which will slow the computer down and may even result in loss of connection to the Agent Server. Once all the scan points have been imported, then restart the device agent. For more information, search for this Adroit Help topic: Scanning Import

52. Although the values in the Expression are correct, the Expression is BAD.

Answer:

Usually, one of the tags used within the expression are Scan-BAD, change the ‘Display’ mode to ‘Names’ and then verify that each tag, used by the expression is healthy and also ensure that the syntax of the Expression Agent is correct. For more information, search for this Adroit Help topic: Calculations

53. Why does the following message occur "Cutting time losses and re-initializing systemInfo time" in Adroit 5.0?

Answer:

This occurs when the system time appears to go backwards. This is caused by a PC that has time synchronisation enabled with an external source and either the local PC clock is running too slow OR the remote PC's clock is running too fast.

54. Why do I receive ‘Invalid WGP file’ errors when I try to import agents into Adroit?

Answer:

If you receive ‘Invalid WGP file’ errors when importing agents, ensure the following: 1.) That the length of the path and filename of the .WGP file does not exceed 40 characters in total. 2.) That the folders names in the path and the filename of the .WGP file do NOT contain spaces e.g. change 'my Files' to 'myFiles'.

55. Why aren’t all the tags imported when importing Expressions?

Answer:

Expressions will not copy correctly if all the tags the expressions refer to do not yet exist. First import the tags that the expressions utilize (e.g. all analogs and digitals) and then import the expressions so that they can establish any links correctly

56. Can I use a RAWBYTES slot type?

Answer:

No, the RAWBYTES slot type, is ONLY intended for the internal use of the agent and does NOT provide any other functionality.

57. Why does my timed license display the error that the scan license has expired as soon as the Agent Server is launched in demo mode?

Answer:

This means that the currently specified maximum agent count is less than your current number of agents. This maximum agent count is specified by the ‘Max agents’ edit box in the ‘Advanced’ dialog of the Adroit Configuration Setup.

58. The value on the mimic is not the same as the value on the PLC - why?

Answer:

Check that the raw value slot and not the value slot is being scanned. For more information, search for this Adroit Help topic: Golden Rules for Scanning

59. When importing the device agent from a .CSV file, for a simulated PLC device, an error message ‘ISD_QUE_ERROR appears - why?

Answer:

When exporting the device agent, not all the parameters are exported, due to an internal error. The last two parameters: scan rate and deadband are not exported. The .CSV file must be edited to add these two fields or columns. Ensure that the device is stopped before importing and started after the import.

60. Why can’t Adroit get communications through to the PLC? The message reads “Adroit failed to initialize the port” - why?

Answer:

Check that the port is not being used by the mouse driver or any other application, for instance, this can also be caused by running the PLC programming program on the same PC as Adroit, if this is the case then close the program.

61. When datalogging to a database, how can I log the timestamps too?

Answer:

To add a column containing readable timestamps to the database table, that is being datalogged to from the Adroit, please add the LogADODateTimes value in the HKEY_LOCAL_MACHINE\SOFTWARE\Adroit Technologies\Adroit\Logging key and set it to 1 Note: You must now delete your tables and let Adroit re-create them, including this new timestamp column. IMPORTANT: This is advanced information, if you use the Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system, use this Registry Editor at your own risk. Also do not implement this change unless you understand exactly how these will affect the operation of your Adroit installation, if you have any doubts, please contact the Adroit Support, before changing the registry.

62. How do you log the average, of a value, every half hour?

Answer:

Create a Statistical agent, select your Analog as the source, start the Statistical agent, and then log the relevant "Average" slot, use an interval of about 15 minutes or else the 1/2 hour average will not always lie on 1/2 hour boundaries, and a better trend will result. Refer to "To Create a Half Hour Average of a Process Input" in the help file.

63. How do you set up Adroit on two PC’s on a network?

Answer:

If running 2 Agent Servers, the project name of both Servers, these can be verified by opening the Adroit Setup and checking the ‘Project Name’ field in the ‘Agent Server’ tab. Each adroit will look for the agents over the network on the other server so long as the project names are identical. This will not work without manual connections (configure these in Adroit Setup in the ‘UI connection’ tab) if the computers are on a WAN separated by routers. For more information, search for this Adroit Help topic: Agent Server Configuration

64. How do I start all my datalog agents at once?

Answer:

In the Start menu, select the Run option and type in the following: putslot datalog.start,1

65. How can we disable the pagers (Notify agents) for our engineers when they are on leave and enable the pagers (Notify agents) for those engineers who take their place on standby?

Answer:

Currently there is no built-in way of enabling and disabling individual pagers, so the 2 options below are suggested. Option 1:Disabling the output-enable status slot of each notify agent. Use a script or "operator action" to put 0 (zero) into the “statusScanOutputEnable” slot to disable the sending of messages, and a 1 into it to enable the messages. However for this to work properly on all adroit versions, first stop the related device agent, by putting a 0 (zero) into its "start" slot, then change the Notify agent’s output enable (for all the engineers) and then start it again by putting a 1 into the “start” slot. The following pseudo-code illustrates the idea. if weekend=true then ' john is the only guy working weekends adroit.settag "MYMODEM.start", 0 adroit.settag "JOE.statusscanoutputenable", 0 adroit.settag "PETE".statusscanoutputenable", 0 adroit.settag "JOHN".statusscanoutputenable", 1 adroit.settag "MYMODEM.start", 1 else ' john goes fishing in the week adroit.settag "MYMODEM.start", 0 adroit.settag "JOE.statusscanoutputenable", 1 adroit.settag "PETE".statusscanoutputenable", 1 adroit.settag "JOHN".statusscanoutputenable", 0 adroit.settag "MYMODEM.start", 1 end if A script modeled on the above could be run at the end of every shift. The only disadvantage to this method is that if an alarm occurs while the device is stopped, it will never go out on the port. Option 2:Clearing the user code slot of each Notify agent. The “usercode” slot in the Notify agent, is where you usually type in the required phone number. By entering an empty string into this “usercode” slot will cause the driver to reject the message, and thus not send it to that engineer. Simply enter the correct phone/pager number into this slot again to enable the sending of messages on any of the Notify agents. The only disadvantage to using this technique is that although the driver ignores the SMS with a missing code, it will report an error that will appear in your alarm/event logs and will need to be ignored or filtered out of these viewers.

66. What units does the deadband use in the logging dialog?

Answer:

The deadband, uses the units that are used for the slot that is being logged. For more information, search for this Adroit Help topic: To configure the data logging of an agent

67. How do you output enable a tag?

Answer:

For outputs to be transmitted they must be enabled, do this by looking at the "header" of the tag, and check the "Output enable" check-box. For more information, search for this Adroit Help topic: Control Bits (user modifiable)

68. How do you reset the Counter agent?

Answer:
Use the reset slot, which will reset the Counter Agent, if it is set to 1. For more information, search for this Adroit Help topic: Counter Agent - Slot Details

69. What is the effect of using shadowed cluster servers with telemetry drivers?

Answer:

Note: Synchronous (polled) drivers are UNAFFECTED by shadowed cluster servers. This discusses the implications of implementing shadowed cluster servers when using telemetry drivers such as OPC, in asynchronous or non-polling mode, spectr, dnp3.0 etc. When a second cluster partner, is started, it will start in standby mode and then any UI's configured to attach to this newly started server will display any tags that are linked to "telemetry" device(s) as being "grayed-out" or marked bad. This is by design, since Adroit has no way of knowing what which of these tags are healthy at startup because of the unsolicited nature of these telemetry drivers. Therefore Adroit errs on the side of caution and grays out all the tags, this also protects the shadow system from mismatched databases in the cluster. Note: Normally, this should only be a problem on the UI of an unmanned cluster node, which is configured to connect locally–all other remote UI's should be tracking the master. When the clustered servers are both online and the standby is "bad" because it has been started up later than the master, try one of the following: 1. Stop and restart the affected devices on the master server. 2. Swap master and standby at least once so-that the standby will become master and thus healthy as normal, the old master will become standby and remain healthy, and normal shadowing will take place from there on ... until one of the servers is restarted, then either re-implement method 1 or 2 again. 3. Leave it alone! If the standby takes over as master it will automatically become healthy due to the switch-over-shadowing.

70. What are the limits of the data logging sub-system i.e. what is considered to be a realistic logging length and period, etc.?

Answer:

1. Prior to Adroit 4.2 datalogging dll version 14 there was a hardcoded limit of 500000 records. This has now been increased to 5 million records. This was done to allow at least 30 days of logging at 1 second. 2. However, a configuration that results in 5 million records is unrealistic as this requires 0.1 GB of disk space. 3. To have a configuration that results in more than 1 million records per datalog is also unrealistic, because with multiple datalogs configured similarly you will quickly run out of disk space. 4. We believe that the old limit of 500,000 records (10 MB) is realistic. 5. The bigger the logfile, the clumsier and less efficient the datalogging subsystem. Therefore: 1. Log only for periods that are required to be able to control a process in the short to medium term. For Adroit 5.0 onwards use the datalog backup configuration to store medium to long term data in CSV files. 2. Keep the number of datalogs per log file such that the log file size is around 1 MB.

71. Why does the error message ‘comms error, cannot read from device’ ‘D register is not received by PLC’ appear?

Answer:

Check that the D Register is not output enabled. Scanning would then be done into the engineering value instead of into the raw value slot. The putslot then fails because the value is out of range.

72. How do I display my scripts in a text viewer other than notepad?

Answer:

To allow another editor to be selected when editing scripts in the Script Agent, set: HKEY_LOCAL_MACHINE\SOFTWARE\Adroit Technologies\Adroit\Workgroup (REG_)STRING ScriptEditor = “myeditor.exe”, by default ‘Notepad.exe’ is used. IMPORTANT: This is advanced information, if you use the Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system, use this Registry Editor at your own risk. Also do not implement this change unless you understand exactly how these will affect the operation of your Adroit installation, if you have any doubts, please contact the Adroit Support, before changing the registry. Note: The Adroit Script Editor is the default editor in Adroit 5.

73. How can I minimize the risk of datalog corruption in the event of a power failure?

Answer:

The following steps can be taken:
1. Use only NTFS instead of FAT or FAT32 file partitions.
2. Remove "flush lazily" setting on Adroit Logging. The adverse side effect of this is that duty cycle on disk will be much more intense, as every change will be flushed right through to disk. In consequence disk may need replacing after several months/years (who knows). In addition system throughput may be reduced.
3. Make sure a battery-backed UPS (Uninterruptible Power Supply) is installed so that power is never removed from the server in an uncontrolled fashion. This option allows "flush lazily" to be enabled. Option 3 provides the only cast iron guarantee, but most sites find option 1 sufficient.

74. How do you get sounds to come through the sound card?

Answer:

Assuming that the sound card has been installed and is fully functional: Add a Multimedia Agent and edit it. In the 'Multi-Media Element Path' edit box, browse in the required .WAV, .MID, .AVI or .RMI file. To test this set the Started State to On. For more information, search for this Adroit Help topic: The MultiMedia Agent.

75. How do you log on demand?

Answer:

Edit the specific datalog agent in the Agent Configurator and under Mode, select Demand Logging, then either browse in the tag that is to be used to trigger this logging in the 'Trigger' edit box or use the 'LogNow' slot of the datalog agent to trigger this logging as and when requirted. For more information, search for this Adroit Help topic: To configure the data logging of an agent.

76. Why have I lost my defaultAlarmAgent configuration after importing it?

Answer:

It is possible to lose your defaultAlarmAgent configuration if you re-import the alarm agent configuration from defective CSV files. This happens because we HAVE to clear the alarm configuration before we start the import process. If it happens, simply delete the defaultAlarmAgent agent and use the menu item "File/Load agents" and reload your WGP file which will restore the defaultalarmagent to it's last saved state.

77. How are alarm types configured?

Answer:

Follow this procedure:
1. From the Edit Alarm Agent property sheets, select the Types tab. The Types property sheet is displayed.
2. From the drop down list box, select the Agent Type for which the Alarm Types will be defined.
3. To add a new alarm type, press the Add button and enter the name, remembering that Alarm Types are case sensitive.
4. To edit an existing alarm type, select it and press Edit button to get a further dialog box.
5. NEW! To allow the status bits to be alarmed in their off states, check the Alarm Off States checkbox, this is off by default.
6. Select the Alarm Trigger status mask bits that will be used to monitor the agents using that particular Alarm Type.
7. Choose the agent slots to be reported using the changeover buttons e.g. for an analog type, you may wish to report the data held in the value and unit slots. The Available list box displays all slots relevant to the selected agent type. The Current list box displays the slots in the order in which they will be reported. The Insert button is available to rearrange the order of the slots. 8. Click on the OK button to return to the Edit Alarm Agent property sheets.

78. An error message ‘Agent DLL exception in appears - why?

Answer:

(1) Delete the Raw and IDX files.
(2) Stop the Agent Server as a service. Switch off the save on exit option.

79. How do you set up the date agent to see Weekday as an Integer?

Answer:

Use the ‘dayofweek’ slot in the SystemInfo agent to get the current day of the week. Or to return the day of the week calculated from a specified time, use an expression, with the following expression ‘(v1/(3600*24)-3)%7’, with v1 being the ‘cTime’ slot of the date agent that contains the specified time.

80. Why is Adroit unable to log data to my SQL Server?

Answer:

One of the reasons for this is when the decimal separator specified by the regional settings that are used by the Agent Server and this SQL Server DIFFER.

This problem arises because:
   
1. The Agent Server process uses the SYSTEM regional settings and NOT the user regional settings. This is by design to ensure that the Agent Server remains consistent regardless of the regional setting configuration of the User Interface computers that connect to it. The User Interface process, however, does use the user regional settings.
   
2. The SQL server uses either the SYSTEM or user regional settings, depending on the configuration of its service, which may differ to that of the Agent Server process.
   
Therefore please ensure that the regional settings (and in particular the decimal separator) used by the Agent Server and the SQL Server are IDENTICAL otherwise ALL updates to and from SQL will fail because of this decimal separator mismatch.

81. How do you get the counter agent to consistently update?

Answer:

Use an external trigger in the Counter agent, to update the On/Off time calculations regularly. If the Input Tag is changing at infrequent intervals, then triggering is required at faster intervals. For more information, search for this Adroit Help topic: To configure a Counter agent.

82. Why does Adroit frequently prevent operators from acknowledging alarms on the Adroit Agent Server computer, requiring us to restart the Agent Server to overcome this problem?

Answer:

One reason for this could be if you have configured a large number (>= 200) Alarm agents, which can cause the Virtual memory of the Agent Server process to exceed the default 2 GB limit, which will cause the Agent Server to malfunction. In this case, if you are running Adroit 7 or later, do the following:
   
1. Stop the Agent Server.
2. Add following registry key: DWORD Key Set HKEY_LOCAL_MACHINE\SOFTWARE\Adroit Technologies\Adroit\Alarm\MemSize = 4000 (decimal)
3. Restart the Agent Server.
4. Check that your alarms are working
5. Monitor the Virtual Bytes for the AS process using the Perfmon agent to ensure that it does not exceed the new 4 GB limit.

83. Which agent do you use to switch on a pump until the low alarm is reached?

Answer:

Use the Script or the Recipe or an Expression agent to perform this action. For more information, search for these Adroit Help topics: Expression agent; Script agent; Recipe agent.

84. How do you use the ‘NOT’ in the Expression agent?

Answer:

! is the element for NOT e.g. (!v02| v03) ? !v04 : v04 which means: IF (NOT v02 OR v03) TRUE THEN value IS NOT v04 ELSE value IS v04. For more information, search for this Adroit Help topic: Examples of expressions.

85. When saving the database, I get an error message about a circular reference.

Answer:

One possible cause of this is that the number of "max agents" specified in the Adroit Setup Advanced dialog box is too small. Make sure that this number is at least twice the size of the "SYS=" value in the first line of your WGP file. Round this number up to the next 10000. E.g. : SYS=13213 therefore 13213*2=26426 therefore use 30000

86. Why after having copied the Adroit files to a new machine, does the scan function not work?

Answer:
Verify that the driver DLL is in the Adroit directory by opening Adroit Setup and selecting the ‘Drivers’ tab and the driver should be displayed in the ‘Available protocol drivers’ list, if not, install it. Then ensure that devices that are being used within Adroit, have been configured, configured devices appear in the ‘Installed devices’ list in the ‘Drivers’ tab of the Adroit Setup, ensuring that these devices are appropriately configured. For more information, search for this Adroit Help topic: Drivers Configuration.

87. Does Adroit have a method of performing interlocking and logical decisions?

Answer:
The Script agent provides a way for the user to execute complicated tasks such as batching, reporting or complex mathematical operations through a Visual basic script or Java script. It does not replace the Expression agent, which is able to execute simple calculations far more efficiently and faster than the Script agent. For more information, search for this Adroit Help topic: Script Agent.

88. How do you prevent the Datalogging from graying out?

Answer:
You cannot change datalogging options while logging is started, Stop the datalog agent and then make any changes.

89. How do you change the multistate value slots from v1-v16 to v16-v1?

Answer:
Add the registry DWORD value "HKEY_LOCAL_MACHINE\SOFTWARE\Adroit Technologies\Adroit\Workgroup\WG.INI\ReverseMultiStateBits" and set it to 1. IMPORTANT: This is advanced information, if you use the Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system, use this Registry Editor at your own risk. Also do not implement this change unless you understand exactly how these will affect the operation of your Adroit installation, if you have any doubts, please contact the Adroit Support, before changing the registry. - Restart the agent server. NB Use the Marshal agent instead-for more information, search for this Adroit Help topic: The Marshal Agent.

90. What is the difference between an agent name and a tag name?

Answer:
The agent name is the name which we use when we refer to a specific agent e.g. ANA0001, which, would appear in the Tags list box, in the Configurator. A tag name includes the agent name and the slot name (the required attribute of the agent), separated by a period e.g. ANA001.value. For more information, search for this Adroit Help topic: Slots

91. An analog value has a device span of 0 to 32767 and an engineering span of 0 to 100. I am getting incorrect values on my mimic.

Answer:
Verify that the analog value slot has been configured for display on the mimic; that the rawvalue slot and not the value slot has been scanned to the front-end device and that the scaling parameters for the analog agent are correct. For more information, search for this Adroit Help topic: To edit or configure an Analog agent.

92. How do I convert the datalog time to a readable date/time or into a string format?


Answer:
Note: If the value from an expression agent is used in this script it is necessary to divide it by 10000 before it is converted into a Date/Time format. This provides the actual VBScript routines that are required to convert an Adroit timestamp value into either a Date or String format. By default an Adroit timestamp is an 8 byte float value, which represents the time in milliseconds since Jan 1 1601 0:0:0. Run this procedure, passing it an agent.slot that is to be converted to a Date/Time format E.g.AdroitTimeToTime(ANA001.time). This function will allow the user to specify the number of hours his time zone differs from GMT for the script to work correctly. Const TimeZoneDiff = +2 'The number of hours your timezone differs from GMT e.g. make equal to 0 to use GMT time. Const MSPERDAY = 86400000 'milliseconds per day Function AdroitTimeToTime( AdroitTime ) dim TIMEDIFF 'Constant for time difference between Adroit base date/time and VB base date/time TIMEDIFF = 9435312000999.5 - TimeZoneDiff * 3600000 'Convert to Date/Time using the script engine, this excludes milliseconds AdroitTimeToTime = CDate (( AdroitTime - TIMEDIFF ) / MSPERDAY ) End Function Sub AdroitTimeStr( AdrStrTime ) Dim ms Dim AdroitTime Dim Date_Time AdroitTime = Adroit.GetTag ( AdrStrTime ) 'Fetch the Agents time ms = ( AdroitTime - TIMEDIFF ) / MSPERDAY ms = ms - Fix(ms) 'Strip the day count ms = 86400 * ms 'No of Secs. ms = ms - Fix(ms) 'Get the fraction ms = 1000 * ms 'Convert to mS ms = Fix(ms) 'Strip the fraction 'Add the calculated milliseconds to the converted date/time Date_Time = AdroitTimeToTime( AdroitTime ) & "." & ms ‘ ************* Add your code here *************** End Sub

93. How do I add a new alarm agent?


Answer:
Open the Configurator, select "Alarm" in the agent types list, then type in the new name at the top, and select the ‘Add’ button and then the ‘Edit’ button and configure the alarm types. The defaultAlarmAgent has pre-configured alarm types for most alarms in Adroit.

94. Why does the following message occur "Re-initializing systemInfo time" in Adroit 6.0?

Answer:
This occurs when the system time appears to go backwards. This is caused by a PC that has time synchronisation enabled with an external source and either the local PC clock is running too slow OR the remote PC's clock is running too fast.

95. How do I check for healthy communications?

Answer:
From the Adroit program group start the "Driver Monitor Launcher" program. Select the driver type and then device you wish to monitor and press the "Monitor" button. Alternatively, from the DOS Prompt in the Adroit system directory, you can type PDRVMON devicename. Check the datascope and error log pages for activity.

96. Why do our Master Standby pairs get confused about who is Master?

Answer:
Ensure that all development is carried out on the Standby and not the Master. Also install samples and use the ‘Cluster.mim’ mimic in the Adroit\Samples\Mimics folder to monitor and control the cluster twin-system state. For instance incorporate it into some main system overview display.

97. How do you do a putslot?

Answer:
Adroit provides a utility that performs a putslot operation. The putslot utility enables a specific value to be written to the target agent’s slot. Alternatively, a value obtained from another agent’s slot, by dereferencing it with an asterisk (*) prefix, can be used in the putslot expression both for the target agent’s name and the put value. For more information, search for this Adroit Help topic: Putting Values into Agents
 
98. Why does the Adroit Agent Server computer switch itself off periodically for no reason?


Answer:
One possible reason is that the Hibernation option is enabled in the Power Options applet (Start, Settings, Control Panel) for this computer.

99. How can I see Marshal Agent individual 'dign.description' fields in my alarm banner?

Answer:
You need to add the 'digx.description' field to the Reported Data column for each of the Bitn Marshal Agent Alarm Types and display the Reported Data Column in the alarm list banner area.

100. How can the beeper be stopped?

Answer:
To immediately silence the beeper, Acknowledge all the alarms that have been routed to the Beeper agent. To permanently silence the beeper, remove the beeper agent from all the alarm routings. For more information, search for this Adroit Help topic: Routing to Audio Devices.

101. Why are a number of analog tags not updating?

Answer:
Check that the corresponding device has started, by selecting one of the faulty analog agents in the Configurator and pressing the "Scan" button. If the Device combo box is empty the agent has not been scanned. If the device has been scanned, press "Details" and ensure that the device is started alongside the Start and Stop buttons. If the device has been started then examine the protocol driver monitor for active communications and/or any errors.

102. Why, when I start my Agent Server using remote desktop is it unable to read the attached USB HASP?

Answer:
- Ensure that you do NOT use remote desktop to start the Agent Server, since remote desktop does NOT provide support for USB ports, so your HASP is inaccessible!
- Other reasons NOT to use remote desktop to start the Agent Server include:
   
each Adroit client started on the remote desktop, consumes a remote connection node in accordance with the Remote Desktop licensing restrictions.
   
by default, the resources (e.g. printer etc) of the computer used to remote desktop into the Agent Server computer are used by the Agent Server NOT the resources on the Agent Server's computer. This means that when you terminate the remote desktop session, these resources become unavailable which causes problems.
   
each Adroit client started on the remote desktop, consumes a remote connection node in accordance with the Remote Desktop licensing restrictions.
   
by default, the resources (e.g. printer etc) of the computer used to remote desktop into the Agent Server computer are used by the Agent Server NOT the resources on the Agent Server's computer. This means that when you terminate the remote desktop session, these resources become unavailable which causes problems.

103. Is the Agent Server normally run as a service?

Answer:
No. The Agent Server can run either as a standard Application or as a Service within Windows NT or Windows 2000. It is recommended that your initial installation should be as an Application, which provides more diagnostic information during the configuration period. The service option only needs to be considered on PC's where users are continuously logging on and off but require the agent server to continue running. This service option should only be used once your Project has been fully configured and is stable. For more information, search for this Adroit Help topic: Service Configuration (WinNT & Win2000)

104. Why can’t the Agent Server be saved over the network?

Answer:
Specify the correct path must be supplied i.e. if Adroit is in c:\adroit on the remote machine then ‘save agents’ path is still c:\adroit. The only difficulty is that the File Open dialog actually gets opened on your local computer, so what you see is not the same as on the computer where Adroit is running, so you need to type the path manually, this path gets echoed to the server, and used there. So this path must be correct for the server, not for you.

105. Why does my event vierwer not display the Description field for all the tags, occasionally displaying charcters like ||?

Answer:
The Regional Settings of the machine must be set to English (US).

106. How do you get the eventoutput agent to print?

Answer:
In the Eventoutput Agent dialog, either set the Printer Type to PRINT for a windows printer or to PARALLEL for direct output to a printer. Ensure that the agent is activated and correctly formatted. For more information, search for this Adroit Help topic: Method for sending events to Printers

107. Why cannot I import the output enabled or input inhibit status of scanned tags?

Answer:
- When importing agents from CSV files there is no way to import slot statuses.
- Therefore you cannot import the output enabled state of a specific slot, typically rawvalue.  This also applies to Input inhibit slot statuses.
- When importing scanning from CSV files, this information is also not imported as it is not part of the scanning configuration save structure.
- Therefore, once you have imported your scanning and/or agents, you needs to manually set the output enabled and/or input inhibit status for each scan point as required from the scanning dialog.

108. Why after scanning my Notify agent, does the tag show up as gray (scan-bad) on my mimic?

Answer:
This is a function of the scanning system, since whenever Adroit polls for the tag, the driver (which cannot read SMSs) has no data to return, and thus fails to read, resulting in the "gray" tag. To stop this from happening, set the scan-time to zero, then Adroit will not poll the tag, but instead only wait for data, and still write to the tag normally. An alternative is to scan-inhibit the tag.

109. Why would I use log sets when datalogging an agent?

Answer:
A log set can be specified in the Datalogging edit dialog, each set may log using different intervals and periods, and even to different files. For instance, use this feature to create for example 3 sets of data for an analog, one at high speed logging over maybe 24 hours, one more slowly over 2 weeks, and another log set for every hour over a period or perhaps 6 months. The size of each set will be similar, and become easier to work with on trends configured for the same log interval. By default, a trend always looks at the log set that used the same interval as the trend update interval. Hence a long trend will open quickly because it will fetch data from the long-term log set instead of the short-term log set which has more data, but at too high a resolution for this time-period.

110. I get error messages when I export Datalog or Statistical Agents.

Answer:
The export function is a generic function that expects the configuration of all agents of a particular type to be identical in the way they save themselves to the WGP file. However, statistical and datalog agents have the anomaly that the WGP file structure changes depending on how they are configured Statistical agents WGP file structure is affected by whether you have floating average checked or not. If you do have it checked it also depends on the number of samples you have selected for the floating average. Datalog agents are affected by the number of datalog sets. Therefore, the way around this is to have an empty WGP file and create a single statistical (or datalog agent) with a particular configuration. Save the WGP file and export (to statistical_type1.csv for example). Edit the statistical (or datalog) with another configuration type and export that as type 2. These CSV files can be edited and imported as required. For more information, search for this Adroit Help topic: Exporting and Importing Agents.

111. How do I create a half hourly average of a process input that is to be transferred to a database?

Answer:
Assuming that the process input is called TEMP1, use the following method: 1. Create a half hourly pulse: a) Create a digital agent called HALFHOURPULSE and enable a pulse of 100 mS. b) Create an expression called EX_HALFHOURPULSE with v1=systeminfo.minute, value=HALFHOURPULSE.value and expression=(v1==0)||(v1==30) 2. Create a half hourly reset pulse that will activate immediately after the half hourly pulse: a) Create a digital agent called HALFHOURRESET and enable a pulse of 100 mS. b) Create an expression called EX_HALFHOURRESET with v1=HALFHOURPULSE.value, value=HALFHOURRESET.value and expression=!v1 3. Do the half hour averaging of TEMP1: a) Create a statistical agent called TEMP1AVE and configure the input tag with TEMP1.value b) @scan TEMP1AVE.reset on the SIMPLC device to HALFHOURRESET.value c) Repeat step 3a and 3b for all inputs to be averaged 4. Create the DB transfer for TEMP1 a) Create a DBAccess agent called DB_XFR to the required databae and table triggered by the digital tag halfhourreset.value b) Set up TEMP1AVE.average to a field in the table c) Repeat step 4b for each statistical agents created.

112. When the Agent Server loads, it gets to the point where it checks for duplicate agent servers and then it hangs, why?

Answer:
Check that Windows networking has been installed. If your PC does not exist on a network, use Microsoft's "loopback adaptor". If networking has been installed, ensure that you are correctly connected to the network by ensuring that you can see the other PC's on the network using "Network Neighborhood". If running Windows 95/98, ensure that the network is fully operational. For more information, contact your network administrator.

113. Why, when I re-import my agents, do I not see the changes that I have made?

Answer:
Agents that already exist are not imported at all. Therefore, ensure that the agents that are to be re-imported are deleted first, before importing the modified agents. Remember, agents cannot be deleted before they have been un-alarmed, unscanned and "undatalogged".

114. Should every trend variable be put into a separate datalog file?

Answer:
It is a better idea to group the datalogs together.

115. Why is Hot standby is not switching to the active PC?

Answer:
Ensure that the UI Connection settings have been correctly configured in The UI, via the Options menu/ Preferences/ Connection tab. Then restart your UI. Note: "Hot standby" has been replaced with "Adroit Active Clustering".

116. Why will the device not write to the PLC?

Answer:
Ensure that the tag is output enabled, then: (1) If this is not the case, click on the tag in the Configurator, click on header, turn output enable on, then OK, then click "Scan", in scanning dialog now, click detail, click stop, wait 5 seconds, click start. (2) If it was output enabled, the PLC tag may be read-only. (3) You are in a cluster, and are the standby. If not in cluster make sure that agent server type (Visible in Adroit setup) is Stand-alone. (4) Often the driver is working 100%, and sends the value, but the value get overwritten by PLC program code.

117. Why when using the Siemens S7 (S7 functions) driver with a CP5611, do I receive device agent DLL exceptions during loading, when I re-start the Agent server after scanning my first tag, and thus adding the device, and importing all the scanning?

Answer:
During agent-server load-up, the remaining stack space that is used to load the driver and configure scan-points, is considerably less than when doing so later via the Configurator. The S7 driver needs more stack space than is available at this time and crashes, this is only a problem in version 4.2 onwards where stack space was reduced in order to save virtual memory. The problem is not restricted to the S7 driver, but occurs in certain old revisions of the User-Defined driver as well. The problem with the S7 driver only seems to occur when using a CP5611, and not any of the other CP's. The nature of this problem does not restrict it from occurring in the future. Please e-mail us and request a "hot-fix", specifying the Adroit version and update number you are using, since a patched executable is currently the only work-around.