06-10-2024 03:19 PM
Hello! I am trying to take temperature data from a cryocon model 44 using USB to use in my LabView 2022 file to update a couple other controllers. The data is coming in as a VISA session type but says it needs to connect as a TCP network connection. Is there a conversion between these two data types or is there something else I am missing?
Connection error description listed in the block diagram.
Inner program using the connection ID
Solved! Go to Solution.
06-11-2024 12:48 AM
Hi Sam,
@SamDougherty wrote:
I am trying to take temperature data from a cryocon model 44 using USB to use in my LabView 2022 file to update a couple other controllers. The data is coming in as a VISA session type but says it needs to connect as a TCP network connection.
Why do you try to open a GPIB connection when your device driver expects a TCP connection?
@SamDougherty wrote:
Is there a conversion between these two data types or is there something else I am missing?
There is no "direct conversion", VISA and (plain) TCP are something different.
You missed reading the manual of your device and all the comments/documentation for your device driver!
06-11-2024 07:32 AM
A related question to @GerdW's -- if you open MAX and look at "Devices and Interfaces", do you see your Device? Can you post a screen-shot, with the Device highlighted (so we see the Settings on the right-hand pane)?
Bob Schor
06-11-2024 07:40 AM
By my understanding, the device will work through a VISA driver and setup. Can I just change the tcp code chunks in the LabView file to their VISA counterparts?
Port with two instruments:
+
Individual Instrument settings
06-11-2024 08:04 AM
Hi Sam,
@SamDougherty wrote:
By my understanding, the device will work through a VISA driver and setup. Can I just change the tcp code chunks in the LabView file to their VISA counterparts?
So your devices are connected using a USB-2-GPIB converter and GPIB cables: yes, you can use VISA in LabVIEW.
Where do those "TCP code chunks" come from?
Does Cryocon provide VISA-based drivers?
Does Cryocon provide a (programming) manual so you could implement the needed commands on your own?
06-11-2024 01:41 PM
I found this:
https://img1.17img.cn/17img/old/literature/C117501.pdf
Is that your device? If so, this section here:
This section implies there are drivers for 4 different interfaces. I am guessing you have the "Ethernet/TCP/IP" one but you really meant to have the "IEEE-488" one (which is what GPIB is).
If you don't have those, your option is either to find it or to switch to Ethernet connection. For most devices I find Ethernet to be as good or better than GPIB, so I might recommend it even if you can find the alternate drivers.
Also, in a brief search it looks like Cryocon went out of business last year, so whatever you do have from them... make backups, because you might not be able to download them again if you lose what you have now.