You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old May 5th, 2004, 03:52 AM   #1
annette2002
Member
Hong Kong

annette2002 is offline
 
annette2002's Avatar
 
Join Date: May 2004
Location: Hong Kong
Posts: 2
Question auto logout in iFix 3.5 SCADA

I've a button that requires relogin in order to view the data links by button. My problem here is that when the button is clicked, it askes users to manually logout before letting the users to re-enter the user id and the password for verification.

How can I elminiate the part of manual logout?
  Reply With Quote
Old May 5th, 2004, 06:53 AM   #2
arrowpilot
Member
United States

arrowpilot is offline
 
Join Date: Dec 2003
Location: PA
Posts: 34
ifix autologin

Annette,
Pulled this out of Intellutions knowledge base...
Looks like you should be able to modify the code beneath your button with the example listed below.
I woulda tried it but I am currently working with some old Fix 7 and don't have iFix loaded on my machine.
Good luck, Mike


Description

To execute Login.Exe without having currently logged in user name displayed. The following describes log out the current iFIX user out and allow a new user to login without having to logout the previous iFIX user.


Resolution

Create a new picture in the workspace and insert a pushbutton object (which will be used to run a Visual Basic script to logout the currently logged in user, and then run the login.exe program);
Right click the mouse on the newly inserted pushbutton and select "Edit Script";
Paste the following code between the Private Sub CommandButton1_Click( ) and End Sub
System.FixLogout
Dim RetVal
RetVal = Shell("C:\dynamics\login.exe", 1);
Close VB Editor and switch picture to Run mode to test (Note: the script will log the current user out; and then call the login program to allow a new user to sign on);
Save the picture.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Best way to impliment a SCADA map godfrey LIVE PLC Questions And Answers 6 February 19th, 2006 04:16 PM
PLC logic and Scada Control CodeLearner LIVE PLC Questions And Answers 17 April 13th, 2005 04:49 AM
Preparing a Practical SCADA course ayman metwally LIVE PLC Questions And Answers 11 October 16th, 2004 02:03 PM
HMI Web view using ifix 3.5 Anngalla LIVE PLC Questions And Answers 1 April 9th, 2004 09:34 AM


All times are GMT -5. The time now is 09:23 PM.


.