NEXT_

Used to get the asset ID of a the next (first downstream) asset from the Active Asset on a particular relationship.

Parameters

Relationship Name: The name of the relationship you want to use.

Property Name: The optional name of the property you want to display.

Example

This is often used to show information from neighbours. For instance, if you have machines feeding product to one-another, or similar machines in a row.

You could use the following code….

connection.Subscribe("[NEXT_Sequence_Temperature]",function (val) {
		$('#temp').html(parseFloat(val).toFixed(1) + " Deg C");		
	});	

This is replaced with the full point code of the temperature of the next asset along the sequence relationship.

Also See

The opposite of this function is PREV_.