View Single Post
  #4   Spotlight this post!  
Unread 16-03-2010, 16:39
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Enabling Default Dashboard in C++

To build on what Alan said, open up the dashboard example projects on both the Labview and C++ side. The packet that's filled in on the C++ side maps to the pink cluster on the left side of the Labview diagram. As long as you get them to match, you can change them to whatever you want. The next thing to do is to trace the pink line coming out of the data type. It leads to a block that converts the binary stream into data of that type. The output of that block is a cluster that you can use the unbundle by name block to get the data. My suggestion is to find where the unbundles are in the example and replace them with logic controls of your own. Once you get the hang of it and come up with a good way of packing your data, it's pretty easy.
Reply With Quote