LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Universal CINs? (For MacOS 10.4 and Intel Macs)

Hi!

1. I was wondering if it was possible to build a Universal CIN for MacOS 10.4, in order to support Intel Macs. If so how? I get link errors in Xcode because it cannot find CIN functions such as MoveBlock, and NumericArrayResize when compiling for i386 (which is understandable). Is there an Intel Mac version of liblabviewcin.a and liblvexports.a?

2. Is it possible for LabVIEW to call a DLL function in a Universal framework? Or must all frameworks be for the PowerPC?

Thanks.
0 Kudos
Message 1 of 4
(3,203 Views)
I don't know the answer to your question, but I do remember the term Fat CIN, which allowed to use a CIN cross-platform. I did a search in Google and found the following website, which reference an article in LTR (specifically Summer 2002, Vol. 10, Nbr 1) Unfortunatelly, LTR is gone.

Just some clues.

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 2 of 4
(3,189 Views)
Hi, NI JT.

Take a look at this KnowledgeBase; I think it may solve #1. Regarding #2, what specifically are you trying to do? I'm confused by the line "call a DLL function in a Universal framework." As far as I know, a DLL is not a component of a framework.

Let me know. Have a nice evening!
Sarah K.
Search PME
National Instruments
0 Kudos
Message 3 of 4
(3,171 Views)
I am trying to invoke code external to LabVIEW that contain AltiVec and in the future, SSE instructions. Right now I am trying to bundle PowerPC code (with AltiVec instructions) with Intel i386 code to support both PowerPC and Intel Macs using a single binary.

So basically I have:
1. A CIN that uses AltiVec currently (which includes AltiVec instructions). I would prefer that it switched to a SSE version automatically when I call the CIN on an Intel Mac.

2. Some VIs that uses the Call Library Function Node to invoke a function in a Universal Framework. The framework is compiled for both PowerPC and Intel. The PowerPC version includes AltiVec instructions and thus is incompatible with Rosetta. I was wondering if LabVIEW would actually be able to invoke such a function successfully on an Intel Mac. I don't have an Intel Mac on hand, which is why I am asking.

PS: The original post was posted using NI JT's account accidentally. The question is actually mine.
0 Kudos
Message 4 of 4
(3,161 Views)