LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't load object code to CIN. Mashine specific.

Suddenly all the VIs using CINs have lost their object
code. They are broken and any attempt to load the code fails. I have "object code is not loaded" error.
I've tried with simple test examples but LabVIEW simply refuses to load object code into VI. It isn't getting any bigger in size. This problem is specific only for one of my computers running LabVIEW. My CINs are used for computational purposes, they do not refer to any hardware. How to solve this problem ?
0 Kudos
Message 1 of 3
(2,667 Views)
One way for this to happen is for the VI to be saved on a different platform (Mac / Linux / Windows). If you open a VI on a different platform from the one it was compiled on, its object code is tossed. If that VI is saved in that state, the object code is removed from the file.
Normal (non-CIN) VIs are recompiled as needed. But CINs need external object files for the platform they're being compiled on.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 3
(2,667 Views)
Thanks for your reply. I already found the cause of this problem: missing user registration record in LabVIEW.
For some unknown reasons (I suppose it was sort of a Windows bag) LabVIEW lost its serial number, name of the user and his affiliation. I was not able to see this data on the start up panel. It seems that due to this problem LabVIEW considered itself to be the non-professional version and refused to use custom object code. With NI supplied code CINs worked OK. After I reinstalled LabVIEW everything works. Will see for how long 🙂
0 Kudos
Message 3 of 3
(2,667 Views)