Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using a GPIB USB HS converter to control a turn table (Sunol system controller Model SC99V)

This is my first time trying to control devices over GPIB, so it may be a simple solution. 

 

For context, I am trying to use a GPIB USB HS converter to remotely control a turn table. The goal would be to have a button that when pressed, a section of code would scan the current angle of the turn table, and depending on if its greater than 350 degrees or lower than 10 degrees, it would rotate the table in the opposite direction (So one press of the button would guarantee a 360 degree rotation). The turn table has a list of valid GPIB commands, which I will link. It also has some relevant information in other parts, so I have linked them as well. (see the 3 docs labeled turntable operations manual)

 

Where I am getting stuck is trying to send these codes to the device from my computer. I have tried GPID interactive control, NI-488.2 Communicator, and the VISA Test Panel. I wanted to do a simple proof of concept, and just move the turn table to 100 degrees. This would be the command "CP 100". The command "CP" should return the current angle, which I was also trying to use. I attached photos of the results. I had tried many different types of syntax to match the examples under the operations manual in the interactive control, but I could still have this wrong. (see photos named Command) In the VISA interactive control, Im getting more progress. When I input "CP 100" then press write, it converts it to "CP/s100". The turn table did not move though. So I tried "CP" and clicking read, which gave me a time out error. (see photo named VISA). Next I tried the NI-488.2 communicator, which seemed to be similar to to the VISA. (see photo named NI488.2) 

 

Without getting any progress, I tried the NI I/O trace capturer. I Tried to get a decent photo, but let me know if there's better information in this tool. (image NI I/O cap)

 

My question to the group is do you see anything I am obviously doing wrong? This is my first time working with GPIB commands, so any advice would be apricated. I did my best to include as many details, but if theres more information you'd want to see please let me know. Thank you for your expertise.

 

Equipment used:

NI GPIB-USB-HS Acquisition Card 778927-01 IEEE488 Card Convert GPIB to USB

Sunol Sciences turn table controller (system controller model SC99V, addressed 20, but when plugged into GPIB its address goes to R0)

A computer with windows 11

0 Kudos
Message 1 of 2
(196 Views)

Please do watch https://labviewwiki.org/wiki/VIWeek_2020/Proper_way_to_communicate_over_serial

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(147 Views)