Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

rifocs test device

attached is the exfo lts-3900 manual.

0 Kudos
Message 11 of 20
(1,748 Views)

i have one card and one cable. right now i'm capable of testing the exfo device. last week it was the rifocs. the rifocs had to be used thus im using the exfo.

0 Kudos
Message 12 of 20
(1,747 Views)

yes that exfo model is discontinued and they do not have an api.

0 Kudos
Message 13 of 20
(1,747 Views)

 


@wcl wrote:

yes that exfo model is discontinued and they do not have an api.


That's just a ridiculous statement. The api is in the manual you posted. It's everything listed in chapter 6. I think you simply do not understand what GPIB communication is. Please do a search for some simple tutorials. Once you understand the basic process of writing and reading to a GPIB instrument, you should be able to setup the instrument to perform a measurement and transfer the results to your pc.

 

0 Kudos
Message 14 of 20
(1,744 Views)

Of course I do not understand what GPIB communication is; that's why I'm using this forum for help. As I mentioned, I can determine if a device is connected and that is about as far as I can get.

0 Kudos
Message 15 of 20
(1,727 Views)

Look at the information here as a starting point.

0 Kudos
Message 16 of 20
(1,721 Views)

 

DISPlay:DIMMer?

 

wcl,

 

As stated, you cannot expect to send a random string to the device and receive it back, unless the operating instructions (contained in the device manual) explicitly state this possibility.

 

GPIB devices in general will respond to the commands defined in the IEEE 488.2 standard, as well as to the specific commands supported, each kind of device having its own set; once a command is sent, you may receive a response, depending on which command you sent and with what parameters. That said, you can find the definitions of supported commands and their response formats in the product manual. The API is just that set of supported commands, in case you might be wondering.

 

In the manual you found, chapter six contains all the necessary information for you to implement the command calls appropriately in your program. Things like the list of commands, as well as the format your device expects to receive these commands in, and the format of the response returned (if any) are all listed in enough detail in chapter 6.

 

For example, one of the listed commands specific to that device (the LTS-3900) is "DISP:DIMM", which as the lettering implies (DISPlay:DIMMer), allows you to control the device's display intensity, and even turn it off completely. It accepts one of three parameters ("HI", "LO", or "OFF") and expects the following syntax: DISP:DIMM<space><data>, where <space> is a white space, and <data> is one of the above parameters, verbatim.

 

The manual contains way more information than whatever you could get in these forums for the same amount of time. You should read it thoroughly.

0 Kudos
Message 17 of 20
(1,652 Views)

Sorry, in the previous message, the smiling faces 😄 are supposed to be a ': D' (colon followed by the letter D), without the space in between. I'm sorry I didn't see it in time to edit the original post. Shouldn't the automatic escaping to smileys be disabled in a technical board like this?

0 Kudos
Message 18 of 20
(1,643 Views)

How can i find all instruments connected  - VISA .Do you have any sample code in C#?

0 Kudos
Message 19 of 20
(1,416 Views)

Hi makeit100S,

 

Your question appears to be a new question not related to this thread. Please start a new thread for your question. This makes it easier for users to read through posts if each post is related to a single issue, and this way your question doesn't get lost at the bottom of an old thread like this one.

 

Also, this may help with your question: 


How do I Find All VISA Instrument Resources Using LabWindows/CVI?
http://digital.ni.com/public.nsf/allkb/2D29FC7DFC93D6D986256D25006B1069?OpenDocument

--Michelle

National Instruments
0 Kudos
Message 20 of 20
(1,411 Views)