Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm getting a type mismatch


@Qmavam wrote:

I think we can agree that the address confusion is not a problem, the the machines respond when

addresesed with 4 and 15.

 

What is your suggestion for a next step in troubleshooting.

 

I just want the software I have to run a scan and record the data.

 

Should I reinstall the NI software or maybe the scan software I have.

Could it be the interupt missing.

The Frequency Scan program seems to stall just after it tells the 3330B to set it's frequency, (it does set)

It doesn't get or respond to the command to set the amplitude.

 

And a review of what NI Spy records.
The first 5 lines write when I open the software, the last four lines write when I run a scan.
                                              Description                                                                                                       Status        oberr                     ibcntl

1 RegisterGpibGlobalForThread(0x0041614C, 0x00416150, 0x00416148, 0x00426148            0x0000            0                       0x0000
2 ibdev(0, 15, 0 (0x0), T1s (11), 0, 0x0000)                                                                                              0x0100           0                       0x0000
3 ibconfig(UD0, lbcUnAddr (0x001B), (0x1))                                                                                            0x0100           0                       0x0000
4 ibwrt(UD0, “O”, 1 (0x1))                                                                                                                             0x0100           0                       0x0001
5 ibdev(0, 4, 0 (0x), T1s (11), 0, 0x000                                                                                                       0x0100          0                       0x0000
6 ibwrt(UD1, “L300000.0=”, 10 (0xA))                                                                                                        0x8100          ENOL (2)         0x0000
7 ibwrt(UD1, “L300000.0=”, 10 (0xA))                                                                                                        0x8100          ENOL (2)         0x0000
8 ibwrt9UD0, ”,”, 1 (0x1))                                                                                                                              0x0100           0                       0x0001
9 ibrd(UD0, “-013.30,-0?.?...”,17 (0x11))                                                                                                   0x0100           0                       0x0011
 
LIne 6 and 7 show in red.
 

  I appoligize for being so persistant and questioning, I have no other way to get this fixed,

except with help from others with the knowledge.

 

                           Thank you, Mikek


ibconfig(UD0, lbcUnAddr (0x001B), (0x1))     stands out to me

I don't recall what that does, but you may want to look into it

 

 

0 Kudos
Message 21 of 23
(2,263 Views)

I'd like to look into it,.

Do you know of a page listing commands for GPIB.

I haven't been able to find anything that helps me.

                          Thanks, Mikek

0 Kudos
Message 22 of 23
(2,256 Views)

http://www.ni.com/pdf/manuals/370903a.pdf

 

There is something odd about the 3330B.

Read section 3-23 of the manual.

That probably explains the need for ibconfig( ).

0 Kudos
Message 23 of 23
(2,248 Views)