01-23-2019 11:14 AM
Hello RT SLVU,
I think this is what you meant. Please check for me if I'm right. Thanks.
Petmar.
01-23-2019 11:15 AM - edited 01-23-2019 11:18 AM
Try this:
Oops wrong file try this one
01-23-2019 02:26 PM
Please save it in 2015. I cant open it.
01-23-2019 02:28 PM
Hello Bob,
I'm working on your suggestion. Thank you.
Petmar.
01-23-2019 05:55 PM
Hello Bob,
I have removed one of the error line. Please what do you suggest I do next? Thank you.
Petmar.
01-24-2019 09:42 AM - edited 01-24-2019 09:43 AM
@petmar wrote:
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.
01-24-2019 11:31 AM
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.
01-24-2019 02:12 PM - edited 01-24-2019 02:13 PM
I don't see any data on your VISA Resource (the purple wire)
Did you put anything in the VISA Resource control?
01-24-2019 03:22 PM
Hi,
The VISA Resource control requires only the the serial number of the CCD camera and I've put that in.
Petmar.
01-24-2019 09:47 PM
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).
Bob Schor