Quantcast
Channel: GE Intelligent Platforms e-Forum
Viewing all 2516 articles
Browse latest View live

Restored Archive Data Not Visible

$
0
0
Hi all,

I have searched the forums and could not find any issues like this one, so here is the issue:

I reinstalled Historian for the OLE DB drivers, but it made a different path for the archives. I set the path to the old archive path, but am finding I need to restore the files into the administrator. That works fine, but the trend screens still do not show any data from the archives. Is there something further I must do do make the restored archive data visible? Thanks.

--Jeff

Machine Edition LD PLC Comments

$
0
0
Does anybody have an idea why the comments will only show as a single line even if when the comment text was entered as multiple lines ?

Also why does deleting a LD instruction also delete the references that had been with it? I have had problems with importing logic from an older Versa Pro folder. If the logic had a vertical bar right next to a GE_INT instruction, it insert the vertical bar with it connected to both output bars, seems like it would bypass the function.

how to make cimplicity server redundant system

$
0
0
hi all
what are all the steps to follow to make cimplicity server redundant system
is there any changes i have to do in cimplicicty screens , points or configuration

thanks in advance

Datalink by VBA script

$
0
0
Dear guys, how can I link a datasoure to datalink by vba script? Is it possible to create an array of datalink with the same name but changing the index?

thanks so much!

Error 1914 - Connection Not Established

$
0
0
Hi,

Error 1914 Connection Not Established With Node.

Is it possible to dynamically disable (filter) this error? I would like to filter this error from a picture script because the error is expected to occur occasionally when the picture opens. However I would like this error to continue functioning in most circumstances. I am aware of the filter option in FilteredErrors but I would like to take a targeted approach.

Thanks

How Format A_DTHI Datalink

$
0
0
Using v5.5

How do I format the .A_DTHI datalink to only show Min:Sec (00:00)?
I don't want to display the first "00:" of the default format of 00:00:00

Advanced FBD functions

$
0
0
Are there advanced functions available in FBD programming environment? For example, I'm looking for an S-Ramp function, bandpass filter, and Function generator.

Workspace application message with FindLocalObject in VBA

$
0
0
Hello,
Is it possible to deactivate in vba the workspace application message "Could not find ...." when the subroutine FindLocalObject not found an object ?

Thank in advance

Event Type problem

$
0
0
Hello,


I'm making a Cimplicity program and I'm having problems with an Event Trigger.

I have many Points, and some Events that Triggers when "Point Change" of value. The problem is, when I start the application, the Cimplicity reads the Point value but it doesn't execute the Event (the Point goes from unavailable to the new value). I have read that the Cimplicity first load the Points/Devices and then the Script Engine and Event Editor...

I've tried to add an Event "Run Once" (that I suppose that occurs when the Cimplicity starts) but then the Scripts runs over all the points, that overloads the system and finally closes. I only need to evaluate the Points that have change when I start the program.


Does anyone have any clue or advise?

Thank you in advanced

Problem with cimplicity 8.2 Alarm window on win XP

$
0
0
Hi all,

I am running cimplicty 8.2 on two operating systems. One operating system is windows 7 32 bit and the other operating system is windows XP. Actually i am simulating the screens by running the virtual controller. The problem which i am facing is that on windows 7 32 bit, the screens are running fine and the alarm window which is below the screen is displaying live alarms also.

However, with the same configuration and same program, i am not able to see the live alarms on the cimplicity 8.2 on win XP system.

Can anyone guide me regarding this problem?

Am i missing something?


Regards,
mhs100

SQL with "in" within the where clause

$
0
0
Hi All,

I currenly have 5 calculations within My Historian 4.5 writting out data back to an iFix Scada, these have around 200 tags to write out, as I hit the Historian 200 times and then want to write out to iFix GE Support have advise to do this from within the VBA in iFix.

I have managed quite well with only hitting the Histroian data base once for all of my tag current values.

Once I get past 46 tagnames in the where claues i get this error message:-
Msg 7399, Level 16, State 1, Line 2
The OLE DB provider "IhOLEDB.iHistorian" for linked server "IHISTORIAN" reported an error. Provider caused a server fault in an external process.
Msg 7350, Level 16, State 2, Line 2
Cannot get the column information from OLE DB provider "IhOLEDB.iHistorian" for linked server "IHISTORIAN"

I running the query from an MSSQL Server linked to the historian Via "OPENQUERY(IHISTORIAN"
my where clause (within the IHISTORIAN part) is as follows:-
or TagName = ("UMIS.19QI9001C.F_CV")
or TagName = ("UMIS.19QI9001B.F_CV")
or TagName = ("UMIS.19QI9001A.F_CV")
or TagName = ("UMIS.19PI9013.F_CV")

What I'm wanting to do is change it to Tagname in ("UMIS.19QI9001C.F_CV", "UMIS.19QI9001B.F_CV", "UMIS.19QI9001A.F_CV", "UMIS.19PI9013.F_CV")

but the IN doesn't seem suported.

In my MSSQL server I have a table with all of the source tags and all of the output tags, (it als makes wasy maintenance) which I use to build the Where clause within the IHISTORIAN connection) before excuting it.

Any suggestions on how I can get this to work without having to break the query down into chunks of 46 tags?

Many Thanks
Mark

dbsql issue

