cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using GPIB and labview

SOLVED
ChrisK88
Member

Re: Problem using GPIB and labview

Can you save it in LV 2012 and attach the VI .. I can help as much as possible working within your controls.

CLD | CTD
Ivanhe
Member

Re: Problem using GPIB and labview

Message contains an attachment

Chris,

 

Thanks for your help. Attached you'll find my VI saved into 12.0 version.

 

Regards

ChrisK88
Member

Re: Problem using GPIB and labview

For the sake of completeness can you please send the VIs used, such as Initialize, Close and Configure Standard Waveform..

CLD | CTD
Ivanhe
Member

Re: Problem using GPIB and labview

Message contains an attachment

Thank you!

ChrisK88
Member
Solution

Re: Problem using GPIB and labview

Message contains an attachment

Since I don't have the lvlib of the Tek SW, nor do I have the physical devices, I can't check this, but this should work.

 

Note: Due to the OR function with the error cluster, it will stop on EITHER error or the "Stop" button

Note: You may have to reload the Tek VIs or just replace the VIs from your machine into this one due to dependencies of the lvlib not being in my machine

 

Let me know what the outcome is.

CLD | CTD
Ivanhe
Member

Re: Problem using GPIB and labview

Chris,

 

Thank you very much. I am outside of the lab atm, but tomorrow at first hour i'll test and give feedback.

 

Really thank you for your time

Ivanhe
Member

Re: Problem using GPIB and labview

Message contains an attachment

Chris,

 

Not able to work. FOllowing, i'll attach the errors i have. Picture 1 is first try to modify any value. Second picture is trying to modify after getting error.

 

Regards

 

 

ChrisK88
Member

Re: Problem using GPIB and labview

Hmmm,

 

Are you sure you have correct VISA resource name? Try doing this: Make a separate VI and just direct wire it all without the event structure and see if the VIs you are using from Tek are working properly. Pass the resource into the initialize and the output resource out to the next Tek VI, so on and so forth.

CLD | CTD
Ivanhe
Member

Re: Problem using GPIB and labview

Message contains an attachment

Hi Cris,

 

As u can see in DAQ MAx it works.

 

Its really strange, the turn ON / OFF channel VI works, as the wave generator also but only when i operate inside the VI, not having the block.

 

The resource name is correct, changed to Func, maybe the _ did something strange

ChrisK88
Member

Re: Problem using GPIB and labview

Message contains an attachment

Alright,

 

Try the first VI and see if an error pops up while single stepping through and highlight execution is on. Tell me if the error case surrounding the while loop is where the error begins.

 

Then try the second VI and see what happens, that has no event structure, just to see if what you're doing programmatically is the right inputs.

CLD | CTD