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

Error 5103 - 7220002

Resolvido!
Ir para a solução

Hello,

 

I have got this error for a first time. I dont really know how to solve it.

 

I sm using NI cDAQ - 9188  + NI9215. Reading singnal from Conditioning Module

one signal is from Load cell and  enother one from LVDT.

 

Reading singnals from one module could cause this error.

 

I have read info about on NI website - non of their solution seem to be applicable for my application.

 

Many Thanks

 

Gregorian

Baixar tudo
0 Kudos
Mensagem 1 de 8
5.036Exibições

Actually it is error -50103. not 5103.

 

If you search the forums, you'll see this error is pretty common.  It happens when someone tries to create two different tasks talking to the same device.

 

The solution is to create one task that includes both channels.

0 Kudos
Mensagem 2 de 8
5.012Exibições

Thanks for reply. 

 

I quite new with LabVIEW. Could you tell how can I create one task with two channels.Thanks.

 

 

Gregorian

 

0 Kudos
Mensagem 3 de 8
5.003Exibições

In the I/O control, you can select more than one channel.  Use the Browse choice and use shift and/or control to select multiple channels.   Then instead of 1 channel N samples, use N channels 1 samples for your DAQmx read.  You can only have 1 acquisition rate.

 

But check your rate.  You have it set for 1000 Hz and a wait of 1000 msec in your loop.  You'll quickly fill up your buffer as you acquire 1000 samples every second, but only pick off one.  You also want to be careful about having an array grow endlessly in your loop.

0 Kudos
Mensagem 4 de 8
5.001Exibições

Hello,

 

I have changed NI. Now I read N channels N samples 2D DBL. SO on output Of Read function I have got 2d ARRAY?  Could you give a tip how to split and read a signal from channels separately.

 

Thanks

0 Kudos
Mensagem 5 de 8
4.972Exibições

Index Array function.

 

I would recommend you learn more about LabVIEW from here. How to Learn LV

0 Kudos
Mensagem 6 de 8
4.969Exibições

Hi,

 

I have accoplished CORE1 & 2 learning coures. I know how to use Index Array function. What I am worry about is that I am goint to aquire date from read function  (array is buliding) then is going to be connected to Index Array than I will built subarray with the value from each channel. Can I read using this way with no data looses or I will have to build application based on queue?

0 Kudos
Mensagem 7 de 8
4.967Exibições
Solução
Aceita pelo autor do tópico gregorian7

You aren't going to lose data.

 

Index Array takes a larger array and breaks it into smaller pieces so that you can do with them what you need to.  You can take your 2-D array and make 1-D arrays out of it either per column, or per row depending on which way the data is structured coming out of the DAQmx read.

 

If you know how to use Index Array, then use it.  Try it out.  See if it works the way you need to.  If it doesn't, then come back and show the problem and look for another solution.

0 Kudos
Mensagem 8 de 8
4.964Exibições