Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 2 out of 5     Rate this Document

IP Protection Options with CompactRIO

Primary Software: Driver Software>>NI-RIO
Primary Software Version: 2.3
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
How do I lock my application code to the hardware in a CompactRIO system?

Solution:
You can lock the application code to the various pieces of hardware in a CompactRIO system.  Here is a list of several of them:
  1. The MAC Address of a Real-Time controller
  2. The Serial Number of a Real-Time Controller
  3. The Serial Number of a cRIO Backplane
  4. The Serial Number of Individual Modules
  5. Third-party Serial Dongle

The following steps can be used as guidelines to programmatically lock any application of any of the above mentioned hardware parameters and thus prevent users from replicating application code:

  1. Obtain the hardware information for the device. Refer to the links attached to this document for more information on programmatically obtaining this information.
  2. Compare the values obtained to a predetermined set of values that the application code is designed for using the Equal? function from the Comparison palette.
  3. Wire the results of the comparison to the selector input of a Case Structure.
  4. Place the application code in the true case and leave the false case blank.
  5. Password-Protect the VI using the VI Properties»Protection property.

This implementation would ensure that the application is not replicated for any piece of hardware.



Related Links:
KnowledgeBase 408A5JLX: How Do I Acquire the MAC Address of My Real-Time Controller?
KnowledgeBase 44RERDKG: Programmatically Determine Serial Number of a Real-Time Target?
KnowledgeBase 4687QJ5K: How Do I Programatically Get Backplane Information of My RIO Device?

 



Attachments:





Report Date: 09/23/2007
Last Updated: 04/07/2008
Document ID: 4DMKT9N0

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit