NI Vision Assistant - "Create LabVIEW VI" produce a blank VI

Post beginners questions here. Don't be ashamed starting stupid topics.
Ответить
Pidgeon
interested
interested
Сообщения: 5
Зарегистрирован: 14 июн 2012, 17:52
Версия LabVIEW: 2011 SP1
Контактная информация:

NI Vision Assistant - "Create LabVIEW VI" produce a blank VI

Сообщение Pidgeon »

Hello, I'm using:
- LabVIEW 2011 SP1 v11.0.1 32bit
- Vision Assistant 2011 SP1 Build 20111212112331

When I create a simple script in Vision Assistant and click on "Create LabVIEW VI", the VI file is created, but when I open it, I can only see a blank VI.

Unfortunately I've not a chance to test my script on other computers.

Anyway, the problem I reported happens for every script I create on Vision Assistant, no matter how simple they are. The same problem occurs even when I load any of the example scripts.

Later, I decided to create a blank VI, and I placed a "Vision Assistant" express VI in the block diagram. After having placed it, the "NI Vision Assistant" main window appeared. I loaded an example, named "Printed Circuit Board Inspection", then I clicked on "Finish". Then, the popup "Creating LabVIEW VI..." appeared for a few seconds, and after that an error prompt with the following message appeared: "There was an error in the process of creating the Express VI's code".

I thought, maybe this only happens when I use "Vision Assistant" Express VI. So I added the following Express VI in a blank block diagram:
"Prompt User for Input"
"Vision Acquisition"
No error messages appeared after having placed them in the block diagram, or after their configuration.
However, if I place a "Vision Assistant" Express VI, I still receive the following message error after having configured it:
"There was an error in the process of creating the Express VI's code"

So, I think these two problems could be related in some way (generating LabVIEW code), but I really am not able to find a solution.

I checked my license through "NI License Manager", and the following compoments are active (green square):

Vision Development Module 2011 SP1:
- Full (Vision Debug Deployment+Vision Development)
- Vision Run-Time

Moreover, I tried to repair the following modules, in sequence:
NI Vision Common Resources 2011 SP1 f1
NI Vision Assistant 2011 SP1
NI Vision 2011 SP1
For each of the 3 reparations, I had to reboot the PC. However, the problem hasn't disappeared, I'm still unable to generate a VI by using Vision Assistant.

I really hope someone could help me, I don't know how to solve this problem.

If you need more informations, I'll provide them.

Thank you!
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
doctor
Сообщения: 2456
Зарегистрирован: 16 авг 2008, 02:12
Награды: 3
Версия LabVIEW: 7.1 10 11 12
Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
Контактная информация:

Re: NI Vision Assistant - "Create LabVIEW VI" produce a blan

Сообщение mzu2006 »

I have experienced similar problems.The main trouble was with Vision<-LAbVIEW connection which was lost upon performing an update (I updated LabVIEW with a service pack, separately of all other products). I think a reinstall from the current development suite media will help.
There are more people in this forum who work with vision on a regular basis, may be there is just a simple thing to tweak to restore the vision<->lv connectivity.
Pidgeon
interested
interested
Сообщения: 5
Зарегистрирован: 14 июн 2012, 17:52
Версия LabVIEW: 2011 SP1
Контактная информация:

Re: NI Vision Assistant - "Create LabVIEW VI" produce a blan

Сообщение Pidgeon »

Hi mzu2006, first of all thanks for your help.

So, you are suggesting me to reinstall some LabVIEW modules, but which ones?

Here is a list of my installed software:

Изображение
Изображение
Изображение
Изображение
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
doctor
Сообщения: 2456
Зарегистрирован: 16 авг 2008, 02:12
Награды: 3
Версия LabVIEW: 7.1 10 11 12
Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
Контактная информация:

Re: NI Vision Assistant - "Create LabVIEW VI" produce a blan

Сообщение mzu2006 »

Do you have a development suite? What type of license do you have?
Pidgeon
interested
interested
Сообщения: 5
Зарегистрирован: 14 июн 2012, 17:52
Версия LabVIEW: 2011 SP1
Контактная информация:

Re: NI Vision Assistant - "Create LabVIEW VI" produce a blan

Сообщение Pidgeon »

I've just sent you a PM with some screenshot of my licences.
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
doctor
Сообщения: 2456
Зарегистрирован: 16 авг 2008, 02:12
Награды: 3
Версия LabVIEW: 7.1 10 11 12
Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
Контактная информация:

Re: NI Vision Assistant - "Create LabVIEW VI" produce a blan

Сообщение mzu2006 »

Looks like you have a full development suite license + some additional modules. I would:
1. SAve custom configuration for all modules
2. Deinstall all
3. Reinstall from the same development suite DVD
4. Check that everything works
5. Upgrade simultaneously and only if you need it (SP1 for everything at the same time).

Once again, I am not working with Vision on a day-to-day basis and I know for sure there are people who use vision more often then me. May be, there is just a single missing registry link that has to be fixed...
Pidgeon
interested
interested
Сообщения: 5
Зарегистрирован: 14 июн 2012, 17:52
Версия LabVIEW: 2011 SP1
Контактная информация:

Re: NI Vision Assistant - "Create LabVIEW VI" produce a blan

Сообщение Pidgeon »

Ok, here is what I did:

1) I uninstalled everything (LabVIEW 2011 SP1, Development Module 2011 SP1, ...).
2) I installed LabVIEW 2011 (not with SP1).
3) I installed the latest Device Drivers dated March 2012 (NI-IMAQdx,...).
4) I installed Vision Development Module 2011 (not SP1).

I tried to generate a VI using Vision Assitant, but the problem is still there: Vision Assistant produces a blank VI.

I still encounter the same problem even when I place a Vision Assistant Express VI in the block diagram: when I create a simple Vision Assistant script and I click on finish, the same error message appears ("There was an error in the process of creating the Express VI's code").

So, what could be the solution? I really don't know where to start to fix the problem.
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
doctor
Сообщения: 2456
Зарегистрирован: 16 авг 2008, 02:12
Награды: 3
Версия LabVIEW: 7.1 10 11 12
Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
Контактная информация:

Re: NI Vision Assistant - "Create LabVIEW VI" produce a blan

Сообщение mzu2006 »

My 2 only suspicions at this point are:
1. Did you uninstall everything NI?
2. Drivers DVD must be the one included with your development system as these things are tested for compatibility.

For starters, I would uninstall everything, and then just install LabVIEW, Vision and Vision Assistant. Then I would start installing stuff one by one.
Ответить
  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «For beginners»