This version of the Help is no longer updated. See JMP.com/help for the latest version.

.
Scripting Guide > Extending JMP > Real-Time Data Capture on Windows
Publication date: 07/30/2020

Real-Time Data Capture on Windows

A data feed is a real-time method to read data continuously, such as from a laboratory measurement device connected to a serial port. A data feed object sets up a concurrent thread with a queue for input data lines that arrive in real time and are processed with background events. You set up scripts to interpret the data lines and push the data to data tables, or do whatever else your process requires.

For example, submit this to get records from com1: and list them in the log.

feed = Open Datafeed(
	Connect( Port( "com1:" ), Baud( 9600 ), DataBits( 7 ) ),
	Set Script( Print( feed << GetLine ) )
);

Figure 14.1 A Datafeed Window Shows the Status and Offers Controls 

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).