Re: [foxboro] scopen error

Your "scopen" error 36 is "invalid data type" error.  One way to check
where your problem lies is to try using scopen in foxtst to open each point
in your pi list.  Start foxtst program.  Pick 300 (objects).  Pick 10
(scopen).  Answer "N" to "from file".  Access type is 1 for read or 2 for
read/write, be sure to open these points the same as in your PI list.  The
next two, rsr and wsr leave at default (4 and 5 I think).  As prompted put
in compound, block and parameter for first point.  Value type is 3 for
floating point (real), a "?" in the field will give you a list of choices.
This field may be where your problem lies, you may be trying to open a
point as the wrong data type.  Put in read and write delta.  Leave
"multiples" as 1.  OK to add - Y, end of set - Y, num entries - 1.  You
should get a "reterr" of 0 if everything is OK.  Note the "dset" number.
Use function 16 to close the data set and repeat for the next C:B.P.

If you have lots of points in your PI list this can take a while.

There are probably other ways to do this, this has worked for me.

Regards,

Kevin FitzGerrell
Systems Engineer
Foxboro New Zealand
------------------------------------
Tel:  +64 (9) 573 7690
Fax:  +64 (9) 573 7691


                                                                                
                                        
                    <Edy_Kurniawan@fmi                                          
                                        
                    .com>                     To:     <foxboro@xxxxxxxxxxxxx>   
                                        
                    Sent by:                  cc:                               
                                        
                    foxboro-bounce@fre        Subject:     Re: [foxboro] scopen 
error                                   
                    elists.org                                                  
                                        
                                                                                
                                        
                                                                                
                                        
                    01/07/2003 11:24                                            
                                        
                    Please respond to                                           
                                        
                    foxboro                                                     
                                        
                                                                                
                                        
                                                                                
                                        



Dear Kevin,

We used FOXTST utility and found that our FOXAPI version is :
FOX API Version 4.2.5 Copyright (c) Foxboro 1992-1999
Toolkit is SUNSPARC

But this error appears at FOXBAIS.OUT when I built a PI tag with string =
value appropiated to the DCS tag with parameter SN=20
[i.e. COMPOUND:BLOCK.PARAMETER].
I think not related to boolean/long package.

Also, I couldn't find this message in FOXAPI.LOG

any suggestions ?

regards,
edyk

-----Original Message-----
From: Kevin FitzGerrell [mailto:fitzgerrell@xxxxxxxxxxxxxxx]
Sent: Monday, June 30, 2003 9:26 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] scopen error


As I recall, error 36 (invalid type) was due primarily to trying to =
write to
packed boolean and packed long with older FoxAPI versions.  What version =
of
FoxAPI are you using?  I believe the problem was corrected in 4.2.4.

Look at the foxapi.log file (should be in /opt/fox/ais/bin) and see if =
you
are getting error messages.  Check the validity and status of points =
showing
up in this log file.


Regards,

Kevin FitzGerrell
Systems Engineer
Foxboro New Zealand
+64 9 573 7690

----- Original Message -----
From: <Edy_Kurniawan@xxxxxxx>
To: <foxboro@xxxxxxxxxxxxx>
Sent: Monday, June 30, 2003 7:08 PM
Subject: [foxboro] scopen error


> Dear members,
>
> We got an error :
> [scopen] Error 36 opening PILIST02L60 [dset 0, scan=3D3D8, rw=3D3D1]
>
> How we use the FOXTST to find out what the problem currently exist ?
> We've tried to use the FOXSPY utility but we didn't know the steps to =
do =3D
> that.
>
> Would you please, to help us.
>
> sincerely,
>
> =3DE9dy kurniawan


_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html

foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave





 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: