LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

9 GPIB devices being read one after another almost at same time?

Solved!
Go to solution

How can I read 9 GPIB devices one after another almost at same time?

Using a Tab or something, to switch from reading one device to another by clicking the tab, or another way. Only having one VI.

I there a way to do this or an example to look at?

0 Kudos
Message 1 of 8
(2,666 Views)

How are you doing 1?  Now just wrap that in a For Loop.  Auto-index on an array of GPIB references.

0 Kudos
Message 2 of 8
(2,660 Views)

Thank you for the response,

sounds good, also how can I have the GPIB address selection saved so that I don't need to choose the GPIB address from the VISA I/O drop down every time I re-open and close the program?

0 Kudos
Message 3 of 8
(2,635 Views)
Solution
Accepted by topic author Netsballer92

Create a constant on your block diagram.

 

Or if you need them in a control, right click the array and select Save Values as Default and save the VI.

0 Kudos
Message 4 of 8
(2,626 Views)

Thanks, I will do

I might have more questions in a week after I implement it.

0 Kudos
Message 5 of 8
(2,621 Views)

Any way that you could show an example of the for loop and auto-index on an array of GPIB references?

0 Kudos
Message 6 of 8
(2,581 Views)
Solution
Accepted by topic author Netsballer92

Arrays, loops, and auto-indexing is basic LabVIEW.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
Learn LabVIEW

 

Example_VI_BD

0 Kudos
Message 7 of 8
(2,576 Views)

Thank you for the response

I thought I had to but the I/O control in the array, which wasn't working lol

Thanks

0 Kudos
Message 8 of 8
(2,573 Views)