10-21-2008 09:22 PM
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");
10-22-2008 04:17 AM
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 )
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.
10-22-2008 05:21 AM
Thanks ,maybe I need to check instrument and find the command!
thanks