Oops wrong file try this one
Please save it in 2015. I cant open it.
Just move your Initialize and Close vi's outside your main loop and add shift registers as appropriate.
BTW: I don't have all your subvi's so they show up as a "?" vi on the diagram.
Hello RT SLVU,
The script is not running. I highlighted and saw where the error was coming from (i.e., the integration time) so I decided that out of the loop too but the error still persist. Please can you check what I'm not getting right? Thank you.
I don't see any data on your VISA Resource (the purple wire)
Did you put anything in the VISA Resource control?
You have a lot of complex poorly-connected pieces thrown together in one large Block Diagram. Try taking one function (such as the section I can't see clearly in the blurry picture you just posted, but might have something to do with VISA or your instrument) and write the smallest possible code for it you can, maybe "Open, get status, close". Does it work? If No, you have something really simple to debug. On the other hand, if it does work, add a few more functions. When it stops working, go back to what works and figure out how you "broke" it.
If you can't figure it out, that's the time to come to the Forum, posting your code and explaining as clearly as possible what you are trying to do, what works, and what doesn't work. Give us a clear, simple problem and we can help you get started. Then you can add code and build up from what works (rather than have a large program, possibly with multiple things that don't work).