12-18-2006 01:48 PM
12-19-2006 10:02 AM
Greetings Gianmarco,
Thank for contacting National Instruments. So it looks like you are trying to communicate with an instrument that has limited documentation on the commands that it supports? It’s definitely a great start to use Portmon to see what commands and settings are being used by the 3rd party program for communication.
Unfortunately, I also don’t see anything in the zip file saying what commands were written out to the device or what data was received. Furthermore, I also have a concern about your *IDN\r query. You should never get back the same answer unless it was some kind of loop back test.
I’m sorry I don’t have any experience with that 3rd party instrument, but I would recommend looking on Google for any programmers manuals for that model or a similar one.
Let me know if you make any head way and good luck!
12-19-2006 03:43 PM
12-21-2006 01:42 PM
12-22-2006 10:34 AM
Gianmarco,
In the 3rd party program all you see is a loop back (i.e. the data you send out is the same as you get back)? Is that all the program does? That would be strange if the instrument shorted the send and receive lines for a functionality test. Does it actually get data back when using the 3rd party program with the instrument?
Also, NI-Spy is used to capture NI driver calls, such as NI-VISA, NI-488.2, NI-CAN, IVI calls, etc. Unless your third party program uses VISA, you will not be able to capture commands from it. You would have to continue using Portmon.
Well, good luck and Merry Christmas,
12-22-2006 04:09 PM
12-23-2006 11:28 AM
12-23-2006 01:05 PM
12-24-2006 02:05 AM
12-24-2006 05:06 AM