LabVIEW Time Sensitive Networking (TSN)

cancel
Showing results for 
Search instead for 
Did you mean: 

[Community Tools] TSN Community Tools Base Package

Highlighted

About the TSN Community Tools Package

The TSN Community Tools package installs a LabVIEW palette in the User Libraries section containing some additional VIs that the TSN Community has found useful when using TSN in LabVIEW. Additionally, this palette serves as a place where other TSN Tools Palettes can be installed as new community tools are created. 

 

Information about the VIs included with this package is listed below.

 

Installing the TSN Community Tools Package

Once the package is installed by VI Package Manager, you must restart LabVIEW to see the changes. After restart, the TSN Community Tools Package will be visible in the User Libraries section of the Windows, RT, and FPGA Palettes.

Palette.PNG

 

 

VIs Included with the TSN Community Tools Package

8021AS Status.PNGThe 802.1AS Status VI returns the current 802.1AS status of a CompactRIO (Sync) or Industrial Controller 317x target. This VI will provide the Master/Slave status of the device, the current Grandmaster ID, and the Offset in nS from the Grandmaster

 

1588toLV.PNG

Converts a U64 number containing the current IEEE-1588 time in nS to a LabVIEW timestamp

 

LVto1588.PNG

Converts a LabVIEW timestamp to a u64 number containing the current IEEE-1588 time in nS

 

  • Note: The Three above VIs are installed from the LabVIEW TSN Toolkit, the Community Tools Package just places it on the palette. Applications written with these VIs will not require the Community Tools Package to be installed if the application is moved to a different PC

FPGA PPS.PNG

A self-contained VI generating a Pulse-Per-Second output. Currently, the VI outputs the PPS pulse on DIO0 of Module 1. For a CompactRIO containing different hardware, or an Industrial Controller, this I/O Item would need to be changed.

  • Note: This VI is installed by the Community Tools Package. Moving an application containing this VI to another computer will either require the Community Tools Package to be installed on the new computer, or have the code contained in the VI copied to the main FPGA block diagram.

 

Additional Community Tools

There are several other Community Tools packages listed on the community home page that install additional palettes to the TSN Community Tools palette. If there are VIs you have created that you feel are a valuable resource to the TSN Community, please reach out and we can talk through the process of packaging these to install onto the TSN palette.

Ty Prather
Technical Marketing Specialist
National Instruments
0 Kudos
Message 1 of 4
(3,321 Views)
Highlighted

Hi Ty,

 

It seems that the VIP doesn't include 1588 functions.

Can you update it ?

 

CLA, CTA

View Cyril Gambini's profile on LinkedIn
0 Kudos
Message 2 of 4
(2,537 Views)
Highlighted

Hi CyGa,

 

 

I've attached a new version of the .vip file. Please uninstall the old one, and reinstall the new one and let me know if you're still having issues. 

 

Thanks,

-Ty

Ty Prather
Technical Marketing Specialist
National Instruments
0 Kudos
Message 3 of 4
(2,496 Views)
Highlighted

Hi Ty,

 

It works ,thanks !

CLA, CTA

View Cyril Gambini's profile on LinkedIn
0 Kudos
Message 4 of 4
(2,479 Views)