取消
显示结果 
搜索替代 
您的意思是: 

Create URI plugin

已解决!
转到解答

Hello,

 

I've understand it's possible to create a ".uri" Diadem plugin from a LabVIEW project (we've a vi to convert a specific formed txt file to a tdms file with channels and properties). I've find some exemple on internet, but the output file is a dll and not an uri file. What is the procedure to generate this uri file from my LV project? I've LabVIEW 2015SP1 with DataPlugin SDK and Diadem 2015.

 

Thank you per advance.

Francis M
0 项奖励
1 条消息(共 8 条)
5,634 次查看

Hi Francis,

 

if you create a DataPlugin with the LabVIEW DataPlugin SDK and you create the installer, the installer will install the following files. So there is a URI file, but it will not do you any good without the DLL file.

So I recommend using the installer or if you use the URI file you have to manually copy the DLL file in the same directory as the URI file will be copied to ('C:\ProgramData\National Instruments\Shared\USI\Plugins\DataPlugins\DATAPLUGINFOLDERNAME').

 

LabVIEW DataPlugin SDK files.PNG

 

 

So the steps to create the dataplugin is:

  1. Open a LabVIEW DataPlugin SDK example project
  2. Build the DLL
  3. Build the installer
  4. Run the installer on the target system

 

Best Regards,

Christoph

Staff Applications Engineer
National Instruments
Certified LabVIEW Developer (CLD), Certified LabVIEW Embedded Systems Developer (CLED)


Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved
2 条消息(共 8 条)
5,573 次查看

Hi Christoph,

Thanks for the answer. I've tried with the "Speadsheet DataPlugin one shot" example, but no uri file was created...

1.pngHave I used a bad example? Something missing in my LabVIEW installation?

Thank you

 

 

Francis M
0 项奖励
3 条消息(共 8 条)
5,554 次查看
解答
已被主题作者 Cisco 接受

Hi Francis,

 

you made it to step 2. Please create an installer (step 3) and run the installer (step 4). Only after that I saw the URI file in the folder (C:\ProgramData\National Instruments\Shared\USI\Plugins\DataPlugins\YOURDATAPLUGINFOLDER)

 

Best regards,

Christoph

Staff Applications Engineer
National Instruments
Certified LabVIEW Developer (CLD), Certified LabVIEW Embedded Systems Developer (CLED)


Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved
4 条消息(共 8 条)
5,546 次查看

Hi Francis,

 

Christoph showed the files being installed on a system, while you are looking at the files for the installer.

The URI file is created during installation process, so you will find it at the location mentioned by Christoph after you have installed your DataPlugin.

Please note that it is not sufficient to distribute a DataPlugin created by the LabVIEW DataPlugin SDK, so called G-Code DataPlugins, using only the URI. Only VBS DataPlugins can be distributed using a single URI file.

5 条消息(共 8 条)
5,544 次查看

OK thank you! I haven't see that the installer moves dll and creates uri file...

Now we've the uri, but we can't choose it in Diadem to add our file type and index them...

 

In the general option, we can import the created uri file, we've a confirmation windows, all seem to be OK but the new file type never appears on the file types list of Diadem.

Francis M
0 项奖励
6 条消息(共 8 条)
5,535 次查看

After remake the procedure, it runs...

Thank you for your help!

Francis M
0 项奖励
7 条消息(共 8 条)
5,524 次查看

Please note that LabVIEW DataPlugins are platform specific. If you install a LabVIEW DataPlugin created with LabVIEW 32bit, you will not see it in DIAdem 64bit, and vice versa.

 

8 条消息(共 8 条)
5,516 次查看