LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

what's the difference betwween SCPI and GPIB command

I have SCPI command ,and I want to use Lab CVI .I want to know what's the difference between GPIB command and SCPI command .

        :SOURce:RADio:ARB:STATe ON      is a SCPI comamnd

where it can be used liks a GPIB command.

 ViPrintf(instrSession ,":SOURce:RADio:ARB:STATe ON\n");

what's the mean of    SOURce.

 

or

ViPrintf(instrSession,"RADio:ARB:STATe ON\n"); 

0 Kudos
Message 1 of 3
(11,311 Views)

IEEE488 (aka GPIB) is a standard that describes the hardware communication channel (wiring, connectors, potentials and so on). It does not say anything about the communications protocol. Over GPIB several protocols have been developed by instrument manufacturers, until in a search for standardization SCPI was developed, a protocol that is common between all manufacturers (well... all manufacturers that agree to adhere to the standards Smiley Wink )

 

Sometimes in instrument documentation is not well clear which protocol is being used and they generalize improperly using the term "GPIB command".

 

With reference to your question, SOURce is a keyword used in SCPI protocol to address generation functions in a instrument; I can imagine that the keyword can be omitted if the instrument has no other capabilities, but this should be declared by the manufacturer within protocol documentation.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(11,290 Views)

Thanks ,maybe I need to check instrument and find the command!

thanks

0 Kudos
Message 3 of 3
(11,287 Views)