04-03-2002 09:07 AM
04-14-2002 12:38 AM
02-10-2011 02:17 AM
Hello,
I have the same problem than andreww, does anyone have a solution? Does anyone know gpib commands to pilote a Micro-Controle IT6DCA?
Thanks,
Matthew
02-14-2011 06:14 AM - edited 02-14-2011 06:15 AM
I've finally found the solution. For the axis 1:
I1=+XXXX! :to move the axis of XXXXpoints.
I1O to go back to zero (O the letter)
I1? to ask the state of the axis 1.
C1O et C1? for the face.
the same commandes with 2 instead of 1 for the second motor
Possible answers are AR1 (:move finished) DE1 (move) RO1(go back to zero) and F-1/F+1 (end stop)
The commands must finish with a LF procedure.
10-12-2011 12:36 PM
I am on a similar situation as well, although one step back.
I followed the posts in order to find a way to communicate with the Micro-controlle ID6DCA2 but it seems that the GPIB connection settings is not set up correctly as the device doesn't respond to the *IDN? query.
Any ideas or suggestions on where the correct settings (PAD, SAD, etc) can be?
Giorgos
10-12-2011 01:58 PM
@SolarG wrote:
I am on a similar situation as well, although one step back.
I followed the posts in order to find a way to communicate with the Micro-controlle ID6DCA2 but it seems that the GPIB connection settings is not set up correctly as the device doesn't respond to the *IDN? query.
Any ideas or suggestions on where the correct settings (PAD, SAD, etc) can be?
Giorgos
Is it supposed to? Do you see the *IDN? query listed in the programming manual? If it's not listed, then of course it will not respond to it and there is not actually a problem.
10-14-2011 08:34 AM
Right, I found the list of commands and tested some of the commands that I need succesfully through NI-488.2 ibic.
The problem now is that although each (ibwrt) command is accepted and written in my instrument one by one, multiple commands through copy-paste are not written but only the first two.
Any suggestions to write the commands through ibic or any other NI application?
10-14-2011 11:29 AM
If you are trying multiple commands with a single VISA Write in LabVIEW, you need to know how and if the instrument supports this. This should also be listed in the manual. A common method is to separate the commands with a ';' (semi-colon) but using a separate VISA Write for each command is acceptable. The commands can be placed in a string array that is passed to the VISA Write inside a for loop.
I mention VISA instead of the low level GPIB functions because VISA is the preferred api. It is portable between different communications protocols (i.e. serial, gpib, ethernet, usb) and different hardware vendors (i.e. NI GPIB versus Agilent GPIB controller).