Multifunction DAQ

cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

Error 200288

Resolvido!
Ir para a solução

I am trying to write a program in labview using USB 6211 as my Daq card to achieve the following:

 

I need to output a constant DC voltage of 5 V if my input voltage is less than 3.

Output -5 if my input is greater than 7.

 output same as before if input is >3 and <7.

 

I have the case structures all set ,but I am getting an Error 200288 which has something to do with loop execution.

I have tried a few of the solutions found in the forum,but have been unable to  solve the problem.

 

I am attaching the code. Testing feedback.vi is my mail program..untitled8 and untitled4.vi are also required to run this program i think.

 

Thanks and regards ,

 Karthik Jay

 

0 Kudos
Mensagem 1 de 10
6.442Exibições
You didn't attach your code.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Mensagem 2 de 10
6.440Exibições

oops.. sorry..

 

 

Baixar tudo
0 Kudos
Mensagem 3 de 10
6.432Exibições
You have complicated your code by using regeneration when you actually don't need it and have not taken the necessary steps to address it. Have a look at the attached code (I just generated one by using the DAQmx examples). Hope it helps!
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Mensagem 4 de 10
6.428Exibições

Hey,

 

I am unable to open the VI since I am using Labview 8.5 and you are using 8.6.

 

I would be greatful if you can save them with the previous version and post the VI again.

 

Thanks,

Karthik

0 Kudos
Mensagem 5 de 10
6.422Exibições
Sure. Saved in LV 8.0.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Mensagem 6 de 10
6.419Exibições
Solução
Aceita pelo autor do tópico karthikj85

I have one last problem here.

 

I have to get 2 input signals to the VI.

One of them runs thru the case structure and the other just has to be displayed.

 

I copy pasted a few sub vis and tried to run it.

However i am able see only one signal being read. I have attached the VI .

 

I am really grateful to NI for such a great customer supprt system.

You saved me a lot of time and effort with your help and guidance.

 

Thanks people.

0 Kudos
Mensagem 7 de 10
6.392Exibições

You've made a very common mistake. You CANNOT have two separate tasks that use the same resource. Combine your analog inputs into a single task. That means only one DAQmx Create Channel and only one DAQmx Read.

0 Kudos
Mensagem 8 de 10
6.390Exibições

OK. thanks.

 

I now have both the Create Channel .vi in series .

 

I changed the DAQmx read.vi for Multiple channels>>Multiple samples>>2D DBL

 

Now i need to seperate the two inputs ,perform the logic operation on one and just display the other.

Could you give me info /link on how to do that?

 

Thanks,

Karthik

0 Kudos
Mensagem 9 de 10
6.383Exibições

ok. i used array indexing and got the values out.

Thanks..

0 Kudos
Mensagem 10 de 10
6.374Exibições