HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

Settings and queries for IFix alarm history

2008-12-27View Original

Thread Content

In practical engineering, data changes such as digital signal variations and analog signal out-of-range conditions need to be stored in a historical database, which is referred to as an alarm history database; thereafter, programs are written to retrieve this alarm history. How can alarms be stored in the alarm history database? Using ACCESS as the alarm history database, the implementation process of such a database will be illustrated. Step 1: Create a database of the ACCESS type named hisdata, with the path D:\Dynamics\SampleSystem\HistoricalData. Both the name and path can be defined by yourself, with no restrictions. Step 2: Create a DSN in the ODBC Data Manager, name it hisdata, and then select the driver for installing the data source, namely Driver Microsoft Access(*mdb). Step 3: Choose the Driver Microsoft Access (*.mdb) option, click Finish, enter the data source name as hisdata, and provide a description such as “IFIX Alarm History Database”. Step 4: Open the system configuration of iFIX3.5, start the ALARM ODBC SERVER, and carry out the configurations – select the database type, database identifier, configure the list, and fill in the relevant descriptions. Step 5: Create a new form named “Historical Alarms”. Add 4 DTPicker controls to this form (DTPFromDate, DTPFromTime, DTPToDate, DTPToEndTime), 2 Text controls, 1 CommandButton control (cmdOK), 1 VXGrid control (VXGrid1), and 1 VXData control (VXData1). The VXGrid control is used to display the query results, the DTPicker controls are used to select the start and end times, and the CommandButton control is used to initiate the query. The VXdate control is used to connect to the database
Reply #22011-11-07
Thank you for sharing. I’ve been researching fixix lately; I’m a beginner and don’t know where to start~

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.