05-03-2010 03:46 AM
hi,
i created run time menu, by right clicking on xy - graph. where i select the channel - for X Axis user can select the channel and y axis for the same.
but here when i select the channel from y axis its still shows x-axis in tag path....its not showing y-axis tag path.
find this attachment....
Solved! Go to Solution.
05-03-2010 04:14 AM
Hi balaji,
Instead of creating a seperate event for menu activation and creating menu using functions,you can edit the menu of the graph and save that menu along with the control.When i am doingin this way,i am not getting any thing like that you mentioned.Just check the attachments.
Thanks and regards,
srikrishnaNF
05-03-2010 04:26 AM
05-03-2010 04:28 AM - edited 05-03-2010 04:29 AM
Balaji,
the reason for your issue is that you have items with non-unique item tags. Therefore, you always get the item path with the first item having the this tag (which would be X-Axis in your case).
Never use items with non-unique item tags!
@srikrishna: The menu editor does not support non-unique item tags therefore the issue does not occur there. If you try to configure unique item tags, the editor is getting nasty and renames the tag (e.g. "d_1").
hope this helps,
Norbert
Edit: The help for the menu editor includes this:
Item Tag—Displays the unique identifier of the menu item. Every menu item must have a unique identifier. The block diagram uses this string to identify the menu item. The identifier is case sensitive, and LabVIEW ignores trailing and leading blanks. If the tag you enter is not valid or is not unique, LabVIEW highlights the tag in red.
05-03-2010 04:43 AM
05-03-2010 04:58 AM
I find it much easier to make and save a .rtm file of the XY Graph.
Right click the XY---->Advanced------>Run-Time Shortcut Menu----->Edit
Is that any good for what you want to do?
Have a look on the attachment below.
By the way we use extensively Gantner E-gates and E-bloxx modules at my work so any good VI's for them i would like to share with you. I am constantly in contact with Reinhard, Tobias and Stefan at your headquarters.
05-03-2010 05:08 AM
hello Demitrios,
thank you very much, we have the joint venture with Gantner - instruments - austria and placed in india. (Gantner instruments - India). ofcourse tobias, and stefan are my friends. may know where are you from? you can share with me VI's of gantner.
can you send me your e.mail id, so we can keep in touch.
my e,mail: balaji@gantnerinstruments.in
05-03-2010 05:14 AM
thank you,
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Balaji,
the reason for your issue is that you have items with non-unique item tags. Therefore, you always get the item path with the first item having the this tag (which would be X-Axis in your case).
Never use items with non-unique item tags!
@srikrishna: The menu editor does not support non-unique item tags therefore the issue does not occur there. If you try to configure unique item tags, the editor is getting nasty and renames the tag (e.g. "d_1").
hope this helps,
Norbert
Edit: The help for the menu editor includes this:
Item Tag—Displays the unique identifier of the menu item. Every menu item must have a unique identifier. The block diagram uses this string to identify the menu item. The identifier is case sensitive, and LabVIEW ignores trailing and leading blanks. If the tag you enter is not valid or is not unique, LabVIEW highlights the tag in red.