Hello, I am trying to simply output a command to my device
(hooked up via the NI USB to GPIB) and then
output another command exactly one second later. Both these commands would be
pre set. IE 20Khz and then 20Hz.
Any help in this matter would be appreciated, thanks.
NOTE: This is using VISA and a set of instrument drivers
used for the device I’m outputting to.
What is your specific problem? Are the commands not being sent? Are they not being interpreted properly by the instrument? Is the timing off and, if so, in what way?
Many people on the Forum are glad to help, but we need specific information to be able to do so. Also, please indicate what kind of instrument you are using and the version of LabVIEW you have.
The instrument accepts the commands fine. The problem I am having is that I cannot seem to create a delay between one command and then another.
To make this even more specific: I'm trying to tell the HP8903B to output one frequency, delay one second and then output another frequency. Sort of a generate 10KHz and then generate 20Hz.
Just put a one second (1000 ms) wait between the two write commands. Something like the attached VI. I do not know the command syntax for your instrument so I used something to give the idea. There are other was to do this, some of which might be better suited to a test program, but this should give you some ideas.
How fast can the instrument accept and respond to commands? One second should be OK, but some GPIB instruments are fairly slow.