06-18-2008 10:20 AM
06-19-2008 02:13 PM
06-19-2008 02:34 PM
You could create a loop and call the single scan VI example as a sub-vi within the loop.
If you tried that and had problems, then you could post your code.
RayR
06-19-2008 03:20 PM
Thanks, guys,
I appreciated your comments.
I tried to scan channels with "Immediate" source with scan to scan interval of 10ms, # of trigger (300), but I realized that was wrong.
Today, I figured that out using "Timer" source with configuration above and the VI can scan the channel that I set without using "While" or "For" loop.
However, I got another problem. I want to get more than 300 scanned data per channel, but the data shows in the front panel is only around 113 data, not 300 data.
I don't know why the VI can not read 300 data.
The attached are front panel and block diagram of my VI.
Thank you very much.
Wonseok Yoon
06-19-2008 03:38 PM
Are you requesting enough data to read from the instrument? I would have to check the actual commands, but although you tell it to do 300 samples, the size of the data to read may be a larger number.
Question: Are you trying to remove the commas in that loop??
RayR
06-19-2008 03:43 PM - edited 06-19-2008 03:43 PM
06-19-2008 03:48 PM - edited 06-19-2008 03:52 PM
Hi, Thank you for the suggestion.
What do you mean by "requesting enough data to read from the instrument?" and " the size of the data to read may be a larger number."
I didn't remove the comma in the " while" loop.
The weird thing is that if I use, let's say, # of trigger of 10, then the VI exactly can read 10 data of each channel. but If I set the number as the value more than 100,
then, the same thing happens.
I'll post the results tomorrow after I try yours.
Regrads,
Wonseok Yoon
06-19-2008 05:12 PM - edited 06-19-2008 05:13 PM
06-19-2008 05:24 PM - edited 06-19-2008 05:25 PM
06-19-2008 08:46 PM