|
我正在Mac操作系统或者Linux上使用LabVIEW(或者8.x)。共享变量在Mac操作系统或者Linux上的LabVIEW中有多大程度的支持?
共享变量在Mac操作系统或者Linux上的支持是有限的,仅限于使用Datasocket API(应用程序接口)来支持PSP URL's。这些URL's相当于Windows环境中创建的共享变量,但是在MAC OS或者Linux中是不支持创建这些URL's(共享变量)的。
Datasocket API多种多样,可用来实现对PSP URL's的读和写操作,从而实现与网络发布型共享变量相同的功能。
关于如何在LabVIEW中使用Datasocket API的例程,请参考:
Developer Zone Example: How to Access Multiple PSP Items Using the Datasocket API or KnowledgeBase 3ZIH79SF: How Do I Read/Write to a Shared Variable with the DataSocket API?
|