NI Home > Community > NI Discussion Forums

Instrument Control (GPIB, Serial, VISA, IVI)

Showing results for 
Search instead for 
Do you mean 
Reply
Member
phywff
Posts: 5
0 Kudos

control Photometrics Controller CC200 through GPIB

Dear all,

 

I met some difficutied on how to control my instrument (Photometrics Controller CC200) using GPIB/USB interface (NI-GPIB-USB-HS). I can control the instrument to do many things. For examples, I can control the camera to take a picture, and can show the picture on the monitor of controller CC200, also I can read the parameters of the picture. But if I use the command which was used to write the current image cache to hard disk in my computer, it shows the error EABO. I have tried all the termination method, but it doesn't work.

 

How can I solve this problem? Thank you. 

Trusted Enthusiast
Albert.Geven
Posts: 3,380
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

What programming environment are you using?

greetings from the Netherlands
Member
ie.aleja
Posts: 49
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

Hello phywff,

 

Here is a useful Knowledge base regarding this error you are getting.

 

GPIB Error Codes and Common Solutions (Part 1)

 

 

Regards,

 

 

Miriam
Field Applications Engineer
NI Colombia
CLD
Member
phywff
Posts: 5
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

[ Edited ]

Hi Miriam and Netherlands,

 

Thanks for your helping.

 

 I have try to solve the problem according to Miriam's attachment, but it still doesn't work. 

 

I use the Labview7.1. If it is too old?

 

Member
phywff
Posts: 5
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

Hi Miriam and Albert,

 

Thanks for your helping.

 

I have try to solve the problem according to Miriam's attachment, but it still doesn't work.

 

I use the Labview7.1. If it is too old?

Knight of NI
Dennis_Knutson
Posts: 34,645
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

Since you have not shown your code, it is impossible to say what is incorrect. The version of LabVIEW should be irrelevant.

Trusted Enthusiast
Albert.Geven
Posts: 3,380
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

Dennis is right (as always)

Show your code, mabe your timeout is too short for this data.

and attach your program at least the part that is communicating with the device.

just add vi's

greetings from the Netherlands
Member
phywff
Posts: 5
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

Thanks all,

 

I have not finished my vis. I just use Measurement & Automation to communicate with  the instrument. And I have tried to prolong the timeout and  I have tried all the termination method.

 

I need to create the vis first even if I can't use Measurement & Automation to communicate with  the instrument?

 

Another question: I need to save the *.img file to my computer from , so which function shall i use, ibrdf or ibrd.

 

 

Knight of NI
Dennis_Knutson
Posts: 34,645
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

I use either VISA Read or VISA Read to File. I have not used the low level GPIB functions for many years and I don't remember how to set the timeout value. With VISA, it's trivial to use a VISA Property node to set it. It's also easy with the VISA Interactive Control in MAX.

Member
phywff
Posts: 5
0 Kudos

Re: control Photometrics Controller CC200 through GPIB

Attachment is my VIs.Please help me to check it. Thanks.