02-20-2009 03:48 AM
Good day NI wizzards!
Im having a problem with my VI, which i am using to aquire signals from an AMTI force plate,
Im getting an error message, which is shown in the attatched screenshot.
Im a total noob at Labview, my idea's are that theres a problem with the start task action, being in the same loop etc, but unfortunately, i have no idea, for the solution of
this problem.
Basically what im trying to do is callibrate (scale) the channels from the forceplate, in the actual VI, so that the user and do the calibration with out having to go into MAX
Thankyou
Daleel
Solved! Go to Solution.
02-22-2009 08:08 PM
Hi Daleel,
Could you maybe upload a screenshot of your error message as well? At the moment you only have your block diagram in the screenshot, and its a little hard to know what went wrong without seeing the error. Also, you use a stacked sequence structure, so we cannot see what is happening in the other steps. Perhaps if you could upload your VI, that would make it a lot easier for us to troubleshoot.
And on a personal note, are you Daleel from Monash University? 🙂
Best regards,
Vern Yew
AE, NI Singapore
02-22-2009 08:39 PM
Sure thing,
here's a screen shot of the error message, and the VI is attatched.
Thakyou for the help.
Yeah this is Daleel, from Monash!
02-22-2009 08:53 PM
Hi Daleel,
The error indicates that you did not enter a valid value for the input of the DAQmx Property Node VI. Did you check if you had set the correct values in the Active Chans 5 to 10 from the Front Panel? An easy way (and good way to make sure you dont accidentally type the wrong name in there) is to click the dropdown arrow on the right side of those controls and select the appropriate channel (these channels must be already configured in MAX).
This is Vern Yew, remember me? I'm working with NI now, in Singapore.
Best regards,
Vern Yew
AE, NI Singapore
02-22-2009 09:40 PM
Yeah, sorry, that was the wrong error.
This error attached is the one that im concerned about, and i dont know how to overcome it.
Congrats on the job at NI! Yup totally remeber you.
02-22-2009 10:02 PM - edited 02-22-2009 10:03 PM
Hi Daleel,
Yeah I just noticed that you have the DAQmx Start Task VI inside a For Loop. This is why you have that error, basically you started the task, then the next iteration you try to start it again (without stopping the task first). My suggestion is to move the DAQmx Stop Task VI into the For Loop (less efficient) or move the DAQmx Start Task VI outside (before) the For Loop (more efficient, and recommended).
Do you need your VI to run the configuration of the scale at every iteration as well? If not, then put all that outside the For Loop as well (before the DAQmx Start Task VI of course), this will make your VI a lot more efficient.
Thanks, I am very happy here 🙂
Hope this helps.
02-23-2009 03:10 AM
thakyou,
seems like my VI is running now