Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

problem in cmu with visa

hi,
    I trouble   in       the problem with this:  when i   program     in CMU200 with NI visa,like the  samples.there a   error curror,the  code like this:
      viOpendefaultRM(&defaulrRM);
       viOpen(defaultRM,"GPIB0::14::0::INSTR",VI_NULL,VI_NULL,&instr);
      
    visetattribute()    //set          the timeout value
    viwrite(instr,"SYS:REM:ADDR:SEC 2,\"GSM900_SIG\"\n",strlen("SYS:REM:ADDR:SEC 2,\"GSM900_SIG\"\n"),&retcount);
    above     are seccessed,      but when         i select a function group would errror:
     viOpen(defaultRM,"GPIB0::14::2::INSTR",VI_NULL,VI_NULL,&h_gsm900_sig);
     
    do i use a   wrong method to select        "GSM900_SIG"?          anyone who can     give me  a           suggest?thanks!!


waiting......
0 Kudos
Message 1 of 2
(6,136 Views)
Hi awei114,
Could you give more error information?
0 Kudos
Message 2 of 2
(6,124 Views)