hexagon logo

Help with FCF dimension

I have these little OLE programs that I was updating to exe files to get rid of an annoying server busy error. And in some of our programs we have FCF dimensions that are making me crazy since they worked as a basic script but don't work as a exe file. Here is what I have for the code:

If ObjCmd.Type = 184 Then
                If Len(ObjCmd.ID) > 0 Then
                    PrevID = FCFid
                    FCFid = ObjCmd.ID
                End If
                FCFMeas = ObjCmd.GetFieldValue(LINE2_DEV, 1)
            End If


Any ideas on why it worked one way but not now?

And there used to be some examples of FCF coding on here, but I can't find it again. If you have examples you are willing to share, I would appreciate the posting of them so I could learn what you did.

Thanks so much for any help you can provide.
Parents
  • SABarber, I had this working so that I could export the data collected on our cmms into our data collection system (WinSPC) and then we could run seamless reports of all the data collected both manually and on the cmm. Now, and I am not sure why, but I am getting a null value for all of the FCF dimensions where before our upgrade, I always had the actual value. It is weird.

    dph51, there used to be a few threads on exporting FCFs, but they don't seem to be on the forum any longer. That is where I originally found most of the coding to do what I was able to do previously. Of course I had to adjust it a bit to get what I wanted out of it. We recently upgraded from 4.2 MR1 to 2012 MR1 on all our CMMs, and then on some, we are running 2013. That was an interesting adventure.
Reply
  • SABarber, I had this working so that I could export the data collected on our cmms into our data collection system (WinSPC) and then we could run seamless reports of all the data collected both manually and on the cmm. Now, and I am not sure why, but I am getting a null value for all of the FCF dimensions where before our upgrade, I always had the actual value. It is weird.

    dph51, there used to be a few threads on exporting FCFs, but they don't seem to be on the forum any longer. That is where I originally found most of the coding to do what I was able to do previously. Of course I had to adjust it a bit to get what I wanted out of it. We recently upgraded from 4.2 MR1 to 2012 MR1 on all our CMMs, and then on some, we are running 2013. That was an interesting adventure.
Children
No Data