I have been banging my head trying to figure out how to format INT's into time. I have aPLC5 that if storing timestamps. Now I want to display those timestamps on a screen. When I display the variable, it is only numerical and not formatted properly. I have been reading through all of the inforamtion I can find, but there is nothing that has an example or clear instructions on how to format this. I would like to show the time in HH:MM:SS. Has anyone done this?
↧
Formatting and Converting in iFix 5.5
↧
FIXOLEControl Container
When I drop a certain OLE Object into an iFix picture, it takes on the properties and methods of FixOLEControl.
How do I get through the container to access the OLE object's properties?
I've tried using;
Dim myobj As Object
Set myobj = FixOLEControl1.Object
...but this just points me to IFIXObjectCollection.
How do I get through the container to access the OLE object's properties?
I've tried using;
Dim myobj As Object
Set myobj = FixOLEControl1.Object
...but this just points me to IFIXObjectCollection.
↧
↧
Mass update tags?
I need to move aprox 2000-2200 tags that need to be moved from one server pair to another existing pair. Moving the tags is simple with the export and import functions..I have tested this, all good so far.
But now I need to update the links used in the picture files. Is there any way to mass update everything from Fix32.Pair3.TagName.F_CV to Fix32.Pair2.TagName.F_CV without having to visit every picture and control?
I'm running iFix 4.5 Pair3, all other pairs are running 5.8.
But now I need to update the links used in the picture files. Is there any way to mass update everything from Fix32.Pair3.TagName.F_CV to Fix32.Pair2.TagName.F_CV without having to visit every picture and control?
I'm running iFix 4.5 Pair3, all other pairs are running 5.8.
↧
VB Script for DATALINKS
HI Good Morning,
I am working on IFIX migration system from FIX 32 to IFIX 5.5 with FIX Desktop. I am new to Fix 32, IFIX and VB scripting.I have one issue here, probably a simple one for people good at IFIX.
I have two DATALINK fields and a button on the screen. In First datalink field, Operator enters the number in Feets (Ex 200 FT) and in second data field, operator enters data in inches (Ex 8 inches).After entering theses values on the scada,there is a button next to these data fields,"Enter data" Button. When operator click on the button,
the data entered in the DATALINK fields will be written to the PLC and it will be displayed on the DATALINK field until operator changes to different values.
This is working in FIX 32 but in IFIX it is not working.
I am able to enter the numbers in the datalink field but once i change the picture, these values are going back to zero.And whatever value i have entered in Data field is not getting updated in the PLC.
Can some one help me how to write VB script for this.ABH driver tags (Direct PLC tags) are used for Data link fields and button.
Thank you,
Pavan
I am working on IFIX migration system from FIX 32 to IFIX 5.5 with FIX Desktop. I am new to Fix 32, IFIX and VB scripting.I have one issue here, probably a simple one for people good at IFIX.
I have two DATALINK fields and a button on the screen. In First datalink field, Operator enters the number in Feets (Ex 200 FT) and in second data field, operator enters data in inches (Ex 8 inches).After entering theses values on the scada,there is a button next to these data fields,"Enter data" Button. When operator click on the button,
the data entered in the DATALINK fields will be written to the PLC and it will be displayed on the DATALINK field until operator changes to different values.
This is working in FIX 32 but in IFIX it is not working.
I am able to enter the numbers in the datalink field but once i change the picture, these values are going back to zero.And whatever value i have entered in Data field is not getting updated in the PLC.
Can some one help me how to write VB script for this.ABH driver tags (Direct PLC tags) are used for Data link fields and button.
Thank you,
Pavan
↧
Wonderbare Intouch Data Collection
Hi,
Just wondering if it is possible to connect an Intouch system to Historian.
Data and A&E.
I believe Intouch (I have limited knowledge of this product), has an OPC server.
If so then installing an OPC collector should do the trick for Data but not sure about A&E?
Any one have any knowledge of this or give any pointers?
Thanks in advance.
Just wondering if it is possible to connect an Intouch system to Historian.
Data and A&E.
I believe Intouch (I have limited knowledge of this product), has an OPC server.
If so then installing an OPC collector should do the trick for Data but not sure about A&E?
Any one have any knowledge of this or give any pointers?
Thanks in advance.
↧
↧
error upgrading a project
I was sent a Cimplicity project that I tried to open with version 9. It said the project is out of date and must be upgraded to be used with this version. When i selected ok the upgrade fails and said to check the status log. The log said it was missing 3 configured options.
I THINK this project was simply copied. If I remember correctly, You cant do this while a project is running ? Any ideas?
Jim
I THINK this project was simply copied. If I remember correctly, You cant do this while a project is running ? Any ideas?
Jim
↧
Out of Memory error / ClassFactory cannot supply requested class (IFIX 4.0)
This is a new error on a development system that WAS working fine.
I made an image of a customer's development box awhile back, and I now run that in a VM. I fired it up today to be hit with a pain of an error. When Workspace loads and goes into Runtime, I get hit with "System Error &H80040111 (-2147221231) ClassFactory cannot supply requested class" so I hit OK and it takes me into VBA with a "Compile Error: Out of Memory"
If I keep clicking OK, it tends to jump around, but it usually starts in the CFixPicture_Initialize routine and no matter where it goes, "User" is always highlighted, so obviously it's not liking something pertaining to it.
For example, in this section,
User.CurrentPic.CurrentValue = Me.Name
User will be highlighted.
I tried moving the (4) fxg files from the GE folder to my pic folder, but it didn't help.
I made an image of a customer's development box awhile back, and I now run that in a VM. I fired it up today to be hit with a pain of an error. When Workspace loads and goes into Runtime, I get hit with "System Error &H80040111 (-2147221231) ClassFactory cannot supply requested class" so I hit OK and it takes me into VBA with a "Compile Error: Out of Memory"
If I keep clicking OK, it tends to jump around, but it usually starts in the CFixPicture_Initialize routine and no matter where it goes, "User" is always highlighted, so obviously it's not liking something pertaining to it.
For example, in this section,
User.CurrentPic.CurrentValue = Me.Name
User will be highlighted.
I tried moving the (4) fxg files from the GE folder to my pic folder, but it didn't help.
↧
Convert AIS block to AI
I have an older iFix 4.0 system I'm moving to iFix 5.8. In 4.0 we used an AIS (Scaled AI block) for many tags. 4.0 did not support scaling..we received the AIS block from GE Support.
Is there an easy way to convert these to AI blocks for use with 5.8?
There are 280 of them.
Is there an easy way to convert these to AI blocks for use with 5.8?
There are 280 of them.
↧
Tag Substitution doesn't work when tgdpic is opened in multiple TSclients
iFix 5.1, Windows 2003 Terminal Server
I created an remote station alarm notification picture that opens when any alarm in any remote station exists (I have an event scheduled that will launch the pic.)
My problem is that when this pic is open simultaneously multiple TSclient sessions, only ONE session successfully opens with the tag group file substitutions. ALL other nodes show the "Animation Data Error Defaults" for every object on the pic that has a tag group substitution. Its as if the tag substitution failed completely, no error appears, and the pic sits there with animation errors.
I did some testing with just two TSclient nodes and the pic opens fine in one of the sessions, but not the other...and its NOT consistent - one time session 1 will work fine, then randomly session 2 will work. So, it is definitely repeatable, but not consistent with the session that gets the good data.
I've never had this problem before but it definitely appears to be related to the taggroup file being accessed by multiple sessions at the exact same time. How do I get around this one?
I created an remote station alarm notification picture that opens when any alarm in any remote station exists (I have an event scheduled that will launch the pic.)
My problem is that when this pic is open simultaneously multiple TSclient sessions, only ONE session successfully opens with the tag group file substitutions. ALL other nodes show the "Animation Data Error Defaults" for every object on the pic that has a tag group substitution. Its as if the tag substitution failed completely, no error appears, and the pic sits there with animation errors.
I did some testing with just two TSclient nodes and the pic opens fine in one of the sessions, but not the other...and its NOT consistent - one time session 1 will work fine, then randomly session 2 will work. So, it is definitely repeatable, but not consistent with the session that gets the good data.
I've never had this problem before but it definitely appears to be related to the taggroup file being accessed by multiple sessions at the exact same time. How do I get around this one?
↧
↧
HTR Folder
I am using CSV files for Chart groups and by default they get put in the local HTR directory. As I recall the HTR folder is ONLY used by the classic historian (and by the CSV files by association I guess).
So...
If I were to move them to a mapped drive on a file server so that they could be shared by all clients, which seems like the right thing to do for this, are there any other consequences of changing the HTR path in the SCU to the common server location?
We are using Proficy Historian not the older classic historian.
So...
If I were to move them to a mapped drive on a file server so that they could be shared by all clients, which seems like the right thing to do for this, are there any other consequences of changing the HTR path in the SCU to the common server location?
We are using Proficy Historian not the older classic historian.
↧
iFix file copy
Hello!
We want to copy files over RDP in our file system inside iFix picture (not opening Windows browser and copy it inside). Is there a control wich enables the user to copy files inside the folder and opening them and prevent him to open any other folder.
Best regards
We want to copy files over RDP in our file system inside iFix picture (not opening Windows browser and copy it inside). Is there a control wich enables the user to copy files inside the folder and opening them and prevent him to open any other folder.
Best regards
↧
VisiconX control not loading correctly on clients
Hi,
I have created two screens to display alarms and events from the SQL table in the historian server. I am using a visiconX data grid and when the picture opens, I am using vba to execute a SQL query to show the last 24 hours of alarms or events (depending on which page). This works well on the development client where I created the controls. However, on my other SCADA client nodes, when I open the picture, I get a VBA scripting error and the visiconx grid is sort of "grayed out."
Is there some dll that I need to separately register on each client? This is the kind of thing that kills the convenience of setting up a graphics server (development client) in the first place.
Thanks in advance for any help!
Jason
I have created two screens to display alarms and events from the SQL table in the historian server. I am using a visiconX data grid and when the picture opens, I am using vba to execute a SQL query to show the last 24 hours of alarms or events (depending on which page). This works well on the development client where I created the controls. However, on my other SCADA client nodes, when I open the picture, I get a VBA scripting error and the visiconx grid is sort of "grayed out."
Is there some dll that I need to separately register on each client? This is the kind of thing that kills the convenience of setting up a graphics server (development client) in the first place.
Thanks in advance for any help!
Jason
↧
Automatic login- multiple clients
Hi all,
I have seen on this forum before where, after a login for a specific user times out, people have implemented VBA script to automatically log in a guest user or something similar.
I know that the global variables I create at my development client can be accessed and used to make the project work on other clients without manually copying any files. The clients point to the development client for their PIC Path: i.e. UNC Path map
\\DEVELOPMENT\PROFICY IFIX\PIC
So, if I write a script in the user.fxg to automatically login guest if no user is logged in, can this be done on separate clients simultaneously?
Thanks!
Jason
I have seen on this forum before where, after a login for a specific user times out, people have implemented VBA script to automatically log in a guest user or something similar.
I know that the global variables I create at my development client can be accessed and used to make the project work on other clients without manually copying any files. The clients point to the development client for their PIC Path: i.e. UNC Path map
\\DEVELOPMENT\PROFICY IFIX\PIC
So, if I write a script in the user.fxg to automatically login guest if no user is logged in, can this be done on separate clients simultaneously?
Thanks!
Jason
↧
↧
iFIX 5.8 with Historian 5.5
Here's my newest problem. Still leaning all the nice changes in 5.8.
I am running iFIX 5.8 with Historian 5.5. I have a collector setup named SOT1CP01_iFIX, I can manually add at tag using the Historian Administrator... so I know it's installed and pulling data. I can pull up last 10 and see value is changing.
Two problems I have so far.
1) When I go into Database Manager and Enable a tag for collection, then go back to Historian Administrator..it still only says 1 tag being collected (the manually entered one).
2) When I add the tag (the manually added tag) to a chart control, then switch to run mode...the chart does not show me the history, it starts updating as of now.
Any help with issues would be very helpful.
I am running iFIX 5.8 with Historian 5.5. I have a collector setup named SOT1CP01_iFIX, I can manually add at tag using the Historian Administrator... so I know it's installed and pulling data. I can pull up last 10 and see value is changing.
Two problems I have so far.
1) When I go into Database Manager and Enable a tag for collection, then go back to Historian Administrator..it still only says 1 tag being collected (the manually entered one).
2) When I add the tag (the manually added tag) to a chart control, then switch to run mode...the chart does not show me the history, it starts updating as of now.
Any help with issues would be very helpful.
↧
Database Manager error trying to open
I get "error loading format information" when trying to open a project database.
I thought it would be because I was trying to open a db on 5.5 which was created on 5.8. But I have since deleted the file in order to recreate it but even with no PDB present I still get the error. Any help?
I thought it would be because I was trying to open a db on 5.5 which was created on 5.8. But I have since deleted the file in order to recreate it but even with no PDB present I still get the error. Any help?
↧
Using QP for the first time
Hello, just have a few questions. I'm not new to automation and this work in general but I'm new to using a Quick Panel.
I have a project with an Rx3i and a QP. The customer is requiring the we do NOT use variables. They want everything utilized with the reference instead (i.e., %I12, M13, ect).
I've tried creating a dummy QP panel with just a few objects so I can get the hang of building the HMI interface and I can't seem to assign the function by anything other than a variable that is my PLC target.
The items being used are:
PME 8.6
IC695CPE305
IC755CSS12CDA
Everything seems pretty straightforward with the exception of the above, and a user "Log-in" button. I am used to most HMIs that I develop with having a button to prompt for a user to log-in and then the security either through navigation or objects themselves restricted based upon the current user logged-in. I can't seem to find this functionality but I'm sure it's there somewhere.
Lastly, does anyone have any links to any videos or documents for getting started? I didn't have any luck with tutorials on youtube or general google search.
I have a project with an Rx3i and a QP. The customer is requiring the we do NOT use variables. They want everything utilized with the reference instead (i.e., %I12, M13, ect).
I've tried creating a dummy QP panel with just a few objects so I can get the hang of building the HMI interface and I can't seem to assign the function by anything other than a variable that is my PLC target.
The items being used are:
PME 8.6
IC695CPE305
IC755CSS12CDA
Everything seems pretty straightforward with the exception of the above, and a user "Log-in" button. I am used to most HMIs that I develop with having a button to prompt for a user to log-in and then the security either through navigation or objects themselves restricted based upon the current user logged-in. I can't seem to find this functionality but I'm sure it's there somewhere.
Lastly, does anyone have any links to any videos or documents for getting started? I didn't have any luck with tutorials on youtube or general google search.
↧
Configure clients to display from Proficy Historian
Now that I have the Proficy Historian working on one of the servers. What does it take to make the clients pull data from the historian?
On the server I can see the charts with data, but when I change the CurrentHistorian to iHistorian in FixUserPreferences.ini on one of the clients... the client doesn't display anything
In the past I would update the HTR/HTRDATA paths in SCU to point to the share on Server 1 in the Pair. With Proficy Historian how does the client know what server is holding the data?
On the server I can see the charts with data, but when I change the CurrentHistorian to iHistorian in FixUserPreferences.ini on one of the clients... the client doesn't display anything
In the past I would update the HTR/HTRDATA paths in SCU to point to the share on Server 1 in the Pair. With Proficy Historian how does the client know what server is holding the data?
↧
↧
Can client display data from both Classic Historian and Proficy Historian?
Since we have 2 pairs of servers (different processes). One pair is running classic historian, the new pair is running Proficy Historian.
Is it possible for a client to display charts from both historian sources?
Is it possible for a client to display charts from both historian sources?
↧
upgradation from LM90 to proficy machine edition
hi everyone ,
I have series 90-70 redundant plc based system which had been programmed by LM90 old software. I want to convert it on proficy machine edition but the problem is when i am importing backup program in proficy machine edition it shows some variables mismatch errors. I also developed communication between CPU and proficy machine edition and attempted to make backup many times but PME was showing logic not equal indication. could you tell me the why uploaded program is showing not equal all the time and how can we take complete backup if something is missing during program uploading?:confused:
I have series 90-70 redundant plc based system which had been programmed by LM90 old software. I want to convert it on proficy machine edition but the problem is when i am importing backup program in proficy machine edition it shows some variables mismatch errors. I also developed communication between CPU and proficy machine edition and attempted to make backup many times but PME was showing logic not equal indication. could you tell me the why uploaded program is showing not equal all the time and how can we take complete backup if something is missing during program uploading?:confused:
↧
Enhanced Coordinate System is a pain
Man this new Enhanced Coordinate System in iFix 5.8 is a total pain to work with. I've been trying for several hours to get a simple screen to display.
If i choose Zoom to Fit it looks very right, but I can't modify the controls in Zoom to Fit mode.
Just seems like alot of work to layout a screen now.
Anyone else having same issue or is it just me?
If i choose Zoom to Fit it looks very right, but I can't modify the controls in Zoom to Fit mode.
Just seems like alot of work to layout a screen now.
Anyone else having same issue or is it just me?
↧