LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trying to change to different voltages in E3631A

I see this message and also, the power supply E3631A stops showing that an error has occured.
VISA:  (Hex 0xBFFF0016) The VISA driver failed to properly close the session or object reference. This might be due to an error freeing internal or OS resources, a failed network connection, or a lower level driver or OS error.
0 Kudos
Message 1 of 25
(3,909 Views)
I don't have the missing sub vis but it looks like you need to move your visa open resource outside the loop and also include a visa close from the ps driver library outside the loop (be sure to disable index on the wires connecting through the loop to the visa close). That is IT!
Message 2 of 25
(3,903 Views)

Can you be more specific I have installed the drivers for E3631A and I am not writing a custom driver. so, do I still use Visa open and Close??? I have actually tried adding that and running but it still does not work.

 

0 Kudos
Message 3 of 25
(3,891 Views)
0 Kudos
Message 4 of 25
(3,887 Views)
You can still use the provided visa open and close from the ps driver (the same basic but has some error checking routines in them). Just to open and close them ONCE OUTSIDE the last loop!
Message 5 of 25
(3,881 Views)
Is there a working code for E3631A for getting different voltages lets say 3, 3.3 3.6 out into sampling scope..... Need help
 
0 Kudos
Message 6 of 25
(3,876 Views)

YES if you did a search for drivers at the Ni website but here is the link to it. It can set any voltages you want, if not let me know.

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=231

Message 7 of 25
(3,869 Views)

Hi,

I already have the drivers , but when i use them, my code does not work.

0 Kudos
Message 8 of 25
(3,866 Views)
It did not work with your code posted earlier or with the example straight from the driver? Anyway did you try the example from the driver?
Message 9 of 25
(3,860 Views)

Thanks a lot.  some of the examples work. so i could actually see some interaction between with the power supply. Now can you look at my file and tell me if my logic to output three different voltages(3, 3.3, 3.6) and goin to sampling scope is alright or should I change something. I would greatly appreciate your help.

 

 

0 Kudos
Message 10 of 25
(3,846 Views)