06-04-2012 07:27 PM
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
06-05-2012 04:00 AM
What did you allready check with the technical support?
Did you also check if the device is broken?
Christian
06-05-2012 07:20 AM
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
06-05-2012 09:17 AM
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
06-05-2012 09:43 AM
@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
06-05-2012 09:59 AM
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!
06-05-2012 10:03 AM
Are you gettin g any error whil erunning (Check the error cluster).
Have you tried a comma delimted list of the channels?
Ben
06-06-2012 02:33 AM
@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