Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aspect ABCON OCX Agent Signoff

Status
Not open for further replies.

PaulEvansUK

Programmer
Jan 11, 2007
7
GB
Hi there,

I'm using the ABCON32 Aspect control in an application which I want to use to control telesets - I can get it to do the majority of what I want ( i.e. ready / release agents), but I CANNOT get it to sign off an agent, which is now driving me crazy.

I'm using...

Abcon1.SignOff("SOFR", "I", 422, 7801, 0)

...where Abcon1 is my OCX control. As far as I can tell, this hsould work, as the parameters mean "sign off agent on instrument 422, with extension 7801". I'm performing a release on the agent prior to the signoff, and the release works, but the Signoff fails - I always get a "the Teleset is not in a proper state" message. I've seen code where someone uses "ACGO" instead of "SOFR" but that doesn't work either.

Can anyone help me? Please...?

Many thanks

Paul
 
Update...after sitting in front of the teleset this morning, I can see that it's because we have "idle with reason code" set in the COS. Therefore it's prompting for a reason code when I go into release - clearly changing the COS is not an option, so I need to 'force' pressing of soft key 1 (logoff) - therefore, the question now (I think) is "is there any way to force logoff when in idle prompting for reason code?"

Also, is there any way to control other keys, such as the number keys?

Many thanks...!

Paul
 
Add a code used for this sign-off and use it in the abcon.signoff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top