04-16-2010 02:28 PM
I am trying to communicate with an ORTEC 996 counter with an NI GPIB-USB-HS. Once I get MAX to find instruments I open the Communicate with instrument window.
This works and I can send the START\n command to start the target device. The start LED on the instrument goes on.
I then send the STOP\n command and the LED goes off so I know it is working.
I tried to do this using some of the Labview GPIB vi's but most of the forum stuff I read advise to use VISA so I tried that.
Not sure what I am doing wrong here but my instrument never gets the commands sent from my vi.
Attached - NIspy capture info and my vi.
Mike
- Glad that this is the last Monday of the week.
Solved! Go to Solution.
04-16-2010 10:41 PM - edited 04-16-2010 10:42 PM
If you need to send \n, then you need to right click on your string control and select '\ Codes Display'.
p.s. Don't paste stuff into a word doc. Attach the actual spy file if you need to do so in the future.
04-19-2010 01:39 PM
04-19-2010 09:51 PM
Yes. Sorry for the late reply. It's funny how one can get lost in trying everything else when the solution is staring right at you.
I am communicating with 4 different instruments, all with different syntax requirements. Trying your suggestion did solve the problem for that part of the project, thank you.
Mike
04-19-2010 10:08 PM
04-19-2010 10:15 PM
Oops.