$
0
0
I am experiencing issues with the dbsql command and Oracle 11g. Currently running Oracle 9i, and the command works fine. After the update, I get an "ORA-01410 Invalid ROWID" error when using the following code:

Code:

  SQLRM2 := dbSQL "SELECT F_PTGP INTO (>>SQLComboGroupInteger) FROM PART_GRP WHERE F_NAME = '<<SQLComboGroup';"
  SQLRM1 := dbSQL "SELECT F_NAME INTO (>>TempRecipe) FROM PART_DAT WHERE F_PTGP = <<SQLComboGroupInteger;"

Have even tried very basic queries and get the same result. I am running Machine Edition 7.0, SIM 13

Copy Workspase User Preferences

$
0
0
Hi,

Is the iFix Workspace User Preferences configuration saved to a file that can be copied to another computer?

Thanks

Historical Assign Not available

$
0
0
Hi all,

I'm new to iFIX 5.5

I want to configure historical Trend & Historical assign is not available in tool bars & even in system tree.

I even checked the default path for Historical assign & HTRDATA files. These files are also not available.

I doubt with the installation. Any sims need to be installed or in iFIX 5.5 this option is removed?

--
Many Thanks,
Sumanth..

GlobalView Load Global Scripts

$
0
0
Hello,

We're trying to load Global Scripts in a Cimplicity Viewer 8.2 Globalview. We're running the GlobalView Server as a Cimplicity Viewer without any problem (using perfectly global scripts) and we're using this command to load scripts:

/LoadScriptCfg "C:\Deployed\GlobalScripts.txt"

We've installed in the node Win7, IIS, Cimplicity Viewer and GlobalView. We don't have documentation about how to load global script but we tried to load them using Thin Client Server Administration --> Selecting the host --> Applications --> Selecting CimView --> Properties and writting in command line options the same commmand:

/LoadScriptCfg "C:\Deployed\GlobalScripts.txt"

But we try to conect to webpage externally and it appears the message:

The script "x" does not run. No script found with matching entry point (This message always appears if you don't load scripts in CimEdit Options).

I hope someone can help us.

Thank you in advance

How to check if point exist?

$
0
0
I would like to use a point in animation, for example:
{Unit}.TAG

So to make element visible there is a condition {Unit}.TAG EQ "A"

For some Units there is no TAG point. Is there a way to check that point {Unit}.TAG exists in animation (or in vb)?

Is there something like is_exist({Unit}.TAG) ?

Thanks

How to address object in a group

$
0
0
For a label "Status" I can change the text with a statement like:
Me.Status.Caption = "new text"

But how do I change the caption if the label "Status" is part of a Group?

Me.Group1.Status.Caption = "new text"

It compiles OK, but fails to run with the message:
"Object doesn't support this property or method"

Write value to a tag then wait, delay or timer then Write value to the same tag?

$
0
0
Trying to write a value of "1" to a tag then write a value of "0" to the same tag.
I'm looking for a little time between commands so that my logic controller can see the first command then execute the second command. Currently I have the following but know there is a better way then using the "Disable/Enable Alarms" commands. But this does work.

-Write Value to Tag
Database Tag = Fix32.SACS.Q100PB0704.F_CV
Value = 1
-Disable Alarm
Database Tag = Fix32.SACS.Q100PB0704.F_CV
-Enable Alarm
Database Tag = Fix32.SACS.Q100PB0704.F_CV
-Write Value to Tag
Database Tag = Fix32.SACS.Q100PB0704.F_CV
Value = 0

Delete from method in .NET SDK?

$
0
0
Hi, I was tasked with updating my companies VB software from the COM Proficy SDK version to the newer .NET SDK. The old method for deleting a UserDefinedEvent was:

Dim UDE As Proficy_SDK.UserDefinedEvent

'Delete the reason
UDE = CType(g_ProficyConn.InitializeMessage( _
Proficy_SDK.sdkRealtimeDataType.sdkRTUserDefinedEv ent), _
Proficy_SDK.UserDefinedEvent)
UDE.UserDefinedEventId = SpecReason.UDEId
UDE.EventName = SpecReason.Desc
UDE.Cause1 = SpecReason.Cause1
UDE.Cause2 = SpecReason.Cause2
UDE.StartTime = SpecReason.Timestamp
UDE.EndTime = SpecReason.Timestamp
UDE.AcknowledgedBy = SpecReason.User
UDE.EventSubtype = SpecReason.SubType
UDE.DepartmentName = ProdEvent.getUnit.getDept
UDE.LineName = ProdEvent.getUnit.getLine
UDE.UnitName = ProdEvent.getUnit.getUnit

UDE.TransactionType = Proficy_SDK.sdkTransactionType.sdkTTDelete

Return g_ProficyConn.Publish(UDE, True)


The new .NET method usually would have a method similar to :
Dim UDE As New Proficy.PlantApplications.SDK.Objects.PAUserDefine dEvent
UDE.Add(tolken) ' or UDE.Update(tolken) but there is no .Delete() :confused:

Help!

Cheers

How to get associated alarm screen through API

$
0
0
Hi,
I develop our own alarm viewer using API of Cimplicity 8.2. I would also like to use the opportunity to open the assigned Cimplicity screen to given point. As in the original alarmviewer (button CimView Screen).
But my problem is how to get "Screen ID" of that point through API. Can anyone help me find a proper API functions? Thanks.
Viewing all 2516 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>