Jump to content

How to use Spotfire Data Streams to load real time data into Spotfire


Raina Mortuja

Recommended Posts

Hi all,

I am new to LiveView and Streambase. I am trying to use the data connection options in Spotfire to connect real time data using Spotfire Data Streams so as to create streaming visualizations. I cannot find any clear documentation so any help is much appreciated.

Do i have to set up the streambase server or liveview desktop I have installed Spotfire Data Streams into my machine but I don't know how to proceed further.

Link to comment
Share on other sites

You will need to setup Streambase/LiveView Server.

https://docs.tibco.com/pub/sb-lv/10.3.0/doc/html/lvindex.html

https://docs.tibco.com/pub/sb-lv/10.3.0/doc/html/index.html#homepage

Once it is setup and you have required data feeds in your streambase then you can stream that data in Spotfire using Spotfire data streams which will require connection to your LiveView server.

https://docs.tibco.com/pub/sfire-analyst/10.2.0/doc/html/en-US/TIB_sfire...

Link to comment
Share on other sites

Here's a very step-by-step way to get started using the Hello LiveView sample:

 

Install Spotfire Data Streams (or TIBCO Streaming) 10.4.2 or later

Startup StreamBase Studio

File > New > Load StreamBase Sample > Search: hello > select: Hello LiveView > OK

In the Project Explorer view, select the sample_lv_sample_helloliveview project.

Right-click > Run As > LiveView Project

Wait until you see this message in the Console view: *** All tables have been loaded. LiveView is ready to accept client connections.

 

This might take a few minutes

 

 

Use Spotfire Analyst 10.x and start it up

Connect to > Spotfire Data Streams > New Connection

Server: localhost:10080

(Note: 10080 is the LiveView Client Listen Port. 10080 was the default port number through about Streaming 10.6.1, but that is changing. See https://community.spotfire.com/questions/connecting-spotfire-analyst-spotfire-data-streams-minimal-liveview-sample-fails-unknown for a couple ways to determine what the port number actually is when running your LiveView application)

Press Connect

Views in Connection

 

Select ItemsSales and Add

press OK

 

 

Add Data to Analysis >ItemsSales > OK

Start from visualizations > Table

 

At this point you should see a basic table that's updating as the data streams into Spotfire X.

Link to comment
Share on other sites

Just a comment about this answer. The answer references documentation from StreamBase or Live Datamart 10.3.0 and the information on those pages still are accurate descriptions of LiveView Server.

 

However, in order to visualize streams from the LiveView Server, you really should have a TIBCO Streaming or TIBCO Spotfire Data Streams 10.4.x or higher release. The Spotfire Data Streams Data Connector may try to use LiveView Server functionality that wasn't available in the 10.3.0 release of the underlying LiveView Server technology. Yes, 10.3.0 may work for some functions but eventually you may get errors as a result of the data connector trying to exercise some 10.4.x feature and not finding it.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...