11-06-2019 09:25 AM - edited 11-06-2019 09:47 AM
Hello,
I try to communicate with SCPI commands to an instrument.
I've done a visa command to send it instruction.
The instrument is composed with 4 slots, and the slot 1-0 had 4 channel
So with the following VI, I succed to communicate with the instrument with sending the following instruction " lins10 : READ : SCALar : POW: DC?"
The instrument returns me the value of the slot 1-0 Channel 1
ti read the other channel (C1 to C4), i've try to send: différents commands:
lins10: SOURce C1: READ: SCALar: POW: DC
lins10: SENSe C1: READ: SCALar: POW : DC
lins10: FETCh C1: READ: SCALar: POW: DC
lins10: INPut C1: READ: SCALar: POW: DC
with différents name: C1; Channel1 ; 1 etc...
so someone should tell me how can I do , or the good command to use please.
Thank you for your responses
Solved! Go to Solution.
11-06-2019 09:49 AM
What instrument are you trying to talk to?
11-06-2019 09:56 AM
It's a modular Platform. The device is an EXFO; model IQS 600
iqs 600 is a Windows 10 Platform.
Data acquisition card is a IQS 1740. This is a card to measure optical power transmitted in optical fiber câble.
you can see this instrument in this photo
11-06-2019 03:04 PM
I think you want to do the following..
LINS10:READ1:SCAL:POW:DC?
LINS10:READ2:SCAL:POW:DC?
LINS10:READ3:SCAL:POW:DC?
LINS10:READ4:SCAL:POW:DC?
I'd make a subvi that takes both the logical instrument position (eg. 10) channel number (1-4) as an input, appends it to the READ, then appends the other part and querries the instrument and returns the result.
Same thing if you use FETCH..
LINS10:FETC1:SCAL:POW:DC?
Those other commands you list don't seem to be valid SCPI commands for the instrument.
Hope that helps.
Craig
11-07-2019 02:20 AM
Thank you for your help
The following instruction works ; LINS10 : READ 3: SCAL : POW : DC ? and with read 1-4
you solved my problem and i can advance in my project