08-29-2018 01:38 AM
Hi everyone!
I am using NI VISA drivers to manage my lab tools via USB. If I am using FormattedIO interface everything is good excepting speed. Now I am trying to put my Pendulum CNT-91 counter to the "talk only" mode. But when I send the command ":SYST:TALK ON" my computer beeps warning me about disconnecting of my counter.
I am using CNT-90 programmer handbook and VISA documentation but I am failing again and again.
Please find my SCPI code below:
***
:CONF:PHAS (@2),(@1)
:DISP:ENABLE OFF
:FORM REAL
:ARM:COUN 1
:TRIG:COUN 1
:INIT:CONT ON
:SYST:TALK ON
***
After this code computer beeps but in windows hardware manager counter does not disappear. So, after it I can not do something with device.
Do you have any advices for me?
08-29-2018 04:12 AM
:CONF:PHAS (@2),(@1) :DISP:ENABLE OFF :FORM REAL :ARM:COUN 1 :TRIG:COUN 1 :INIT:CONT ON :SYST:TALK ON
This is the proper code withoun smiles
08-29-2018 09:58 AM
That's what talk only mode does!
It puts the instrument into a state where it will not receive commands, but simply spit them out to other instruments. I believe some instruments allow you to read data stored in a buffer so that the instrument can transfer data as fast as possible. Usually you have to manually reset the instrument to talk/listen (controller) afterwards.
I don't know what the CNT-91 is or who makes it. But if you are trying acquire data as fast as possible, perhaps there are examples? If not make sure you have the trigger setup to continuously acquire data and then read data in a loop as fast as you can. There are traps here too; data might not be fresh and you might read same value more than once or you might only be reading every x value available. If possible the best way to get all the data is using internal memory if the instrument has that option. Then you know the interval between data points.
Anyway, hope that helps.