cancel
Showing results for 
Search instead for 
Did you mean: 

Delay problem

SOLVED
udka
Active Participant

Re: Delay problem

Probe 12 in your previous screenshot is perfect. Because you clicked probe when it is already finished executing it.So, it will not run. that is perfect. Or in other way keep probes before running your code and then check it will be proper.
-I want you to keep all three vis front panel open and keep probes for onspatialdata global variable in main vi and two sub vis.
-what are those sender and e values in Event data? are they different for two sensors or same?(Sorry i might be asking too many questions, becaase i am just new at this sensor)
Thanks
uday
udka
Active Participant

Re: Delay problem

There it is...main culprit...from beginning i asked you to check this global variable ....
that is very bad and it is main problem causing same data in both charts.

-I think you need to copy global variable what you used in main for first one and keep it in 1st vi. Copy the 2nd global variable and keep it in 2nd vi and then check.

Thanks
uday
Co0ki3
Member

Re: Delay problem

Sorry I not very good in LabVIEW and didnt knew how to check global variable Smiley Sad I tought putting probe just after was ok lol ^^

 

About copying global variable, haven't I done that already?

 

I have globalvariables.vi and globalvariables2.vi , or that is not what you are asking me to do?

udka
Active Participant
Solution

Re: Delay problem

keep global variables.vi in onspatialdata.vi and keep globalvariables2.vi in onspatialdata2.vi .
And then check now it should all be fine Smiley Happy
Thanks
uday
Co0ki3
Member

Re: Delay problem

Message contains a hyperlink

UDAYYYYYYYYYYYY, IT WORKED...............OH MY GOD I'M SO HAPPY, it took some time cuz it wasnt letting me do it by replacing the vi, i had to copy paste it from the complete program, then i changed it to read from write and it is working as intended!

 

UDAY, I thank u so much, really this was very hard for me and without you it would not be possible, you dont even know how much time I wasted with this, and you solved it!

 

THANK YOU UDAY! I am so happy! Not even the manufacturer was helping me..... and then they are on Christmas hollydays till the 2nd of January so they wouldnt help me untill then, if they did at all. Just look at this  http://www.phidgets.com/phorum/viewtopic.php?f=11&t=6692&p=23486#p23486 , no replys whatsoever .....

 

Uday, really I can't thank you enough! THANK YOU SO MUCH!

 

Best regards,

João Pereira!

 

udka
Active Participant

Re: Delay problem

Wow...really good to know that i helped. It was not the problem with hardware anywhere it is only small software things you missed in labview.
-haha they are on holidays...i am not Smiley Tongue...
-When i searched your name it showed football player. you are not right?? Smiley Tongue
-Relax and enjoy new year (may be you were not enjoying christmas due to this Smiley Tongue )
Thanks
uday
Co0ki3
Member

Re: Delay problem

No lol I am not football player Smiley Tongue I'm just university student Smiley Happy

 

Yeah my Xmas wasnt awesome because of this a lil too, I was worried because of this the whole time Smiley Tongue

 

You really helped me

kbbersch
Active Participant

Re: Delay problem

Glad you got this solved.  I've been on vacation and haven't had a chance to check in on how you were doing.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
Co0ki3
Member

Re: Delay problem

I'm glad you were willing to help, and I hope you had nice vacations!