From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

lecroy 104mxi-a configure labels for traces through GPIB

Solved!
Go to solution

Does anyone know how to manipulate the labels through labview GPIB?  I cannot find a command in the manual that would allow me to add a label.  I also need to position the label as well.

0 Kudos
Message 1 of 2
(3,474 Views)
Solution
Accepted by 2muchwork

Hi,

 

The command for this will be an "Automation" command that is written with the "VBS" remote control command.

 

To address the label on a channel (call it Cx):  VBS 'app.Acquisition.Cx.LabelsText = "put your text here"'

 

Notice the single quotes around the "Automation" command.  The VBS command is a remote command (written as a string to the device) and the Automation commands are Visual Basic objects.  The VBS command tells the scope to interpret everything between the single quotes as if it was being addressed directly from a VBS script.

 

You will also want to turn on the labels:  VBS 'app.Acquisition.Cx.ViewLabels = True'

The value can be:  True, False, or -1(true),0(false).

 

Cheers,

Leonard Brown

Applications Engineer

TeledyneLeCroy

0 Kudos
Message 2 of 2
(3,471 Views)