Cancel
Showing results for 
Search instead for 
Did you mean: 

NX CAM Sync Manager

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

 

Hi,

there was a problem with Sync Manager. I need to get the sync tag to a specific location in the code, but I can only place it in front of the time line. I also need to place the mark in a place where no time is displayed. I attach a preview screen.
I searched the forum for this topic and found only this Forum

Has something changed and is it possible to put it somehow?

Thank you
Pavel
 
sync.PNG
2 REPLIES 2

Re: NX CAM Sync Manager

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Sync codes (by default) MUST be placed BETWEEN EVENTS.

If you go to the "Event" view :

Untitled.png

you can place sync "events" before or after (but not within) the listed events.

 

If you want to place one WITHIN the output of an event, you will have to write a bunch of tcl code.

 

You need a custom command in your posts - PB_CMD_handle_sync_event

In that you will need to handle the sync event and suppress output where the sync event is.

Some variables you might find useful:

 

	global mom_sync_code
	global mom_sync_index
	global mom_sync_start
	global mom_sync_incr
	global mom_sync_max

	global mom_synchronization_mark_text
	global mom_sync_primary

As a first try, I would try using mom_synchronization_mark_text (which is the "text" field in the sync event dialog) to do what you need.  If the location is "arbitrary" , maybe text like "DELAY_BY_LINES_10" (or whatever)

 

Then you will need code to output it where you want...

 

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Re: NX CAM Sync Manager

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Looks like (at some point) they changed the name of the custom command.

It is now (note the *2* underscores, and re-ordering of the words)

PB_CMD__sync_handle_event

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Learn online





Solution Information