10-10-2006 12:51 PM
I am programming using VB.NET 2005.
I am trying to set my instrument (HP8753C VNA) to local.
The manual says there is a GTL command but obviously I can't just send it with a MessageBasedSession.
This is the info in the help for the NationalInstruments.VisaNS that I found for REN and GTL, but I can't work out how to apply it.
Specifies the state of the GPIB Remote Enable (REN) line.
[Visual Basic]<Serializable>Public Enum RenMode As Short
[C#][Serializable]public enum RenMode : short
| Member Name | Description |
|---|---|
| Deassert | Deassert REN line. |
| Assert | Assert REN line. |
| DeassertAfterGtl | Send the Go To Local (GTL) command and deassert REN line. |
| AssertAndAddress | Assert REN line and address device. |
| AssertLlo | Send LLO to any devices that are addressed to listen. |
| AssertAddressLlo | Address this device and send it a Local Lockout (LLO) command, putting it in Remote With Local lockout State (RWLS). |
| AddressAndGtl | Send the Go To Local command (GTL) to this device. |
Namespace: NationalInstruments.VisaNS
Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll)
10-11-2006 06:01 AM