LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone know how I can step between different voltages say from a list or table for a Agilent E3631A?

Do you get an error number? I can't run your VI because I don't have the power supply available right now. You should also post the modified initialize function. Eventually, you may also want to stop using the application example and use some of the lower level functions in the driver like just calling the configure output a couple of times. The high level 'application' examples are generally meant to just demonstrate how to call individual functions in your own application.
0 Kudos
Message 11 of 14
(710 Views)
Error number:1073807346

Here are the other files.
0 Kudos
Message 12 of 14
(707 Views)
The error means 'The given session or object reference is invalid.' If you don't have automtic error dialogs turned on you can get the explanation by right clicking on the error out indicator and selecting 'Explain Error'. Your VISA Resource Name is incorrect. The syntax is a little different than just providing an address number so if you just typed something into the control, it's probably incorrect. With a VISA Resource Name control, the easiest thing to do is to click on the little 'down' arrow on the right side of the control. You will get a list of all VISA resources on your computer. This will include com and parallel ports but you will also see your GPIB instrument. It will be listed something like 'GPIB0::5::INSTR'. You can also assign an alias in MAX such as 'PowerSupply' and then that will be listed.
0 Kudos
Message 14 of 14
(702 Views)