Buffer status "absent" on T77ED in ST02
Hi, all
I am having a lot of trouble with making the buffer state "valid" on that table. The table size is quite small with only a few hundred rows right now. The table is setup as fully buffered. When checking the generic key buffer, I have a lot of free space there. However, after I go to AL12 -> edit -> reset buffer -> single table -> put in T77ED -> remove, the table still shows as "absent" in st02. I am expecting it to be gone so that the next read will put it back as valid into the buffer pool. Please help!
Thanks,
Jonathan.
Hi,
Well, did you do that next read? "Absent" should not prevent buffering if there is enough space - just go find some maintenance view for the table in SM30, try displaying data and then check the status again.
cheers
Jānis
Similar Messages
-
Return vector for points done of check buffer status in onboard program
Background
I am trying to develop a trigger application based on the current position of a contour profile.
I can not use breakpoints as the application is using hydraulic cylinders with analog feedback
for the primary position. In order to make sure the trigger happens relative to the motion regardless
of host load I want to run the application as an onboard program.
My idea is to read the buffer status points done and generate a pulse out as a trigger when the
points done is greater than the programmed trigger point. For example if I want to trigger on the 42
point of a 100 point profile, I would read points done of the main contour buffer. When points done
is greater than or equal to 42, I would generate a short pulse as a trigger.
Question
My problem is, I cannot find the order that the check buffer status VI returns the data to an onboard program
return vector. As I understand it, I need 3 variables to hold the returned data. One each for State, Backlog, and
Points Done. If I set the return vector to 10, does State get stored in 10, Backlog in 11, and Points done in 12, or
is there a different order?
If you could provide the return vector mapping order for all the motion VIs, it would be greatly appreciated.Hello,
This is a very good question. I checked in the help for the LabVIEW VI, and it does not explicitly state the answer. The VI calls the FlexMotion function "flx_check_buffer_rtn". In the "NI-Motion Function Help" (Start>>Programs>>National Instruments>>NI Motion>>Documentation), the information for the functions states that it "...returns data in the following order: backlog, bufferState, and pointsDone." It also tells you the size of each of the elements. I will be filing a report so that the LabVIEW documentation includes this information in the future. I hope this helps. Take care!
Regards,
Aaron B.
National Instruments -
"Buffer Utilization" in DataSocket Connections ?
I am setting up a test situation using DataSockets.
It will eventually be used between a host, and an RT board, but for right now, it's all in one VI.
I use DS Open, DS Write, DS Read, and DS Close.
I want the connection to buffer my data, as the two ends will run anynchronously.
The URL I use is:
dstp://localhost/XXX
Here's the sequence of events:
DS OPEN (BufferedReadWrite) (the sender end)
PROPERTY Write(BufferMaxBytes=1024, BufferMaxPackets=10)
DS OPEN(Buffered Read) { the receiving end }
PROPERTY Write(BufferMaxBytes=1024, BufferMaxPackets=10)
DS WRITE(Sender, 1)
DS WRITE(Sender, 2)
DS WRITE(Sender, 3)
DS WRITE(Sender, 4)
DS WRITE(Sender, 5)
DS READ (Rcvr) ==> Display 1
DS READ (Rcvr) ==> Display 2
DS READ (Rcvr) ==> Display 3
DS READ (Rcvr) ==> Display 4
DS READ (Rcvr) ==> Display 5
DS CLOSE (Sender)
DS CLOSE (RCVR)
So that's the basic sequence. If I set the MAX PACKETS property down to 4 or 3, I get only the latest 4 or 3 values, as expected. Fine.
But I would like to use the BUFFER UTILIZATION property to tell from the sending end whether the buffer is nearly full or not.
PROBLEM 1:
The BUFFER UTIL(Bytes) property does NOT report a number of bytes, but apparently a fraction of the MAX BYTES I specified.
PROBLEM 2:
The BUFFER UTIL(Packets) property does NOT report a number of packets, but apparently a fraction of the MAX PACKETS I specified.
PROBLEM 3:
No matter where in the sending chain I put a property node to read the buffer utilization, it always reports 1/N for the packet utilization, where N is the MAX PACKETS I gave it. If I set MAX PACKETS to 10, it reports 0.1 after opening, 0.1 after the first write, 0.1 after the 2nd write, and 0.1 after the last write. It doesn't matter if I overflow the thing or not.
PROBLEM 4:
If I put a property node in the receiving chain, I get weird answers, as well. with MAX PACKETS = 0, I get 0.4 after the 1st read, 0.3 after the 2nd, 0.2 after the 3rd, and 0.1 after the 4th. Fine.
But I get 0.1 after the FIFTH read (the buffer should be empty).
And I get 0.1 before the FIRST read (the buffer should be half full).
The Utilization in bytes is similarly useless.
Anybody know what I'm missing?
Why isn't this property more meaningful?
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And TricksI did figure out some things about this:
#1 - #2: You can set two limits on the buffer size - if you set a limit of 10 packets, then even a megabyte buffer is full at 10 packets. If you set a limit of 100 bytes, then even a million-packet buffer is full at 100 bytes. So you can look at the "fullness" in either terms, depending on what you need to do. That's contrary to what I was expecting from the terminology, but I understand it now.
#3: Deep down in the help text, I found out that the property only works from the READ end. After thinking for a while about it, this too makes sense, since the READ end might be very distant from the WRITE end, so for the WRITE end to know about the status of the READ end would require lots of feedback. That
means lots of reverse net traffic in some cases (not in mine).
#4: the statement "And I get 0.1 before the FIRST read (the buffer should be half full)." was in error. When I verified the timing of things, the first status report did indeed indicate a 0.5, not 0.1. My bad.
#4: WILD GUESS: the never-going-below 1 sample problem is actually indicative of the fact that the DS READ operation will return a value every time (after the first one). If there is no new value, it will return the last value it read some previous call. That messes up the actual counting of values in the buffer, but there it is.
I ended up reporting the buffer status from the READ end back to the caller (along with other results going back), and letting the WRITE end use that number to judge whether it should write more data or not.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks -
Exit out of video and return to stage frame 1
Ive manged to create a flash player that incorporates a video
using a online
tutorial with the code below.
All is working well but at the end of the video I want to
exit out of the
video and return to the stage at frame 1. The reason being
is; before a user
hits play an interface image (containing info) is displayed.
When they hit
the play button the video appears and plays over the
interface image.
problem is at the end of the video the layer containing the
image is still
covered by the video. when the video finishes I need a line
of code to exit
and return the player to the original state without the
presecence of the
video layer.
any ideas? thanks in advance
Brett
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
rewindButton.onRelease = function() {
ns.seek(0);
ns.play();
playButton.onRelease = function() {
ns.play("modular.flv");
pauseButton.onRelease = function() {
ns.pause();
var videoInterval = setInterval(videoStatus,100);
var amountLoaded:Number;
var duration:Number;
ns["onMetaData"] = function (obj) {
duration = obj.duration;
function videoStatus() {
amountLoaded = ns.bytesLoaded / ns.bytesTotal;
loader.loadbar._width = amountLoaded * 200;
loader.scrub._x = ns.time / duration * 200;
var scrubInterval;
loader.scrub.onPress = function(){
clearInterval(videoInterval);
scrubInterval = setInterval(scrubit, 10);
this.startDrag(false,1,this._y,198,this._y);
loader.scrub.onRelease = loader.scrub.onReleaseOutside =
function () {
clearInterval(scrubInterval);
videoInterval = setInterval(videoStatus,100);
this.stopDrag();
function scrubit() {
ns.seek(Math.floor((loader.scrub._x/200)*duration));Inside the videoStatus() function Check the Current Time and
Total time for video completion. Some time the Video doesn't have
exact Time when comparing to the Total duration so use Math.floor
to compare. if you still facing problem also check the Buffer
status and Video status too. -
New 2013 setup. I created 1 test site. I'm able to load the site, but If the user clicks on 'Follow', 'Skydrive', or 'Newsfeeds', the user is taken to the personal page that reads:
We're almost ready!
While we set things up, feel free to changeyour
photo, adjustyour
personal settings, and fill
ininformation about yourself.
It could take us a while, but once we're done, here's what you'll get:
Newsfeedis your social hub where you'll see updates from the people, documents, sites, and tags you're following, with quick access to the apps you've added.
SkyDrive Prois your personal hard drive in the cloud, the place you can store, share, and sync your work files.
Sitesgives you easy access to the places you'll want to go.
There seems to be some sort of user init that never completes.
In the log files taken from "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions" I found the following related to an attempt
12/05/2012 16:02:26.55 w3wp.exe (0x1AB0) 0x2324 SharePoint Portal
Server User Profiles ajxt4 Unexpected Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeedFor:
Microsoft.Office.Server.Microfeed.MicrofeedException: WarningPersonalSiteNotFoundCanCreateError : : Correlation ID:d4f0e79b-2e8c-9054-08c5-674e84005449 : Date and Time : 12/5/2012 1:02:26 PM at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonPubFeedGetter(SPMicrofeedRetrievalOptions
feedOptions, MicrofeedPublishedFeedType feedType, Boolean publicView) at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.GetPublishedFeed(String feedOwner, SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType typeOfPubFeed)
at Microsoft.Office.Server.Social.SPSocialFeedManager.Microsoft.Office.Server.Social.ISocialFeedManagerProxy.ProxyGetFeedFor(String actorId, SPSocialFeedOptions options) at Microsof... d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.55* w3wp.exe (0x1AB0) 0x2324 SharePoint Portal Server
User Profiles ajxt4 Unexpected ...t.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass4b`1.<S2SInvoke>b__4a()
at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func) d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.55 w3wp.exe (0x1AB0) 0x2324 SharePoint Portal Server
User Profiles ajxt4 Unexpected Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeedFor:
Microsoft.Office.Server.Social.SPSocialException: No personal site exists for the current user, and a previous attempt to create one failed. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 80.
at Microsoft.Office.Server.Social.SPSocialUtil.TryTranslateExceptionAndThrow(Exception exception) at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)
at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass48`1.<S2SInvoke>b__47() at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name,
Func`1 func) d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.55 w3wp.exe (0x1AB0) 0x2324 SharePoint Portal Server
User Profiles ajxt4 Unexpected Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeedFor:
Microsoft.Office.Server.Social.SPSocialException: No personal site exists for the current user, and a previous attempt to create one failed. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 80.
at Microsoft.Office.Server.Social.SPSocialUtil.TryTranslateExceptionAndThrow(Exception exception) at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)
at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass48`1.<S2SInvoke>b__47() at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name,
Func`1 func) at Mic... d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.55* w3wp.exe (0x1AB0) 0x2324 SharePoint Portal Server
User Profiles ajxt4 Unexpected ...rosoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass2f.<GetFeedFor>b__2d()
at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func) d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.57 w3wp.exe (0x1AB0) 0x2324 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (Render
Ribbon.). Parent SharePointForm Control Render d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.58 w3wp.exe (0x1AB0) 0x2324 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Render
Ribbon.). Execution Time=3.16897818018771 d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.58 w3wp.exe (0x1AB0) 0x2324 SharePoint Server Search
Query dn4s High FetchDataFromURL
start at(outside if): 1 param: start d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.58 w3wp.exe (0x1AB0) 0x2324 SharePoint Portal Server
User Profiles aiokq High User profile property 'EduUserRole'
not found from from MySitePersonalSiteUpgradeOnNavigationWebPart::GetUserRoleFromProfile(). This should indicate that the current user is not an edudation user. [SPWeb Url=http://share2/my/Person.aspx?accountname=mycompany\username] d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.58 w3wp.exe (0x1AB0) 0x2324 SharePoint Portal Server
Personal Site Instantiation af1lc High Skipping creation of personal site from MySitePersonalSiteUpgradeOnNavigationWebPart::CreatePersonalSite()
because one or more of the creation criteria has not been met. [SPWeb Url=http://share2/my/Person.aspx?accountname=mycompany\username] http://share2/my/Person.aspx?accountname=mycompany\username]Self-Service Site Creation == False Can Create Personal
Site == True Is user licensed == True Storage&Social UPA Permission == True Site or Page or Web Part is in design mode == False d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:26.59 w3wp.exe (0x1AB0) 0x2324 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Request
(GET:http://share2:80/my/Person.aspx?accountname=mycompany%5Cusername&AjaxDelta=1)). Execution Time=94.5348500996635 d4f0e79b-2e8c-9054-08c5-674e84005449
12/05/2012 16:02:27.17 w3wp.exe (0x1AB0) 0x23A0 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (Request
(POST:http://share2:80/my/_vti_bin/client.svc/ProcessQuery)). Parent No
12/05/2012 16:02:27.17 w3wp.exe (0x1AB0) 0x23A0 SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (POST:http://share2:80/my/_vti_bin/client.svc/ProcessQuery) d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.17 w3wp.exe (0x1AB0) 0x23A0 SharePoint Foundation
Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|mycompany\username, ClaimsCount=57 d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.17 w3wp.exe (0x1AB0) 0x09C8 SharePoint Foundation
CSOM agw10 Medium Begin
CSOM Request ManagedThreadId=54, NativeThreadId=2504 d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.18 w3wp.exe (0x1AB0) 0x09C8 SharePoint Foundation
Logging Correlation Data xmnv Medium Site=/my d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.18 w3wp.exe (0x1AB0) 0x09C8 SharePoint Portal Server
Microfeeds aizmk High serviceHost_RequestExecuting
d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.20 w3wp.exe (0x1AB0) 0x09C8 SharePoint Portal Server
User Profiles ajk39 Medium UserProfileDBCache_WCFLogging::Begin ProfileDBCacheServiceClient.GetUserData.ExecuteOnChannel
d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.20 w3wp.exe (0x1AB0) 0x09C8 SharePoint Portal Server
User Profiles ajk35 Medium MossClientBase_WCFLogging::Begin MossClientBase.ExecuteOnChannel
d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.20 w3wp.exe (0x1AB0) 0x09C8 SharePoint Portal Server
User Profiles ajk36 Medium MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel
- Executing codeblock on channel d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.21 w3wp.exe (0x1AB0) 0x09C8 SharePoint Foundation
Topology e5mc Medium WcfSendRequest: RemoteAddress:
'http://share2:32843/1c9a1642f4d9456c94ae0dbbd9b25a41/ProfileDBCacheService.svc' Channel: 'Microsoft.Office.Server.UserProfiles.IProfileDBCacheService' Action: 'http://Microsoft.Office.Server.UserProfiles/GetUserData' MessageId: 'urn:uuid:24af6007-0615-428e-ad0a-1265f47f0b33'
d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.22 w3wp.exe (0x1B78) 0x1BA0 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation).
Parent No
12/05/2012 16:02:27.22 w3wp.exe (0x1B78) 0x1BA0 SharePoint Foundation
Topology e5mb Medium WcfReceiveRequest: LocalAddress:
'http://share2.mycompany.com:32843/1c9a1642f4d9456c94ae0dbbd9b25a41/ProfileDBCacheService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetUserData' MessageId: 'urn:uuid:24af6007-0615-428e-ad0a-1265f47f0b33'
d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.22 w3wp.exe (0x1B78) 0x1BA0 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation).
Execution Time=0.647079447248184 d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.22 w3wp.exe (0x1AB0) 0x09C8 SharePoint Portal Server
User Profiles ajk37 Medium MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel
- Executed codeblock on channel d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.22 w3wp.exe (0x1AB0) 0x09C8 SharePoint Portal Server
User Profiles ajk4a Medium UserProfileDBCache_WCFLogging::End ProfileDBCacheServiceClient.GetUserData.ExecuteOnChannel
d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.22 w3wp.exe (0x1AB0) 0x09C8 SharePoint Portal Server
User Profiles ajp2i Medium GetMySiteLinks: user has a profile but no personal
site; not returning personal site links d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.23 w3wp.exe (0x1AB0) 0x09C8 SharePoint Portal Server
Microfeeds aizmj High serviceHost_RequestExecuted
d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.23 w3wp.exe (0x1AB0) 0x09C8 SharePoint Foundation
CSOM agw11 Medium End
CSOM Request. Duration=53 milliseconds. d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.23 w3wp.exe (0x1AB0) 0x1604 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Request
(POST:http://share2:80/my/_vti_bin/client.svc/ProcessQuery)). Execution Time=62.5798809625246 d4f0e79b-3eb6-9054-08c5-61e70b316688
12/05/2012 16:02:27.44 w3wp.exe (0x1B78) 0x1178 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformOngoingRequestDepartures 6b6b4445-152d-0002-8ef6-85991723bb2d
12/05/2012 16:02:27.51 w3wp.exe (0x1B78) 0x1934 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: Disk Manager.PerformCleanup 11c5f189-7512-0002-bee0-df766138e919
12/05/2012 16:02:27.51 w3wp.exe (0x1B78) 0x1934 Excel Services Application
Excel Calculation Services 8jg2 Medium ResourceManager.PerformCleanup: Disk Manager: CurrentSize=57369. 11c5f189-7512-0002-bee0-df766138e919
12/05/2012 16:02:28.45 w3wp.exe (0x1B78) 0x1178 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformOngoingRequestDepartures 6b6b4445-152d-0002-8ef6-85991723bb2d
12/05/2012 16:02:28.92 w3wp.exe (0x1B78) 0x18C8 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformSessionTimeouts 8854a25e-6740-0002-b513-28f8778da25e
12/05/2012 16:02:28.92 w3wp.exe (0x1B78) 0x23E0 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: Memory Manager.PerformCleanup 53fed7f1-2e29-0002-a910-5150db6281e2
12/05/2012 16:02:28.92 w3wp.exe (0x1B78) 0x23E0 Excel Services Application
Excel Calculation Services 8jg2 Medium ResourceManager.PerformCleanup: Memory Manager: CurrentSize=730533888. 53fed7f1-2e29-0002-a910-5150db6281e2
12/05/2012 16:02:29.40 w3wp.exe (0x1B78) 0x19B4 SharePoint Portal Server
User Profiles ahqt1 Medium UserProfileDBCache.GetChangedDBItemsPrimaryKeys:
m_AllPropertyIDs = 1;3;9;2;5009;7;23;13;14;22;5065;5061;5062;5040;5042;5091;5092;5093; 19a3e79b-2ee3-9054-08c5-6a281115d989
12/05/2012 16:02:29.45 w3wp.exe (0x1B78) 0x1178 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformOngoingRequestDepartures 6b6b4445-152d-0002-8ef6-85991723bb2d
12/05/2012 16:02:29.54 OWSTIMER.EXE (0x26C4) 0x1964 SharePoint Foundation
Monitoring aeh57 Medium Sql Ring buffer status eventsPerSec
= 0,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0
12/05/2012 16:02:30.10 w3wp.exe (0x1B78) 0x0FAC SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: HealthPerfCounter 633d7a5d-1310-0002-8342-391ed51888b4
12/05/2012 16:02:30.45 w3wp.exe (0x1B78) 0x1178 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformOngoingRequestDepartures 6b6b4445-152d-0002-8ef6-85991723bb2d
12/05/2012 16:02:30.61 w3wp.exe (0x1B78) 0x19A4 SharePoint Server Search
Query ac3iq High Ims::EndPoints:
old: net.tcp://share2/C5A0AC/QueryProcessingComponent1/ImsQueryInternal;, new: net.tcp://share2/C5A0AC/QueryProcessingComponent1/ImsQueryInternal; 19a3e79b-2ee3-9054-08c5-6a281115d989
12/05/2012 16:02:30.67 w3wp.exe (0x1B78) 0x1EE4 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: RequestManager.RequestTimeoutCleanup 5baea2ed-01b0-0002-9183-bc6ae11d23eb
12/05/2012 16:02:30.67 w3wp.exe (0x1B78) 0x1EE4 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: ExcelServerThreadPool.QueueConsiderate 5baea2ed-01b0-0002-9183-bc6ae11d23eb
12/05/2012 16:02:30.67 w3wp.exe (0x1B78) 0x1EE4 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformAutoSave 5baea2ed-01b0-0002-9183-bc6ae11d23eb
12/05/2012 16:02:31.45 w3wp.exe (0x1B78) 0x1178 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformOngoingRequestDepartures 6b6b4445-152d-0002-8ef6-85991723bb2d
12/05/2012 16:02:32.45 w3wp.exe (0x1B78) 0x1178 SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformOngoingRequestDepartures 6b6b4445-152d-0002-8ef6-85991723bb2d
12/05/2012 16:02:32.65 OWSTIMER.EXE (0x26C4) 0x197C SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (Timer
Job EducationBulkOperationJob). Parent No 9d183f64-33f3-4bb8-83b3-f401e3150f7e
Any thoughts on this? troubleshooting tips?In my case, here is what happened and how I fixed it.
Situation:
Mysite is a new web application. We have two one-way trusts in place since the domain of the farm is different than the two other domains where users reside. So I ran the
STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv "Forest1,Domain1\account,password;
Forest2,Domain2\account,password"
-url https://mysitesURL
This allowed the user policy of the new Mysites web application to search through the two domains where AD users reside. Once I added them I was good, no more errors.
One thing to note, I have two web apps using the same wildcard cert and running off port 443 SSL.
I wanted to make the user picture come from AD so I changed that user property (Picture) in User Profile Service options, and this seems to have broken initial MySite creation, but once the user adds a picture
to their profile settings, the site starts working. I need to remove the property I added for "Picture" in user profile properties.
This is the process I took that caused my problem:
http://richardstk.wordpress.com/2013/04/12/import-user-photos-from-active-directory-into-sharepoint-2013/ -
How to do a single channel DAQ using NI-DAQ driver software with a PCI-MIO-16XE-10 card
Hi,
I would like to find out how I could do a simple one channel Data Acquisition from a signal generator using the NI-DAQ driver software with a PCI-MIO-16XE-10 card.
I have written some test problem but even when the signal generator is turned on/off I get back some weird values.
Here is my code.
CString sFunctionName("");
double volt[OUTPUT_POINTS*2];
double out[OUTPUT_POINTS*2];
short timebase, ready, code, stopped;
unsigned short sampleInterval;
int i, status, count=0;
unsigned long update, points;
short* ai_buffer;
short output_ch_vector[16];
int local_ITERATIONS = 2;
SAFEARRAYBOUND bound[1];
double dataItem = 9.9;
long j;
long k;
double* pTheValues;
LPTSTR lpsz_ErrMsg;
// Initialise device
status = Init_DA_Brds (deviceNumber, deviceNumberCode)
Initializes the hardware and software states of a National Instruments
DAQ device to its default state and returns a numeric device code that
corresponds to the type of device initialized
Init_DA_Brds(DEVICE, &code);
// Check return code from Init_DA_Brds
Code return should be 204: PCI-MIO-16XE-10.
if (code < 0)
CString sError;
sError.Format("Code error: %d", code);
if (code == -1)
sError = sError + ": No device found";
LPTSTR lpsz = new TCHAR[sError.GetLength()+1];
_tcscpy(lpsz, sError);
AfxMessageBox(lpsz);
delete lpsz;
return S_FALSE;
// Allocate memory for analog output and input arrays
//ao_buffer = new short[OUTPUT_POINTS*2];
ai_buffer = new short[OUTPUT_POINTS];
// Set double-buffering
status = DAQ_DB_Config (deviceNumber, DBmode)
Enables or disables double-buffered DAQ operations.
status = DAQ_DB_Config(DEVICE, 1);
if (status < 0 )
sFunctionName = "DAQ_DB_Config";
goto TidyUp;
// Get the rate parameters
status = DAQ_Rate (rate, units, timebase, sampleInterval)
Converts a DAQ rate into the timebase and sample-interval
values needed to produce the rate you want.
status = DAQ_Rate(RATE, 0, &timebase, &sampleInterval);
if (status < 0 )
sFunctionName = "DAQ_Rate";
goto TidyUp;
// Setup scan
status = SCAN_Setup (deviceNumber, numChans, chanVector, gainVector)
Initializes circuitry for a scanned data acquisition operation.
Initialization includes storing a table of the channel sequence
and gain setting for each channel to be digitized
status = SCAN_Setup(DEVICE, 1, ai_channels, gain);
if (status < 0 )
sFunctionName = "SCAN_Setup";
goto TidyUp;
status = SCAN_Start (deviceNumber, buffer, count, sampTimebase,
sampInterval, scanTimebase, scanInterval)
Initiates a multiple-channel scanned data acquisition operation,
with or without interval scanning, and stores its input in an array
status = SCAN_Start(DEVICE, ai_buffer, OUTPUT_POINTS, timebase, sampleInterval, timebase, 1000);
if (status < 0 )
sFunctionName = "SCAN_Start";
goto TidyUp;
while(count < local_ITERATIONS)
// Check whether we are ready to input another half-buffer
status = DAQ_DB_HalfReady(DEVICE, &ready, &stopped);
if (status < 0 )
sFunctionName = "DAQ_DB_HalfReady";
goto TidyUp;
if (ready == 1)
status = DAQ_DB_Transfer(DEVICE, ai_buffer, &points, &stopped);
if (status < 0 )
sFunctionName = "DAQ_DB_Transfer";
goto TidyUp;
count++;
// Clear the analog input
status = DAQ_Clear (deviceNumber)
Cancels the current DAQ operation
(both single-channel and multiple-channel scanned) and reinitializes the DAQ circuitry.
status = DAQ_Clear(DEVICE);
if (status < 0 )
sFunctionName = "DAQ_Clear";
goto TidyUp;
status = SCAN_Demux (buffer, count, numChans, numMuxBrds)
Rearranges, or demultiplexes, data acquired by a SCAN operation
into row-major order, that is, each row of the array holding the
data corresponds to a scanned channel
status = SCAN_Demux(ai_buffer, OUTPUT_POINTS * 2, 2, 0);
if (status < 0 )
sFunctionName = "SCAN_Demux";
goto TidyUp;
//Convert binary values to voltages (Doesn't actually take a reading from board)
status = DAQ_VScale (deviceNumber, chan, gain, gainAdjust, offset, count, binArray, voltArray)
Converts the values of an array of acquired binary data and the gain setting for that data
to actual input voltages measured.
status = DAQ_VScale (1, 0, 1, 1.0, 0.0, OUTPUT_POINTS , ai_buffer, volt);
if (status < 0 )
sFunctionName = "DAQ_VScale";
goto TidyUp;Hello,
Please take a look at lots of examples available at :
1. www.ni.com >> NI Developer Zone >> Development Library >> Measurement Hardware
2. C:\program files\national instruments\ni-daq\examples\visualc
Sincerely,
Sastry V.
Applications Engineer
National Instruments -
Process one set of primary and secondary records at a time
Need to read and analyze all service lines for every claim
I wrote these Statements but they are in a never ending state despite of the fact of setting the claims range to one day.
Thank you for any suggestions.
Harry
set serveroutput on
declare
v_claim1 varchar2(12):='080010000000';
v_claim2 varchar2(12):='080019999999';
fd_claim varchar2(12):=' ';
mismatch number:=0;
v_outfile UTL_FILE.FILE_TYPE;
v_outfile_name constant varchar2(100):= 'prvmm.dat';
v_outfile_dir constant varchar2(100):= 'AVMED_TEMPDATA';
w_line varchar2(44);
v_claim claim.claim_nbr%type;
buffer varchar2(100);
status integer;
cursor get_clm is
select claim_nbr from claim
where claim_nbr between v_claim1 and v_claim2
and rownum < 100
order by claim_nbr;
cursor get_srvline is
select claim_nbr, serv_nbr, aff_nbr from service_x
where claim_nbr = fd_claim;
type serv_t is table of get_srvline%rowtype;
serv serv_t;
begin
V_OUTFILE := UTL_FILE.FOPEN(V_OUTFILE_DIR,V_OUTFILE_NAME,'w');
OPEN get_clm;
--OPEN get_srvline;
LOOP
fetch get_clm into v_claim;
DBMS_OUTPUT.PUT_LINE(v_claim);
DBMS_OUTPUT.GET_LINE(buffer,status );
DBMS_OUTPUT.PUT_LINE('Buffer: '||buffer);
DBMS_OUTPUT.PUT_LINE('Status: '||to_char(status));
--while get_clm%found
--while rownum < 100
LOOP
fd_claim:= v_claim;
OPEN get_srvline;
fetch get_srvline bulk collect into serv;
CLOSE get_srvline;
mismatch:=0;
FOR i in 1..serv.count LOOP
if serv(1).aff_nbr <> serv(i).aff_nbr then mismatch:=1;
end if;
END loop;
if mismatch = 1 then
FOR i in 1..serv.count LOOP
w_line:=serv(i).claim_nbr||serv(i).serv_nbr||serv(i).aff_nbr;
UTL_FILE.PUT_LINE(V_OUTFILE,w_line);
END LOOP;
end if;
END LOOP;
--close get_srvline;
close get_clm;
UTL_FILE.FCLOSE(V_OUTFILE);
DBMS_OUTPUT.PUT_LINE ( serv.count );
END LOOP;
END;Hi,
Welcome to the forum!
Here's your code with some whitspace added, to make it readable:
set serveroutput on
declare
v_claim1 varchar2(12):='080010000000';
v_claim2 varchar2(12):='080019999999';
fd_claim varchar2(12):=' ';
mismatch number:=0;
v_outfile UTL_FILE.FILE_TYPE;
v_outfile_name constant varchar2(100):= 'prvmm.dat';
v_outfile_dir constant varchar2(100):= 'AVMED_TEMPDATA';
w_line varchar2(44);
v_claim claim.claim_nbr%type;
buffer varchar2(100);
status integer;
cursor get_clm is
select claim_nbr from claim
where claim_nbr between v_claim1 and v_claim2
and rownum < 100
order by claim_nbr;
cursor get_srvline is
select claim_nbr, serv_nbr, aff_nbr from service_x
where claim_nbr = fd_claim;
type serv_t is table of get_srvline%rowtype;
serv serv_t;
begin
V_OUTFILE := UTL_FILE.FOPEN(V_OUTFILE_DIR,V_OUTFILE_NAME,'w');
OPEN get_clm;
--OPEN get_srvline;
LOOP
fetch get_clm into v_claim;
DBMS_OUTPUT.PUT_LINE(v_claim);
DBMS_OUTPUT.GET_LINE(buffer,status );
DBMS_OUTPUT.PUT_LINE('Buffer: '||buffer);
DBMS_OUTPUT.PUT_LINE('Status: '||to_char(status));
--while get_clm%found
--while rownum < 100
LOOP
fd_claim:= v_claim;
OPEN get_srvline;
fetch get_srvline bulk collect into serv;
CLOSE get_srvline;
mismatch:=0;
FOR i in 1..serv.count LOOP
if serv(1).aff_nbr <> serv(i).aff_nbr then mismatch:=1;
end if;
END loop;
if mismatch = 1 then
FOR i in 1..serv.count LOOP
w_line:=serv(i).claim_nbr||serv(i).serv_nbr||serv(i).aff_nbr;
UTL_FILE.PUT_LINE(V_OUTFILE,w_line);
END LOOP;
end if;
END LOOP;
--close get_srvline;
close get_clm;
UTL_FILE.FCLOSE(V_OUTFILE);
DBMS_OUTPUT.PUT_LINE ( serv.count );
END LOOP;
END;The reason why it won't stop is that neither of the two outer LOOPs has any way of stopping.
If you want to fetch one row from a cursor in a loop, and contine the loop as long as you keep getting rows, then use a cursor FOR loop, like this
FOR v_claim IN get_clm
LOOP
DBMS_OUTPUT.PUT_LINE(v_claim);
END LOOP;You do not need OPEN, FETCH or CLOSE statements when using a cursor FOR loop.
If you do want to use OPEN, FETCH and CLOSE, then the loop that FETCHes the data should test for %NOTFOUND, and EXIT when it is true, like this:
OPEN get_clm
LOOP
FETCH get_clm INTO c_claim
EXIT WHEN get_clm%NOTFOUND;
DBMS_OUTPUT.PUT_LINE(v_claim);
END LOOP;
CLOSE get_clm;Always format your code to show the range of LOOPs and IF statements.
When posting on this site, type these 6 characters:
{code}
(small letters only, inside curly brackets) before and after formatted text, to preserve spacing. -
Not able to import User Profile Property via BDC Connection
I want to fill some of the user profile properties via BDC Connection. I already have created more than 50 user profiles which I imported from AD. Now, in order to import profiles properties using BDC, I performed below steps:
a) Ensured Business Data Connectivity and Secure Store are running and used account has Full permission on these services.
b) Created an external content type using SharePoint Designer and created an external list to ensure that data is available:
Set email field as identifier, which is one of the columns in SQL table and is a primary key.
Created Read Item and Read List operations on above ECT.
c) Checked the presence of above ECT in BDC service and ensured it has all necessary permissions i.e. Edit, Execute etc.
d) Configure a new synchronization connection in User profile Service by selecting the same ECT. Here I chose to connect 1:1 mapping and picked up WorkEmail property to return items.
e) Mapped one of the custom property with one of the fields of SQL Server. Here, I ensured they both have same type.
f) Ran Full Synchronize after above steps. On checked, I do not find any data in the mapped properties.
Below are the traces of LOGS:
Profile sync step BusinessConnection (stage BusinessDataCatalogFullImport) finished successfully. 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:00.68 OWSTIMER.EXE (0x337C) 0x02DC SharePoint Portal Server User Profiles
ac4iu Medium Profile sync step BusinessConnection (stage BusinessDataCatalogFullSync) started execution.
04/21/2015 12:37:00.68 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Foundation Topology
8xqz Medium Updating SPPersistedObject UserProfileImportJob Name=UserProfileServiceApplication_ProfileImportJob. Version: 2294209 Ensure: False, HashCode: 36728399, Id: 4f037df6-d339-4b5a-8892-ef3699c16b20, Stack: at
Microsoft.SharePoint.Administration.SPJobDefinition.Update() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.SaveStatus() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute()
at Microsoft.Office.Server.Administration.UserProfileApplicationJob.Execute(SPJobState jobState) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:01.70 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Portal Server User Profiles
ac4iq Medium Profile sync step BusinessConnection (stage BusinessDataCatalogFullSync) finished successfully. 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:01.70 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Foundation Topology
8xqz Medium Updating SPPersistedObject UserProfileImportJob Name=UserProfileServiceApplication_ProfileImportJob. Version: 2294211 Ensure: False, HashCode: 36728399, Id: 4f037df6-d339-4b5a-8892-ef3699c16b20, Stack: at
Microsoft.SharePoint.Administration.SPJobDefinition.Update() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.SaveStatus() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute()
at Microsoft.Office.Server.Administration.UserProfileApplicationJob.Execute(SPJobState jobState) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:02.53 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Monitoring
nasq Medium Entering monitored scope (Timer Job job-upgrade-sites). Parent No 9f354308-7b18-40f3-80d6-c7d0616cd9e5
04/21/2015 12:37:02.53 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Logging
Correlation Data xmnv Medium Name=Timer Job job-upgrade-sites a0cffe9c-7d80-e0e8-ec25-e024bd692f28
04/21/2015 12:37:02.67 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Monitoring
b4ly Medium Leaving Monitored Scope (Timer Job job-upgrade-sites). Execution Time=136.402252241556 a0cffe9c-7d80-e0e8-ec25-e024bd692f28
04/21/2015 12:37:04.94 w3wp.exe (0x4440) 0x4070 SharePoint Portal Server Runtime
8gp7 Medium Topology cache updated. (AppDomain: /LM/W3SVC/1712947452/ROOT-1-130740700225995467)
04/21/2015 12:37:05.00 OWSTIMER.EXE (0x337C) 0x1FA0 SharePoint Foundation Monitoring
aeh57 Medium Sql Ring buffer status eventsPerSec = ,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0
04/21/2015 12:37:05.52 w3wp.exe (0x4440) 0x3DD8 SharePoint Foundation
Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://172.20.21.163:32843/af95f58c149b4b61b13c0d0250479beb/MetadataWebService.svc'
Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:324f52f2-8c3a-49e3-9d2c-6119776db97b' 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation). Parent No
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://ispantest.domainname.local:32843/af95f58c149b4b61b13c0d0250479beb/MetadataWebService.svc'
Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:324f52f2-8c3a-49e3-9d2c-6119776db97b' 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Server
Taxonomy fuc5 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' starting. 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4848) 0x3D98 SharePoint Server
Taxonomy fuc6 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' completed. 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=2.03964470344695 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4440) 0x3DD8 SharePoint Foundation
General aipzw High An exception occurred while writing a service call usage
entry. Exception details: System.ObjectDisposedException: Safe handle has been closed at
System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) at Microsoft.Win32.Win32Native.GetTokenInformation(SafeTokenHandle TokenHandle, UInt32 TokenInformationClass, SafeLocalAllocHandle TokenInformation,
UInt32 TokenInformationLength, UInt32& ReturnLength) at System.Security.Principal.WindowsIdentity.GetTokenInformation(SafeTokenHandle tokenHandle, TokenInformationClass tokenInformationClass) at System.Security.Principal.WindowsIdentity.get_User()
at System.Security.Principal.WindowsIdentity.GetName() at System.Security.Principal.WindowsIdentity.get_Name() at Microsoft.SharePoint.Utilities.SPUtili... 08d6992a-9413-4d09-b8f9-bcfb08266cc7Thanks for the very clear answer back. You're a star. Much appreciated and better to know where you stand directly. Have called the helpdesk and are willing to solve and take this one back in, although it will hurt. The macBook Pro continues to be out of reach economically, so it would need to be the white macBook...
Just wanted to check some last items before making final decisions as I am checking an alternative workaround
- my camcorder supports recording on memory stick which can then be read into iMovie without problem. Any idea if memory stick is lower in resolution as normal DV tape recording? If this is comparable I can choose to from now on switch to memory stick. When I record on the stick it is then recognised as MOV.
- is there any other (non apple made) OSX software on the market to facilitate only the USB driven capturing? Hence did any other SW supplier plug this hole? The old windows pc has proven that the camera streams images via the USB port (hence don't at all understand why iMovie cannot just support capturing via USB streaming...!!!!) and I understand it is more that iMovie doesn't support capturing images via USB, but does anybody else at least for the capturing bit?
- You read about Firewire - USB adapters/hubs/convertors. It is however never clear if it would solve this issue. Dead-end street or an option?
- I can capture my archive of old tapes on my old PC and then put them into my Mac. However the capturing SW makes one large file of it and no event is split. Any idea if on import iMovie could automatically split this into different events (based on date or start/stop?)
- final question: does iMovie when capturing video from tapebased camcorder automatically split events based on date or start/stop? Would be silly to make switch and then still find out I need to manually make the cuts.
Very grateful for your support. Just a couple of days left to make final decision... -
Error when trying to Manage 'User Profile Service Application'
Hello,
I'm recently facing an issue two issues
1. User Profile Service Application: when I goto manage user profile service application I get an error windows and when I look into the logs following is the error with given correlation id "ef9fb09c-ae28-1072-b404-c887d61ed915"
08/21/2014 09:07:27.53 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (GET:http://gcdwinamzanl002:8081/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=9826b245%2D1d65%2D408f%2Db252%2D058b3809225f) ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.75 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
General 6t8h High [Forced due to logging gap, cached @ 08/21/2014 09:07:27.50, Original
Level: Verbose] {0} ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.75 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process
identity ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.75 w3wp.exe (0x2BB8) 0x2448 Web Content Management
Publishing Cache f6s5 Medium ObjectCache size is set to 100 megs. ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.75 w3wp.exe (0x2BB8) 0x2448 Web Content Management
Publishing 8zug Medium PublishingHttpModule.Init() calling AppDomainUnloadListener.Register() ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.75 w3wp.exe (0x2BB8) 0x2448 Web Content Management
Publishing 8x0a Medium AppDomainUnloadListener.RegisterSelf() entered lock(this=38386177) ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.75 w3wp.exe (0x2BB8) 0x2448 Web Content Management
Publishing 8x0b Medium AppDomainUnloadListener.RegisterSelf() about to call HostingEnvironment.RegisterObject(this=38386177) ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.82 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Asp Runtime aj1kp High [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.88 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
General 6t8h High [Forced due to logging gap, cached @ 08/21/2014 09:07:27.83, Original
Level: Verbose] {0} ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.88 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process
identity ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.91 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://gcdwinamzanl002:8081/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=9826b245%2D1d65%2D408f%2Db252%2D058b3809225f)).
Execution Time=427.452048 ef9fb09c-ae28-1072-b404-c887d61ed915
08/21/2014 09:07:27.98 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (Request (GET:http://gcdwinamzanl002:8081/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=9826b245%2D1d65%2D408f%2Db252%2D058b3809225f)).
Parent No
08/21/2014 09:07:27.98 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (GET:http://gcdwinamzanl002:8081/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=9826b245%2D1d65%2D408f%2Db252%2D058b3809225f) ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.35 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
General 6t8h High [Forced due to logging gap, cached @ 08/21/2014 09:07:27.98, Original
Level: Verbose] {0} ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.35 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.39 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (PostAuthenticateRequestHandler). Execution Time=27.712976 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.49 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Monitoring nass High [Forced due to logging gap, cached @ 08/21/2014 09:07:28.39, Original Level: Verbose]
____{0}={1} ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.49 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Asp Runtime aj1kr High [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PostAuthorizeRequestHandler ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.68 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (PublishingHttpModule: PostAuthorizeRequestHandler). Execution
Time=178.76496 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.85 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Asp Runtime aj1km High [Forced due to logging gap, cached @ 08/21/2014 09:07:28.72, Original Level: Verbose]
SPRequestModule.PostResolveRequestCacheHandler ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.85 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Asp Runtime aj1kn High [Forced due to logging gap, Original Level: Verbose] SPRequestModule.AcquireRequestStateHandler ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.88 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Logging Correlation Data xmnv Medium Site=/ ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.94 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Database ahjqp High [Forced due to logging gap, cached @ 08/21/2014 09:07:28.90, Original
Level: Verbose] SQL connection time: 0.050592 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:28.94 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process
identity ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.22 OWSTIMER.EXE (0x0968) 0x3744 SharePoint Foundation Monitoring
aeh57 Medium Sql Ring buffer status eventsPerSec = ,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0
08/21/2014 09:07:29.53 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Database ahjqp High [Forced due to logging gap, cached @ 08/21/2014 09:07:28.95, Original
Level: Verbose] SQL connection time: 0.027536 ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.53 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
General 6t8b High [Forced due to logging gap, Original Level: Verbose] Looking up {0}
site {1} in the farm {2} ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.59 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology umbj High [Forced due to logging gap, cached @ 08/21/2014 09:07:29.54, Original
Level: Verbose] Deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.59 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology ahg9p High [Forced due to logging gap, Original Level: Verbose] Completed deserializing
the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.65 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology ahg9p High [Forced due to logging gap, cached @ 08/21/2014 09:07:29.64, Original
Level: Verbose] Completed deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.65 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology umbj High [Forced due to logging gap, Original Level: Verbose] Deserializing the
type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.71 w3wp.exe (0x2BB8) 0x2448
0x6FB700D ahg9p High [Forced due to logging gap, cached @ 08/21/2014 09:07:29.68, Original Level:
Verbose] Completed deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.71 w3wp.exe (0x2BB8) 0x2448 Access Services
Administration ackn7 High [Forced due to logging gap, Original Level: Verbose] Tried to obtain setting {0} from Conversion Service
Application, but it didn't exist. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.80 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology umbj High [Forced due to logging gap, cached @ 08/21/2014 09:07:29.76, Original
Level: Verbose] Deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.80 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology ahg9p High [Forced due to logging gap, Original Level: Verbose] Completed deserializing
the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.86 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology ahg9p High [Forced due to logging gap, cached @ 08/21/2014 09:07:29.85, Original
Level: Verbose] Completed deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.86 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology umbj High [Forced due to logging gap, Original Level: Verbose] Deserializing the
type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.91 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology ahg9p High [Forced due to logging gap, Original Level: Verbose] Completed deserializing
the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.96 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology umbj High [Forced due to logging gap, cached @ 08/21/2014 09:07:29.91, Original
Level: Verbose] Deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:29.96 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology ahg9p High [Forced due to logging gap, Original Level: Verbose] Completed deserializing
the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.06 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology umbj High [Forced due to logging gap, cached @ 08/21/2014 09:07:30.01, Original
Level: Verbose] Deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.06 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology ahg9p High [Forced due to logging gap, Original Level: Verbose] Completed deserializing
the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.12 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology ahg9p High [Forced due to logging gap, cached @ 08/21/2014 09:07:30.11, Original
Level: Verbose] Completed deserializing the type named {0} and with id {1}. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.12 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Configuration a16e High SPAce PrincipalName found account renamed to NULL SID. Using new name. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.12 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Configuration a16e High SPAce PrincipalName found account renamed to NULL SID. Using new name. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.14 w3wp.exe (0x2BB8) 0x2448 SharePoint Server
General ahjnd Medium Constructed a new async cache named Profile Property Cache ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.15 w3wp.exe (0x2BB8) 0x2448 SharePoint Portal Server User
Profiles ajk4d Medium UserProfileProperty_WCFLogging::Begin ProfilePropertyServiceClient.ExecuteOnChannel ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.15 w3wp.exe (0x2BB8) 0x2448 SharePoint Portal Server User
Profiles ajk35 Medium MossClientBase_WCFLogging::Begin MossClientBase.ExecuteOnChannel ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:30.18 w3wp.exe (0x2BB8) 0x2448 SharePoint Portal Server User
Profiles ajk36 Medium MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel - Executing codeblock on channel ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:31.27 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Claims Authentication aeax6 High [Forced due to logging gap, Original Level: Verbose] SPSecurityContext: The SecurityTokenServiceBehavior is attached to the AsymmetricTrustChannel. ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:31.94 w3wp.exe (0x2BB8) 0x2448 SharePoint Foundation
Topology aeayb Medium SecurityTokenServiceSendRequest: RemoteAddress: 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas'
Channel: 'Microsoft.IdentityModel.Protocols.WSTrust.IWSTrustChannelContract' Action: 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue' MessageId: 'urn:uuid:3c1f10be-67f6-4335-9245-0af94c65f814' ef9fb09c-fe46-1072-b404-c5bccdc9dc59
08/21/2014 09:07:34.09 NodeRunnerContent1-ac7a63c6-80a (0x1A00) 0x32DC Search Search Platform Services
ajhlg Medium NerioCluster : Got valid (Primary) lease until 2014-08-21T09:10:11.0915676Z/0 for net.tcp://gcdwinamzanl002/C62BA9/AdminComponent1/Services/InvokerService
08/21/2014 09:07:34.29 OWSTIMER.EXE (0x0968) 0x3744 SharePoint Foundation Monitoring
aeh57 Medium Sql Ring buffer status eventsPerSec = ,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0
08/21/2014 09:07:35.72 w3wp.exe (0x0C0C) 0x18F0 SharePoint Foundation
Unified Logging Service b8fx High ULS Init Completed (w3wp.exe, onetnative.dll)
08/21/2014 09:07:35.86 w3wp.exe (0x0C0C) 0x18F0 SharePoint Foundation
Topology 2myf Medium Disabling the configuration filesystem and memory caches.
Abhishek MadanHi Abhishek,
According to your description, my understanding is that the User Profile Synchronization service stuck on ‘Starting’ or ‘Stopping’.
Please check whether you installed SQL 2012 Native Client (Pre-requisites) on SharePoint server. If yes, download and install SQL 2008 R2 Native Client from the below location:
http://download.microsoft.com/download/9/1/3/9138773A-505D-43E2-AC08-9A77E1E0490B/1033/x64/sqlncli.msi
From the SharePoint server ->control panel -> add/Remove programs , please confirm that the SQL 2008 Native Client is listed.
Make sure that the farm account is a member of the Administrators group on the server on which you are trying to start the User Profile Synchronization service, then restart the SharePoint Timer Service.
Set the FIM services to "Local System" before starting the service.
There is a troubleshooting for User Profile Synchronization Service start issues, please have a look at:
http://technet.microsoft.com/en-us/library/gg750257(v=office.14).aspx
Here are some similar posts for you to take a look at:
http://www.codeproject.com/Articles/358855/user-profile-synchronization-service-not-starting
http://www.sharepointdiary.com/2012/09/user-profile-synchronization-service-stuck-at-starting.html#ixzz2aX7Wz4GQ
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
Driver errors reported when trying to start objects
We have a standard PCI can card, and are developing in the following environment:
Software written in VC++ Version6,
running under NT4.0,
Port configured as 'CAN0',
using extended arbitration IDs.
We create one network interface object, and, depending on the test configuration, four CAN response objects.
The problems are :-
1) if the network interface object (nio) is configured as 'start on open'= TRUE then the other objects fail to initialise. If the other objects aren't started, the nio works perfectly though.
2) If the nio is configured not to start on open, the other objects will initialise successfully (obviously not a lot of use though).
Any attempt to call ncAction trying to start any of the objects will however fail with a status of 0xBFF62002, which is CanErrDriver.
Below is a stripped down set of events as to how we start our card.
AttrIdList[0] = NC_ATTR_BAUD_RATE;
AttrValueList[0] = 125000; //BaudRate;
AttrIdList[1] = NC_ATTR_START_ON_OPEN;
if( Response_Enabled == 0 )
AttrValueList[1] = NC_TRUE;
NotificationStates = (NC_ST_READ_AVAIL |
NC_ST_ERROR | NC_ST_WARNING | NC_ST_STOPPED);
else
AttrValueList[1] = NC_FALSE;
// don't look for stopped state else it
// will interrupt continuously.
NotificationStates =
(NC_ST_READ_AVAIL | NC_ST_ERROR |
NC_ST_WARNING);
AttrIdList[2] = NC_ATTR_READ_Q_LEN;
AttrValueList[2] = 50; //500;
AttrIdList[3] = NC_ATTR_WRITE_Q_LEN;
AttrValueList[3] = 20;
AttrIdList[4] = NC_ATTR_CAN_COMP_STD;
AttrValueList[4] = 0;
AttrIdList[5] = NC_ATTR_CAN_MASK_STD;
AttrValueList[5] = 0; // NC_CAN_MASK_STD_DONTCARE;
AttrIdList[6] = NC_ATTR_CAN_COMP_XTD;
AttrValueList[6] = 0;
AttrIdList[7] = NC_ATTR_CAN_MASK_XTD;
AttrValueList[7] = 0; // NC_CAN_MASK_XTD_DONTCARE;
// Configure the CAN Network Interface Object
Status = ncConfig(szCanObject, 8, AttrIdList,
AttrValueList);
CheckStatus(Status, "ncConfig");
CCanObject* pCanObject = new CCanObject;
pCanObject->m_phObject = new (NCTYPE_OBJH);
ASSERT (pCanObject->m_phObject != NULL);
Status = ncOpenObject(szCanObject,
pCanObject->m_phObject);
CheckStatus(Status, "ncOpenObject");
if (Status == 0) // object was
// successfully created
// add the CAN object to the list,
// indexed by name
m_CanObjectMap.SetAt(strObjectName,
pCanObject);
// create a string to identify the Notification
pCanObject->m_pszObjectName = new char[strObjectName.GetLength() + 1];
strcpy(pCanObject->m_pszObjectName, strObjectName);
// Create the notification used to store incoming frames.
// CanCallback will be called whenever a frame is available,
// a background error occurs, or no frame is received for 30 seconds.
// We pass a pointer to the global Queue data structure to the
// callback's RefData parameter.
Status = ncCreateNotification(
*(pCanObject->m_phObject),
NotificationStates,
NC_DURATION_INFINITE, //CAN_TIMEOUT
pCanObject->m_pszObjectName,
CanCallback); // name of callback fn
// check callback was installed
CheckStatus(Status, "ncCreateNotification");
at this point we kick off a timer for 200 msecs, and then carry on when the timer expires.
This allows the card to get itself settled.
This consists of checking configuration, and doing the following code for each of the response objects.
The things that change are the object names, the arbitration IDs, and the response data.
AttrIdList[0] = NC_ATTR_COMM_TYPE;
AttrValueList[0] = NC_CAN_COMM_TX_RESP_ONLY;
//failed bff62002 if objects set to 'start on open'
// All of the following are here as a result of testing.
// The setting above is the one that should eventually be used.
// Finally resolved by not using start-on-open above.
// AttrValueList[0] = NC_CAN_COMM_RX_UNSOL; //worked
// AttrValueList[0] = NC_CAN_COMM_RX_PERIODIC; //failed bff62005
// AttrValueList[0] = NC_CAN_COMM_RX_BY_CALL; //worked
/// AttrValueList[0] = NC_CAN_COMM_TX_PERIODIC; //worked - crashed with unhandled exception on closure though
// AttrValueList[0] = NC_CAN_COMM_TX_BY_CALL; //worked
// AttrValueList[0] = NC_CAN_COMM_TX_WAVEFORM; //worked - crashed with unhandled exception on closure though
// Specify watchdog timer period
AttrIdList[1] = NC_ATTR_BKD_PERIOD;
AttrValueList[1] = 1000;
// respond with DLC
AttrIdList[2] = NC_ATTR_BKD_READ_SIZE;
AttrValueList[2] = 0;
AttrIdList[3] = NC_ATTR_BKD_WRITE_SIZE;
AttrValueList[3] = DataLengthCode; // normally 3
AttrIdList[4] = NC_ATTR_CAN_TX_RESPONSE;
AttrValueList[4] = NC_TRUE;
/* This attribute is ignored for CAN Objects which transmit data. */
AttrIdList[5] = NC_ATTR_RX_CHANGES_ONLY;
AttrValueList[5] = NC_TRUE;
// maximum number of frames to hold in read queue
AttrIdList[6] = NC_ATTR_READ_Q_LEN;
AttrValueList[6] = 0;
// The write queue length is set to zero (queuing disabled).
// This means that for each request, the most recent data written
// using ncWrite will be transmitted in a Data Frame.
AttrIdList[7] = NC_ATTR_WRITE_Q_LEN;
AttrValueList[7] = 0;
// build the CAN object name
sprintf(szCanName, "%s::XTD0x%08lx", CanBus, ArbitrationId );
//*arbitration IDs normally used are
//*0x19008000,
//*0x19008001,
//*0x19008002
// configure the CAN object
Status = ncConfig(szCanName, ATTR_LIST_LEN, AttrIdList, AttrValueList);
// check for errors
CheckStatus(Status, szTemp);
// Open the transmitting CAN Object. The object starts up, but it
// will wait for the first call to ncWrite before it transmits a Data
// Frame.
CCanObject* pCanObject = new CCanObject;
pCanObject->m_phObject = new (NCTYPE_OBJH);
ASSERT (pCanObject->m_phObject != NULL);
Status = ncOpenObject(szCanName,
pCanObject->m_phObject);
CheckStatus(Status, szTemp);
if (Status == 0) // CAN object created successfully
// Store CAN bus information into object
pCanObject->m_strCanBusName = CanBus;
pCanObject->m_strCanName.Format("%s", szCanName);
pCanObject->m_ArbitrationID = ArbitrationId;
// add the CAN object to the list, indexed by name
// put data into output buffer
for (int i = 0; i < DataLengthCode; i++)
Transmit.Data[i] = DefaultData[i];
// setup CAN object output buffer
Status= ncWrite(*(pCanObject->m_phObject),
sizeof(Transmit), &Transmit);
CheckStatus(Status, "ncWrite");
// create a string to identify the Notification
pCanObject->m_pszObjectName = new char
[strObjectName.GetLength() + 1];
strcpy(pCanObject->m_pszObjectName,
strObjectName);
Status = ncCreateNotification(
*(pCanObject->m_phObject),
NC_ST_WRITE_SUCCESS,
NC_DURATION_INFINITE,
pCanObject->m_pszObjectName,
NotificationCallback);
// check callback was installed
CheckStatus(Status, "ncCreateNotification");
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
So, Any ideas what we're doing wrong ??
The cards were new in December 2001.
Software driver version installed is Version 1.5.1
It makes little difference which card we use, as we have many cards at this site in various pieces of test equipment, and I have tried at least 6 !
Things are beginning to get a little depserate here =:-/
Regards,
John Webster.Many thanks for the prompt reponse Diego.
A couple of comments on what you have written above.
The Response objects are only used for the 4 messages that need responses. All other messages are handled (received) by the Network Interface Object. Is it still therefore true to say that I should be using NC_CAN_ARBID_NONE ?
I think the answer will be yes, but want to confirm.
Am I correct to say that from your description, the only change was as belows :-
AttrValueList[2] = 0;
AttrValueList[3] = 0;
AttrValueList[6] = NC_CAN_ARBID_NONE;
Should I also be setting NC_ATTR_CAN_COMP_STD to NC_CAN_ARBID_NONE too ?
Many thanks for your help. This one has been causing us a lot of problems for a long time. I have changed many of the pa
rameters, but must admit I don't think I tried that one before.
Just off now to try this, see if it makes our code work !
Regards,
John. -
How to find out, whether win 2003 is sick ?
Hello together,
I am running some SAP NW 7.0 Application-Server (Java+Abap) on Windows Server 2003 64bit in front to a central instance on a host IBM System i with DB2.
I don't have much knowhow in Windows Servers and want to know, how can I find out whether the windows server is running good.
On which values (perhaps Task Manager) should I keep an eye on?
best regards
Carsten SchulzHI,
you can get all information i.e memory,cpu,hdd space by running st06 /st06n
How to watch the net speed to the central instance?
i can't get exactly what you want to know
but you can perform developer trace on work process running on application server using sm50 -> process ->trace -> display file look for error.
you get buffer related info. by running tcod -st02 if required you can change the relavant parameter in instance profile
you can get memory consume by user tranasaction by running sm04 ->goto->memory
you can get responce time of application server by smlg -> goto -> load distribution
regards,
kaushal -
Dear friends,
Suppose i execute one query in abap
select * from mara where mtart = 'IFIG'.
How my system behaves.I feel first DBInterface looks data on to buffer area of appserver.Here is there any role of message server ?.
Suppose If buffer has data ,it fetches from buffer and dbinterface passes data back to request dispatcher.
If not then it looks into databse server and updates buffer and then return back the result.
However what will be query fired then ,will it be select * from mara irrespective of where clause means all data will be fetched or partial .
Also suppose i do setting No buffering in mara table,will buffering on appserver be referred or not.
I have coded many report where on execution it takes first time to be slow.But next time in seconds.Though tables used on such reports\ have No Buffering setting.How then buffering applies ?.
I am confused about buffering management and even readings cannot convince me.
I leave this topic on debate for all readers of this topic .
Regards,
AdityaHermann Gahm wrote:
Hi,
>
> since MARA is not buffered, the DBI (DBSL to be more precisse)
> transforms the statement to native SQL and sends the request to the DB
> and waits for the result in order to process it (copy it in ABAP variables...)
> That's basically it.
>
> Kind regards,
>
> Hermann
Just to complete Hermanns fully correct statement:
However, IF INDEED someone modified MARA to be fully buffered, strange things will happen:
The first request, no matter what WHERE clause it has, will do a
SELECT * from MARA WHERE MANDT='xxx'
Most likely this will run for quite a while and will either give a timeout if called in dialog,
or will get a buffer failiure, because your SAP buffer will likely be too small to hold a complete MARA.
However, this error will be stored as a buffer information, and any second call will proceed to the DB-layer,
and be processed as if the table is not buffered. After a while, the "buffer-fail" information is cleared and the next
call will begin right again to try buffering.
I had this recently (not with MARA, but with a huge Z-table, that was set to FULL BUFFERED).
The first call of the day ran forever and did fail, and every call after this was lightning fast, because all
statements executed were well index-supported.
When we did a SQL trace it was quite funny to see a full table scan as execution plan fired by a FAE select
with a selective WHERE. I assumed a kernel bug first, because I could not even imagine someone would set
a 300 GB table to be fully buffered. Checking the table buffer after spotting the bufferflag revealed, that indeed
a "buffer failed" status is as well a buffer status information which disables buffering (for a while).
Volker -
Referenced Parameters in C library not working on Compact RIO
High level
I want to use Google Protobuf on my Compact RIO. I have it 90% of the way there and running into issues.
Details
I'm a long time C++ developer who's newish to LabVIEW. I'm using C to create a cross-compiled library to use on a Compact RIO (9025) with LabVIEW code. I'm using Linux (Ubuntu 14.04.1) with a VxWorks toolchain and CMake to create the library. I copy it over manually (looking for a better solution to that here), call it from LabVIEW via a Call Library Function, and assuming I'm doing simple things it works great! Here's a quick sample of what I have that works:
My C code
extern "C" double addNums(double in1, double in2)
return in1 + in2;
extern "C" double multNums(double in1, double in2)
return in1 * in2;
Which I cross compile to a VxWorks binary and copy over to the cRIO.
Then on the LabVIEW side, I have this.
I run it on the target cRIO and all works great.
I mentioned protobuf. Cross compiling the full blown protobuf library for VxWorks proved to be a near (if not 100%) impossible task. So I found and am using Nanopb. I'm able to cross compile and get the following code using Nanopb to actually run on the cRIO and spit out the expected response:
extern "C" double testPbuf()
uint8_t buffer[128];
size_t message_length;
bool status;
std::ofstream file;
file.open("testOutput.bin", std::ios::out | std::ios::binary);
//! Create a message
ExampleMsg message;
message.value = 13;
pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
status = pb_encode(&stream, ExampleMsg_fields, &message);
//! Decode the message
ExampleMsg message;
pb_istream_t stream = pb_istream_from_buffer(buffer, message_length);
status = pb_decode(&stream, ExampleMsg_fields, &message);
return message.value;
return 0;
Not terribly important, but if you know protobuf, here's the proto message I'm using
message ExampleMsg {
required int32 value = 1;
So then I call this function from LabVIEW very simply:
I run this and it works! I see my 13 as expected. Jump for joy, protobuf works on the Compact RIO! Ok no jumping yet...
Now what I want to do is get the C library to generate and output the actual serialized protobuf message because I need to send it over UDP from the Compact RIO. So here's my attempt so far:
extern "C" const void getPacket(uint8_t* packet)
uint8_t buffer[128];
uint16_t packetSize;
bool status;
ExampleMsg msg;
pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
msg.value = 14;
status = pb_encode(&stream, ExampleMsg_fields, &msg);
packetSize = stream.bytes_written;
//! If something failed we should see an 'X' in the first byte
if (!status)
buffer[0] = 'X';
memcpy(packet, buffer, packetSize);
And on the LabVIEW side, I'm initializing an array of unsigned int 8s to the proper size and feeding it into the function, and reading the packet parameter as output.
When I run this I never get any output on packet except whatever I set the initializer to. I have also changed the code to try to output a string as a parameter argument, with this declaration:
extern "C" const void getPacket(char* packet)
And memcpy() appropriately and can't seem to get the output properly in LabVIEW using strings in place of the U8s. I need to figure out how to get this serialized protobuf data into LabVIEW so I can send it over UDP as a message.
I have seen several examples in the LabVIEW installation directory, but they're referring to objects and libraries which are meant for Windows DLLs and not easily used in a cross compiled environment. I also have seen many threads on here relating to this but none have helped so far. Any help would be greatly appreciated!
I would hate to do a file write to solve this as it would add a whole new lag to the system. I did end up with a solution, which is essentially what I posted above. It seems like the real issue I was having was that the dll was not being reloaded on subsequent rebuilds/tests. So I would make changes to the DLL to test and they wouldn't be reflected even when I copied the DLL to the Compact RIO. Turns out I have to completely close the project and re-open it if I change the dll file. This is really strange behaviour. I could even *delete* the DLL from the Compact RIO and the VI would still run with the previous "copy" somehow.
Anyhow it looks like I have protobuf working from the Compact RIO, though still have a few issues with encoding certain data types. If anyone is interested in the full solution I may do a write up. -
Profile parameter related to DIA increment
Hi all,
If we increase # of DIA wp using RZ10, the init/max swap requirement is calculated automatically for us. What about the buffer size (listed on the left side of no.of work process area in RZ10, i.e.abap program (abap/buffersize)? What is the best practive, do we have to adjust those buffer or wait till swap value(ST02) becoming high?
Thanks alot.Hi,
The ABAP program buffer size is adjusted by default when you install the SAP, but it is not necessarily the ideal value for the parameter.
It stores the compiled executable versions of ABAP programs (loads). So if you observer the swaps i.e. if the number of swaps for the ABAP buffer between 24hrs is more than say 8000, the you need to increase the buffer size. Also if the hit ratio for the ABAP buffer is below 98% then you need to consider increasing the buffer size. Swapping is a normal process but the number of swaps in one day is the key so if that is high you will have to increase the buffer size.
Hope that helps, <removed_by_moderator>
Read the "Rules of Engagement"
Edited by: Juan Reyes on Nov 2, 2009 9:22 AM -
OpenCL freezes when trying to run kernel code
Hi,
I have some openCL kernel that runs through pixels stored in a frame buffer object, and counts non-black and non-white pixels. It used to run fine on my machine, but I believe that updates to Mac OS X and/or devtools might have caused a problem to cause it stall.
The kernel object associated with the kernel code is attached to a QT window, and the kernel code is run n-times when the window requires an render update. This window is updated twice after it is created initially, which means that the sequence of openCL code does not cause problems initially. When I bring the window to the foreground, it requires another update and attempts to run the kernel code another n-times. But in the middle of those n-times, it stalls. i.e. if it needs to run 51 times, it stalls at iteration 26. It appears that a call to clEnqueueReadBuffer causes a stall.
I'm going to leave out details about why I use the openCL code unless it's absolutely necessary since that might confuse code. I thought it would be good to focus on the OpenCL code itself. Here it is for reference: http://dl.dropbox.com/u/10838242/forumsquestion.cpp
Here's the gdb backtrace:
#0 0x00007fff8e3a6122 in __psynch_mutexwait ()
#1 0x00007fff8955ad9d in pthread_mutex_lock ()
#2 0x000000010dd3acbd in gldFlushQueue ()
#3 0x000000010bbc193f in IOAccelContextFinishResourceSysMem ()
#4 0x000000010bbcd5b0 in gpumAcquireFenceOnQueue ()
#5 0x000000010dd43fcd in gldCopyBufferDataWithQueue ()
#6 0x00007fff8ffa7e2e in GCC_except_table49 ()
#7 0x00007fff8ffc5f11 in clFinish ()
#8 0x00007fff936800b6 in _dispatch_client_callout ()
#9 0x00007fff93681723 in _dispatch_barrier_sync_f_invoke ()
#10 0x00007fff8ffc5ddb in clFinish ()
#11 0x00007fff8ffc25c2 in clSetEventCallback ()
#12 0x00007fff8ffb86e6 in clEnqueueReadBuffer ()
#13 0x0000000100020a31 in CLHandler::update (this=0x107683e20, tagged=@0x7fff5fbfb960, w=761, h=711) at clhandler.cpp:343
#14 0x000000010002f8c1 in CustomBladesGLWidget::render (this=0x1072b09e0, indexMode=true, offset=135288, numPnts=4416, blobID=25, bladeIdsIntersected=@0x7fff5fbfb960) at customBladesGLWidget.cpp:943
In the attached file, line 343 (bold above) corresponds to this call (in function CLHandler::update):
//read data from buffer
status = clEnqueueReadBuffer(cqueue,hitbuffer,CL_TRUE,0,mNumBladeCells * sizeof(float),mBladesHit,0,
NULL,&event);
handleError("clEnqueueReadBuffer","",status);
Now, if I were to comment everything BELOW the initial call to clEnqueueWriteBuffer, it would stall at that function call instead. I have no idea why this occurs. Any help is greatly appreciated.
If this problem is indicative of something more problematic then I guess Apple support might be one option. System specs: MacbookPro 8,2, Core i7 2.2 GHz, AMD Radeon HD 6750M, OS X 10.8.2.
ThanksOh, I see, sorry, if it is legitmate, then ignore my post. My copy runs perfectly so I was wondering why yours did not. I understand that its a valuable computer, in fact, for the amount of money you payed for that mbp, you can build a computer of your own with state of the art components. Just saying. @sig, lets hope that he finds something on the support page to help him.
Maybe you are looking for
-
Somehow, I'm not getting all of my email (via iCloud). My wife forwared an email to me, I got the "ding" but no email. She sent it to another IMAP account that I have and I got it just fine. She repeatedly tried to send it to my .mac account and n
-
Report S_ALR_87012993 issue: GREP blocks
Hello experts, When I run report S_ALR_87012993 I get the following error: "Internal error: More then 999 GREP blocks were requested" Message no. GR215 Diagnosis An internal error occurred in the Report Writer. When running the program, you selected
-
How do I find out a password to an old itunes acct.?
I tried to access an old acct but it won't recognize my password. I tried to find out what it was but the email I registered with is not longer active so I can't use email authentication. Also Apple won't recognize the birthday I used when I regist
-
People Recognition Doesn't work in 11
My people recognition tells me there are no people or the people are labeled, even though that is incorrect.
-
Ecommerce question - Is this possible?
Hi, If I have an ecommerce website, and also an Ebay and Amazon account... Is there some way where the products I add to my ecommerce website will be automatically populated onto my Ebay and Amazon product list? Many thanks.