Flex wait for move complete
Hi,
I am currently programming a 7344 motion control board in Visual C++.
Right now I am using the function flex_wait_for_move_complete function but it causes an exception error when passing the pointer, moveComplete, into the function ( it is the last argument).
According to the prototype, u16* waitComplete is a returned pointer the function returns. 1 if move is complete, 0 if move is not. Maybe I am referencing it and using it the wrong way.
In my function
void moveSingleAxis(..)
u16* moveComplete = (u16*)1;
//some code
status = flex_wait_for_move_complete(boardid, NIMC_AXIS1, NIMC_AXIS_CTRL, 10000, 20, waitComplete);
//status is used for error checking, but irrelevant to my problem
If I make the pointer to 0 or NULL, flex will error and say pass in null pointer . If I make the pointer to any other number it causes null reference exception error. Any help? thanks!
-Mike
oops syntax error! I put waitComplete, but it's supposed to be moveComplete as the last argument for flex_wait_for_move_complete. Just want to let you guys know that. Thanks!
Similar Messages
-
Wait for move complete not waiting for timeout
Hi,
I am running a small rotary stage with a 7358 motion controller. Occasionally when I command a new position, the "wait for move complete" seems to get triggered almost immediately even though the move is not complete. Since I have put in a "halt" downstream of this to cover the case where the move times out, the move stops immediately. The problems seems interrmittent but I haven't discovered a pattern yet except that is happens for more often when making a reverse move, i.e. I go to 1000 counts as a forward move and then back to 800 as a reverse.
Has anyone seen something similar?
Thanks,
Dave
David A. Tayloroops syntax error! I put waitComplete, but it's supposed to be moveComplete as the last argument for flex_wait_for_move_complete. Just want to let you guys know that. Thanks!
-
Waiting for Task Completion from multiple users
iam using Weblogic8.1 Integration BPM to design a worklist application. I need
to create a number of Tasks(number know only at runtime), assign to users and
wait for the completion of each of these task. I've tried using the Task Control
factory to accomplish this. But iam not able to hold the process instance execution
till each of these task is completed. The control gets released from the TaskControlFactory_onTaskCompleted
as soon as one of the above created task is completed.
Pls. let me know if there is a way to achieve this.
Regards
Raja V.Try to put the onTaskCompleted Control Receive in a loop which counts how
many of these
callbacks have already arrived, and the loop exit condition would be that
the count is equal
to the number of the created tasks.
Regards,
Robert Varga
"Raja V" <[email protected]> wrote in message
news:3f423f82$[email protected]..
>
iam using Weblogic8.1 Integration BPM to design a worklist application. Ineed
to create a number of Tasks(number know only at runtime), assign to usersand
wait for the completion of each of these task. I've tried using the TaskControl
factory to accomplish this. But iam not able to hold the process instanceexecution
till each of these task is completed. The control gets released from theTaskControlFactory_onTaskCompleted
as soon as one of the above created task is completed.
Pls. let me know if there is a way to achieve this.
Regards
Raja V. -
Timeout error in Wait for Operation Complete VI for TEKDPO4054 scope driver
Hi,
I keep getting a timeout error (-1073807339) when I run the "wait for operation complete" sub-VI that comes with the tektronix DPO4000 series oscilloscope driver. I'm using a DPO4054 scope. The error out source is the VISA Read STB command, but I can't figure out what's wrong. Has anyone else encountered this error? Please help!
Thanks for your time!
I've attached the sub-VI where I'm having this problem.
Attachments:
tkdpo4k Wait for Operation Complete.vi 27 KBduplicate post
Please try to keep your questions to a single board. -
MS2026 -anvna Wait for Acquisition Complete -ERROR
Hi Everyone,
I wrote a labview program (LV 7.1) with instrument MS2026A VNA (Anritsu) and it was working fine.
However the original equipmet stopped working last week and we have received a loaner (until our is fixed), same model, but does not work with my labview program. I even try running this equipment with the sample program provided by NI: "anvna Acquire Trace Example" and it gives me an error -please refer to attached pictures.
The error is in the "anvna Wait for Acquisition Complete.vi." I think it has to do with timeout (256). I have added delays all over but nothing helps. I used to have this same problem on the first instrument but it disappear "mysteriously."
Could somebody point me to way to fix this issue? Thanks very much,
Frank
Attachments:
anvna Wait for Acquisition Complete -ERROR.gif 10 KB
anvna Wait for Acquisition Complete.gif 26 KBHi Fvalenzu,
I have a few questions about your application.
Is the replacement instrument the same revision of the instrument you sent to get repaired?
Is the device at the same address?
Are you able to successfully communicate with the instrument in max using GPIB commands?
You might want to verify the program is calling the instrument by the correct alias or address and you are calling the device correctly. Also, I would check and see if there is a newer version of the IVI driver for your instrument. IVI drivers can be found at the link below.
ni.com/idnet
Regards
Message Edited by Andy L on 08-17-2007 06:25 PM
Andy L.
Applications Engineer
National Instruments -
Why "wait for operation complete" error ?
HI,
When I use the vi "Read multiple waveforms" there are an errors that appears in the VI "wait for operation complete" and I cannot found the cause of this error ! Can you bring me your help on this suject ?
Thanks you beforehand
Here my vi in LV2013
Attachments:
Sans titre 1.vi 17 KBIt would have helped if you would have stated that this was for a Tektronix 7000 series scope.
I see two possible issues here:
1) The scope never sees the trigger and therefore never sees a waveform to capture
2) The scope is setup to continuously capture waveforms. Since the scope isn't stopping, it won't report being complete.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions -
Pourquoi une erreur s'affiche t-elle toujours dans le VI "wait for operation complete" ?
Bonjour,
J'ai un programme avec lequel je relève la courbe présente sur deux oscilloscopes et qui permet de surveiller l'état du trigger de ces appareils et d'enregistrer des fichiers de mesure. Cependant en utilisant le vi "Read multiple waveforms" il y a une erreur qui apparait dans le VI "wait for operation complete" et je n'arrive pas à trouver la cause de cette erreur ! Pouvez-vous m'apporter votre aide sur ce point ?
Cordialement
Ci joint mon vi LV2013
Pièces jointes :
Sans titre 1.vi 17 KBBonjour ttom972,
Je ne trouve pas de driver s'intitulant Tektronix 7000 series sur notre site. Avez vous un lien ?
Les drivers d'instruments disponible sur notre site ne sont pas développés ni supportés par NI. Je peux essayer de regarder d'ou provient l'erreur, mais le mieux serait de recoder en utilisant des fonctions bas niveau VISA.
Cordialement,
Benoit S. - Field Sales Engineer
Certified LabVIEW Developer
Certified TestStand Developer
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Été de LabVIEW 2014
12 présentations en ligne, du 30 juin au 18 juillet -
HT1390 Do I have to wait for movie rental to download before I can watch it?
Do I have to wait for a movie rental to completely download before I watch it?
It can take the card up to 24 hours to activate after the point of purchase, but if its past 24 hours from when you bought it, the card must not have been activated properly at the register, which is the sole responsibility of the retailer.
-
so like if i download a tv show or movie on my macbook pro from itunes, i can watch the show as it is downloading. on my iphone however, not so much, and this really *****. if i want to watch a movie, i gotta wait 3 hours for it to completely download. is there a way around this?
Thanks!No there isn't.
-
Patched Deployments issue: "waiting for another installation to complete"
I have some percent of computers which runs into above state in monthly patch deployments. I could minimal information from execmgmr, udpatesdeployment.log,
CliSpy and Client Center etc tools but that doesn’t offer much help to nail down the issue completely. Have any of you dealt to resolve such issue successfully ? Is there any efficient way to handle this ?
It seems I have
DeploymentA, waiting for the completion of DeploymentB, which in turn waiting for the completion of
DeploymentC. Is there any better approach I could take to nail down and resolve the issue. One of my finding is, KB articles installs (SCCM R3, SCCM Asset Intelligence) causes these issue as they restart (upgrade sort of execution) the
agent during the execution, I need to confirm these
VasuHi Vasu,
This issue can be caused by a deployment was previously deployed and was now deleted. This was because the clients finished installation
and wanted to notify the Server that it is done, but since the deployment was deleted, it couldn’t Notify its progress to the site server and the CCM_DeploymentTaskEx1 got stuck.
Please use the following scripts to delete the instance to test this issue.
strService = "CcmExec"
strComputer = "."
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\CCM\SoftwareUpdates\DeploymentAgent")
Set colWMISettings = objWMIService.ExecQuery("Select * from CCM_DeploymentTaskEx1")
For Each objWMISetting in colWMISettings
objWMISetting.AssignmentId = ""
objWMISetting.JobId = "{00000000-0000-0000-0000-000000000000}"
objWMISetting.Put_
Next
'Stop service
Set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objService = objWMI.Get("Win32_Service.Name='" & strService & "'")
objService.StopService()
WScript.Sleep 10000 ' Pause to allow service to stop
'Start service
Set objService = objWMI.Get("Win32_Service.Name='" & strService & "'")
objService.StartService()
WScript.Sleep 10000 ' Pause to allow service to start
Regards,
Sabrina
This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
This can be beneficial to other community members reading the thread. -
My iPad says when i try to download a movie that i don't have enough memory, but when I check I have plenty for the movie and more. What can I do? Also, I can't completely sync to iTunes, when i try it waits at waiting for items to copy forever.
Delete some stuff to make room on the device.
iCloud is not local storage and has nothing to do with your situation. -
Media movement for ... waiting for input since...
Hi, guys!
*1. I created rotation policy:*
ob> lsrot -l
rp_test:
Rotation rule 1: vl_test : windowclosed : 15 minutes
Rotation rule 2: test_offsite : expiration : disabled
UUID: e915b170-5416-102e-b112-000b5df3a54e
*2. and seted vaulting policy:*
ob> lsp vaulting/autorunmmjobs
autorunmmjobs yes
but I don't want what to do after vaulting )
ob> lsj
Job ID Sched time Contents State
4 none media movement for vl_test waiting for input since 2011/04/29.11:38
ob> catxcr --tail 25 4
2011/04/29.11:38:54 ______________________________________________________________________
2011/04/29.11:38:54
2011/04/29.11:38:54 Transcript for job 4 running on dbsora98
2011/04/29.11:38:54
2011/04/29.11:38:54 Processing media movement requests for location vl_test
2011/04/29.11:38:54 Considering volumes:
2011/04/29.11:38:54 mf_test-000001 (b927cfe85411102ab8e000b5df3a54e)
2011/04/29.11:38:54 Processing volume mf_test-000001 (b927cfe85411102ab8e000b5df3a54e)
2011/04/29.11:38:54 go .. volume movement completed, continue
2011/04/29.11:38:54 goall .. all volume movement completed for this job
2011/04/29.11:38:54 quit .. give up and abort this media movement
2011/04/29.11:38:54 : 2011/04/29.11:41:39
2011/04/29.11:41:39 :
ob> lsv -l -v mf_test-000001
Volume OID: 104
Volume ID: mf_test-000001
Barcode: b927cfe85411102ab8e000b5df3a54e
Volume sequence: 1
Media family: mf_test
Rotation policy: rp_test
Current location: vl_test
Label host: dbsora98
Created: 2011/04/29.10:53
Closes: 2011/04/29.11:23 (closed)
Expires: 2011/04/29.11:53
Space remaining: none
Original OID: 104
What does mean this message? I must do something to continue job. Is it possible to automate this?Your robot musn't be correctly ejecting the media to a loadport.
Do you see loadports available from obtool lsvol -l -L vtl_test ?
Thank
Rich -
Waiting for the previously running task to complete issue
I am running the full extract process , and one task SDE_ORA_InventoryProductDimension running for 18 hours and its status is "Waiting for the previously running task to complete"
but all running tasked are completed and left tasks are queued by this task, so what make this issue happen?
I restart the informatica server and the task running now!
but for this task I run before it has ten million records , and it always make the dataware house server's cache full and server down,
so how to handle this problem?
Edited by: Yu Yang on Apr 16, 2013 4:58 AMCheck if /*+ FULL(PER_ALL_PEOPLE_F) */ hint existed in the SDE_ORA_INVENTORYPRODUCTDIMENSION_FULL mapping Source qualifier?.
I suggest you to raise an SR and check with your DBA's if they can do something to improve the Performance.
Mark helpfull if it helps.
Regards,
Veeresh Rayan -
I completed the most recent software update for both iTunes and iPhone recently. I am now trying to sync my iPhone to add newly purchased audiobooks and the sync remains stuck at "Step 4 of 4" with the message "Waiting for changes to be applied" I have tried everything to correct this. When sync is cancelled a failure to sync message is generated. Any ideas????
Alright, so I reset my computer and suddenly it then recovered. Other times it wouldn't recover after resetting the computer, so I have no idea how it happened. I just restarted the computer lots of time and finally it worked.
Okay, back to square one. Now to transfer music, I tried my previous acknowledgable solutions but they didn't work. The iPod touch does not feature a hard-disk mode, and windows media player doesn't support iPods.
I've tried multiple programs to transfer music but none of them work properly and keep giving me error codes. So my iPod still gets stuck at Step 4: Waiting for changes to be applied or whatever it said.
Thanks in advance ._. (Please help)
p.s - Apple is useless. If I don't get steady answers tomorrow I'm going to end up calling them and get this problem fixed first hand. Second hand? I don't know, over the **** phone.
juiceb0xk signing out for the night. Bye. >:( -
Hi I was in the procces of uploading photos from my phone three days ago as i have an important art project to finish today. I have tried to restart my computer log off come back on but every time i put my phone to the computer and press up load photos its comes up with "Photos are baeing import to photo library- please wait for import to complete".
There are 90 photos and this came after it uploaded a few - can you help me - i have tried to quit iphone but this keeps coming up and i need these pics imported from my phone to my computer.
please help
thank youApple menu ==> forec quit
LN
Maybe you are looking for
-
Can you do family sharing of icloud drive storage?
I'd like to use icloud drive. 20GB is barely enough, and the next step is 200GB which is way more than I need. I'd like to effectively share that 200GB with the rest of the family (4 of us). Is there a way I can partition the 200GB amongst the family
-
HTTP Sender and HTTP Receiver .Pls advice urgent
Hi All, Partner A (http) -- XI - Partner B(http) Now Trade Partner do not want to use HTTP client tool. He wants to send data through URL. Please make the full sender URL for the details below for Sender HTTP: XI system -- sapd0aa Client -- 100 Port
-
Photo size and uploading to Apple
I'm in the process of making a quite large iPhoto book for my SIL for her b'day. The photos are a compiltion from many of mine, and others sent to me by family members. They are all different sizes, resolution, color and B/W. After getting them organ
-
I have a tree that is showing what I expect, but the sub-nodes won't collapse. The root is a customer number. Below that is the product lines that the customer bought. Below the product lines are the items in those product lines. These are the leaf n
-
No sound when previewing music or movies in Finder
Hello everybody, I recently had my hard drive crash and had to get a replacement drive, reinstall windows, and migrate my backup clone back to the hard drive. Everything is running fine, except for some reason I can't hear any sound, or see any video