LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trying to change to different voltages in E3631A

Because I still did not get all the sub VIs but based on the diagram flow, see the attached vi. You can change the voltage array input to any and many values as you want WITHOUT having to change the diagram wiring. Also ALWAYS remember to open and close visa outside the last loop per instrument: NO SHARING visa resources! 
Message 11 of 25
(1,217 Views)
Attached please find my subVi's.
Thanks a lot for your help.
0 Kudos
Message 12 of 25
(1,211 Views)
Still other sub sub Vis missing but have you tried to run the one from me with the missing VIs replaced? At this point you should be able to complete the solution yourself. Have funSmiley Wink
Message 13 of 25
(1,204 Views)

Hi,

Now the power supply changes to different voltages, but my oscilloscope suddenly gets this error

Error -1073807339 occurred at VISA Write in 86100A oscilloscope test.vi

Possible reason(s):

VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.

Please suggest???

 

0 Kudos
Message 14 of 25
(1,203 Views)
OK from what I understood, the scope is the last one to be run for taking readings so you can create a second sequence for it. The error came from the GPIB race condition (my bad) in the same loop, separate them in a desired order as I just suggested.
Message 15 of 25
(1,196 Views)

individually the sampling scope used to work fine, but now it gives error Error -1073807339 occurred at VISA Write in 86100A oscilloscope test.vi

Possible reason(s):

VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.

Also I get an error message on the sampling scope telling me "Undefined Error".

Please see the attached file and let me know where I am doing wrong?

0 Kudos
Message 16 of 25
(1,187 Views)
Can you send me the diagram of your final program? just a picture of it.
Message 17 of 25
(1,185 Views)
I am attaching the snap shot of how the block looks. Even before I connect my sampling scope to the power supply, I checked the sampling scope individually which was working fine before. Now I get this Error and I am not sure how to debug it. Help is greatly appreciated.
0 Kudos
Message 18 of 25
(1,182 Views)
Oh I saw another bug in the scope vi. After a write, DO NOT read back immediately, put a wait about 300ms or so (just play with the number for a particular instrument). And the diagram is NOT right. Look at the one I sent to you, the black arrow is actually a symbol for the connecting wire from visa resource out of the power supply into the visa resource in of another function of the power supply. Why don't you wire exactly like that vi?
Message 19 of 25
(1,175 Views)

Are there any plug and play examples for Agilent 86100A scope that you can suggest?

 

0 Kudos
Message 20 of 25
(1,159 Views)