 |
WIENER Product Discussion A place to Discuss WIENER products
|
| View previous topic :: View next topic |
| Author |
Message |
Nathan
Joined: 27 Apr 2009 Posts: 2
|
Posted: Wed May 06, 2009 5:23 am Post subject: BLT Read with VM-USB |
|
|
Hello,
I already posted about the VM-USB and the ADC CAEN v1721. I know that it was too much a shot in the dark to get a response.
More details:
I attached a VI (LV 8.5) to use the XX-USB_VME_read_BLT.VI to read from the ADC.
The file I receive after running this VI starts with the header of an event as expected...however, no matter how long it runs:
1.) it's just one event
2.) the values within the event are not correct and there are just more of them as the VI runs longer (no new header)
I would really appreciate it if someone could take a look at the middle part, where the reading takes place, and tell me if I used the XX-USB_VME_read_BLT.VI correctly or if it's total nonsense.
Thanks!
| Description: |
|
 Download |
| Filename: |
VM-USB_V1721_DAQ.vi |
| Filesize: |
56.53 KB |
| Downloaded: |
188 Time(s) |
|
|
| Back to top |
|
 |
aruben
Joined: 08 Jun 2007 Posts: 46 Location: Springfield, OH
|
Posted: Thu May 14, 2009 1:39 pm Post subject: |
|
|
Hi Nathan,
the CAEN V1721 is a relative new module. I am not aware of anyone using it so far with the VM-USB.
I opened your VI and looked at it. It seems to be straight forward just using standard VME calls. However the BLT can not be done this way. The V1721 register EVENT SIZE at 0x814C returns the full size but the 32bit VME BLT is limited to 256 bytes max. Thus you have to insert a loop which runs multiple BLT's (of 256 bytes) until the Event size is reached.
I would suggest first to try the VME operation secuence manually? Do you have a VME bus display in order to see addresses and data in the crate?
Andreas
_________________ Andreas Ruben
WIENER, Plein & Baus, Corp. - Springfield, OH
aruben@wiener-us.com
(937) 324 2420 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|