08-24-2008 09:48 AM - edited 08-24-2008 09:49 AM
08-24-2008 09:51 AM
Could not seem to add more that 3 attachments....
08-28-2008 10:35 AM
Hi Alex,
Just to clarify, you're looking to acquire 400 samples at 20kHz once per second - is that correct?
Do you have a hardware trigger you can use for this operation, or is software timing sufficient? Either way is possible, although hardware would be more reliable.
Regards,
01-29-2009 05:08 PM - edited 01-29-2009 05:10 PM
y newbie my nane is Emerson
y need to tryng the same project please help-me i live in brasil y use pic16f877a ,max232 cristal 4mhz
my pic send strig this form
channel a
channel b
or
100
200
100
200
100 is the value to channel a
200 is the value to channel b
please help-me
01-29-2009 09:38 PM
magnoedu wrote:y newbie my nane is Emerson
y need to tryng the same project please help-me i live in brasil y use pic16f877a ,max232 cristal 4mhz
my pic send strig this form
channel a
channel b
or
100
200
100
200
100 is the value to channel a
200 is the value to channel b
please help-me
Message Edited by magnoedu on 01-29-2009 05:10 PM
You should have started a new thread rather than adding onto someone else's.
Your English is very unclear. And you want help, but you don't ask any question. What do you need help with?
01-30-2009 02:03 AM
01-30-2009 12:23 PM
You have the termination character enabled, which means the VISA read will read up until the termination character is detected which is set for hexA or decimal 10, which is ASCII character new line.
I would recommend putting two consecutive reads in the For loop, the results from the first read will go to one channel, the second read to the second channel. That way ever loop iteration will be able to read each data point of the interlaced data.
One problem you'll have is that with your data stream, there is no guarantee the first data point it reads will be channel A and the 2nd channel B. If you start the program at just the wrong time with this continuously streaming data, you could wind up with channel B first, and there would be no way to programatically know this.
01-30-2009 03:12 PM
02-02-2009 08:57 AM
02-02-2009 10:01 AM