LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple channels, labview 6

Dear All,

 

I am using labview 6 with SCXI-1122/1322 to acquire voltages from ch5 for strain gage and ch7 for load cell.

 

The problem is no matter what I do, I always got the same voltage input for both channels.

 

I've been talking to tech support for a long time, and they have no idea.

 

If necessary, I will post my code.

 

Thank you  

0 Kudos
Message 1 of 8
(3,380 Views)

What did you allready check with the technical support?

 

Did you also check if the device is broken?

 

 

 

Christian

0 Kudos
Message 2 of 8
(3,364 Views)

Configuring tradiotional DAQ for the more exotic devices was not easy or straight forward.

 

1) Does MAX show you anything that convinces you the devices are working?

 

2) If you change the stimulus does the reading change?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 8
(3,352 Views)

The MAX showed me the correct data.

 

This problem only show up if I input two channels, either the string or the virtual channel name.

 

Here is my channel string : OB0!SC1!MD2!5............then I got the reading is -0.082

                                        OB0!SC1!MD2!7............reading is 0.0005

 

Once I put.........................OB0!SC1!MD2!5:7.........the reading either both the same value or one of them won't be the reading I mentioned above.

 

 

 

If anyone know what happened, please let me know.....Thanks

 

 

0 Kudos
Message 4 of 8
(3,342 Views)

@Hsin wrote:

The MAX showed me the correct data.

 

This problem only show up if I input two channels, either the string or the virtual channel name.

 

Here is my channel string : OB0!SC1!MD2!5............then I got the reading is -0.082

                                        OB0!SC1!MD2!7............reading is 0.0005

 

Once I put.........................OB0!SC1!MD2!5:7.........the reading either both the same value or one of them won't be the reading I mentioned above.

 

 

 

If anyone know what happened, please let me know.....Thanks

 

 


If memory serves me the "5:7" specifies channles 5-7 which includes channel 6 in between. An open channel will often (if not tied to ground) reflect tha value of the previous channel.

 

I think I used to use an array for the channel list (try it it may take an array) since (for most widgets) it let gather data in an order other than the hardware order.

 

So try an array.

 

Ben 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 8
(3,338 Views)

Thanks, Ben!

 

I also used virtual channels as I said (no channel 6 inbetween), they are still giving me the odd values.

 

The reason I put the 5:7 is the old setup only allows me to put things like that!

 

0 Kudos
Message 6 of 8
(3,333 Views)

Are you gettin g any error whil erunning (Check the error cluster).

 

Have you tried a comma delimted list of the channels?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 8
(3,331 Views)

@Hsin wrote:

The MAX showed me the correct data.

 

This problem only show up if I input two channels, either the string or the virtual channel name.

 [...]


I understand that in MAX testpanel, you are using single channels only.

You can use MAX testpanel also with the "stacked channel selection". So is the 'crosstalking' occurring there too?

 

How did you configure your SCXI? Multiplexing?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 8 of 8
(3,318 Views)