NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
2muchwork
Posts: 3
0 Kudos
Accepted Solution

lecroy 104mxi-a transfer file from PC to Lecroy HDD using GPIB

Having trouble sending files to the lecroy 104mxi-a.  There is a transfer file.vi that takes a file from the scope and saves it to the PC.  I am looking to reverse that and send a file from the PC to scope HDD. Lecroy has a manual that mentions the command TRFL that should do it but I think my syntax is incorrect.

 

TRFL DISK,HDD,FILE,'<file path>' string is going to the LCWAVE Write vi which ouputs an error.

 

Heres the link to the Lecroy manual:

http://cdn.lecroy.com/files/manuals/wm-rcm-e_rev_d.pdf

Member
Leonard33
Posts: 60

Re: lecroy 104mxi-a transfer file from PC to Lecroy HDD using GPIB

Hi,

 

Try the attached vi.

 

You will have to replace the LCWAVE write.vi with the vi from your driver if it does not find it already. (depends on which driver you are using, .llb or .lvproj).

 

If you have any challenges, feel free to contact me at 1-800-5LeCroy, extension 6088 (8am to 5pm Pacific Time) and I am happy to help!

 

Cheers,

 

Leonard Brown

LeCroy Applications Engineer

Member
2muchwork
Posts: 3
0 Kudos

Re: lecroy 104mxi-a transfer file from PC to Lecroy HDD using GPIB

I knew there was something wrong with my syntax.  Thanks for clearing that up.  I just tweeked your code so that I separated the source and destination paths into two controls so the files can be in different locations.

Member
Leonard33
Posts: 60
0 Kudos

Re: lecroy 104mxi-a transfer file from PC to Lecroy HDD using GPIB

Hi,

 

I am glad you got it working.  I wonder what I overlooked when I tried to separate the paths. (I was not successful in doing this so I combined them and added the comment to the front panel).

 

If you don't mind, I would like to see the modified command that worked with two separate paths.

 

Thank You,

 

Leonard

Member
2muchwork
Posts: 3
0 Kudos

Re: lecroy 104mxi-a transfer file from PC to Lecroy HDD using GPIB

It was an easy fix just cut the wire from the path to string vi and connect a new path control.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page