09-10-2008 07:35 PM
I have an xy graph with timestamp x axis and I need to programmatically set cursor to an initial value. I set the property node on the graph to active cursor, convert the timestamp to a double and then write it to the cursor.posx attribute but the cursor does not move to this position when I run my vi.
09-11-2008 05:39 AM
09-11-2008 05:50 AM - edited 09-11-2008 05:53 AM
Dear Christian,
Your post was missing the attachment or link or picture(whatever it is that is not visible)
could you please repost again
[Edit: It was like in my attachment]
Thanks,
Mathan09-11-2008 06:01 AM
Strange.....I can see it...however thanks! I attached it now.
09-11-2008 06:24 AM
Dear Christian,
It may be a browser issue. Am using IE8.
Anyhow thanks for the attachment.
Mathan
09-12-2008 11:27 AM
Hi and thanks. I added the bundle and fed the double into it and added an integer element to the bundle like you did. I had to change the property node from cursor.posx to cursor all so it could take the output from the bundle. These changes do indeed make my cursors move to the correct initial position when I run the vi. I have 2 questions about this change. What is the logic of the integer element in the bundle and what value should go in there? My second question is what is the logic behind doing both the x and y position of the cursor as opposed to my original use of only the x position? Again thanks for your help---I'm getting the results I want but I don't understand why it is working this way.
09-15-2008 11:22 PM
Hi,
I tried it as shown in the attachment (only X pos.) and it also worked. Not sure why Christian used the X and Y positions.
07-30-2015 02:40 AM
The solution is in the attachment