AnsweredAssumed Answered

vrf 34980A and 34950A help

Question asked by VRFuser on Aug 22, 2006
"Reed, Kevin <Kevin.Reed@analog.com> wrote:
> Hi everyone,
>
> I am writing a program using the 349890 and 34950A digital i/o module.
> I want to be able to take a vector file of binary numbers and take one
> row at a time and write it to the 34950 then go to the next row of the
> file and write that to the same block of the module and continue this
> until eof or repeat the file.  Currently I can only do this by
> separating out each row of the file and using the same amount of
> direct i/o's as the number of rows I have in my vector file.  Any help
> on this would be greatly appreciated.

single DIO with input A  and expression  A[n,*]  ( or A[*,n] depending upon how your data is structured which is unclear since you specify "vector" of data but imply a 2D array)

then put the DIO in a loop ("for range") that increments "n"
after reading in the file and figuring out how many "rows"

Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes