Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with VISA control for COM port

I am a new user and i use labView Full development express 7 , I want to interface/controll LeCroy LP 142 oscilloscope with pc through com port ,for doing this I went to ni example finder -->instr-->sampler.llb and run same programme oscilloscope respnse and carries remote operation but when i make a new vi with similar configuration and visa write and read and visa close vis then it does not work i went throgh max to visa intrictive controll then oscilloscope response
i am using windows xp as operating system , what mistake i am doing for making Visa driver through serial com1 port .

thanks

rryadav
0 Kudos
Message 1 of 4
(3,850 Views)
It's unclear to me what actual VI you used. There's an almost unlimited number of things that could go wrong with serial communication so it would help a lot if you provided more details on the VI that you tried and the one that doesn't work. Attaching the actual VI that you wrote would be a big help and information on errors generated, etc. would also be nice.
0 Kudos
Message 2 of 4
(3,850 Views)
Attached vi which i made. for above problem
0 Kudos
Message 3 of 4
(3,850 Views)
I don't see anything terribly wrong. In your write control, you should probably turn on '\" Codes display so that you can type in the termination character. This is usually a CR or LF as the last character in the write string. Without it, the instrument won't respond.
0 Kudos
Message 4 of 4
(3,850 Views)