LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting multiple signals with USB 6211

Hello,

I have to realise a simple interface to controll all I/O ports of the USB 6211.

With the digital I/O it has been quite simple and I created controls to select wich output control and to indicate wheter the inputs are on or off.

With the analgo outputs it has been simple as well and I succeded to generate different outputs on both AO at the same time.

 

But I encountered some problems with analog inputs. In fact, I could not find a way to collect all the inputs ad distribuite them to 16 charts- I used the DAQ assistant with all the 16 inputs but I was unable to find a way to split the signal. I tried both eith the "split signals" and the "select signals", but something strange happened: the same signal was copied on several outputs.

So, for example, I gave a sinusoidal input tu ai0, I acquired the input from all teh 16 analog inputs, I splitred the aquired signal into 16, but the first splitted signal was 0 and all the other plotted the same sine waveform.

 

Could you possibly help me?

thank you a lot in advance 

0 Kudos
Message 1 of 8
(3,145 Views)
The split signals should work. Can you post a VI that demonstrates the problem?
Message 2 of 8
(3,128 Views)

Hello,

here ie the VI. I guess it should work, but the analog input is not correctly splitted.

 

http://www.megaupload.com/it/?d=O0AUVB8X

 

Thank you a lot 

0 Kudos
Message 3 of 8
(3,114 Views)

Please, just attach it to your post and not to an external site. Some of us are uncomfortable with downloads from sites that are not known to us, some of us are blocked from sites such as this, and some of us are both.

 

You should see the 'Add Attachments' option right below the message body.

Message 4 of 8
(3,090 Views)

I am trying to attatch the original vi, but it gives me an unexpected error

0 Kudos
Message 5 of 8
(3,064 Views)

Ok, now it's OK, i attatched the vi.

 

Thank youfor your help

0 Kudos
Message 6 of 8
(3,059 Views)
I don't see a problem. When you are testing this, do you have signals to all analog inputs or do you have some unconnected? If unconnected, then seeing the signal on channel 1 would be expected. Look up 'ghosting'.
0 Kudos
Message 7 of 8
(3,024 Views)

They are unconnected indeed, then I guess the problem is ghosting. I will try connecting all the inputs.

 

thank you a lot 

0 Kudos
Message 8 of 8
(3,021 Views)