LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sending a data command

I'm trying to outout data to an agilent data switch 34970 by selecting one data word at a time from an array. I need help! 
0 Kudos
Message 1 of 3
(2,531 Views)
 

You need to use a loop to autoindex the array, such as this:


Special note: I just placed the loop for demonstation. A side effect is that if the array is empty then the VISA reference out will be empty since the loop will not run. One way to deal with this is to use a shift register for the VISA reference as well.

Or, you can create the send string which is the multiple commands to send for each element of the array.

It's clear you need to learn a bit about LabVIEW programming, so I suggest:

To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

 



Message Edited by smercurio_fc on 06-26-2008 03:36 PM

0 Kudos
Message 2 of 3
(2,514 Views)
Thanks for your help, I'll try it.
 
Mike
0 Kudos
Message 3 of 3
(2,507 Views)