02-18-2009 09:58 AM
Dennis-
I don't wanna get pissy but, if this is the case the help file for this funtion needs an update.
02-18-2009 10:59 AM
hi dousley
thanks for the concern i also want to investigate whats going on with the setup
as long i use both channel i couldnt access both even in differential mode, ya when i take away one channel before running the VI then it works for signle channel only
and i measured the resistance it is 288 kohms between +Ai0 and +Ai1 and same 288 kohoms between -Ai0 and -Ai1
02-18-2009 11:01 AM
hi daniel
thanks for the concern i also want to investigate whats going on with the setup
as long i use both channel i couldnt access both even in differential mode, ya when i take away one channel before running the VI then it works for signle channel only
and i measured the resistance it is 288 kohms between +Ai0 and +Ai1 and same 288 kohoms between -Ai0 and -Ai1
02-18-2009 11:01 AM
hi daniel
thanks for the concern i also want to investigate whats going on with the setup
as long i use both channel i couldnt access both even in differential mode, ya when i take away one channel before running the VI then it works for signle channel only
and i measured the resistance it is 288 kohms between +Ai0 and +Ai1 and same 288 kohoms between -Ai0 and -Ai1
02-18-2009 11:02 AM - edited 02-18-2009 11:02 AM
Jeff,
Get as pissy as you want but where in the help do you see anything different than what I said? What version of LabVIEW are you using?
From 8.5 help:
If you index a 1D array and do not wire anything to the index input terminal, the Index Array function extracts the first element of the array. If you expand the node to show more than one element or subarray output, the function extracts the first number of elements equal to the number of element or subarray outputs.
From 7.1 help;
By default, if you do not wire any index input terminals, the first sub-array indexes row 0, the second sub-array indexes row 1, and so on.
02-18-2009 03:49 PM
Hi malik,
Hmm... you see 288k between the terminals. Well, that's a good thing, but it doesn't explain the behavior.
What happens when you use some different sources? Do you have any power supplies you can use to generate some DC voltages? Maybe this has to do with your sources.
What happens when you use channel 0 and... channel 4 or some other channel? Your testing showed that the channels are not shorted together on the module, if the problem goes away when you switch to another channel, that would seem to indicate some kind of internal problem with the module.
-Daniel
02-19-2009 09:03 AM
hi danial
thanks for the help yes u r right i today i investigate it thoroghly and comes up with a conclusion that it has some internal fault, now i order an other one and hope soon i will get
that and able to start my work again.
would u mind if i ask you some more questions right here, i do know that i could start a new thread but i need some guidance about the same senario which we discussed in previous replies, my idea is to get these two waveforms and not only to display them but also two import them on a spreadsheet(Excel) with time stamp.
i have tried by my self with the excel functions but i couldnt get the wave forms in three columns coloums one for time one for waveform#1 and one for waveform#2?
and could it be possible that i can import a 1D array on 4th coloum on a single sheet along with waveforms? if yes then how?
thanks
02-19-2009 01:07 PM
Hi Malik,
You should be able to put whatever columns you want into a spreadsheet however you like with the write spreadsheet VIs. I would suggest, however, that you direct this question to the LabVIEW forum. That will help other users with the same questions locate this thread, since your current question is most closely tied to software. And it could give you a faster response.
It sounds like you need to use the "Write to Spreadsheet File.vi" and wire your data into the "2D data" input terminal. You might need to transpose your array in order to get columns vs. rows working right. I would reference the LabVIEW examples as well. There is an example for writing waveforms to spreadsheets: "Export Waveforms to Spreadsheet File Examples.vi" which uses a different scheme than I had in mind, but both are worth considering.
Anyway, hope that helps. I'd suggest reposting to the LabVIEW forum.
-Daniel
02-21-2009 06:31 AM
hi daniel
thanks for the suggestions and help, i gonna post this question to LABview forum before that i will try ur suggested way first.
thanks again